Difference between revisions of "Mixly Block Category - Sensor"
From Microduino Wiki
(Created page with "=Read Ultrasonic Range= =Get Temperature/Humidity from DHT11= =Get Temperature from DS18B20= =Initialize GPS= =Read and Print GPS Data=") |
(→Read Ultrasonic Range) |
||
Line 1: | Line 1: | ||
− | =Read | + | =Ultrasonic Sensor= |
+ | An Ultrasonic Sensor uses ultrasonic sound to detect the range of an object in which the sound wave is directed towards. | ||
+ | |||
+ | |||
+ | Read more here: http://randomnerdtutorials.com/complete-guide-for-ultrasonic-sensor-hc-sr04/ | ||
+ | ==Read Range (cm)== | ||
+ | This block returns the distance in centimeters (cm) that the Ultrasonic Sensor detects a object to be. | ||
+ | *Trigger Pin - Is the pin used to activate the ultrasonic ping on the sensor. | ||
+ | *Echo Pin - Is the pin which detect / returns the result of the ultrasonic ping. Basically, the distance detected. | ||
+ | |||
=Get Temperature/Humidity from DHT11= | =Get Temperature/Humidity from DHT11= | ||
=Get Temperature from DS18B20= | =Get Temperature from DS18B20= | ||
=Initialize GPS= | =Initialize GPS= | ||
=Read and Print GPS Data= | =Read and Print GPS Data= |
Revision as of 01:44, 23 February 2017
Contents
Ultrasonic Sensor
An Ultrasonic Sensor uses ultrasonic sound to detect the range of an object in which the sound wave is directed towards.
Read more here: http://randomnerdtutorials.com/complete-guide-for-ultrasonic-sensor-hc-sr04/
Read Range (cm)
This block returns the distance in centimeters (cm) that the Ultrasonic Sensor detects a object to be.
- Trigger Pin - Is the pin used to activate the ultrasonic ping on the sensor.
- Echo Pin - Is the pin which detect / returns the result of the ultrasonic ping. Basically, the distance detected.