Show Posts
|
|
Pages: 1 ... 5 6 [7] 8 9 ... 13
|
|
97
|
Using Arduino / Installation & Troubleshooting / Something wrong with my Arduino
|
on: January 21, 2013, 04:56:03 am
|
I just got a usbtinyisp because I would like to program standalone microcontrollers. Before I want to try to program microcontrollers, I decided to try to upload a program to my Arduino. So I connected my Arduino to the ISP, then I tried to upload a program. It didn't work, so I decide to first burn the bootloader. It took a long time, and I got a little impatient, and I disconnected it before it was done. Afterwards, uploading a sketch dirrectly to the Arduino beecame so slow...Even the blink sketch...Perhaps impossible. And when I try to burn the bootloader, it says avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f) It says the same when I try to upload with the programmer. Is there a solution to this? Or have I destroyed my Arduino? Please someone help me. Thank you. PS I have a Mega 2560.
|
|
|
|
|
99
|
Using Arduino / Motors, Mechanics, and Power / Re: SSR PWM`
|
on: January 21, 2013, 03:53:06 am
|
|
No sure I'd like to learn the theorys--I don't want you to tell me just how to do it. Of course I want to know how it works, and I am willing to experiment and experience failure. Thanks. PS @lizhenan I think I want to do it myself. Do you live in China?
|
|
|
|
|
102
|
Using Arduino / Motors, Mechanics, and Power / Re: Motorcycle light-show mod
|
on: January 20, 2013, 07:16:49 am
|
So while Im off to read the datasheet on IRF540N and watch some MOSFET for dummies video on youtube, how about the signal input? Will I need large inline automotive-type resistors? and is there more to it than that? Will the normal running of the circuit that supplies the signal be affected by adding to it?
No, you will not need huge cement resistors. Now you have a MOSFET, turning the motorbike lights on and off would be the same as blinking an led on the Arduino. You can just use the "analogWrite" function. I intend the standalone IC to run off the motorcycle battery, are the power requirement the same as a full Arduino board? and would the ground pin run to the motorcycle frame/chassis?
I'm not so sure of the power ratings, but you can probally find it easily. You can then select an appropriate valtage regulator. The voltage regulator will have three pins--input valtage, common ground and output voltage. You connect the input to the positive lead of the battery. Connect the common ground to the negative lead, and the output gives you the regulated voltage. You connect the ground to the common ground. The voltage regulator might get hot as well, you might also have to screw on a heat sink.
|
|
|
|
|
104
|
Using Arduino / Motors, Mechanics, and Power / Re: Motorcycle light-show mod
|
on: January 20, 2013, 06:52:23 am
|
Hello. I recommend you to watch the tutorial on MOSFETs by a youtube user called afrotechmods--I don't have the exact link. You won't need big resistors. Connect the positive of the motercycle battery to the MOSFET's source, the light or whatever to the drain, and when you apply +5v to the gate, positive electricty flows from source to drain, and when you connect ground then electricity doesn't flow.  this picture will be usefull. G is gate, D is drain, and S is source. If the MOSFET heats up, you can screw a heat sink on to it. Good luck with your project!
|
|
|
|
|