To add a note of caution...
You may be only building this in 'code' and not in hardware, but If you are building this in hardware, my advice would be: Be incredibly careful.
The slightest mistake in the hardware could lead to a potentially life threatening failure. The slightest mistake in code could also lead to potentially life threatening failure.
I've made (purely hardware) inverters myself, and when they go bang, they go bang!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i understand, i can build circuit diagram very well even this code that i posted i have build it and its work very fine but my fear is they asked us to build and code it on basic language which they didn't teach us .... actually am from Nigeria, i hqve little understanding on basic because i follow up some treats and examples in this forum .
but i will be much grateful if anyone can help me and give me a sample sine wave inverter code in gcbasic with H-bridge (4)output and feedback then i can add other futures functions
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last edit: samco 2025-03-14
We really cannot do your project for you. But, post the ASM you have and we can guide you.
Last edit: samco 2025-03-14
Lots of posts on this on the web....
https://www.edaboard.com/threads/pic16f72-pure-sine-wave-inverter.375407/#post-1608404
but, this is the best bet. As this has the source not the totally undocumented ASM.
https://tahmidmc.blogspot.com/2013/02/generation-of-sine-wave-without-eccp_16.html
Last edit: samco 2025-03-14
To add a note of caution...
You may be only building this in 'code' and not in hardware, but If you are building this in hardware, my advice would be: Be incredibly careful.
The slightest mistake in the hardware could lead to a potentially life threatening failure. The slightest mistake in code could also lead to potentially life threatening failure.
I've made (purely hardware) inverters myself, and when they go bang, they go bang!
i understand, i can build circuit diagram very well even this code that i posted i have build it and its work very fine but my fear is they asked us to build and code it on basic language which they didn't teach us .... actually am from Nigeria, i hqve little understanding on basic because i follow up some treats and examples in this forum .
but i will be much grateful if anyone can help me and give me a sample sine wave inverter code in gcbasic with H-bridge (4)output and feedback then i can add other futures functions
If you do a search in the Demos folder ( or, https://github.com/GreatCowBASIC/Demonstration_Sources ) you will find many examples of Sine Wave ( and other Wave form ) generation.