Quantcast
Channel: Millumin Forum
Viewing all articles
Browse latest Browse all 565

Millumin with Arduino and a HC-SR04 Ultrasonic Distance Sensor

$
0
0
Hej,

I have successfully been been testing Millumin with Arduino and a potentiometer and switches for various interactive inputs, auto-coded/programmed with Millumin. I like to maintain the uploaded auto-coded/programmed settings I have now.
I now like to add a HC-SR04 Ultrasonic Distance Sensor, and use the returned distance value as an interactive input in Millumin.
The HC-SR04 Ultrasonic Distance Sensor has a transmitter and a receiver. Codes for Arduino with the a HC-SR04 Ultrasonic Distance Sensor can be found at: 

I like to know if I can upload the code (and the NewPing library - see further down in the tutorial) via the Arduino Desktop IDE, and then "autoprogram" the digital output, ex D3 as " IN : sensor (such as infrared sensor or potentiometer)" for Millumin to read a value from the HC-SR04 Ultrasonic Distance Sensor?

Thank you.

Arthur



Viewing all articles
Browse latest Browse all 565

Trending Articles