Pages: [1]   Go Down
Author Topic: Ok. so Another noob question...  (Read 361 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The best thing i could find is
http://www.arduino.cc/playground/Main/DCMotorControl

im looking to build a pwm motor speed controller

I would like to do this with a digital pot. however im not picky if an analog pot must be used im fine with that too.
this is just a project im working on. ive got no experience major with this yet. but before i get in to something more exciting id like to learn something that seems easy.

BTW. also not looking for anyone to tell me how. just point me in the right directions.

Thank you
Logged

South Louisiana
Offline Offline
Full Member
***
Karma: 0
Posts: 178
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Might need some more info. Want the motor to just go one direction and you control speed or you looking to have it be bi-directional?

If one direction see what you can do with this line

Code:
// map the speed controller output from the 10 bit input to a pwm output of 8 bits
speedOut = map(analogRead(A0), 0, 1023, 0, 255);
« Last Edit: September 18, 2012, 09:43:17 pm by Goofballtech » Logged

Dubuque, Iowa, USA
Offline Offline
Edison Member
*
Karma: 45
Posts: 2473
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not clear how you plan on using the digital pot, but if your intention is to use it to limit the current to the motor then you should be aware that digital pots aren't designed for more than a milliamp or so.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes one direction is all im really looking for. and im more so looking to adjust the voltage from 1 to 10 v in increments of .1 im looking at the buttion example for this.
Logged

Pages: [1]   Go Up
Jump to: