Reading an analog sensor e.g. Air transducer

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Reading an analog sensor e.g. Air transducer

Postby Battwell » Sat Nov 14, 2020 11:06 am

I fitted an air transducer to my machine that outputs analog between 0.5v to 4.5v
Analog in in 0 to 10v
Gauge reads 0 to 150 psi

Code took me a while to work out but is very simple
A video of it working is in what you have made section
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 884
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Reading an analog sensor e.g. Air transducer

Postby Battwell » Sat Nov 14, 2020 11:10 am

B0243919-91B1-4222-A7F4-7BB2F2924F41.jpeg
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 884
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk


Return to Macros

Who is online

Users browsing this forum: No registered users and 2 guests

cron