Re: Taking the red pill...

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

Fortunately (or not) the $2 programmable chip has replaced nearly all the custom-designed dedicated stuff.

The most common way to interface sensors with a computer is with a $6.50 ESP8266 via wifi. Can be used on a network or directly as its own server. Inputs can be serial, parallel or I2C. If your sensors use RS-232 you will need a level converter from +-12 v. to 0-3.3 v. There's also one analog input 0-1.0 v.

https://www.amazon.com/HiLetgo-Internet-Development-Wireless-Micropython/dp/B010O1G1ES https://iotbyhvm.ooo/gpio-pins-esp8266/

Those do require some minor C programming, but there is example code all over the internet. I was able to figure it out, and you are a better programmer than I am.

On the Euphoria side of things, loading and parsing an html web page from the 8266 should be straightforward. Other protocols such as ftp are also possible.

If you need to control relays or such, you can connect them to the digital IO pins on the 8266 and control them from links on the web page(s). The 8266 can parse the query string to switch things off and on. That way, they can be controlled from a browser, phone, etc. or from a Euphoria program without needing a browser at all.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu