Altijd als eerste onze nieuwste blogs lezen? Laat je email adres achter en je ontvangt een bericht als wij een nieuw blog plaatsen.

To learn more about Internet of Things, we are building a fermentation monitor to monitor the progress of homebrew beers. In this final blog I put everything from our last blogs together and start brewing!

Headerafbeelding van Internet of Things

Did you miss the first blogs in this series? Click here to read this first blog.

Putting it all together

For the final setup we used the following components and soldered it to a PCB so it could be placed on the Raspberry Pi as a shield:

Image of the monitor

  • Raspberry Pi running Windows 10 IoT
  • 2x DS18B20 (regular and waterproof version)
  • DS2482-100 (to bridge the one-wire temperature sensors to I2C)
  • SW410 NC Vibration Sensor
  • 4.7K Ohm resistor
  • PCB, female pin headers, connectors and some wiring.

 Image of electronics

The source could be found on my GitHub page.

Brewday!

After successfully letting the setup run for a couple of days in the office and let colleagues wiggle the sensor so now-and-then we were ready to start brewing. So a couple of weeks later we started brewing, filled up the fermentation container and connected the monitor and… nothing…

Image of the brewing process

It turned out that during the test period there was an automated OS update installed on the Raspberry and made the app incompatible and made it impossible to start or even redeploy.

We think it has to do with the combination of a project template made in Visual Studio 2015 and the Raspberry auto update. After a lot of hours trying to fix it, we have recreated the project (in Visual Studio 2017) and copied all source files and everything started working again!

However, by then the fermentation was already over, so we don’t get a chance to test the monitor yet.

Conclusion

We don’t have any explanation why the app stops working since nothing changed (no new deployments were done). The only thing changed was an automatically installed update. By default, auto-update is enabled, so I advise to turn it off for ‘production’ devices.

The good news is that the beer looks good and could be tasted in a couple of weeks. Since we still must test the fermentation monitor, we have a good excuse to brew a new beer soon!

Meer achtergrond nodig? Neem contact met ons op

Deel deze pagina