Posts

Showing posts with the label DIY

DIY Shock Sensor

Image
A speaker works by activating an electromagnet which is nearby a "regular" magnet. This produces vibration, resulting in sound. So if instead of supplying current to the speaker, we can produce current (if very little) by moving the speaker itsself. This current can then be detected and interpreted by a microcontroller such as the Arduino. Step 1: Find a Speaker You will need to find a speaker that you are willing to sacrifice for this project. You can buy one at SparkFun for under a dollar, but you probably already have one somewhere. I used a small speaker from an old pair of headphones, but you can find one almost anywhere - like a musical greeting card or an old alarm clock. Next: Cut a jumper wire in half Strip the ends of it Solder it onto the speaker (there were probably already some wires on there - just cut them off) Alternatively, you could use alligator clips if you have them. Step 2: Build the Circuit  Materials needed: Arduino U...

DIY Plant Moisture Sensor

Image
This project will calculate the water content of soil around a plant by measuring the dielectric constant (the soil's ability to transmit electricity) and will alert you with a red LED when the plant needs more water or a blue one when it has too much. Step 1: Materials You will need to gather these things in order to build this project: Arduino UNO or equivalent (x1):  https://amzn.to/2DLjxR2 220Ω* resistors (for LED) (x3):  https://amzn.to/2S2sV5R 10kΩ resistor (x1) - brown black orange:  https://amzn.to/2S2sV5R RGB LED (x1) or 3 different colored LEDs:  https://amzn.to/2Fzbusx Long Jumper Cables (x2):  https://amzn.to/2Q7kiKc Jumper Cables (x6):  https://amzn.to/2Q7kiKc Breadboard (x1):  https://amzn.to/2RYqiSK Bolts of any size (x2):  https://amzn.to/2qWLYTF Nuts same diameter as bolts above (x2):  https://amzn.to/2qWLYTF * red-red-brown Step 2:  Create Sensor Prongs You will need to repeat this...