Shop OBEX P1 Docs P2 Docs Learn Events
Help with using PING))) Mounting Bracket Kit and bluetooth module on Activity bot — Parallax Forums

Help with using PING))) Mounting Bracket Kit and bluetooth module on Activity bot

RuturajRuturaj Posts: 19
edited 2014-12-12 15:06 in General Discussion
Hey guys

I received my activity bot and had few questions
This is what I did
I connected everything as per instructions
I am using ping mounting bracket kit
Jumper (for pins P16 and P17) is connecting 5V and middle pin
Connected ping sensor to P16 and servo to P17

1. The connections I did so far, are they okay?
2. My servo (of bracket kit) moves slightly larger than 180 degrees, is it normal?
3. How to control direction and angel of rotation of bracket kits servo? I tried using delay and making pin high.
4. With extra weight (of servo and sensor) on front, the bot loosing balance and leaning forward, so I added some weight (2 old AA batteries using duct tape). Is it okay or is there a better solution?
5. I have serial Bluetooth module JY-MCU, will it work on activity bot? (If you suggest other, just for your information I am not looking to spend a lot (more than $15) on Bluetooth module)
6. Can I use some LCD like this one (I had Arcbotics Sparki which had similar LCD and found it useful, other suggestions are welcomed but price range should be below $15)
http://www.ebay.com/itm/2-4-240x320-SPI-TFT-LCD-Serial-Port-Module-5-3-3V-Pbc-Adapter-Micro-SD-ILI9341-/400760404213

Thank you,
Ruturaj

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2014-12-11 09:03
    The connections sound okay. Servos vary some, so the positions may need to be calibrated by adjusting the min/max pulse values. A delay isn't what you want. Instead you want to adjust the pulse values for the individual positions.

    As for being front-heavy just adding some counterweight in back is probably best. On a BoE-Bot I would say rotate the servos 180 degrees but in this case I believe it may affect the encoders.

    I can't answer for the Bluetooth since you didn't provide a link to the datasheet, however the LCD seems like it should work fine.
  • RuturajRuturaj Posts: 19
    edited 2014-12-11 20:40
    The connections sound okay. Servos vary some, so the positions may need to be calibrated by adjusting the min/max pulse values. A delay isn't what you want. Instead you want to adjust the pulse values for the individual positions.

    As for being front-heavy just adding some counterweight in back is probably best. On a BoE-Bot I would say rotate the servos 180 degrees but in this case I believe it may affect the encoders.

    I can't answer for the Bluetooth since you didn't provide a link to the datasheet, however the LCD seems like it should work fine.

    Thank you so much for reply
    Can you give a example or link for setting min/max pulse for using servo.

    Here's the link for Bluetooth module's datasheet
    https://core-electronics.com.au/attachments/guides/Product-User-Guide-JY-MCU-Bluetooth-UART-R1-0.pdf
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2014-12-12 15:06
    Min/Max values for the servos would have to be found empirically. It would vary not only with each servo (slightly) but the position of the horn on the servo.
Sign In or Register to comment.