I want to design pure sine wave inverter using Arduino I found the code of pure sine wave inverter using pic microcontroller but I need code with arduino. Can you help me write code with arduino.
Thanks..
I want to design pure sine wave inverter using Arduino I found the code of pure sine wave inverter using pic microcontroller but I need code with arduino. Can you help me write code with arduino.
Thanks..
I think you will find the Arduino (ATMEGA328) is not fast enough for this purpose, there are a lot of calculations and control algorithms needed to do this reliably and with quality
If your not bound to the Arduino, you may want to check out the TI range of Launchpads, they have a few that are designed for this purpose. In fact I have even review a couple on my TI Tuesday videos
Hello Junad,
I took a look to the project link for PIC. It sounds almost well documented so porting is not so difficult and sure you can find here helpful hints and suggestions, from me but not me only.
Indeed I suggest you should plan to put some more effort than only asking... Maybe good if you explain your project in detail, did you have already setup a minimal hardware design (e.g. based on the half bridge as shown in the project you mention)?
PIC project is just pure C and it is not difficult at least to try to see what does this code do... Did you tried to copy-and-paste the source in the Arduino ide to see what happens? First of all you should isolate the bare C algorithms and formulas, defines and constants that will work almost the same on Arduino then see about the hardware specific differences ...
I suppose you have not posted this discussion hoping that someone past you the code you are searching for ...
Enrico
Hi Peter,
as per the way and kind of request I thought that it is more as an exercise than a real-world application. Nice suggestion for the TI boards... It is what I will use (or at least a ChipKit platform if I absolutely want to use the PIC, but based on your suggestions I think things become more complex than what Junad is expecting
Enrico
The process will remain same for programming you just have to change name of registers with Arduino you can find guide here http://microcontrollerslab.com/single-phase-pure-sine-wave-inverter/