- Netduino Forums
- → Viewing Profile: Posts: Asymptot
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Community Stats
- Group Members
- Active Posts 19
- Profile Views 5928
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
Asymptot hasn't added any friends yet.
Posts I've Made
In Topic: Issue with DFRobot MotorShield 1A
17 August 2012 - 09:21 AM
Thank you very much!
I think i figured out my PWM problem.
Any value of the duty in SetDutyCycle(duty) between 70 and 100 work well.
70 giving a very slow running motor.
Under 70 it sometimes run, and sometimes doesn't.
I plan of using it in a PID-corrected line following bot.
If i keep using SetdutyCycle, it'll give me 30 distinct values, which is enough.
Do you think it'd be worth it using SetPulse for more granularity? (then, i'll need to figure out what frequency to use first).
Thank you again,
Farouk
In Topic: Issue with DFRobot MotorShield 1A
16 August 2012 - 03:45 PM
Thank you for your answers!
I use a 9V battery power source when i have the motors plugged, and onyl the USB one when I don't have the motors plugged, and just testing the shield looking what happens with the LEDs.
I will test your library and also try different cycle values.
Thank you for the suggestions :-)
In Topic: Issue with DFRobot MotorShield 1A
16 August 2012 - 03:12 PM
Thank you,
that explains why the motors run by default.
I still don't understand why trying to set the PWMs completely turn them off...
Any suggestion?
- Netduino Forums
- → Viewing Profile: Posts: Asymptot
- Privacy Policy