Hacking an inverter

Hi,
This is my first post so kindly accept my apologies for any mistakes.

I have a welding inverter which is controlled by a MEGA8. I dnt have access to the program of this MC. There is an 5 PIN rotary encoder connected to MEGA8. The push button has some functions. And the CW and CCW rotation increases and decreases the output current.
For some reason, I want to introduce pulsing function and I plan to introduce another Atmega328. The input to this ATMEGA328 will be from the PinA and PinB of the encoder (keeping the other wires intact to make the push button function work) and the output after all the pulsing done by ATMEGA328 will be given as input to MEGA8.

Is it possible or doable project?

Yes, I imagine so.

Your username suggests that you have a PhD, if this is true in what subject? What is your knowledge of microcontrollers and electronics?

Hello thephdguy

Show us a block diagram.
A well-made picture is worth a thousand words.

Hi.
My specialization is in welding. I have very basic knowledge of microcontrollers.

Thank you for your clarification. I have answered the question you asked, do you want any other help?

Yes i will share the block diagram so that u can provide confirmation.


This is the block diagram. I could draw it manually. Please accept my apologies.

1 Like

My nephew can weld, in fact he can make anything out of metal. If he asked me to make such a thing then I'm sure I could make one. However, I've not made one and don't intend to make one, so yes, it's possible in my opinion.

I suggest you start by getting a rotary encoder and learning how to read it. Also, use an oscilloscope to learn what the output of an encoder looks like so you know what you have to replicate. When you've done that play around with replicating the output of an encoder. When happy with that link the 2 things together and see if it does what you want.

I think it is possible but consider using just one MEGA8. Getting the existing code may not be possible but you can measure what it does and duplicate that. This is reverse engineering, it is not the easiest thing to accomplish but could be a good extra point project for the students.

Okay. Thanks for the encouraging words. I just wanted some experienced guidance about its feasibility. I had a discussion with my colleague who said that its not possible and his reasoning was very basic which I obviously was not aware. So I thought better to take an experienced opinion. Since the knowledgeable forum members gave me a positive reply... I will go ahead with a dry run. Many thanks to you all!!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.