Quote:
Originally Posted by alistairsam
but when you say powered by usb does it have to be pc controlled or is the usb just a 5v source?
|
Thats a good point, USB controlled or powered is bit tricky.
Unless you want to go to the bother of building a pcb with a micro etc (lots of electronics but granted, save money) why not just buy a cheap small PLC ($150 or so) and everything is built in. Then a wind screen wiper motor or such with 2 limit switches at 0 and90deg and a bit of programing (done right on the PLC, no PC) and it's done. The lamp is simply switched by a built in PLC output relay. No soldering or electronics is required.
If USB control is required, there are many pre-built USB relay out - limit sw in interface modules available, but they require PC interface software/coding skills.