Cool. Many thanks for your prompt and helpful advice, much appreciated.
Charlie
@Charlie
Best posts made by Charlie
Latest posts made by Charlie
-
RE: Sensor Network and rPi's onboard WiFi?
-
RE: Sensor Network and rPi's onboard WiFi?
OK, thanks. I'm looking to build a self-contained wireless network of sensors and actuators which can be deployed in a range of environments. Some of these will have external wifi access so that simplifies things, but in some cases there won't be any external wifi in which case the network must be able to operate independently and the controller can store data / logs for periodic download probably by a physical connection to eg a laptop as part of a routine maintenance schedule. Hope this helps clarify my requirement.
-
RE: Sensor Network and rPi's onboard WiFi?
Got it, thanks. So I'd need to set up each ESP with gateway software (looks like the best bet would be https://www.mysensors.org/build/esp8266_gateway ?) plus the code to read/write its attached sensor? And each gateway would talk to the controller, all in the absence of an external wifi network, ie it's self-contained? I'll go away soon, promise.
-
RE: Sensor Network and rPi's onboard WiFi?
@mfalkvidd now I'm confused! I thought that a sensor + MCU + wireless module = a sensor node, and that each sensor node talks via wireless to a gateway which handles network traffic and also communicates wirelessly with a controller, sending it sensor data and routing commands around the network. But you're suggesting that sensor + MCU + wireless module = a gateway, so there would be multiple gateways on the network, each of which would talk directly to the controller? And every gateway would have a sensorID of 0?
-
RE: Sensor Network and rPi's onboard WiFi?
Ah OK: so based on your diagram each sensor node (yellow circle with an S in it) would be an ESP8266 plus a sensor (temp, humidity etc), the controller would be the rPi using onboard wifi. I'm wondering if one of the sensor nodes (yellow circle) could also act as a gateway (blue circle) to enable all the sensor nodes to talk to the rPi, or if this needs to be a separate distinct module.
-
RE: Sensor Network and rPi's onboard WiFi?
Thanks for that! Inevitable follow-up questions: if I have a network of sensors, each connected to it's own esp8266, can one of these act as the gateway as well as collecting its sensor data, or do I need a separate dedicated gateway? Also, this network may not always have internet access: can this configuration work in the absence of an external router etc - ie is it self-contained? Thanks.
-
Sensor Network and rPi's onboard WiFi?
Warning, noob question but I couldn't find a straightforward answer to this. If I have a sensor network built on say ESP8266 modules and am using the rPi 3 as the gateway, can I use the rPi's onboard wifi to talk to the sensors, or do I have to connect eg another ESP module to the rPi to handle this? All advice welcome, thanks in advance.