Hi everyone!
I'm currently building a temperature logger for some guys doing a research in biology. Tried to make it as small as possible, with temperature sensor that can be crammed in small space.
Since the first revision slash prototype of the device was incredibly simple to make and featured easily procured parts, I decided to write up every step of making the device.
The detailed guide with sources and schematics can be found on my blog, I'll be publishing slightly abridged version here.
The list of parts in the previous step is only good for a prototype. If you want to build something you can give to other people without being scared for the life of your... device, then you'll additionally need:
I'll just leave the picture of all the parts I had (excluding the lid of the enclosure with indicator LED and mode switch associated with it) prior to assembling first revision of this device.
With a device as (relatively) complex as this one, you gotta prototype to make sure all this technology can integrate. Temperature logger will involve FAT filesystem access via SPI, temperature sensor access via OneWire, usage of real-time clock with battery backup.
Got to admit, I never even as much as dabbled in any of those before, at least on STM microcontrollers.
Let's cobble up something that can read temperature and write it to memory card upon a click of a pushbutton - using only jumper wires! Why solder something as impermanent as this?
Prototype code can be found on my blog here.
Whoo, this prototype building was really educational. Hopefully it taught you something about these little inexpensive Bluepill boards with STM32 microcontrollers, their power saving features and so on. You can stop it here, or you can build a more finished version of this device. To do that, you'll have to print out the enclosure and solder your device together. For the schematics and finished device's code, as well as STL models for the enclosure, check out my blog.
Next revision will feature a PCB, serial flash memory instead of microSD and USB configuration instead of Serial.
Thank you for reading this far, and leave your comments and suggestions on this build! Also make sure to post your builds of this simple temperature logger here!