-
1Step 1
Get the components we recommended or some alternatives for them (be advised that you might need to tweak the code for the second option)
-
2Step 2
Assemble the components in the following way for the code to work:
- Mercury tilt switch connected to the ADC pin of the Feather Huzzah
- Btn switch connected to the digital pin 12 of the Feather
- The RGB Neopixel is connected to the the digital pin 15 of the Feather
- The Buzzer is connected to the digital pin 0 of the Feather
-
3Step 3
Load the Arduino code provided on the Feather Huzzah board after properly installing the libraries on your system as instructed by Adafruit https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-nodemcu-lua?view=all
-
4Step 4
The device can be tested in the following way: once it is moved the vibration sensor will detect it and the development board will check twitter in your region for the desired hashtag, if the result is positive the RGB led will turn red and the Buzzer will emit a warning. If you grab the device and push the side button the noise will stop and you can use it as flashlight the RGB turning bright white. When it is not used the device will recharge.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.