Software apps and online services
Halloween is coming up soon and probably you need something to impress your friends.
This is the project for you: a 3D-Printed Halloween Pumpkin Lamp that changes color and hums a halloween song when it hears a noise around.
The design is very simple, as most of the dirty job is done for you by Zerynth, the programming tool, and by Zerynth Shield, the multi-sensor shield compatible with Arduino-like and Particle boards.Step 1: Required Material
The project requires few elements:
- Zerynth Studio. No matter which OS you use, Zerynth runs! Just download the package and install it: http://www.zerynth.com/zerynth-studio/
- Arduino DUE or ST Nucleo F401RE or Particle Photon or Mikroe Flip&Click. No matter which board you use, Zerynth is multi-board compatible! You can find all the Supported Boards details in the dedicated section of the Zerynth documentation.
- the Zerynth Shield (available here: http://www.zerynth.com/zerynth-shield/). A ready to use multi-sensors board that adds smart functions to your everyday life objects. It is a multiboard shield that presents a set of sensors and actuators, including sensors for touch detection, infrared LED, microphone, light sensor and temperature sensor.
- a strip (or a ring) of NeoPixel LED from Adafruit (available here https://www.adafruit.com/products/1426)
- this cute 3D-printable Jack O Lantern (http://www.thingiverse.com/thing:500762)
Nothing could be easier.
With a set of sensors on board and all the most used communication ports ready to be plugged, the Zerynth Shield allows makers, designers and IoT professionals to easily develop their smart objects, without care about wiring and soldering becoming crazy with funky circuits.
Just piggyback the Zerynth Shield onto your Arduino and and take full advantage of the microphone and the buzzer.
In the Zerynth Shield there's also included a port dedicated to the connection of Adafruit Neopixel LEDs strips. Port pins are: GND; Vin; LED control pin.
Put all the boards and the LEDs into the 3D-Printed Pumpkin Lamp and you're done!Step 3: Programming
- connect and "virtualize" your board (already explained http://bit.ly/Hackster-VIPER-Theremin)
- create a new project in Zerynth (already explained here http://bit.ly/Hackster-IoT-Notes-Printer)
- copy the code that you can find in this hackster
- upload the code on your board and you're done!
The code is very simple and has a lot of comments. For any questions or suggestions please feel free to post on the Zerynth community forums: http://community.zerynth.com/Step 4: Enjoy it!
Did you like it? Let’s get hardcore!
Perhaps you would like to remotely control your Pumpkin lamp? With Zerynth you can easily do this too!
Take a look at the image above: a lamp controlled via mobile for IoT ambient light. The related tutorial is almost ready... stay tuned!
Luigi F. Cerfeda (@L_F_Cerfeda) - Zerynth team