Netduino home hardware projects downloads community

Jump to content


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.

Asymptot

Member Since 21 Sep 2010
Offline Last Active Sep 01 2012 07:00 PM
-----

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?

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.