There are many accidental fires around the world every year, and one of the reasons is that the sparks from the wood ignite nearby flammable materials, such as hay, dead branches, paper, etc. But if you use some components that have a similar effect, you can avoid some fires that should not happen. So I made a fireplace or campfire without burning any wood.
This project uses Seeeduino V4.2 as the main controller and uses a Base shield extension to connect the sensor to the RGB Ring light and then fans the wind (distance) by hand to make the "flame" burn more vigorously.
- Avoid many things that may cause fire
- Easy to start for beginners.
Hardware required
- Seeeduino V4.2
- Grove Base Shield V2.0 for Arduino
- Grove - UltrasonicRanger
- Grove - Ultimate RGB LED Ring
Because there is no wiring diagram, only can use pictures to demonstrate how to connect the sensor and RGB Ring.
According to the Seeed Studio page, both products use digital or analog as output, and Grove Base Shield have lots of analog and digital port to allow you to connect those components to any of those ports.
InstructionStep 1. Connecting all the components to the XIAO Expansion Board/XIAO Pinout
Step 2. Download the Arduino IDE
Step3. Please install the Seeeduino XIAO board manager,and follow the steps.(Please note that Arduino 2.0 doesn't support XIAO, )
Step 4. Adding UltrasonicRangerand RGB Light Striplibrary install. If you do not know how to install the library. you can refer to this guide.
Step 5. Copy the code and stick it on the Arduino IDE then upload it, and your project is done!
Comments