Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 16th December 2003, 01:57 AM   (permalink)
Default need to change signals ( i believe) *programming in C*

ive made this robot and it runs good, but not exactly as planned.

I use an R/C controller to move it around but there is a slight problem in how it moves.

the trigger button only moves the left side wheel (pwm1,pwm3) while the wheel moves the right side only(pwm2,pwm4). So lets say when i want to go straight forward i hafta move the wheel to the left and trigger to the left.

what i want to happen is that the trigger controls both sides(both motors) and the wheel mainly for turning.
ive tried different combos and here is what i found
(pwm1,pwm2) - does nothing
(pwm1,pwm3)- trigger nothing, steering wheel makes it go backwards
(pwm1,pwm4) - same as above
(pwm2,pwm3)- trigger does nothing, steering wheel makes it go left and right
(pwm2,pwm4)- same as above

ive attached the code as well mainly u need to look into the user_routines towards the end(the last 3 pages or so i beleive)

somehow the R/C pwm inputs have to coincide with the pwm outputs


so any suggestions would be helpful guys

btw if you are wondering yes this is for the FIRST and our team is lookin pretty good, ill post our bot designs when i get the digi cam in
Attached Files
File Type: zip default_code.zip (56.5 KB, 101 views)
shano is offline  
Old 17th December 2003, 04:49 AM   (permalink)
Default

anywho i figured it out
lol
so ya this can be closed i gueess
shano is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 09:00 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker