Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 24, 2012, 11:52:04 pm
a link to any such code you may have found which suits my specifications. . . . . .

anyway , apart from that,   i found out that if my controller pins are given to the analog inputs of the arduino i.e A0 A1 A2 A3 respectively, and using the analogRead() command i can convert any voltage at the input(from a 0 to 5v range) to 10 bit resolution i.e 0 to 1023. . .now all i wanna know is how do adjust my digital outputs (not the A0 , A1 etc) on the other side of the board according to the analog values.?
2  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 23, 2012, 08:26:57 am
thanks peter,  any chance maybe i could get a link???
3  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 11, 2012, 12:52:42 pm
any chance maybe i could get a link????? rc lawn mower?
4  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 11, 2012, 12:50:23 pm
thanks a damn alinosa, ,, , i'll giv it a try!!
5  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 11, 2012, 12:49:31 pm
well peter, i guess its limit switches for me. . . . . . if so, how do i write a program to read the status of the outputs of the 2 single axis joysticks? and mainly, once i have the outputs what are the inbuilt functions to read analog values and vary digital outputs in an arduino??
6  Using Arduino / Motors, Mechanics, and Power / Re: Speed control of a leaf blower on: October 10, 2012, 01:20:09 pm
you could use a multiplexer, preferably 4:16. and on each output pin of the available 16, you could connect a resistor that suits the speed you want to attain at different intervals. these outputs will be connected to your motor, the multiplexer will have to be bidirectional(both positive and negative half cycle) and will have to have a high current withstanding capacity. for this i suggest using power transistors at the output of your multiplexer.(the resistances previously connected will act as base resistance to limit the base current) , and therefore you will have a safe and precise control of your blower....
7  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 10, 2012, 01:13:14 pm
the silver(or probably steel) bent contacts under the spring switch on both sides(forward rev l and r) are gonna b attached to wires that i will solder onto them and these leads will be fixed to jumpers (m/f) to act as inputs to the arduino. . . if i am right  these inputs show an analog voltage signal upon interaction with the contacts, so maybe i'll have to put them in the analog input ports of the ard. Again, i aint sure bout it.

if analog, how am i supposed to write my program such that when a signal is present, i can vary digital output pins of the arduino to high or low, so that my motor runs via L293D ic.


in short, i wanna read analog, and vary digital output based on what i read.

thnx!!
8  Using Arduino / Programming Questions / Re: interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 10, 2012, 01:02:11 pm
hey paul, thanks fr replyin, , ,
firstly, i'm workin on a bot which in a span of 14 days , i will have to transform into a battle bot. . .so, no, its not a homework assignment, pretty much of a hobby i presume...

secondly, i was thinkin may b you could create a few lines of code to accomodate the functions i described, not necessarily modify my code. i'd try to understand ur code and then translate it to suit my conditions.

my rc car controller  is a classic one, with the spring analogs(front,back  and  left,right)
i have attatched a pic of it for ur perusal. . . .

i want to connect these outputs(4 of them) to my arduino inputs. this is the part i want you to help me with, i have no idea whatsoever, to connect these outputs. and where to? wheter analog or digital,   and if either, how to modify my program or write an entire new one to read the signal from the output of the controller and control my motors respectively. . .

thanks again
9  Using Arduino / Programming Questions / interfacing a wired rc car controller and two 24v dc mtors to an atmega8 arduino on: October 09, 2012, 10:17:13 pm

hey folks, top of the day to you all, . . . .here's my problem
i have here, with me 2 dc motors operating on 24v dc, and i'm planning to inteface it with my arduino diecimila(atmega  through an L293D h-bridge driving ic. which takes an input from the arduino(which is the output i trigger through my program to the respective ic pins) and drives the motor with a high current of upto 10 amps.

now, here's the real pain, . . . . . i have with me, an old rc car controller( the classic up,down || left,right) which through a lil bit of modification, i will transform into, a wired controller, whose outputs(viz. forward,reverse, left,right) i'll be assigning as inputs to my arduino.

now i dont really know where to put these inputs(analog or digital) and how to modify my program, or make a new program to accommodate these functions.

i want my bot to move :    front when i press forward
                                     reverse when i press backward
                                     turn left when i press front and left
                                      turn right when i press front and right
                                     reverse left when i press back and left
                                      reverse right when i press back and right
                                     take a 360 continuously left when i press only left
                                      take a 360 right continuously when i press only right


i'm using differential steering
and the functions described above (front, reverse etc) must me mandatorily present in my program. i want digital high or low to be triggered accordingly by analyzing my controller input(i.e front, back, left right)


i hope you folks can help me out. ..  .


thanks a damn!!!!
10  Using Arduino / Motors, Mechanics, and Power / interfacing a wired RC controller to arduino to control 2 dc motors on: October 08, 2012, 01:24:07 pm
hey folks, top of the day to you all, . . . .here's my problem
i have here, with me 2 dc motors operating on 24v dc, and i'm planning to inteface it with my arduino diecimila(atmega smiley-cool through an L293D h-bridge driving ic. which takes an input from the arduino(which is the output i trigger through my program to the respective ic pins) and drives the motor with a high current of upto 10 amps.

now, here's the real pain, . . . . . i have with me, an old rc car controller( the classic up,down || left,right) which through a lil bit of modification, i will transform into, a wired controller, whose outputs(viz. forward,reverse, left,right) i'll be assigning as inputs to my arduino.

now i dont really know where to put these inputs(analog or digital) and how to modify my program, or make a new program to accommodate these functions.

i want my bot to move :    front when i press forward
                                     reverse when i press backward
                                     turn left when i press front and left
                                      turn right when i press front and right
                                     reverse left when i press back and left
                                      reverse right when i press back and right
                                     take a 360 continuously left when i press only left
                                      take a 360 right continuously when i press only right


i'm using differential steering
and the functions described above (front, reverse etc) must me mandatorily present in my program. i want digital high or low to be triggered accordingly by analyzing my controller input(i.e front, back, left right)


i hope you folks can help me out. ..  .


thanks a damn!!!!
Pages: [1]