5.4 KiB
Hardware
The T in IoT is Things and refers to devices that interact with the world around us. Each project is based on real-world hardware available to students and hobbyists. We have two choices of IoT hardware to use depending on personal preference, programming language knowledge or preferences, learning goals and availability. We have also provided a 'virtual hardware' version for those who don't have access to hardware, or want to learn more before committing to a purchase.
💁 You don't need to purchase any IoT hardware to complete the assignments. You can do everything using virtual IoT hardware.
The physical hardware choices are Arduino, or Raspberry Pi. Each platform has it's own upsides and downsides, and these are all covered in one of the initial lessons. Review that lesson to decide which hardware platform you are most interested in learning.
The specific hardware was chosen to reduce the complexity of the lessons and assignments. Although other hardware may work, we cannot guarantee all the assignments will be supported on your device without additional hardware. For example, a lot of Arduino devices do not have WiFi, which is needed to connect to the cloud - the Wio terminal was chosen because it has WiFi built in.
You will also need a few non-technical items, such as soil or a pot plant, and fruit or vegetables.
Arduino
All the device code for Arduino is in C++. To complete all the assignments you will need the following:
Arduino hardware
- Wio Terminal
- Optional - USB-C cable or USB-A to USB-C adapter. The Wio terminal has a USB-C port and comes with a USB-C to USB-A cable. If your PC or Mac only has USB-C ports you will need a USB-C cable, or a USB-A to USB-C adapter.
Arduino specific sensors and actuators
These are specific to using the Wio terminal Arduino device, and are not relevant to using the Raspberry Pi.
- ArduCam Mini 2MP Plus - OV2640
- Grove speaker plus
- Optional - microSD Card 16GB or less for testing image capture, along with a connector to use the SD card with your computer if you don't have one built-in. NOTE - the Wio Terminal only supports SD cards up to 16GB, it does not support higher capacities.
Raspberry Pi
All the device code for Raspberry Pi is in Python. To complete all the assignments you will need the following:
Raspberry Pi hardware
- Raspberry Pi
💁 Versions from the Pi 2B and above should work with the assignments in these lessons.
- microSD Card (You can get Raspberry Pi kits that come with a microSD Card), along with a connector to use the SD card with your computer if you don't have one built-in.
- USB power supply (You can get Raspberry Pi 4 kits that come with a power supply). If you are using a Raspberry Pi 4 you need a USB-C power supply, earlier devices need a micro-USB power supply.
Raspberry Pi specific sensors and actuators
These are specific to using the Raspberry Pi, and are not relevant to using the Arduino device.
- Grove Pi base hat
- Raspberry Pi Camera module
- Microphone and speaker:
- Any USB Microphone
- Any USB speaker, or speaker with a 3.5mm cable, or using HDMI audio if your Raspberry Pi is connected to a monitor with speakers or
- USB Speakerphone
- Grove Sunlight sensor
Sensors and actuators
Most of the sensors and actuators needed are used by both the Arduino and Raspberry Pi learning paths:
- Grove LED x 2
- Grove humidity and temperature sensor
- Grove capacitive soil moisture sensor
- Grove relay
- Grove GPS (Air530)
- Grove - Time of flight Distance Sensor
Optional hardware
The lessons on automated watering work using a relay. As an option, you can connect this relay to a water pump powered by USB using the hardware listed below.
- 6V water pump
- USB terminal
- Silicone pipes
- Red and black wires
- Small flat-head screwdriver
Virtual hardware
The virtual hardware route will provide simulators for the sensors and actuators, implemented in Python. Depending on your hardware availability, you can run this on your normal development device, such as a Mac, PC, or run it on a Raspberry Pi and simulate only the hardware you don't have. For example, if you have the camera but not the Grove sensors, you will be able to run the virtual device code on your Pi and simulate the Grove sensors, but use a physical camera.
The virtual hardware will use the CounterFit project.