The AM2315 “How-To” – Updated

As promised, I have updated the AM2315 temperature sensor “How-To” document for modern times. The changes include:

  • The removal of the obsolete quickwire library that caused so much pain.
  • Removing quickwire also removed the dependency on Python3.
  • Added the very capable i2c library tentacle-pi written by lexruee.
  • Use of the Raspian Switch OS means these instructions work on any Pi.
  • Streamlined 6-Step process.

I have tested the new procedures on every Pi that I have in the drawer. This includes a Pi v1, v2, vA+, v3, and the Pi Zero. Yup – they all work using the same software and the same pinout. Sweet!

You can download the new document and test script here.

For all of you that have contacted me in the last couple of months trying to get your sensor working, I apologize for the delay in getting this document updated.


The AM2315 Sensor – Revisited

Hello fellow smoke-breathers. Sorry about the very long absence from my blogging duties.  I intend to be more active now that I no longer travel so much.

Over the last several months I have received some Emails telling me the AM2315 temperature sensor code I wrote long ago no longer works. There are a lot of reasons for this. First, the Google code repository has been taken down and folks are having trouble finding the quick2wire code libraries. They are now posted here.

Second, there were some hardware changes made to the Pi-3 and Pi Zero that broke the sensor detection code in my script. Finally, the use of the quickwire code is difficult due to its size and complexity. There are better i2c code libraries available now.

Since the AM2315 is still a popular hacking sensor, I will plug in an alternative i2c library, test the code on the latest Pi’s, and update the ‘How-To’ document.

Standby for the update – ‘ol Sopwith is working on it.