Difference between revisions of "Mixly Block Category - Sensor"

From Microduino Wiki
Jump to: navigation, search
(Created page with "=Read Ultrasonic Range= =Get Temperature/Humidity from DHT11= =Get Temperature from DS18B20= =Initialize GPS= =Read and Print GPS Data=")
 
(Read and Print GPS Data)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Read Ultrasonic Range=
+
=Ultrasonic Sensor=
=Get Temperature/Humidity from DHT11=
+
An Ultrasonic Sensor uses ultrasonic sound to detect the range of an object in which the sound wave is directed towards.
=Get Temperature from DS18B20=
+
 
=Initialize GPS=
+
 
=Read and Print GPS Data=
+
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 detects / returns the result of the ultrasonic ping. Basically, the distance detected.
 +
 
 +
=DHT11=
 +
The DHT11 is a sensor used to measure temperature and humidity.
 +
 
 +
 
 +
Read more here: http://playground.arduino.cc/Main/DHTLib
 +
==Get Temperature==
 +
Returns the temperature (in ?) detected by the DHT11 sensor.
 +
*Pin # - The pin number that the DHT11 is attached to.
 +
 
 +
==Get Humidity==
 +
Returns the humidity (in ?) detected by the DHT11 sensor.
 +
*Pin # - The pin number that the DHT11 is attached to.
 +
 
 +
=DS18B20=
 +
The DS18B20 is a sensored used to measure temperature.
 +
==Get Temperature==
 +
Returns the temperature in Celsius or Fahrenheit detected by the DS18B20 sensor.
 +
*Pin # - The pin number that the DS18B20 is attached to.
 +
*Temperature Return Type - Select to return temperature in either Celsius or Fahrenheit.
 +
 
 +
=GPS=
 +
GPS is used measure location.
 +
 
 +
 
 +
Read more here: http://playground.arduino.cc/Tutorials/GPS
 +
==Initialize==
 +
This block initializes the GPS software and defines the pins that the GPS is connected to. Communication is done with serial communication.
 +
*RX Pin - The pin that the Core modules will receive data from the GPS module.
 +
*TX Pin - The pin that the Core modules will send data to the GPS module.
 +
*Baud Rate - The speed in which data (bits per seconds) is communicated upon.
 +
==Read and Print GPS Data==
 +
This block loops continuously and reads data from the GPS module.

Latest revision as of 21:51, 23 February 2017

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 detects / returns the result of the ultrasonic ping. Basically, the distance detected.

DHT11

The DHT11 is a sensor used to measure temperature and humidity.


Read more here: http://playground.arduino.cc/Main/DHTLib

Get Temperature

Returns the temperature (in ?) detected by the DHT11 sensor.

  • Pin # - The pin number that the DHT11 is attached to.

Get Humidity

Returns the humidity (in ?) detected by the DHT11 sensor.

  • Pin # - The pin number that the DHT11 is attached to.

DS18B20

The DS18B20 is a sensored used to measure temperature.

Get Temperature

Returns the temperature in Celsius or Fahrenheit detected by the DS18B20 sensor.

  • Pin # - The pin number that the DS18B20 is attached to.
  • Temperature Return Type - Select to return temperature in either Celsius or Fahrenheit.

GPS

GPS is used measure location.


Read more here: http://playground.arduino.cc/Tutorials/GPS

Initialize

This block initializes the GPS software and defines the pins that the GPS is connected to. Communication is done with serial communication.

  • RX Pin - The pin that the Core modules will receive data from the GPS module.
  • TX Pin - The pin that the Core modules will send data to the GPS module.
  • Baud Rate - The speed in which data (bits per seconds) is communicated upon.

Read and Print GPS Data

This block loops continuously and reads data from the GPS module.