Loading... Please wait...

fb-findusonfacebook-100.png

Our Newsletter


Suppliers

2co-vertical.png

Electronic Brick - Temperature Sensor

  • Image 1
RRP:
$3.95
Your Price:
$2.95 (You save $1.00)
SKU:
EB-TEMPERATURE
Current Stock:
27
Quantity:


Product Description

The temperature sensor bricks uses a thermistor which returns the ambient temperature in the form of a resistance value.  The 3 pins are GROUND, Vcc (5VDC), and SIGNAL.  The onboard switch allow the sensor to be used in one of the ANALOG or DIGITAL modes.  In ANALOG mode the SIGNAL can be read from an Arduino analog input.  in DIGITAL mode the potentiometer adjusts the set point.  If the temperature exceeds the set point the SIGNAL level goes HIGH.

What are Electronic bricks?

Datasheet

Schematic

Analog Mode (A)
Push the snap switch of sensor to analog output, connect S port to A0 port of Arduino board, and we will use the following program to read the analog value of temperature and send it to computer for display via the serial port.

 int ASignal = A0;
 void setup() {
 Serial.begin(9600);
 }
 void loop() {
 int sensorValue = analogRead(ASignal);
 Serial.println(voltage);
 }

Digital Mode (D)
Push the snap switch of sensor to digital output, connect S port to D2 port of Arduino board, and we will use the following program to read the digital value of temperature and send the threshold condition to computer for display.

 int DSIGNAL = D2;
 void setup() 
 {
 Serial.begin(9600);
 pinMode(DSIGNAL, INPUT);
 }
 void loop() 
 {
 int DsignalState = digitalRead(DSIGNAL);
 Serial.println(DsignalState);
 delay(100);      
 }

Find Similar Products by Category


Add to Wish List

Click the button below to add the Electronic Brick - Temperature Sensor to your wish list.

You Recently Viewed...