Author |
Message |
Topic: Pwm on tiny13 |
naseerak
Replies: 3
Views: 1561
|
Forum: BASCOM-AVR Archive Posted: Tue Jul 15, 2014 9:12 pm Subject: Pwm on tiny13 |
Yes it worked!
BTW is there any better way of generating spwm on Tiny13? |
Topic: Pwm on tiny13 |
naseerak
Replies: 3
Views: 1561
|
Forum: BASCOM-AVR Archive Posted: Mon Jul 14, 2014 10:15 pm Subject: Pwm on tiny13 |
$regfile = "attiny13.dat"
$crystal = 9600000
$hwstack = 16
$swstack = 16
$framesize = 16
Config Portb = Output
Config Timer0 = Pwm , Prescale = 1 , Compare A Pwm = Clear Down , Compare B P ... |
Topic: ACS712 for AC Current measurement |
naseerak
Replies: 15
Views: 3582
|
Forum: BASCOM-AVR Archive Posted: Mon Jul 14, 2014 10:02 pm Subject: ACS712 for AC Current measurement |
Using this and a little bit of tweaking with the filter (RC) will come out with satisfactory result. as for moving filter is concerned it will complicate his code with a bit of more processor resource ... |
Topic: ACS712 for AC Current measurement |
naseerak
Replies: 15
Views: 3582
|
Forum: BASCOM-AVR Archive Posted: Mon Jul 14, 2014 8:35 pm Subject: ACS712 for AC Current measurement |
my_amp = Getadc(x)
For I = 1 To 16 'This will add 16 ADC samples together
my_amp = my_amp + Getadc(0)
Next I
Shift my_amp , Right , 4
I am sure thi ... |
Topic: ACS712 for AC Current measurement |
naseerak
Replies: 15
Views: 3582
|
Forum: BASCOM-AVR Archive Posted: Mon Jul 14, 2014 7:43 pm Subject: ACS712 for AC Current measurement |
Yes there is a sample code somewhere in this forum, containing averaging of the ADC, I am searching my PC for such a code. |
Topic: ACS712 for AC Current measurement |
naseerak
Replies: 15
Views: 3582
|
Forum: BASCOM-AVR Archive Posted: Sun Jul 13, 2014 10:38 pm Subject: ACS712 for AC Current measurement |
Deanus has shown you the way which I wanted to tell you but didn,t have the schematic at the time of my reply to your post. |
Topic: ACS712 for AC Current measurement |
naseerak
Replies: 15
Views: 3582
|
Forum: BASCOM-AVR Archive Posted: Sun Jul 13, 2014 8:49 pm Subject: ACS712 for AC Current measurement |
Plz post your schematic, you may need some smoothing of waveform. |
Topic: Pwm on tiny13 |
naseerak
Replies: 3
Views: 1561
|
Forum: BASCOM-AVR Archive Posted: Sun Jul 13, 2014 8:48 pm Subject: Pwm on tiny13 |
Hi
I want to generate 20khz of pwm on the pwm outputs of tiny but with a 10ms gape between the two signals, Is it possible with interrupt or the only option is WAITMS command.
$regfile = "attiny ... |
Topic: AVR suitability for high EMI environments. |
naseerak
Replies: 2
Views: 275
|
Forum: BASCOM-AVR Archive Posted: Sat Mar 29, 2014 6:31 pm Subject: AVR suitability for high EMI environments. |
Hi
Though I have started my R&D carrier from Bascom with learning from this great forum, but often i heard this in various forums that AVR are not suitable for high EMC/EMI environments in indust ... |
Topic: LCD simple test |
naseerak
Replies: 5
Views: 394
|
Forum: BASCOM-AVR Archive Posted: Sun Dec 29, 2013 4:27 pm Subject: LCD simple test |
Thanks to all some time simple things become PITA. |
Topic: LCD simple test |
naseerak
Replies: 5
Views: 394
|
Forum: BASCOM-AVR Archive Posted: Sat Dec 28, 2013 7:22 pm Subject: LCD simple test |
This is the proteus fie |
Topic: LCD simple test |
naseerak
Replies: 5
Views: 394
|
Forum: BASCOM-AVR Archive Posted: Sat Dec 28, 2013 7:18 pm Subject: LCD simple test |
Hi and Happy new year to all.
I have writen this simple code to test a 4x20 lcd in proteus but not able to run the display, remember this is a simple test which will be expended later on.
Thanks and ... |
Topic: MPPT Charger |
naseerak
Replies: 2
Views: 652
|
Forum: Various Posted: Wed Jun 12, 2013 10:54 am Subject: MPPT Charger |
Thanks it may help me. |
Topic: MPPT Charger |
naseerak
Replies: 2
Views: 652
|
Forum: Various Posted: Tue Jun 11, 2013 8:58 pm Subject: MPPT Charger |
Hi
I am building an MMPT charger where I will sweep the VI curve by adjusting the PWM, Now I need an Idea on how to record the The peak value from the sweep and stay there for the rest of the time un ... |
Topic: ADC linearity |
naseerak
Replies: 6
Views: 992
|
Forum: Various Posted: Fri Jun 07, 2013 8:05 pm Subject: ADC linearity |
Hi
Current measurement is not a problem here. I want to make some DIY shunts from iron wires which have relatively increased resistance compared to copper and aluminum wires, though 75mv shunts are a ... |
|