Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: codes for PWM
hey..u can refer this link...u will get the code for generating modulated sine signal...would be a great help..
http://www.scienceprog.com/generate-sine-wave-modulated-pwm-with-avr-microcontroller/
bye..
Re: WRITING ON SD CARD
hi rupesh,
thanks for the help,although i have still not checked how this software works..But,the code that i am using has a function for writing operation on the card,and it does support other functions as well for communicating with the card...all other functions are...
WRITING ON SD CARD
Hi everyone,
i am working on interfacing SD/MMC card to ATmega 32..for the same i am using elm-chan's
http://elm-chan.org/fsw/ff/00index_e.html
code for implimenting the FATfile system on the card...
Now as far as creating,opening,closing and reading the file is...
WELL..that is a really good suggestion you have made..i will try implimenting it soon but would take time to, as i have started another project on FAT file system as a part of internship program..
might need your help later...thanks anyways..
and there is no correction required..
What you just talked about the "Timer Resetting",i am v.much aware of it already(through datasheet only) that it does not Reset but it counts till it does not reach the TOP value.. and when it reaches there,the OC1A pin toggles (which is set at toggle mode),means its high as long as timer's or...
firstly,thanks inverta 4 d suggestion..bt d issue is i m tld 2 do it al thru programin,except 4d filter dt i wud b usin at d output 2 obtain d desired signals...
i guess i need 2 use a different logic..sum way thru wich i can vary d output's amp by makin changes in d duty cycle of PWM signal...
wel..yes it s like dat nly..just dat d filter used ,shud b low pass as a low frequency sinusoidal signal is 2 b extracted 4m PWM's high frequency signal...thanks 4 d help neways..cn u do me another favour...do sugest a way in findin a variable amplitude as wel as a variable frequency output...
m workin on d code which i hv copied here...d logic dt svicent provided me, 2 hv variabl amplitude,requires a lot 2 b changed in ds code..findin cumbersome,cn u suggest 4 d same..
n yes..thru makin changes in d luk up tabl nly,i generated d oder waves..so i hope dose changes wud b applicabl 4...
ok..wil do chek dis code svicent..seems easy..thanks 4 d help..
and yes ckshivaram,plz do dat..although i tried reading its datasheet 2 c if its code cn be used in ATmega 8L,bt wud be fine if u provide me wid ur approach n den i'l confirm if it can b of sum help while workin on ATmega 8L,cuz in...
i wud b glad if anyboby cud help me in providin a solution 2 dis querry of mine..
m using ATmega 8L for making a function generator..dere m usin PWM technique for generatin sin(4m luk up table),square and a ramp wave..i hv managed to develop all d 3,bt m facing problem in generatin waves of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.