Re: Code Bounty
- Posted by katsmeow Feb 06, 2023
- 956 views
Kat, so you don't want to use wifi, and you don't want to use ethernet. What was your plan to communicate with the pi?
After Jim's post got me thinking, and what you just said, the waters are so muddy, i don't know what anyone thinks. IF wintel boxes had accessable IO pins, like the Pi does, then "mini-itx" can be substituted for "Pi" in the following, because the Pi has no spinny harddrive.
I do not want:
continuous wifi on for continuous use
100 arduinos on the ethernet, cost and excessive bandwidth
loss of data when a wintel GUI box goes offline
strange signalling (such as lightning) going straight into a pricey Pi
need to disconnect a wintel box to use a different wintel box
I do want, depending on project:
continuous monitoring of many small environmental sensors, no matter where they are
high speed byte-wide data pulled from a static ram in a Tek 5A14 or 5A26 or etc
storage i don't need to worry about
all programming done in OE/Phix
very low electrical power consumption
some form of wired connection out beyond normal comm protocols
So you see, monitoring a smoke detector out at the property line has nothing to do with looking at a waveform from the 5A26. An Atmel/Arduino can watch for the smoke, send to the Pi which can make a decision concerning the smoke and windows being closed or operate an attic fan, and save data about the waveform that triggered the oscope data save. At my convenience, i can use any wintel box anywhere to query the Pi(s) via the lan. Include all references to any "home automation" here. The Arduino can make stupid devices "smart", as well as format a signal the Pi accepts.
Ard1: i detect rain (house is smart)
Pi: Ard6, close all your windows (windows are smart in zone 1)
Pi: Ard16, close all your windows (windows are smart in zone 2 also)
Ard16: Pi, window3 failed (smart)
Pi: Ard12, locate Kat (house is still smart)
Ard12: utility room (Bill Gates's house did this 30 years ago)
Pi: Ard11, alarm(80,"Kat, it's raining, bay window3 will not close") (Pi made a decision and an action)
Ard43: Pi, we got snailmail (things are smart)
Ard56: boiler feedwater is 110F
Variations occur. Your mileage may vary. Batteries not included. Your call is not very important to me. This line is not monitored for training purposes.
Kat