Solar-powered AM2315 Sensor

To build an autonomous weather sensor I build an IoT node powered by a solar cell.

The following components were used:

  1. NodeMCU V2 Module with customized firmware (
  2. Digital temperature and humidity sensor AM2315
  3.  2W Solar Panel 80X180 (SKU: 313070003)
  4. LiPo Battery Charger LiPo Rider Pro (SKU: 106990008)
  5. Battery-LIPO 1400 mAh

To reduce the power consumption the AM2315 sensor will be queried all 5 minutes only. The battery voltage is observed too, to get an indication for the battery condition.

The data will be sent to and can be seen calling this URL. Here is a snapshot from the morning of 04/13/2016.

An alternative website with integrated diagrams by iframes is here.


You will find the application program am2315_node.lua at Sourceforge and Github. I used a customized firmware for NodeMCU from master branch. The dev branch has AM2320 support included but I had problems within startup and went back to the master branch. Therefore the separate AM2315 module am2315.lua is required.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s