资 源 简 介
This class allows you to control an usb-rly08, a device that connects to a USB port of a computer and is able to control up to 8 electrical relays.
Combining this device and this class, you"ll be able to switch on/off lights, electrical appliances, motors and almost any other electrical device that can be triggered by a switch. Check out the maximum amperage that this device can handle.
The usb-rly08 uses the FTDI FT232R chip (http://www.ftdichip.com/Products/ICs/FT232R.htm), which is what makes this thing so easy to program. The device appears as a conventional serial port on your computer. In most linux systems with a decent kernel, it will even be automatically detected, so you will get up and running in a few minutes.
This can also serve you as a reference to program your own class for other similar devices.
Go to http://www.robot-electronics.co.uk/htm/usb_rly08tech.htm or http://www.superrobotica.com/S310240.htm for more info on the usb-rly08