How to Set Up the IoT Device Hardware: Peripherals and Electronics

Experiment #103 – Discover How to Set Up the IoT Device Hardware: Peripherals and Electronics
1.    
Gather IoT Device and Peripherals

We will use a Raspberry Pi 2 Model B to run our IoT project. Also, we need to attach to it some peripherals like:

 

 

You can check the Windows IoT Core supported peripherals in this hardware compatibility list.

2.     Wire the GPIO Pins

 

After removing the Raspberry Pi 2 model B case we can start wiring our selected General Purpose In and Out (GPIO) pins:

Wire Color Pin Number Pin Function Pin Use
Red 2 5V PWR Power Supply
Black 6 GND Ground
White 7 GPIO 4 LED Light
Grey 12 GPIO 18 Servo Motor
Brown 29 GPIO 5 Button

 

If you want to change these connections, you can check the Raspberry Pi 2 & 3 Pin Mappings of the IoT device.

 

3.     Set Up the Electronics

The electronic components we need for this setup are:

 

For this initial set up, we are mounting these components together in a protoboard. Later, all the electronics will be soldered.

4.     Connect IoT Device to Electronics

 

Then, we will join the IoT device with electronics. Here there is a sketch of all connections, components, and wires:

 

The white wire goes from the device to the LED light negative pin, the grey wire goes to the motor signal pin and the brown one goes to the button positive pin. Finally, we need to connect the red and black wires for power supply and ground.

 

 

5.     Connect Peripherals to IoT Device

After wiring the electronics we will plug in the peripherals. We’ll use the USB ports for the Wi-Fi adapter and the camera and the jack connector for the speaker.

 

6.     Check that Everything is Working Fine

The final step is to check that everything is working properly. We will plug in the IoT device to verify that all the LED lights (IoT device, camera, LED and Wi-Fi adapter) turn. Finally, we will check the speaker, the camera and the servo motor.

Stay up to date!



Leave a comment