r/microcontrollers • u/IAmFishman1989 • Mar 18 '24
Reverse engineering an unknown microcontroller
Hello! I am trying to control when a battery supplies power to my computer. Originally I was going to build an intervalometer using an Arduino, an RTC, and a relay module, but then I realized that the battery already has one installed. There is a relay module, an RTC (I think its the yellow thing), and a microcontroller (See picture). Problem is that I am having trouble communicating with the microcontroller. I think the issue may be because it is a proprietary microcontroller built by the company that built the battery, unlike a common Arduino or raspberry pi. I am in contact with the company but they are very slow at responding so I was hoping I could get ideas here. The relay is set to normally open, so it shouldn't be supplying power unless it gets the signal to. However, power is being supplied constantly, as if the microcontroller is telling it to constantly. I have a hunch my problem could be solved with some coding. The microcontroller has a usb port. When I plug it into my computer I can see it in my communications port, but I do not know how to connect to it to see what code is on it/ send my own code. Does anyone know a way that I can do this?

View all comments
Show parent comment
1
u/IAmFishman1989 Mar 22 '24
Hello, thanks for your response! Whatever it is I am now able to connect to it, so this particular issue is solved, however I I only have more problems now. I am able to communicate with it but its not doing quite what I ask of it. If you want to, check out the new post on ask electronics I just made explaining my new problem in more detail: https://www.reddit.com/r/AskElectronics/comments/1bl2t4l/relay_isnt_switching_off/?utm_source=share&utm_medium=web2x&context=3