Slides from my IoT with only your Laptop talk at Dot Net Liverpool - September 2019.
I take attendees through some great online simulators for IoT kit. Showing how to really reduce the barrier to entry to the IoT World.
Note: Download to experience the GIF Goodness!
Call Girls In Munirka>༒9599632723 Incall_OutCall Available
Getting started with IoT with only your laptop - September 2019 - Dot Net Liverpool
1. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT with only
your laptop
PETE GALLAGHER
PJGCREATIONS.CO.UK
26/09/2019
2. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
About Me
Pete Gallagher
@pete_codes / @PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk
IT Consultant
Decades of Desktop, Web & Embedded Software experience,
Meetup Organiser,
STEM Ambassador, Code Club Organiser … Gadget Addict
Father of two inquisitive girls
3. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
What we’re going to be doing…
Basic Intro to IoT
The Hardware
The Software
Q&A
4. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
What is IoT?
5. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
It’s Big!
6. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Really Big!
7. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Really Really Big!
http://bit.ly/gartnertrends2018
“Gartner forecasts that 14.2 billion connected
things will be in use in 2019, and that the total
will reach 25 billion by 2021”
8. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
What is IoT?
9. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
10. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
11. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
12. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
13. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
14. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
John Romkey
15. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
16. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
17. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Internet of s**t…
18. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
What is IoT for me?
19. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT for me…
20. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT for me…
21. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT for me…
22. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT for me…
23. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IoT for me…
24. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
An Industry Example…
25. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
26. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
“To identify a cow in heat, you need to
spend at least 20-30 minutes in the
stables, four to five times a day”
27. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Oestrus only lasts between 12-18 hours….
Only once per 21 days
Normally occurs between 10pm and 8am
Traditionally detected by visual monitoring
70% Conception Rate
Only 55% probability of correctly identifying oestrus
Pregnancy Rate of 39%
The Connected Cow
28. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
“How can this be improved with
technology?”
29. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
30. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
12th
1am
12th
9am
12th
5pm
13th
7am
13th
9am
13th
5pm
STEPS
16 hours later
Start of Oestrus Optimum for Artificial Insemination
31. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow
32. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Hardware…
33. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Platform Options
Raspberry Pi
Arduino (Uno) Particle (Photon)BBC Micro:bit
Microchip (RN1723)MxChip AZ3166Feather (Huzzah)
Arduino (Mega)
34. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Manufacturer: BBC
Processor:
32-bit ARM Cortex-M0 Microcontroller @
16MHz + 256KB Flash Memory + 16Kb SRAM
Connectivity: Radio, Bluetooth, USB
I/O: 25 GPIO Pins – SPI, I2C, Digital, Analogue
Sensors etc:
2 Buttons, Accelerometer, Magnetometer, 5x5
LED Display
Cost: £15
The BBC Micro:bit
35. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Handheld, programmable Microcontroller, with USB
Two programmable buttons
5x5 Grid of LED’s
3 Digital / Analog Ports
Bluetooth, Radio
Light Sensor
Accelerometer, Compass and Temperature Sensor
Micro:bit
36. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Manufacturer: Arduino
Processor: ATMEGA328 @ 16MHz + 32Kb Flash Memory
Connectivity: USB
I/O: 20 GPIO Pins – SPI, UART, Analog / Digital, PWM
Sensors etc: None
Cost: £22 But as low as £5
Arduino Uno
37. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Programmable Microcontroller with Full size USB
20 GPIO Pins
14 Digital + PWM + SPI + UART
6 Analog Inputs
Separate Power Input
No built in Sensors or WIFI
Plenty of Add on Boards (Shields)
Arduino Uno
39. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Programmable Microcontroller
with Micro USB & WiFi
25 GPIO Pins
14 Digital + PWM + SPI + UART
6 Analog Inputs
OLED Screen
User Buttons
MXChip AZ3166
40. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Raspberry Pi 4B
Manufacturer: Raspberry Pi Foundation
Processor:
Quad Core Broadcom BCM2711B0 ARM Cortex
A72 @ 1.5GHz + Up to 4GB RAM
Connectivity: 4x USB, Gigabit Lan, WIFI, Bluetooth LE
I/O: 40 GPIO Pins – SPI, UART, I2C, PWM
Sensors etc: None
Cost: £35 (+ SD Card + PSU + Peripherals)
41. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Raspberry Pi In Space!
42. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Full computer system capable of running Linux
40 GPIO Pins
Digital IO, SPI, UART, I2C, PWM
2 x 4k HDMI Outputs
4 x USB
WIFI and Gigabit Ethernet
Plenty of Add on Boards (HATs)
Raspberry Pi 4B
43. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Get it?
44. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
WHAT?
45. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Magic Smoke?
46. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Later Maybe?
47. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Software…
48. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Micro:bit…
49. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Micro:bit
Microsoft Make Code…
https://makecode.microbit.org/
50. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Arduino…
51. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Arduino Uno
Autodesk TinkerCAD
https://www.tinkercad.com/#/?type=circuits
52. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Raspberry Pi…
53. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Sense Hat Emulator
https://trinket.io/sense-hat
Raspberry Pi 3B+
54. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Raspberry Pi 3B+
Microsoft Azure Simulator
https://azure-samples.github.io/raspberry-pi-web-simulator/
55. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
MXChip…
56. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Microsoft MXChip Simulator
https://azure-samples.github.io/iot-devkit-web-simulator/
MXChip AZ3166
57. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
IBM BlueMix:
http://bit.ly/TOTIBMCloud
Visual Studio Code + Azure IoT hub (Blog Post):
http://bit.ly/TOTVSCodeAzure
Amazon Alexa Device Simulator
https://developer.amazon.com/alexa
Other Options
58. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
I’m excited…
… What next?
59. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Build Something!
60. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Build Something!
61. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Build Something!
62. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Build Something!
63. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Workshop Handouts
http://bit.ly/iotlaptop-handouts
Links
http://bit.ly/iotlaptop-links
Links
64. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Microsoft Make Code (Micro:bit):
https://makecode.microbit.org/
TinkerCAD Circuits (Arduino Uno):
https://www.tinkercad.com/#/?type=circuits
Arduino IDE
https://www.arduino.cc/en/Main/Software
Sense Hat Emulator (Raspberry Pi):
https://trinket.io/sense-hat
Microsoft IoT DevKit Simulator (MXChip):
https://azure-samples.github.io/iot-devkit-
web-simulator/
Microsoft Azure Simulator (Raspberry Pi):
https://azure-samples.github.io/raspberry-pi-
web-simulator/
Links
65. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Microsoft Make Code (Micro:bit):
http://bit.ly/pjg-makecode-web
Windows 10 Microsoft Make Code (Micro:bit):
http://bit.ly/pjg-makecode-win10
Micro:bit Links
66. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
TinkerCAD Circuits (Arduino Uno):
http://bit.ly/pjg-tinkercad
Arduino IDE
http://bit.ly/pjg-arduino-ide
Arduino Web Editor
http://bit.ly/pjg-arduino-ide-web
Arduino Create Plugin
http://bit.ly/pjg-arduino-plugin
Windows 10 Arduino IDE
http://bit.ly/pjg-arduino-ide-win10
Arduino Links
67. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
The Connected Cow:
http://bit.ly/TOTConnectedCow
Microsoft Virtual Academy IoT Course:
http://bit.ly/TOTMSVAIOT
Further Learning
68. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Twitter
@pete_codes / @PJGCreations
Email:
pete@pjgcreations.co.uk
Notts IoT:
https://www.nottsiot.co.uk
Dot Net Notts:
https://www.dotnetnotts.co
Notts Dev Workshop:
https://www.nottsdevworkshop.co.uk
Tonight’s Slides:
http://bit.ly/IoTDotNetLiverpool2019
Contact Me
69. IoT with only your laptop – Copyright Pete Gallagher 2019 – @Pete_Codes
Thanks!
@pete_codes
pete@pjgcreations.co.uk
Editor's Notes
We all know what the “Internet” in IoT is…
Created in 1989 at CERN by Sir Tim Berners Lee.
Released to the world in 1991.
The Things of course are things like…
Toaster was first IoT Device – John Romkey and Sam Hacket – 1990 – First public webpage 1991 – Still needed a human for the bread!
Fourth Industrial Revolution
Dairy Farmers
Have a Problem
They artificially inseminate their cows
Cows go into heat - only for short periods
Called Estrus or Oestrus!
Visual Detection - The cow will stand more often
+ Other methods… Yuck!
A fitbit!
Fujitsu
10,000 steps
95% accurate for the detection of heat
Pregnancy rate increase from 39% to 67%
Up to 70% improvement.
Window around insemination
First half = female
Last half = male
Cow
Pedometer
Antenna
Receiver
Router
Base Station
Cloud
Alerts to Mobile Devices
Labour Saving
Other Devices
Necklaces + microphone = movement and noise
Raspberry Pi 3B+:
Quad Core Broadcom BCM2837 @ 1.4GHz
WIFI, Bluetooth LE
40 GPIO Pins – SPI, UART, I2C, PWM
£35 + SD Card + PSU + Keyboard + Mouse
Arduino Uno:
ATMEGA328 @ 16MHz
19 GPIO Pins – SPI, UART, Analog / Digital, PWM
£22
Particle Photon:
STM32F205RGY6 ARM Cortex M3 @ 120Mhz
WIFI
18 GPIO Pins – SPI, UART, I2C, Digital / Analogue, CAN, PWM
£19
BBC Micro:bit:
16 MHz 32-bit ARM Cortex-M0 microcontroller
Radio
Accelerometer, Magnetometer, 5x5 LED Display,
25 GPIO Pins
£17
Microchip AZ3166:
32bit PIC Microcontroller
£60
BCM = System on a Chip
Sense Hat
A fitbit!
Fujitsu
10,000 steps
A fitbit!
Fujitsu
10,000 steps
BCM = System on a Chip
BCM = System on a Chip
BCM = System on a Chip
BCM = System on a Chip
Don’t forget to mention:
Microbit Anything to do with Magnetometer or Gyroscope will require Calibrating!