The Python Oracle

How to read & accumulate sensor values at high frequency, without constantly writing to disk (RPi 2 b+, MCP3304, Python)

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Thinking It Over

--

Chapters
00:00 Question
04:32 Accepted answer (Score 4)
06:12 Answer 2 (Score 0)
06:50 Thank you

--

Full question
https://stackoverflow.com/questions/3804...

Question links:
[Raspberry Pi 2 Model B+]: https://www.raspberrypi.org/products/mod.../
[MCP3304]: http://www.farnell.com/datasheets/148611...
[1]: http://codeandlife.com/2012/07/03/benchm.../
[2]: https://www.raspberrypi.org/forums/viewt...?
[This link]: https://projects.drogon.net/understandin.../
[this test-code I wrote to quantify how fast I could read my ADC]: https://stackoverflow.com/questions/3823...

Accepted answer links:
https://raspberrypi.stackexchange.com/qu...
http://www.hertaville.com/interfacing-an...
[https://www.raspberrypi.org/forums/viewt...]: https://www.raspberrypi.org/forums/viewt...?

Answer 2 links:
https://atman-iot.com/blog/raspberry-pi-.../

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #raspberrypi #sensors #adc

#avk47