Morkelon
Posts: 3
Joined: Thu Feb 09, 2017 1:00 pm

arduino and rasp?

Fri Feb 10, 2017 2:38 pm

Hi everyone!
I'm new to these forums.
Im Dante from Argentina. Im a reptile and plant breeder and new to programming and using microcontrollers.
Last year I managed to build a 4 heatpad arduino based controller for some of my reptile vivariums, and I was looking to expand that number. My plan was yo buy more arduinos but I was wondering about raspberry and I found this web.
My question is, since I need to control several vivaria and cages (15), would it be possible to use the raspberry as a wireless central to control 3-4 arduinos, each of them controlling 4-relays?


Thank you in advance.

jbudd
Posts: 1446
Joined: Mon Dec 16, 2013 10:23 am

Re: arduino and rasp?

Fri Feb 10, 2017 10:59 pm

would it be possible to use the raspberry as a wireless central to control 3-4 arduinos, each of them controlling 4-relays?
You can certainly use a Raspberry Pi like this.
The Pi could act as the router for a wireless network, or else connect everything to pre-existing wifi.
Have an MQTT message broker on the Pi. The arduinos can subscribe to command messages eg "vivarium1/heater on"and publish status messages eg "vivarium1/temperature 32".
Also on the Pi use Node-Red to tie together your sensor data, light and heater schedules and issue MQTT commands.
Node-Red has a nice web based interface and you can easily display graphs, gauges and dials for monitoring status.

Return to “Beginners”