Botroniks Arduino codes for everyone = PCC1060A: Read temperatures with MLX90614 (GY 906) Infrared non contact temperature sensor - FREE!


BotronikS - Final code for all types of Arduino and PC users: -- HOME -- CONTACT

Nano
Uno
Mega

Botroniks Arduino Code
MLX90614: 1 - 2 - 3
 
 
 
 
 
misc: Wires: 1--2--3 - Resistors: 1 - 2- 3
 
Arduinos
connections (click to enlarge)
- Need additional accessories:

PCC1060A: Read temperatures with MLX90614 (GY 906) Infrared non contact temperature sensor - FREE!
The offered code shows both measuring temperatures: sensor temperature and object temperature
Used sensor MLX90614 (GY 906): Lnk1 -- Lnk2 -- Lnk3
For Arduino boards:: NANO -- UNO -- MEGA
Arduino pins are used:
uc ATmega328p (NANO, UNO,...): A4(SDA)=Sensor SDA - A5(SCL)=Sensor SCL
uc AtMega2560 (MEGA,...): D20(SDA)=Sensor SDA - D21(SCL)=Sensor SCL
 
Electrical note: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 )
Sensor MLX90614 rest of connections: VCC=5V GND=GND
(Add resistors 4K7-10K from (SDA) and (SCL) to 5V (if sensor dont have them on pcb))
No additional power required (USB power only from PC).
 
Download the FreeHEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uc ATmega328-16MHz-5V (NANO,UNO...): PCC1060A-M328
2. uc AtMega2560 (Mega (ATMEGA2560)....): PCC1060A-M2560
 
You can test the uploaded code using some free serial communication software such as Termite
Description of program commands
AT command (ASCII characters) - 9600 Baud ,8 Data bits,None Parity,1 Stop Bit - AT commands must be uppercase, lowercase invalid
AT - attention command (returns OK)
AT+INF - software code info (returns ucAppName)
AT+RV1 - Reading value 1 (Sensor (Ambient) temperature in Celsius) (in one decimal digit form)
AT+RV2 - Reading value 2 (Object (Target) temperature in Celsius) (in one decimal digit form)
AT+RV3 - Reading value 3 (Sensor (Ambient) temperature in Farenheits) (in one decimal digit form)
AT+RV4 - Reading value 4 (Object (Target) temperature in Farenheits) (in one decimal digit form)
 
For those familiar with ArduinoIDE programming: PCC1060A - PCC1060Azip
 
 
PC Application(s):
PC Application(s) (for WINDOWS): In order for the offered PC applications to work, it is necessary to download and install (only first time): VB6RunTimePlus2.2
Download the PC application, unpack and start (allow windows to start applications - how) enter the COM port number where the Arduino is connected and use that.
 
PC App: PCC1060A-PcApp1