Skip to main content

Gesture controlled weather station

Weather station which displays temperature and humidity data when requested by the relevant gesture input.

Parts list

Qty Product Part number
1 XinaBox OD01, OLED Display 128x64 OLED Display Module with SSD1306 174-3718
1 Wi-Fi Core (ESP8266) 174-3701
1 XinaBox SW01, Advanced Weather Sensor Module for BME280 174-3744
1 Gesture (APDS-9960) 174-3739
1 XinaBox, USB Programming Interface Module for FT232R, IP01 174-3703
1 AVX SMT OPEN ENDED CARD EDGE 10W 174-4977

This project was built with XinaBox ☒CHIPS and Arduino IDE. It is a 5 min project, that allows you to view data received from the ☒SW01 on the OLED screen of the ☒OD01 when gestures are registered by the ☒SL06. Using the ☒CHIPS assembly is easy. Creating the code for this project is easy with the Arduino IDE software. The code for this project works with 3 ☒CHIP cores. For this project, we've chosen to show you how it works with the☒CW01. 

Step 1: Downloading the Libraries

  • Go to Github.xinabox
  • Download xCore ZIP
  • Install xCore ZIP into the Arduino IDE by selecting "Sketch", "Include Library", then "Add.ZIP Library", as seen below.

screen_shot_2018-05-25_at_12_00_05_wYLw1iRiXl_70e084d7d36513940abc167fba786e65df45139b.jpg

Step 2: Programming

  • Connect the IP01 and CW01 together using an ☒BUS Connector. Make sure the ☒CHIPS' names are orientated the same way.

CW01_IP01_4ee55f9c339d432b506f005e8164942e14a1e54d.jpg

  • Insert into an available USB port.
  • Download the zip file from GitHub here and open with your Arduino IDE. Alternatively, you could create your own code to achieve the same objective using the relevant principles.
  • Compile the code to ensure there are no errors.
  • After successfully compiling to ensure no errors are found, you may upload the code to your ☒CHIPS.

  • If you're using the CW01 with a MacBook you could download the xFlasher and then upload the bin file from the XinaBox Samples page - Gesture Weather

Step 3: Final assembly

  • Once uploaded successfully, you can remove the IP01 from the USB port.
  • Disconnect the CW01 from the IP01.
  • Connect the CW01 to the OD01 as shown below.

CW01_OD01_40d5316e48afccc1ce351e399e884f20b19166fd.jpg

  • Next, connect the SW01 to the SL06 as seen below.

SW01_SL06_e25999b7a8309070a82ca8b5c056939478bdf71a.jpg

  • Attach 2 connectors as seen below

SW01_SL06_Connectors_ff4e3c95a6c71163b297fd8ed834ddcc14aaf8cc.jpg

  • Now connect the two horizontal panels you created and attach the IP01 to the bottom as seen below.

Complete_2b4c2e0440a1c9471a84ccf95321a8b4b2080a52.jpg

  • Insert your new board into the USB port. Your OLED screen should now look just like the image shown below.

Cover_d716de4b20f7f51dc4d8ef2837f931a3defde786.jpg

  • Remove the board from the USB port again.
  • Insert IP01 into USB power, for example, a power bank
  • Your board is now portable. Happy experimenting!

Downloads

Aspiring space scientist and engineer. Intern at XinaBox. Crazy about making electronics simple.