The sensor cluster project basically aims at working with as many sensors as possible, making use of the Grove Starter Kit for the 96Boards and a Sensors Mezzanine board with a DragonBoard410c.
- DragonBoard 410c
- Power Supply
- Sensors Mezzanine
- Micro USB Cable (optional- only if you plan to use the serial console via ssh or screen)
- Grove Starter Kit for 96Boards
Initially, make sure that the DragonBoard 410c is unplugged (powered off). Conect the Sensors Mezzanine to DragonBoard 410c through the 40 pin low-speed expansion connector. Mezzanine board (male pins) will match 1-to-1 with female pins on DragonBoard 410c connector. Make sure all 40 pins are lined up properly before moving to next step. Then connect the sensors using Grove Universal 4 pin Connectors as follows:
- A0 --> Light Sensor
- A1 --> Temperature Sebsor
- A2 --> Sound Sensor
- D4 --> Touch Sensor Module
- D5 --> Button
- D6 --> Rotary Angle Sensor
Now, I executed this entire project on the Arduino toolchain. If you don't have Arduino toolchain setup on your DragonBoard, refer to this guide in order to get started.
$ git clone https://github.com/96boards-projects/sensor-cluster-using-mezzanine.git
Open the Arduino IDE. Click on Open and from the browser select sensor-cluster-using-mezzanine.ino. Click on verify to verify the program. Then click on upload. This will ccompile the code and upload it onto the DragonBoard. Once that is done, click on the serial monitor icon on the top right corner.
You can see the results on the Serial Monitor where all the sensor values are displayed in the form of a table.