You could probably cobble together a networked version of firmata to do this (one may already exist), or write a sketch to interpret http messages.jakkie07 wrote: ↑Thu Jun 14, 2018 10:52 amI have the network shield for my Arduino.
I would prefer cable connection then Wifi.
The part on the RPi is easy, and I was able to do this controlling relays straight from the GPIO.
I would prefer having an network device (arduino) connected to the relays.
I have looked at LAN enabled relays.
Completely agree with this! I have been amazed at how easy they are to set up.OutoftheBOTS wrote: ↑Thu Jun 07, 2018 9:05 pmInstead of using Arduino at the relay end use a ESP8266 as they are alreayd wifi enabled and specailly designed for IOT. Google "esp8266 nodemcu"
The ESP8266 can be programmed with Arudino IDE or Micro-Python or Lua.
Using MQTT is the easiest way to send instructions from your RPi to the ESP8266 via network.
Users browsing this forum: No registered users and 8 guests