Datalogger project help
Posted: Fri Jan 22, 2016 1:42 pm
So I'm working on an industrial project.
I am a dentist, and an electronic hobbyist. I have a decent amount of information about electronics.
My project is a datalogger for an industrial environment, for that all circuits are placed in an industrial enclosure and an antenna will be sticking out of it. The creation is four logging bases. And a collection station. The collection station outputs the value to sdcard and serial port. And the clients will use an esp8266 to relay the values to the station. The station and client will have an arduino nano as the brain and the esp for communication only.. No other logic.. I am aware that the esp can handle the whole ordeal but in the first version..the nano will be used for ease.. Then the esp can take over in an upgrade.
I am really puzzled on how to design the system in terms of logic.
Values are collected every minute and esp cannot be left running to save power.. They only wake up when needed
1) clients output basic http pages with the values needed and text parsing is used to obtain the values and write them down. Clients will wake up periodically to update the page and go back to sleep
2) clients are sleeping and they get a wake up tcp signal.. Wake up .. Collect the values from sensors, spit them back over tcp.. Go back to sleep.
Don't know what to use.. TCP sockets or HTTP pages.. Wake up signal over WiFi or just a periodic update of values..
The only thing am decided on is the station sleeping for 45 seconds.. Waking up.. Possibly pinging everyone to wake, update and wait. And they are checked in order with confirmation containing a sleep command.. So they sleep until the next cycle.
I am a dentist, and an electronic hobbyist. I have a decent amount of information about electronics.
My project is a datalogger for an industrial environment, for that all circuits are placed in an industrial enclosure and an antenna will be sticking out of it. The creation is four logging bases. And a collection station. The collection station outputs the value to sdcard and serial port. And the clients will use an esp8266 to relay the values to the station. The station and client will have an arduino nano as the brain and the esp for communication only.. No other logic.. I am aware that the esp can handle the whole ordeal but in the first version..the nano will be used for ease.. Then the esp can take over in an upgrade.
I am really puzzled on how to design the system in terms of logic.
Values are collected every minute and esp cannot be left running to save power.. They only wake up when needed
1) clients output basic http pages with the values needed and text parsing is used to obtain the values and write them down. Clients will wake up periodically to update the page and go back to sleep
2) clients are sleeping and they get a wake up tcp signal.. Wake up .. Collect the values from sensors, spit them back over tcp.. Go back to sleep.
Don't know what to use.. TCP sockets or HTTP pages.. Wake up signal over WiFi or just a periodic update of values..
The only thing am decided on is the station sleeping for 45 seconds.. Waking up.. Possibly pinging everyone to wake, update and wait. And they are checked in order with confirmation containing a sleep command.. So they sleep until the next cycle.