Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th November 2007, 10:16 AM   (permalink)
Default Please help. Sinewave Inverter 12 Vdc to 220 Vac

Hi everyone,
I'm new to PIC. I'm trying to do the sinewave inverter 12 Vdc to 220 Vac using PIC16F877A and 12 Mhz Crystal. Can i get the assembly code for frequency 50 Hz or 60 Hz. Please help me. Everyone who know the code in assembly please give me know or e-mail me at edy_tse88@yahoo.com. Thank's.

Last edited by Edy_Tse88; 27th November 2007 at 11:09 AM.
Edy_Tse88 is offline  
Old 28th November 2007, 03:36 AM   (permalink)
Default

There does not exist "the source code".

It is a problem with many solutions.
mneary is offline  
Old 28th November 2007, 05:54 PM   (permalink)
Default

Thank's.
can you give the schematic, source code or all about how to make sinewave inverter 12 vdc to 220 vdc for 50 Hz or 60 Hz frequency and 100 watt or highest using PIC16F877A. please help me...I'm confused how to make the sinewave inverter. thank's for everyone want to help me..
Edy_Tse88 is offline  
Old 28th November 2007, 10:15 PM   (permalink)
Default

Please note that no one's going to do all the work for you. Perhaps you should be thinking about a more simple project as a sinewave inverter isn't simple and you appear not to have the level of experiance require to design one.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 28th November 2007, 10:52 PM   (permalink)
Default

hero...umm y are you always saying someone is inexperienced...dont get mad im just saying that would make me mad if you told me that.....
viper77707 is offline  
Old 28th November 2007, 10:53 PM   (permalink)
Default

i think from what he said he is already somewhat experienced...and yea i know you are more experienced that me
viper77707 is offline  
Old 28th November 2007, 11:15 PM   (permalink)
Default

All I'm saying is that if you don't know how to create a 50 to 60Hz time base using a micocontroller then you probably don't have enough experiance to build a pure sinewave inverter.

I'm not meaning to put anyone down, Edy_Tse88 probably has more experiance than me in the field of microcontrollers and programming but I know enough to know that you need to attempet the simpler things before going on to the really complex stuff.

Why would it make you mad if I told you, you were inexperianced?

That would only be my opinion which I would have fromed from reading your posts so you can't take it too personally.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 29th November 2007, 03:56 PM   (permalink)
Default

Thank's all to give me explained.
But i'm really want to make the sinewave inverter. please help me.
who can give me the sinewave inverter source code for 50 Hz or 60 Hz.
PLease.. please help me...

Last edited by Edy_Tse88; 29th November 2007 at 04:09 PM.
Edy_Tse88 is offline  
Old 29th November 2007, 04:52 PM   (permalink)
Default

Thank's all to give me explained
aliali88 is offline  
Old 30th November 2007, 12:20 PM   (permalink)
Default




Code:
aci var word
i var byte
sinus var word

trisb =0
trisa=0
basla:
for aci = 0 to 127 
  portb = sin aci
  pauseus 100
next aci
goto basla

This is the basic code to produce about 50 Hz frequency. You can change "pauseus 100" line to get the frequency you want.
ftsahin is offline  
Old 30th November 2007, 04:34 PM   (permalink)
Default

Thanks ftsahin,
but i'm not familiar with C programing. Can you give me the source code in assembly. And how to calculate about 50 hz or 60 Hz frequency. Thank you so much for your help.
Edy_Tse88 is offline  
Old 1st December 2007, 03:30 AM   (permalink)
Default

Quote:
but i'm not familiar with C programing.
No problem, the code is in BASIC.

Quote:
And how to calculate about 50 hz or 60 Hz frequency.
50 Hz has a period of 20 milliseconds. 60 Hz has a period of approximately 16.33... milliseconds.

I hope this helps.
mneary is offline  
Old 1st December 2007, 09:01 AM   (permalink)
Default

Thanks all.
and thank's mneary.
Can you help me to give me sinewave inverter source code for 50 Hz or 60 Hz using PIC16F877A. And comparator source code. For example When the potentiometer is set to a voltage under 2.5 V, the comparator's output will be low and the LED at RD0 is ON. But when the potensiometer is turned up past hafway or more than 2.5 V, the comparator's output will go high, LED at RD1 is On. Thanks...
Edy_Tse88 is offline  
Old 1st December 2007, 07:08 PM   (permalink)
Default

It seems likt you want to be spoon fed, please think about some of these questions before you ask them.

You don't know C and want the code in assembly?

Then why don't you just learn C?

Some compliers can be configured to output assembly rather than binary.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 2nd December 2007, 03:02 PM   (permalink)
Default

Quote:
Originally Posted by Hero999
Some compliers can be configured to output assembly rather than binary.
But it's really badly written asssembler, and VERY difficult to understand.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Sinewave Inverter Jasmine Kay Electronic Projects Design/Ideas/Reviews 12 6th July 2008 08:50 AM
Sinewave Inverter JTECH Electronic Projects Design/Ideas/Reviews 14 3rd December 2007 09:01 PM
using a 320W flash with a 150W inverter denoise General Electronics Chat 5 19th February 2006 04:44 PM
inverter or inverter? glmclell General Electronics Chat 1 11th August 2004 01:17 AM



All times are GMT. The time now is 01:34 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker