Hi community! I ordered my pi just last weekend, after a long period of thinking "what would I do with such thing?"
I want to use the pi to log sensor readings, control actuators, and to be able to send data to an internet server periodically and provide a web-based GUI with the pi so users may change parameters of the logger. I have reached this goal with Arduino but Arduino has very limited memory, crude debugging, and its wifi hardware is far from stable so I wanted to migrate the project to pi.
I think I need to learn the following:
How to talk with Arduino via serial port to read sensors and control actuators (I can take care of the Arduino side)
How to establish a TCP connection with remote server and post data to remove server
How to listen to certain TCP ports and provide service to clients (web-based GUI)
Please kindly provide some information such as sample code, online or book readings. Thank you!