I am doing job at IOT from 6 months, as a fresher i got this project just to check,can we operate relay by 2 controllers at a time.
hardware with me
- 8 channel relay module
- arduino uno
- relay ON Conditions
The first 4 channels of the relay board should be controlled first by Arduino Uno controller. relay 1 (ON) delay(2000)…relay 2(ON) delay(2000) relay 3( ON)…delay…relay 4 (ON) like wise
then next 4 channels of relay board should be controlled by ESP8266 nodemcu controller… relay 5(ON)…delay relay 6(ON)…likewise.
2.Relay OFF conditions
after turning ON all LEDs…with same delay process, channel 8 should OFF first then 7,6,5 by nodemcu. And channel 4,3,2,1 should be OFF by arduino uno with delay process
all this should be done when we plug in both controllers to power supply.i have downloaded SoftwareSerial.h library for serial communication between both controllers and i am trying to sketch for both controllers but i can’t do it