Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I was wondering if someone could help. I'm trying to figure out how to make a DC motor turn one way when light isn't available, then turn the other way when light returns. The only thing I've been able to figure out is it will need a photoresistor. Can any one help?
Unfortunately I don't have any parts yet. Basically I’m trying to get it to function like a solar light, just without the light. When the sun sets, the motor will turn one way, when the sun rises the motor will turn the other. So it can run on 1 or 2 rechargeable batteries, and the solar panel can recharge them.
This isn't likely the expected answer but it might be the best. I read it somewhere, I forget where..
Set a tiny 6" cell at 90° to the main panel, and have it directly drive the motor. When the panel is full on to the sun, the small cell will be edge on, so the motor will stop. It tracks perfectly because the small cell has a shape that is inherently precise in response to light from one direction. I never saw, or figured out, the detail of how it gets aligned right for the next day, but the idea is surely to eliminate complex circuitry and keep it as simple as possible so it needs no maintenance. It might be possible to add a small mirror or something to prompt it to return to start when the sun appears next day.
So, is your requirement that the motor runs one way while the battery is charging, and runs the other way when the sun goes away until it depletes the battery?
If so, you will need a solar panel much bigger than one suitable for charging a battery to just run a LED. You never answered the question about how much current it takes to run your motor. I'm guessing that it is on the order of ~50 to 100mA, while a LED lamp runs on ~10mA.
Yeah it can work that way. I'm not sure about the motor. I was just going to pick up one I seen at radio shack. They don't give to many specs on it. And the LED isn't needed, so I guess I can just cut it out. And now that I think about it a bit more, the motor will need to turn one way when the sun goes away and then stop at a certain point, then when the sun returns the motor will spin the other way and stop at a certain point. I'm just trying to make it simple, something I can make from parts at radio shack.