Newbie to Servos/programming - small project
Drivium
Posts: 6
Interested in purchasing this kit: http://www.parallax.com/Store/Microcontrollers/BASICStampProgrammingKits/tabid/136/ProductID/313/List/0/Default.aspx?SortField=ProductName,ProductName
Does this board support multiple types of input monitoring? For example, I'd like to be able to program this to monitor a temp & level setpoint. Is there a separate (small as possible) thermal wire and/or level indicator switch I can hook up to this? I'd be using this to control a small valve. The fact that this runs from a 9v is perfect, because I want this to be self-contained.
Again, new to this, so my terminology may be inaccurate. I read up on some basic programming (I program VB at work and it looks quite similar),so I am confident I can do this. I just want to make sure I have all of the components I need to accomplish my task. This will be a learning project.
thx
Does this board support multiple types of input monitoring? For example, I'd like to be able to program this to monitor a temp & level setpoint. Is there a separate (small as possible) thermal wire and/or level indicator switch I can hook up to this? I'd be using this to control a small valve. The fact that this runs from a 9v is perfect, because I want this to be self-contained.
Again, new to this, so my terminology may be inaccurate. I read up on some basic programming (I program VB at work and it looks quite similar),so I am confident I can do this. I just want to make sure I have all of the components I need to accomplish my task. This will be a learning project.
thx
Comments
Most standard servos will turn 180 to maybe 240 degrees. There are servos (called "winch servos") that will turn maybe 3 times. These are used to make winches on model sailboats.
The servo supplied with the kit may not have enough torque for this kind of application. There are others on the market with much more torque. SparkFun just started carrying a range of sizes.
If you do use a servo motor to control the valve and don't use an electronic valve, you won't need the Relay Board.
Post #1 says "yay, 9V"... don't expect any actuator to be powered by a small 9V battery. Electronics, maybe. You may need significant current. Expect to use a big battery or wall wart for sufficient power.
My goal is to design a set up to literally attach the servo to the knob, or unscrew the knob and attach to the valve stem. I want to be able to move this to any single-knob bath and have it work. But, I'll figure out THAT part. Just need to make sure I have something powerful enough. But, has to be small and battery powered. If not by 9v, battery power of some type.
I don't know if the servo Parallax sells moves this much but in my experience it's relatively rare for a hobby servo to move even 180 degrees. Many servos travel limits are closer to 90 degrees.
I don't think you're going to get this right on your first try. You could attempt to measure the torque required to turn the knob but I bet there's going to be a lot of trial and error testing with this project. I have some links to a few of my favorite servos in post #10 (IIRC) of my index (see signature).
In case you haven't guessed, this is going to be a lot easier said than done. Good luck with it and I hope you keep us updated with your progress.
Is this a single knob? That would need a x and y servo.
If you could do an external version, it would be a big external box and HUGH servos.
The best would be two valves, one for hot, one for cold. Do it behind the wall, and all is good.
Per Mike, a modern single control lever valve requires less force to move than ye olde twist valve & rubber washer. For the latter, you'll need a monster gearmotor or its servo equivalent (not cheap). Neither will be a 5-minute bolt-up job.
http://www.servocity.com/html/robotzone_servos.html
Please post more of your design criteria.
@ecro I'll have to look up Hugh Servo
I was thinking I could make the winch a pull-pull system with lines to both open and close the valve.
This wouldn't be the universal power value you're hoping to make but it should let me get by with a weaker (cheaper) motor to control the valve.
Not trying to discourage, but inform. Your thread's title reads "small project" but it ain't. If you're just jumping into microcontrollers, you should first work thru the basic WAM text & other pertinent material at : http://www.parallax.com/Default.aspx?tabid=362 prior to tearing the tile out of your shower stall.
LiPo packs are great if you're going to be do lots of servo projects but as Mike said, you'll need a special charger for charging LiPo packs. Be aware that a "7.2V" LiPo pack can have a voltage of 8.4V (or higher) when freshly charged. This will quickly destroy many servos. It's not a good idea to use a supply over 6V unless the servo specifically states it can use a higher voltage source.
You'll get your servo to behave much more consistently if you used a regulator between the battery and the servo. As a battery pack drains, the voltage decreases and the servos performance changes with the decreased voltage. It can be very frustrating trying to get a servo to perform consistently without a regulated power source. I discuss this a bit in my cheap bot thread.
Brains can envision all sorts of impossible contraptions. When I first learned (I was very young) about how you can speed up rotation with gears, I envisioned a pedal powered helicopter. All I needed were gears to increase the speed of the pedal rotation and route it to the rotors. Following the advice of erco's signature will often help conform the envisioned to reality.
Please let use know your progress, and feel free to ask questions along the way.