Would this shield work/
#1
Posted 15 October 2010 - 02:10 PM
#2
Posted 15 October 2010 - 04:39 PM
#3
Posted 15 October 2010 - 08:45 PM
I did find this website, it seems to have created a lot of projects seen on Make, and look reliable. How to
Thank you!
P.S. I know some C, but will buy a C# programming book ASAP.
Moderator edit: removed excess "http://" from link
#4
Posted 15 October 2010 - 09:13 PM
I going to be honest here and say that I didn't understand a bit of what you said. What is PWMs, ICs, and H-Bridges? Sorry I am quite new to all of this.
I did find this website, it seems to have created a lot of projects seen on Make, and look reliable. How to
Thank you!
P.S. I know some C, but will buy a C# programming book ASAP.
Hi CwbhX,
That's fine--no worries. There are lots of people here who would love to help get you up to speed on how these things work.
Let's start here: please find out who the manufacturer of the product is. Is it the Adafruit Motor shield, or is it made by someone else? Once we know this, we can track down the schematics, talk about how to read them, figure out whether they use the PWM feature of the Netduino, etc.
As for PWM: PWM is pulse-width modulation. Have you seen electric signals on an oscilloscope before? In its simplest form, PWM creates "square waves". These square waves consist of a signal being on (high, 3.3V) for a certain amount of time and off (low, 0V) for a certain amount of time. The switch between the two is almost instant--so the signal "wave" has square corners. I'm sure we can find a photo if you'd like to know more.
Anyway, PWM has three nifty purposes (among a bunch of others):
1. LED insensity -- changing the DutyCycle of the PWM (0-100%) dims and brigtens LEDs accordingly. At 1%, the PWM would make sure that the signal is on 1% of the time (say on for 10 microseconds then off for 990 microseconds then back on, etc.)
2. Motor control -- this works the same way as LED intensity. By turning the signal on and off rapidly, we can control the motor speed. The more that the signal is on vs. off, the faster the motor turns.
3. Servo control -- in this mode, PWM creates a signal every ## microseconds (the period), as specified by the servo's specs. The length of that signal (the duration) tells the servo what degree to turn to.
Does that give you a good primer?
See you if you can track down the manufacturer and webpage for the product (where the schematics and details are listed) and go from there. If you're looking to pick up the Adafruit Motor Shield, we can just start there...
Fun projects ahead...
Chris
#5
Posted 15 October 2010 - 09:23 PM
This appears to be the Adafruit motor shield. Okay, great. Here are the schematics.
The motor shields uses all six PWM lines of the Arduino's 8-bit AVR chip. The Netduino's 32-bit AVR chip only has 4 PWM, so two of the motor control headers (left or right side, depending on how you look at it) won't work today.
The one side of the motor control shield should work fine to drive stepper/DC motors. Additionally, the connection for 2 servos should work fine. You should be able to use an existing servo class from the forums (search in the project showcase).
There are some other motor shields--like the DFRobot shield--which may make it easier to use your motors/servos by exposing the 4 PWMs directly. [Does anyone else here have a recommendation on other motor shields?]
Chris
P.S. We're planning on adding "software PWM" in a future firmware update--which would let you use one or two additional motors on that shield. It's purely experimental at this point, but it should be doable--at least for motors and other simple activities.
#6
Posted 15 October 2010 - 10:10 PM
#7
Posted 15 October 2010 - 10:56 PM
#8
Posted 15 October 2010 - 11:08 PM
Will it be more or less Plug n' Play?
I will probably post the project when I complete it
P.S. I plan on using C# with software, so I can understand it better and use it more for hardware (Netduino).
Cwbh
EDIT: It says it will take power directly from the Netduino, perhaps I should get one where I can attach mine own as well?
EDIT 2: I found this one http://www.dfrobot.c...9&product_id=69 It is two amps 7-12 volts and can use external power.
#9
Posted 16 October 2010 - 10:20 PM
#10
Posted 23 October 2010 - 05:58 PM
#11
Posted 23 October 2010 - 06:57 PM
Well, the Motor Controller arrived yesterday, and to be honest I do not understand how I will program this. Right now simple is better.
Did you get the DFRobot one? Are you planning on using motors (controlling speed) or servos (controlling position)?
Chris
#12
Posted 23 October 2010 - 07:01 PM
Well, the Motor Controller arrived yesterday, and to be honest I do not understand how I will program this. Right now simple is better.
If I'm not to busy I can make a class for you. Don't count on it though, you should try to figure it out yourself first.
Which one did you get?
#13
Posted 24 October 2010 - 01:39 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users