Download Print this page

Waveshare Accessory Shield User Manual page 10

Advertisement

Accessory Shield User Manual
three LED chips (R, G and B) embedded in the LED light. And the mixture of RGB
can display rich colors.
Operation and phenomena:
Perform program compiling and uploading to the board. If the program is running
well, you can see the RGB LED displays gradient colors.
2.2.5 Temperature sensor: LM75B
The LM75B is a temperature-to-digital converter with I
application design, it only requires a decoupling capacitance to work with. And there
are three selectable logic address pins so that eight devices can be connected on
the same bus without address conflict.
It has the following features:
Pin-for-pin replacement for industry standard LM75 and LM75A;
2
I
C-bus interface with up to 8 devices on the same bus, frequency range from
20 Hz to 400 kHz with bus fault time-out to prevent hanging up the bus;
Power supply range from 2.8 V to 5.5 V;
Temperatures range from -55℃ to 125℃;
11-bit ADC that offers a temperature resolution of 0.125℃;
Temperature accuracy of:
± 2℃ from -25℃ to +100℃;
± 3℃ from -55℃ to 125℃;
Supply current of 1.0A in shutdown mode for power conservation;
ESD protection.
When LM75 servers as a slave, a 7-bit slave address is used.
1= HIGH, 0= LOW
MSB
1
0
The pins A2/A1/A0 of this module are tied to Ground, so the slave address is 0x48
in here.
Operation and phenomena:
Perform program compiling and uploading, and then click the button
the serial port monitor of Arduino IDE. If the program is running properly, the monitor
will display the current temperature value. Touching LM75 with your hand, you can
see that the outputted sample values change too, as the figure shows below.
th
V1.1.6, March 10
2015
0
1
A2
2
C interface. In a simple
LSB
A1
A0
Waveshare
to start
10

Advertisement

loading