Tuesday, April 24, 2012

Keyes Modules 1,2,3

KY001: Temperature Sensor Module


Internal IC - DS18B20 Programmable Resolution 1-Wire Digital Thermometer
Manufactures documentation- PDF
Sample Code - link,

Before you use it you need to download and install the OneWire.zip.  Remember to restart the IDE after install it..


After running you will see this in the port monitor.



ROM = 28 27 D0 6A 3 0 0 1C
  Chip = DS18B20
  Data = 1 C7 1 4B 46 7F FF 9 10 1  CRC=1
  Temperature = 28.44 Celsius, 83.19 Fahrenheit
No more addresses.

Apparently its 83.19 degrees.


You will also notice a small LED that flashes on the Keyes KY001 module every time the serial data gets sent.

KY002: Temperature Sensor Module

Internal IC -   Shake Switch  SW-18015P
Manufactures documentation here
Sample Code here
Notes:  It looks a bit different than whats shown in the picture.

KY-003 Hall magnetic sensor modules



Internal IC -   3144EUA-S 
Manufactures documentation here
Sample Code here
Notes: 





No comments:

Post a Comment