I have the ArduMoto shield and a Netduino Plus. I'm confused about how to configure things. I think this is just general confusion because I'm new to Netduino.
The Netduino schematic calls the pins PB19 and PB20; CPU pins 64 and 65; Digital I/O 5 and 6. Does that mean I need to use Pins.GPIO_PIN_D5 and Pins.GPIO_PIN_D6?
The ArduMoto board has PWMA on pin 3 and PWMB on pin 11 - confusion abounds! Does this mean the ArduMoto board isn't compatible with Netduino Plus?
--Tim
PWM Confusion
Started by Tim Long, Jun 10 2011 08:28 PM
6 replies to this topic
#1
Posted 10 June 2011 - 08:28 PM
#2
Posted 11 June 2011 - 02:22 PM
I don't have any experience with this shield, but I found a guy who does.
http://forums.netdui...ndpost__p__9743
Hope that helps.
#3
Posted 13 June 2011 - 07:09 AM
Hi Timm,
The AVR microcontroller used on the Arduino has 6 PWM. The ARM microcontroller used on the Netduino has 4 PWMs.
The "outside 2" PWMs on the AVR (digital pins 3/11) are the two not enabled on the Netduino. We are working on a software PWM feature which will let the Netduino drive PWM signals in the background (at least one channel, maybe two)--which will enable PWM on those pins.
Chris
#4
Posted 22 June 2011 - 08:34 AM
The ArduMoto board has PWMA on pin 3 and PWMB on pin 11 - confusion abounds! Does this mean the ArduMoto board isn't compatible with Netduino Plus?
--Tim
Hi Tim,
I made a few changes to the Ardumoto shield to make it compatible with the Netduino:
- Changed the V-Logic from 5V to 3.3V as the Netduino outputs 3.3V through the digital pins.
- Wired pin 3 to pin 5 and pin 11 to pin 6.
- Clipped the pins 3 and 11.
I've already asked for a PWM pins change in a next shield version. Please "star" the comments to show that other people would also like to have these changes: http://www.sparkfun.com/products/9815
aalmada
Attached Files
#5
Posted 11 May 2012 - 10:50 AM
The "Go-Between Shield" helps you with shield compatibility without having to cut and solder.
http://www.sparkfun.com/products/11002
#6
Posted 11 May 2012 - 01:28 PM
Hi Tim,
In addition to aalmada's post you may find this Netduino Wiki page helpful: Ardumoto Motor Driver Shield
Cheers and good luck!
Steve
In addition to aalmada's post you may find this Netduino Wiki page helpful: Ardumoto Motor Driver Shield
Cheers and good luck!
Steve
Twiiter: https://twitter.com/Gutworks
#7
Posted 11 May 2012 - 02:23 PM
Also, the Shield Base has support for these additional two PWMs--presumably without needing to modify your shield.
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users