OK, I beveive I have found the correct Timer register to call. Its TMR1. Should I use the 8 bit timer or the 16 bit timer? Does it matter?
Can anyone give an example code of how to read the PWM from the receiver with PIND.6?
Thanks!
~Mike
OK, I beveive I have found the correct Timer register to call. Its TMR1. Should I use the 8 bit timer or the 16 bit timer? Does it matter?
Can anyone give an example code of how to read the PWM from the receiver with PIND.6?
Thanks!
~Mike
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
Hello!
Spindrah just give me his video. Follow the link to see it.
=> www.machivi.ma.cx/jfduv/Vidéos/side_v.avi
Not working for me.
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
Yeah, me too I can't see it. I posted it because maybe they are some people who are able to watch it.
I can't see it
could you see it before you posted it?
Yes, the URL doesn't work, there appears to be no directory called 'jfduv'?.
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Time to take back my thread...
Here is my progress on the balance bot. I have built a frame from aluminum stock from Lowes. The gears, motors and wheels are from a local RC hobby store. The batteries will be strapped to a peice of plexiglass on top of the two poles that extend upwards off the bot.
The radio controller I am using as well as the receiver are in the pic. The accelorometr and Gyro are on the small breadboard in front of the controller.
![]()
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
Cool! - I look forward to seeing how you get on!.
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
I might need larger diameter wheels...not a problem to change them though.
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
Hello!
The link is working, it's the video that can't be seen (by some people at least). The directory jfduv/ exist. Don't forget the slash at the end.
It appears to be the accent on the 'e' which stops it being found, presumably some language setting in Windows?.Originally Posted by JFDuval
Try http://www.machivi.ma.cx/jfduv/Vid%e9os/side_v.avi which works.
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Seems to stay pretty still which doesn't make for a very exciting video. Good job though!
~Mike
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
lolOriginally Posted by MrMikey83
thanks MrMikey
I didn't even think of that!
it was so much work (for me, i'm new to all this) that i wanted to send the best movie of it, by that i mean best tuned
yours looks good
i like the wheel's, that was one of the hard things for me finding cheap wheel's for it
so i cut them out of wood
lol
I plan on driving mine around outside of concrete sidewalks and through grass, so wood wheels wouldn't have been good for me. Plus, the high speed these motors can reach would cause the wood wheels to slip . Not sure how the high speed will effect the balancing calculations, but my controller is proportional so I can make it go slow and speed up gradually if I need to.
(Assuming I ever get the receiver to talk with the ATmega)
~Mike
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)
Update:
I finally got readings from the reciever with bmcculla's help. Now, I just need more plugs to connect the other channels to the AVR. I can finally start designing my PCB, now that I know everything will work on the ports they are connected to.
The circuit will have the AVR with 5V and 12V power supplies from the 24V battery source. A separate board will be made for the sensors so that I can possition them where I need them. The motor control H-Bridge might be separate, but I'm not sure yet. I might leave it separate so that I can use them on other projects. Also need to design battery charger circuit when I receive my samples.
~Mike
All Electronic components run on smoke. Let the smoke out and it no longer works.
~Tim Baker (Electronics Instructor at John A. Logan College)