+ Reply to Thread
Page 3 of 5
First 1 2 3 4 5 Last
Results 31 to 45 of 72

Thread: Balancing Bot

  1. #31
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)


  2. #32
    JFDuval Newbie
    Join Date
    Apr 2004
    Location
    Québec
    Posts
    115

    Default

    Hello!

    Spindrah just give me his video. Follow the link to see it.

    => www.machivi.ma.cx/jfduv/Vidéos/side_v.avi
    JFDuval
    jfduval --@-- aqra.ca
    http://www.aqra.ca

  3. #33
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

  4. #34
    JFDuval Newbie
    Join Date
    Apr 2004
    Location
    Québec
    Posts
    115

    Default

    Yeah, me too I can't see it. I posted it because maybe they are some people who are able to watch it.
    JFDuval
    jfduval --@-- aqra.ca
    http://www.aqra.ca

  5. #35
    spindrah Newbie
    Join Date
    May 2004
    Posts
    113

    Default

    I can't see it

    could you see it before you posted it?

  6. #36
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,759

    Default

    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

  7. #37
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

  8. #38
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,759

    Default

    Cool! - I look forward to seeing how you get on!.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  9. #39
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

  10. #40
    JFDuval Newbie
    Join Date
    Apr 2004
    Location
    Québec
    Posts
    115

    Default

    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.
    JFDuval
    jfduval --@-- aqra.ca
    http://www.aqra.ca

  11. #41
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,759

    Default

    Quote Originally Posted by JFDuval
    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?.

    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

  12. #42
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

  13. #43
    spindrah Newbie
    Join Date
    May 2004
    Posts
    113

    Default

    Quote Originally Posted by MrMikey83
    Seems to stay pretty still which doesn't make for a very exciting video. Good job though!
    ~Mike
    lol
    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

  14. #44
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

  15. #45
    MrMikey83 Newbie
    Join Date
    Jul 2003
    Location
    Carbondale, IL
    Posts
    301

    Default

    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)

+ Reply to Thread
Page 3 of 5
First 1 2 3 4 5 Last

Tags for this Thread