You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IoT-For-Beginners/hardware.md

5.0 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.

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.

  • SD Card (You can get Raspberry Pi kits that come with an SD Card)
  • 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.

Sensors and actuators

Most of the sensors and actuators needed are used by both the Arduino and Raspberry Pi learning paths:

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.

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.