Re: Raspberry Pi temperature sensors

new topic     » goto parent     » topic index » view thread      » older message » newer message

It's hard to reply to every comment, so i'll just summarize my thoughts.

There's nothing wrong with using shell scripts, especially on linux, where you can do almost anything at the command line. But, writing a euphoria program to do system calls to run the same commands is useful, because you can feed the output string into a sequence and do stuff with it in a euphoria way. I actually use a bash script to start a euphoria program to do system calls, with pipes to get the results. It works great.

Status update: I have a program on the Raspberry Pi that starts automatically on boot (a cron job) which sets up the 1-wire protocol on one of the GPIO pins, then runs continuously to read the temperature sensors and write the results to a log file in JSON format every 1 minute. Everything is on a shared folder (using Samba), so, i have a program running on my Windows desktop using redylib that reads the log files on the shared folder and displays status with a GUI. It's working great so far, but it still needs some polishing.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu