Shop OBEX P1 Docs P2 Docs Learn Events
AX-12 with the Propeller — Parallax Forums

AX-12 with the Propeller

KC8DKTKC8DKT Posts: 76
edited 2007-05-31 18:18 in Propeller 1
· Has any one used this actuator with the prop or stamps before?· thinking of doing a servo upgrade but not sure this actuator can be used with out the cm-5 unit because you have to set the "actuator ID".·· Would like to make sure before I spend the $$$...

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-30 05:27
    The main problem with these is that they have a default Baud of about 1MBaud which is way too fast for a Stamp. It's too fast even for the FullDuplexSerial driver which maxes out around 230KBaud because it has to be full duplex. I think someone modified the FullDuplexSerial driver, splitting the functions across 2 cogs (receive in one, transmit in the other). The Propeller itself is more than capable of handling the data rate in assembly language. I couldn't point you the the thread though. Perhaps someone else remembers.
  • KC8DKTKC8DKT Posts: 76
    edited 2007-05-30 05:38
    If you check out the CM-5 circuit it says "Half Duplex Asynchronous Uart" not sure that makes any diff though. The CM-5 thing is just has a big foot print and is kinda dump to have it and a PIC like the Prop sucking up PCB space if not needed. I do like the idea of the built-in Angular pos and velocity feed back info though.

    Does this lib file give enough info for a direct prop setup?· There PIC is only 40Mhz but the·serial port is·600k with a·hardware interrupt.

    Post Edited (KC8DKT) : 5/30/2007 7:49:20 AM GMT
    lib
    17K
    AX.lib 17.4K
  • inakiinaki Posts: 262
    edited 2007-05-30 09:14
    I did it by modifying the Full Duplex Serial code. If you want·I can send to you the source code along an example of use that shows how to write and read to/from AX12 and AXS1 at full 1Mbps.

    Send me a message·with your email address.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • KC8DKTKC8DKT Posts: 76
    edited 2007-05-30 16:23
    Thanks inaki,
    They look good on the data sheets but no one seems to use them with out that dumb cm-5 box.
  • BergamotBergamot Posts: 185
    edited 2007-05-30 21:08
    inaki: Could you post the code to the forum, or the object exchange?

    EDIT: I found the Old Thread about this.

    Post Edited (Bergamot) : 5/30/2007 9:14:39 PM GMT
  • inakiinaki Posts: 262
    edited 2007-05-31 18:18
    Bergamot, I think I need to polish the code before to publish it on the object exchange.
    For now, if you want to check the code please send me your email to my Parallax account and I will send the source code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.