Shop OBEX P1 Docs P2 Docs Learn Events
Activitybot w/ Simple IDE Problem — Parallax Forums

Activitybot w/ Simple IDE Problem

stevep63stevep63 Posts: 5
edited 2014-06-20 07:01 in Learn with BlocklyProp
hello all, this is probably a very dumb question but here goes. I just bought an activitybot for my 8 year old daughter (and myself ;) ) and the servos will not work. I am using Simple ide with c. I am trying to run the calibrate program and it just sits there. The leds light up when I turn the wheels so I know that something works. Here is the weird thing. I wrote the calibrate program in spin using propeller tool.... and it works. I wrote a few more in spin just to test the servos and some other things and it works. Whats up with the Simple ide compiler? Is there something I am missing?

Thanks in advance...

Steve

Comments

  • NWCCTVNWCCTV Posts: 3,629
    edited 2014-06-19 14:26
    I am pretty sure there is something you are doing incorrectly in SimpleIDE. However, I am not the SimpleIDE expert. Be patient and I am sure Jazzed will jump in here fairly soon to help fix your problem. Welcome to the Forum.
  • stevep63stevep63 Posts: 5
    edited 2014-06-19 14:42
    Thanks NWCCTV. Sorry for not introducing myself as a newbi and whatnot, but am frustrated and forgot simple protocol. I live in clemson sc. I am an electrical engineer and my daughter shares my love for everything electronic and robotic. We have many parallax things and continue to get more. Great stuff. Thanks to parallax I have awesome tools that fascinate and teach my girls. This is the first and only time I have ever had an issue with a parallax product.

    Steve
  • jazzedjazzed Posts: 11,803
    edited 2014-06-19 14:59
    Andy knows more about servos than me.

    Have you tried any of the Tutorials?

    http://learn.parallax.com/activitybot

    http://learn.parallax.com/activitybot/navigation-basics
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2014-06-19 15:22
    stevep63,

    Given your symptoms, I'm wondering if you have the servo cables plugged into the ports (P12 & P13) that the Learn objects expect.

    -Phil
  • stevep63stevep63 Posts: 5
    edited 2014-06-19 15:32
    They are plugged into P12 &13. Again, servos dont work in C. Servos work in spin...
  • stevep63stevep63 Posts: 5
    edited 2014-06-19 16:01
    I have also looked at the library files, servo.h,simpletools.h,dserial.h,abcalibrate.h and can find nothing that makes sense....
  • edited 2014-06-19 16:05
    Are you in Simple View or Project View?
  • edited 2014-06-19 16:08
    The reason I ask is that SimpleIDE has one open project per window. If you are in Project View, you may have used Open File instead of Open Project. If that's the case, it would still load the code for the wheel encoder test program even though there's a tab open with the calibrate code.
  • edited 2014-06-19 16:12
    If that's not it, let's take a look at your Spin and C code. For best results, please use the Propeller Tools' File -> Archive and SimpleIDE's Project -> Zip features.
  • edited 2014-06-19 16:35
    I have also looked at the library files, servo.h,simpletools.h,dserial.h,abcalibrate.h and can find nothing that makes sense....

    The .h files only tell part of the story. Here is a link with 11 pages of info on how to approach the libraries: http://learn.parallax.com/propeller-c-library-studies.
  • stevep63stevep63 Posts: 5
    edited 2014-06-20 07:01
    You were right Andy, I was in Project View and using File => Open. Wow, I feel really humbled (stupid) about now. Especially since it was my daughters idea to take your advice! Her exact words were "Look daddy, it works". Thank you all for chiming in and trying to help us out. Megan and I really appreciate your help and your great support. I am now going to crawl under my desk and hide for a while...:innocent:

    Steve
Sign In or Register to comment.