r/microcontrollers • u/AntiqueAds • Jan 16 '23
Help needed: How to access microcontroller firmware for DIY project
1
u/thedefibulator Jan 17 '23
What is this from and what are you trying to achieve? Typically trying to reverse engineer something is much much much harder than making something yourself
1
u/AntiqueAds Jan 17 '23 edited Jan 19 '23
I have a condition called pectus excavatum which causes the breastbone to sink into the chest. This causes breathing difficulties along with other health issues. Typically, this condition can be treated with a vacuum bell which functions by placing the vacuum bell over the chest and drawing air out with a hand pump. My vacuum bell leaks air slowly over time and is very expensive to replace, in the range of $500+ for a quality one. The device I linked can function as a replacement for the hand pump as it can automatically detect a pressure drop and trigger a pump to correct it. Unfortunately, this device also has a timer that must be reset every 20 minutes and this means I cannot use it during the night time which is when I most need it as sleeping without my vacuum bell means I have very poor quality sleep. My hope is to just remove the timer from the code.
3
u/thedefibulator Jan 17 '23
What an interesting problem to solve. I dont think reverse engineering is the way to go for this one. Extracting, parsing and understanding the assembly would be quite the challenge. I have got a decent amount of experience with embedded systems development and i would be very intimidated by such a project.
The simplest solution would be to use a mosfet to emulate the presses of the button. You could have a microcontroller (anything simple such as an arduino or esp32) perform the resetting process automatically every 20 mins to keep it going.
Bear in mind that the pump will not be designed for continuous usage and will drastically reduce its lifespan
1
u/glx0711 Jan 27 '23
Probably a little late, but you could also use a timer-IC of some sort (this for example https://www.ti.com/lit/ds/symlink/tpl5111.pdf ) to toggle a reset. There’s also a breakout board from adafruit available. Also there’s a version that uses a inverted logic (TPL5110 I think).
4
u/fridofrido Jan 16 '23
This video should give you some starting points on how to do this.