Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Arduino Uno connected to PI 0 W - Sensor Data MQTT
Post: RE: Arduino Uno connected to PI 0 W - Sensor Data ...

Ok, makes sense. The data I'm collecting from the Arduino is just sensor data and it's not mission critical if a little bit is missed here and there, so I think I will stick to just reading it direct...
runboy General Coding Help 4 3,083 Nov-07-2018, 03:55 AM
    Thread: Arduino Uno connected to PI 0 W - Sensor Data MQTT
Post: RE: Arduino Uno connected to PI 0 W - Sensor Data ...

Why would you need Putty? Don't they communicate fine without? Arduino Sketch: const int ledPin = 13 void setup() { pinMode(ledPin, OUTPUT); Serial.begin(9600); } void loop() { Serial.println("...
runboy General Coding Help 4 3,083 Nov-05-2018, 01:43 AM
    Thread: Arduino Uno connected to PI 0 W - Sensor Data MQTT
Post: Arduino Uno connected to PI 0 W - Sensor Data MQTT

Anybody has a reference to a good example of how to best transfer sensor data from Arduino Uno to Raspberry Pi over the USB Cable? I can figure out how to send data back and fourth, but was wondering...
runboy General Coding Help 4 3,083 Nov-04-2018, 08:10 PM
    Thread: action on MQTT while long loop is running
Post: RE: action on MQTT while long loop is running

(Oct-05-2018, 09:46 PM)Larz60+ Wrote: hate to point to stackoverflow, but this looks like what you need for your interrupts https://stackoverflow.com/questions/2395...read-event It is at very specif...
runboy General Coding Help 4 6,113 Oct-05-2018, 11:57 PM
    Thread: action on MQTT while long loop is running
Post: RE: action on MQTT while long loop is running

(Oct-05-2018, 08:28 AM)Larz60+ Wrote: look at: multiprocessing: https://docs.python.org/3/library/multiprocessing.html or threading: https://docs.python.org/3/library/threading.html Thanks Larz60+, ...
runboy General Coding Help 4 6,113 Oct-05-2018, 09:24 PM
    Thread: action on MQTT while long loop is running
Post: action on MQTT while long loop is running

I am in the process of coding a pool controller (Pi 0 W) that accepts MQTT commands in order to fire up the SPA, change pool light color etc. My function for starting and stopping the SPA takes a long...
runboy General Coding Help 4 6,113 Oct-05-2018, 08:17 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020