Shop OBEX P1 Docs P2 Docs Learn Events
Parallax BOE shield for arduino — Parallax Forums

Parallax BOE shield for arduino

KC9RXBKC9RXB Posts: 15
edited 2013-04-07 21:34 in General Discussion
I have bought lots of parallax products in the past and always found lots of thought in the product design but unfortunatly the "BOE shield for Arduino" doesn't meet the quality i have seen in the past.

I bought 2 of these boards to play around with and so far this is what i have found:
1. The designated PWM pins on the Arduino (11,10,9,6,5,3) have not been identified on the PCB.
2. The there are 4 headers for servos but only 2 of them will work for servos (11,10) because pins 13 and 12 are not designated as PWM pins on the Arduino.
3. There are only 3 holes to hold the arduino to the shield when there could have been 4

I don't know if these were things that were just overlooked in the design process, or if they are like that for a reason.
robot.jpg
robot1.jpg
1024 x 765 - 118K
1024 x 765 - 122K

Comments

  • Martin_HMartin_H Posts: 4,051
    edited 2013-04-03 03:55
    Hi,

    You are right that labeling the pwm pins would have been a good idea, but I don't think it is as important as you believe. With regards to your second point. I've used servos on any pin, not just the pwm pins. This is because servo pulses are generated in software using timers, not the analogWrite API (which wouldn't work anyway). I've read the servo library and I didn't see any code restricting pins. Finally, four holes might be better, but not all Arduino boards have four. Here's a link to the original serial design :

    http://arduino.cc/en/Main/ArduinoBoardSerialSingleSided3

    As you can see it only has three holes. I own several freeduino boards and all of them only have three holes. So Parallax might be following some sort of convention.
  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2013-04-03 08:52
    I'll echo Martin. The Servo library hasn't used PWM in a couple of years. It's all done using one or more internal timers, and there is no limitation on the pins you can use.

    As for marking the PWM-enabled pins, that's something that I always felt was clutter on the Arduino. Some Arduino-compatible boards don't have it either. If you know enough about PWM you'll know how to read the documentation that talks about which pins go to where, and more importantly which timers are involved with which pins. For anything beyond simple sketches the lack of timer ID makes what markings there are on the Arduino nearly useless. The Arduino Uno board doesn't mark which pin A4 or A5 is for IC2 data and clock. I2C is probably used more commonly than PWM, so it's not like there's consistency.

    A fourth hole might have been nice. I'm not sure why it's not there, other than having to re-route some of the traces.

    -- Gordon
  • KC9RXBKC9RXB Posts: 15
    edited 2013-04-07 21:34
    Thank you everyone for clearing my confusion. I was in the mindset that servos needed to be connected to PWM outputs because I am not all that familiar with the arduino code. When I program arduinos i generally use the LIFA or Labview interface for arduino. And that would be a good Idea to label the Data and Clock pins on the analog inputs.

    Miles
Sign In or Register to comment.