Author |
Message |
Topic: Sine wave Variable amplitude |
naseerak
Replies: 21
Views: 1562
|
Forum: BASCOM-AVR Archive Posted: Mon Jul 30, 2012 7:01 pm Subject: Sine wave Variable amplitude |
Hi
All these solutions can be implemented but now think this way and first see the sine wave table.
Sine_dat:
Data 25 , 50 , 74 , 98 , 120 , 142 , 162 , 180 , 197 , 212 , 225 , 235 , 244 , 250 , 25 ... |
Topic: Sine wave Variable amplitude |
naseerak
Replies: 21
Views: 1562
|
Forum: BASCOM-AVR Archive Posted: Sun Jul 29, 2012 7:32 pm Subject: Sine wave Variable amplitude |
Hi
Your calculations seems to be right but where to place my ADC routine. |
Topic: Sine wave Variable amplitude |
naseerak
Replies: 21
Views: 1562
|
Forum: BASCOM-AVR Archive Posted: Sat Jul 28, 2012 11:05 pm Subject: Sine wave Variable amplitude |
Hi
I have modified my code according to the AdrianJ advice but now I am getting only plain square waves from both the outputs. scratching my head for finding out the problem. below is my code.
Regar ... |
Topic: Sine wave Variable amplitude |
naseerak
Replies: 21
Views: 1562
|
Forum: BASCOM-AVR Archive Posted: Sat Jul 28, 2012 7:51 pm Subject: Sine wave Variable amplitude |
Hi
Hmmm that's seems to be the right solution Thanks Adrian J but may I ask a naughty question here Now that it seems possible to vary the Amplitude but what about the feedback from the output to adj ... |
Topic: Sine wave Variable amplitude |
naseerak
Replies: 21
Views: 1562
|
Forum: BASCOM-AVR Archive Posted: Fri Jul 27, 2012 10:11 pm Subject: Sine wave Variable amplitude |
Hi To all forum members.
I have back in this forum after a very long time. I have the following code for generating sine wave on the mega8 every thing runs fine in Proteus but now I want to vary the ... |
Topic: C to Basic |
naseerak
Replies: 1
Views: 605
|
Forum: Various Posted: Mon Jul 02, 2012 10:31 pm Subject: C to Basic |
Good Day
I am here after a long time. Now that we are experiencing energy crisis in our country my interest has tilted towards renewable energy sources our market is flooded with square wave inverter ... |
Topic: Emulating 74HC245 |
naseerak
Replies: 1
Views: 264
|
Forum: BASCOM-AVR Archive Posted: Wed Sep 07, 2011 5:26 pm Subject: Emulating 74HC245 |
Hi
Is it possible to emulate 74HC245 using atmega8 or other AVR.
Regards |
Topic: Timer1 problem |
naseerak
Replies: 2
Views: 549
|
Forum: BASCOM-AVR Archive Posted: Tue Sep 21, 2010 11:17 am Subject: Timer1 problem |
Hi
thanks for the rep. but u got (set portc.0) outside the while wend loop whats the logic behind this as I want to do it in the while loop bcoz it should be done when the enter is pressed . |
Topic: Timer1 problem |
naseerak
Replies: 2
Views: 549
|
Forum: BASCOM-AVR Archive Posted: Fri Sep 17, 2010 7:56 am Subject: Timer1 problem |
Hi
Below is the snippet of my code:
While Enter = 1
Set Portc.0
T = Timer1
T = T * 64
T = T / 1000000
T = T * 1000
If Pinb.1 = 1 Then
Start Timer1
End If
If Pinb.1 = 0 Then
Stop Tim ... |
Topic: TWO LEDS SINGLE PIN |
naseerak
Replies: 2
Views: 598
|
Forum: BASCOM-AVR Archive Posted: Sun Jul 18, 2010 6:17 pm Subject: TWO LEDS SINGLE PIN |
HI
THANKS FOR THE LIGHT.
REGARDS |
Topic: TWO LEDS SINGLE PIN |
naseerak
Replies: 2
Views: 598
|
Forum: BASCOM-AVR Archive Posted: Fri Jul 16, 2010 2:42 pm Subject: TWO LEDS SINGLE PIN |
HI
Searching the google i found this this useful thing. is this thing possible in bascom using set reset commands for glowing either of the led. |
Topic: pulsein and pulseout simultanously |
naseerak
Replies: 13
Views: 1691
|
Forum: BASCOM-AVR Archive Posted: Thu May 20, 2010 7:45 am Subject: pulsein and pulseout simultanously |
Ok
My Fuses are
L=FD, H=DF |
Topic: pulsein and pulseout simultanously |
naseerak
Replies: 13
Views: 1691
|
Forum: BASCOM-AVR Archive Posted: Wed May 19, 2010 2:16 pm Subject: pulsein and pulseout simultanously |
$regfile = "m32def.dat"
$crystal = 4000000
$baud = 19200
$hwstack = 128
$swstack = 24
$framesize = 128
Locate 1 , 1
Lcd " TIME = " ; T
Const Timeout = 20000 = Here I ... |
Topic: pulsein and pulseout simultanously |
naseerak
Replies: 13
Views: 1691
|
Forum: BASCOM-AVR Archive Posted: Tue May 18, 2010 7:48 pm Subject: pulsein and pulseout simultanously |
Thanks to every body helping here.
I have omitted the pulseout and doing like this but the resulting pulse is 250ms long while looking on a tektronics 100mhz dso.
Pulsein Pulse , Pinb , 1 , 1
I ... |
Topic: pulsein and pulseout simultanously |
naseerak
Replies: 13
Views: 1691
|
Forum: BASCOM-AVR Archive Posted: Fri May 14, 2010 10:56 am Subject: pulsein and pulseout simultanously |
Thanks Glena
I am trying to understand your code and will give it a try. |
|