Greetings! I'm completely new to Arduino. I have a project in mind I'd like to start on and I'm not sure how long it's going to take me to code or solder together. I'd like to have it done within the next three weeks. Please let me know if this is not realistic. I have most of the parts I need except for wires and transistors, etc. Please don't laugh as I'm trying to teach myself, and I have no idea where to even start.
Basically, I have 2 HC-SR04 sensors and an Arduino Uno. I'm trying to have a left sensor and a right sensor. When an object comes within 8 to 10 feet of a sensor, I'd like to get the corresponding led strip of three led's (like this but cut down: 5M RGB 5050 SMD 300 LED Flexible Lamp Light Strip 24 key Remote 12V Power Supply for sale online | eBay ) to blink or just turn on, and then turn off once the object is out of the way. If the object becomes closer than the 8 feet, I'd like to get the corresponding LED strip and a corresponding 12v motor to turn on and then turn off once the object has moved out of the path of the sensor. I know I'm going to need power sources for the motors, but I wasn't sure if the LEDs could run off the Arduino. Is there a way that I could control relays between the power source and Arduino and motors? I not sure what parts kits or wires I should purchase. I'd really like to purchase long wires to have connecting each item but can't seem to find them on eBay.
Basically, I have this sketch to kind of sum everything up. Any help is much appreciated! Thank you so much!
Basically, I have 2 HC-SR04 sensors and an Arduino Uno. I'm trying to have a left sensor and a right sensor. When an object comes within 8 to 10 feet of a sensor
Have you looked at the range of the sensors?
That LED strip does not look controllable by an Arduino. Adafruit sells LED strips that are.
Is there a way that I could control relays between the power source and Arduino and motors?
Yes, if off or on is all you need to control. If speed and/or direction matter, then an H-bridge will be needed. These typically come in the form of a motor shield.
I'd really like to purchase long wires to have connecting each item but can't seem to find them on eBay.
Are you kidding? Spools of wire are available, but why do you need to get them from e-bay?
if you are assembling a kit that only needs assembly and uploading, you can get this done in less.
if you are buying all new parts and learning the software and hard ware, you have some work ahead.
It can be done just don't order from China, shipping takes 3 weeks.
you will need to get a relay and an extension cord.
if you plug in the LED driver, you can use one extrntion cord. then you can split the LEDs and control two groups.
PaulS:
Have you looked at the range of the sensors?
That LED strip does not look controllable by an Arduino. Adafruit sells LED strips that are.
Yes, if off or on is all you need to control. If speed and/or direction matter, then an H-bridge will be needed. These typically come in the form of a motor shield.
Are you kidding? Spools of wire are available, but why do you need to get them from e-bay?
Thank you!
Are there any H-bridges that you recommend? I'm looking for something smaller than what ADAFruit had on their website. Thanks!