Shop OBEX P1 Docs P2 Docs Learn Events
Activity Bot & servos — Parallax Forums

Activity Bot & servos

btrainbtrain Posts: 4
edited 2015-07-23 17:38 in Learn with BlocklyProp
Hello all,   noobie going through tutorials > actually all is going well > except:example in basic navigation >  forward Stop Face Right.side = program does what it's supposed to, except when I put it on the floor in pos #2 it keeps going over & over 
Question: 1.Why does the program execute more than once? did it somehow get loaded to eeprom multiple times? (reset doesn't seem t matter)
2. been looking at post on 'clearing eeprom' but eeprom is over-written each time you upload to eeprom isn't it? ...so,it shouldn't need clearing then, right?
Thanks in advance for any help....   

Comments

  • You're right about the EEPROM being overwritten each time  you load to EEPROM.
    If you add a link to the exact tutorial you're working on, it would be easier to know how to help.
  • Using my robot (calibrated, full batteries) I could not repeat the behaviour you are experiencing. The first thing that comes to mind, though, is that perhaps your batteries are old/low and the board is resetting. This would cause the program to re-initiate each time it reset.

    Please put in 5 fresh AA batteries and see if this resolves the issue.
  • Thanks Both, 
    Duane: I thought I read somewhere that there was no need to clear eeprom - thanks for confirmsorry, I'll post links form now on:  http://learn.parallax.com/activitybot/set-certain-speeds

    Courtney: spot on - solved: - thanks for one of those 'can't learn in a book' pieces of advise - erratic behaviour (board reset) = check batteries - lol!
  • Don't worry. We have all been there, even when we "know" the batteries are good. :)
    Carry on with the tutorials. !
  • Learning that behaviour early on is really helpful, I'm glad you got a chance to see it.

    Have fun with the ActivityBot tutorials; we'll be here if you need advice or help.
Sign In or Register to comment.