This requires extreme IO and the IO Expander delivers. Lots of sensors and devices need to be automated down to each grow bed or individual plant. One such application is in aquaponics or hydroponics. So Why Do I Need to Control So Many Relays? * IO Expander * * Control 64 Relays * */ #include #include "IOExpander.h" #include //#define SERIAL_DEBUG #define MAX_RELAYS 64 #ifdef SERIAL_DEBUG SoftwareSerial swSerial(8,7) #endif char cmd void setup() All the Relay Expanders are powered from the relay board they are connected to. We generally face problem of having very less number of pins available for Arduino projects.So I decided to make a small project which will help us solve thi. Note: In the above wiring diagram the IO Expander and Arduino Nano are being powered by the first relay board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |