Use MLX90614, DHT22, BMP180 and Arduino to collect cloud height data.


Arduino Uno R3



1 x 1K ohm resistor


Breadboard wires



Attached code for Arduino.


If you are going to reformat the data output for long term collection, I suggest a longer wire connections for the DHT22, and put it under a radiation shield. UV exposure will degrade this sensor.


I used 3 volts and not 5 volts for the BMP180, and the MLX90614 in order not to fry the sensors.

Login to post a comment...

tedfrimet 4 years, 6 months ago

100,000 sample data points are included in the download section. Graphics PDFS, derived from those data points, are also in downloads, as live data examplars.

tedfrimet 4 years, 6 months ago

Cloud_Lidar_Revision_2.ino has code consolidation. It will output a header file (once) and as many detail lines as you can data collect. Your sensor will sample data approximately four times per second. At the top code comments, you will find instructions to capture your data to Mac's screen log. Also included are basic instructions on how to import your Mac's screen log into Mac's Numbers (spreadsheet program).

tedfrimet 4 years, 6 months ago

There is a revision to the first Arduino .ino code I published. On line 363, there should be a "-" instead of "=" The below line is correct: float myCloudTempSpread = abs(mlxCloudTempC - dP); The correct Arduino .ino file is uploaded. "Poor Man's Lidar Code.fzz" also contains the code correction.