3 ms·
This is very cool! At first, I had some questions about why you'd use a Raspberry Pi for this, but once I realized that video was being recorded as well it mad
by Mister_Snuggles 6y ago
This is very cool!
At first, I had some questions about why you'd use a Raspberry Pi for this, but once I realized that video was being recorded as well it made more sense. I'm quite impressed.
For increasing sample rate, it really depends on where the problem is. The Pi is recording video and managing the sensors - are these two tasks competing with each other?
Perhaps using another controller to deal with the sensors and telemetry transmission could help (if contention is actually the problem). Something like the ESP32 in the D1 Mini form factor would easily fit in the rocket. If I was doing this, I'd ignore the ESP32's onboard radios and use the LoRa module since it seems to work quite well in this application.
[0] https://johnjonesfour.com/2020/10/03/model-rocket-telemetry-part-1/ https://johnjonesfour.com/2020/10/03/model-rocket-telemetry-...
- johnjones4 6y agoGood idea! I'd want to do some research and simulations to figure out how much of an altitude hit I'd take with the added weight of an additional controller.
- Mister_Snuggles 6y agoThis[0] is the ESP32 module that I keep on hand. The seller doesn't list any information that would help with your simulations, but the photos can give you a rough idea of the physical size. Other than a bare ESP32 module[1] I don't think I've seen a physically smaller ESP32 board. You can program these with the Arduino IDE, so they're quite easy to use and there are tons of libraries available for interfacing with sensors, etc. [0] https://www.aliexpress.com/item/32834982479.html https://www.aliexpress.com/item/32834982479.html [1] https://www.aliexpress.com/item/1005001271041790.html https://www.aliexpress.com/item/1005001271041790.html
- johnjones4 6y agoThank you!
- WrtCdEvrydy 6y agoI'm rather a fan of IZOKEE Development Board for ESP8266 because you get Wifi / WLAN built-in but yeah, ESP is cheap!
- dTal 6y agoI've used TinyPICO Esp32 modules. They're even smaller than D1 Minis! They lack the metal cover, though I don't quite know what that's for (mumble EMI?).
- sdenton4 6y agoLooks like the pocketbeagle has two 'programmable real-time units' PRUs @200MHz which could be used to run the sensors while the main CPU handles video+I/O. Could be a good option for 'multithreading' without having to insert another module. (caution: I've kept to the rpi for weird little side projects, so haven't actually tried this. Double super big caution: Never add hardware before profiling your current system to figure out where the bottleneck is... it might just be a matter of changing your 'main loop' a bit.) http://beagleboard.org/pru http://beagleboard.org/pru