Hot answers tagged

4

No. You're way off. If the output can provide 12mA at 3.3V that equates to (P=VI) 39.6mW. Boosting the voltages does not increase the power. Assuming a 100% efficient boost circuit (which does not exist) you would just be boosting to 12V at 39.6mW - which means (I=P/V) 3.3mA. You can't magic more power out of thin air - if you could we'd all have "free ...


2

Ok. First off, if you have a 12V LED strip then you have to power it from 12V. Powering the Arduino from 12V and then powering the LED strip from the 5V pin of the Arduino is not powering the LED strip from 12V, it's powering the Arduino from 12V and the LED strip from 5V. The LED strip's anode (+) must be connected to the + of the 12V supply or, if it's ...


2

The objective of the code is not clear. It seems the idea is to repeatedly blink 3 LEDs, connected on pins 5,6 and 7. To do so, the code needs slight modification- int timer = 1000; int thispin = 5; void setup() { for (int thispin = 5; thispin < 8; thispin++) pinMode(thispin, OUTPUT); } void loop() { for (int thispin = 5; thispin < 8; ...


1

Schematic and wiring diagram are not the same. They seem to use different RGB LEDs. The wiring diagram has common anode RGB LEDs, while your schematic uses a common cathode RGB LED. The difference is, which side of the LED gets switched. In the common anode configuration, all anodes (positive lead) of the individual color LEDs are connected together, while ...


1

From the given code it is not entirely clear what you are trying to achieve. If I understood correctly, you want the pins to light up for one second and then go out. First from 5 to 7, and then from 7 to 5. Try the given code. int timer = 1000; void setup() { for (int thispin = 5; thispin < 8; thispin++) pinMode(thispin, OUTPUT); } void loop() {...


1

Detecting the LED Pulses You want to detect each LED pulse. For this you will need edge detection code. There is an Arduino example built into the IDE and information describing the function here: https://www.arduino.cc/en/Tutorial/BuiltInExamples/StateChangeDetection To add to the Arduino explanation, you can either detect the rising edge (ie. the ...


1

I guess the arduino is burnt cus it happens with me in the same way. The usb port of my PC is writing device not recognize, and the atmega328p on the arduino temperature is getting high. To save my time I bought another new one I think that should help.


Only top voted, non community-wiki answers of a minimum length are eligible