Controlling a dc motor via rf links ! problem!

Motors, current

Ok, lets start with the motor. --And to be honest, I dont know if I can make this any more clear than others have tried…

There are volts and there are amps (there is resistance too). The relationship between these things is called “Ohm’s Law” and you should look it up.

Put simply, motors draw a lot of current (amps), more than your Arduino can output. The output of a uC is just a “data level” signal --it can perform no work. We use a transistor or motor driver to switch the motor on and off when a signal is recieved from the uC. When you hooked up your motor to the arduino, you forced the arduino to dump more power than it can --it may have fried that one output pin, or maybe the whole chip. --Or you may have gotten lucky.

A small capacitor (.1uf) is used to deal with AC noise from the motor, it is installed in parallel with the motor. A diode is used for a reason a bit more complicated --just know that you will not need a diode in your simple set-up here.

 

The real problem here (and it is getting a bit worse) is that you skipped learning steps 1 2 and 3 and went straight to step 47. We have all been trying to help, but I have to tell you, we are all getting a bit frusterated having to go backward with each step and re-teach what you should have already learned. --As an example, you are using trying to use a PWM with a digitalWrite. This is super-basic knowledge, covered by almost every beginner’s tutorial. You skipped it, and now we have to artificially re-teach it now to get your current project going. Same can be said for data types, volts/amps, reading datasheets, pinouts, fritzing, etc. etc. etc.

I have to be really honest here, I think folks are loosing interest in this one. I think it may be about time for you to abandon this project for a while and go back to learning the basics.

 

yes your right but, i

yes your right but, i started learning electronics first but unfortunately tutorials teach basic stuff and i know the basir stuff like resistors and voltage and amp relationship but problem is i can’t find any good tutorials which are a bit advanced !!

as i said i know every component by itself just by itself i don’t know a lot about how to plugged it in a circuit

about capacitor i see a lot of capacitors in rc cars and toys so why do they use it there ? nevetheless it’s a DC app

and my problem here is that i need something to help me understand how to take the signal from receiver and make it be as if it is just an order being taken like if there is no wireless !! i looked a lot on google and on tutorials just to understand how to convert and give the motor the value taken from pot :S

comment was posted 2 times

i don’t know how to delete this i don’t think it can be deleted !!

I have to drop out

I am very sorry, firashelou, but you seem like you are really stuck on this one and you don’t seem to want to believe you have missed some basic stuff. I can tell you, you have missed some very basic stuff.

If I continue to help, I feel we are going to go around in circles --you will say you know the basics, then I will point out another basic thing that was missed. We will backtrack, re-learn that lesson, and then continue for another loop around. I am getting frusterated which means I will eventually loose it and start to yell. I don’t want to do that, so I have to leave now.

I wish you the best of luck, but I really have to suggest that you drop this project for a bit, and go back to the basics. --AnalogWrite, DigitalWrite, and most importantly, data types --int/byte/char/string etc. 

I hope that others can continue this thread.

exactly these basics yes i

exactly these basics yes i did missed it !! your right well i will try find something that will help understand this analog thing because that’s my problem here :S

so thanks a lot for all your helpi will drop this 2 and start over :slight_smile: and hope to get good results

by the way me 2 i got so frustrated because of this problem lol !!