Author |
Message |
Topic: Code for Gyro reading |
Debu
Replies: 3
Views: 9965
|
Forum: Share your working BASCOM-8051 code here Posted: Tue Sep 05, 2017 6:19 pm Subject: Code for Gyro reading |
Hallo all
I am trying this code on Xmega32A4u but I can't.
I use GY-88 module consist MPU6050 HMC5883L BMP085.
The HMC5883L and BMP085 work fine but the MPU6050 don't.
I was try separate code for ... |
Topic: Enc28j60 And Atmega32 |
Debu
Replies: 27
Views: 16672
|
Forum: EASY TCP/IP Posted: Thu Aug 21, 2014 12:36 pm Subject: Enc28j60 And Atmega32 |
Hallo
Ben
Do you try this code in Xmega ? |
Topic: xmega frequency meter with 32bit counter |
Debu
Replies: 4
Views: 1867
|
Forum: BASCOM-AVR Archive Posted: Wed Jun 18, 2014 11:02 am Subject: xmega frequency meter with 32bit counter |
closer to success
Now I put 1KHz from external RTC but display show F= 1006 Hz.
Here the system count extra 6 Hz.
If I change clock source for internal {rtc Rtc = 1khz_int32khz_rcosc} to {Rtc = 1kh ... |
Topic: xmega frequency meter with 32bit counter |
Debu
Replies: 4
Views: 1867
|
Forum: BASCOM-AVR Archive Posted: Mon Jun 02, 2014 12:23 pm Subject: xmega frequency meter with 32bit counter |
When I put low frequency the display value is high also
when I increase frequency the display shown low value.
So it is actually measure the pulse width, I want count the number of pulse.
Have yo ... |
Topic: Function generator Attiny13 |
Debu
Replies: 7
Views: 1249
|
Forum: BASCOM-AVR Archive Posted: Mon Jun 02, 2014 10:59 am Subject: Function generator Attiny13 |
Hurray
Thanks to all
Now it is run 18.5KHz to 4.76MHz by fuse sating CKDIV8.
But, suddenly it jump 800KHz to 1.20MHz to 2.42MHz to 4.80MHz.
18KHz to 800KHz work linearly.
Work ... |
Topic: Function generator Attiny13 |
Debu
Replies: 7
Views: 1249
|
Forum: BASCOM-AVR Archive Posted: Mon Jun 02, 2014 9:30 am Subject: Re: Function generator Attiny13 |
adc_value = getadc(2)
friq_com=adc_value/4
Hi Debu,
this will not do what you want, as friq_com will only get values from 0 .. 63
This would do:
adc_value = getadc(2) / 4
friq_com=adc_value
... |
Topic: Function generator Attiny13 |
Debu
Replies: 7
Views: 1249
|
Forum: BASCOM-AVR Archive Posted: Sun Jun 01, 2014 6:47 pm Subject: Function generator Attiny13 |
Thank you
JC
for your replay.
I don't connect external x-tal.
I use internal 9.6MHz rc by fuse H(FF) L(6A).
I think it have another way to generate high frequency by config Timer0.
Thanks ... |
Topic: Function generator Attiny13 |
Debu
Replies: 7
Views: 1249
|
Forum: BASCOM-AVR Archive Posted: Sun Jun 01, 2014 11:01 am Subject: Function generator Attiny13 |
Hi
Every one
I am trying to make a frequency generator with tiny13.
Now I can generate 9KHz to 520KHz by timer0 CTC mode.
Here is my question is it possible to generate 4MHz or 2MHz ?????
... |
Topic: xmega frequency meter with 32bit counter |
Debu
Replies: 4
Views: 1867
|
Forum: BASCOM-AVR Archive Posted: Sat May 31, 2014 12:54 pm Subject: xmega frequency meter with 32bit counter |
Thank you !!!!!
Duval JP
for your advice.
I change the code in interrupt but result is same.
Also change bit to byte but when I write toggle then that variable toggle 1 to 255.
That is not im ... |
Topic: xmega frequency meter with 32bit counter |
Debu
Replies: 4
Views: 1867
|
Forum: BASCOM-AVR Archive Posted: Thu May 29, 2014 11:57 am Subject: xmega frequency meter with 32bit counter |
Hi,
All
I'm trying to make a frequency meter with xmega32a4 here is the code.
I only put 1KHz square wave to PORTC.0. Display show 32976.
I want to count pulse in every second.
I connect 32.76 ... |
Topic: Mmc err 225 . |
Debu
Replies: 1
Views: 567
|
Forum: BASCOM-AVR Archive Posted: Sat May 17, 2014 10:32 am Subject: Err 225 |
Dear friend
How you solve the problem (err 225) ?
thankx |
Topic: Virtual USB-port for AVR |
Debu
Replies: 323
Views: 97033
|
Forum: BASCOM-AVR Posted: Wed Feb 23, 2011 10:13 am Subject: Virtual USB-port for AVR |
Hi friend
Luciano
I need your help
Debu |
Topic: 122*32 grapics LCD drive |
Debu
Replies: 3
Views: 837
|
Forum: BASCOM-AVR Archive Posted: Wed May 13, 2009 1:16 pm Subject: 122*32 grapics LCD drive |
Hi All,
Can anyone tell me there is a way to use 122*32 grapics LCD I have a big Problem.
I can't configer the lcd and connection. There are no option to write Config GRAPHLCD = 122*32. -------- ... |
Topic: use 122*32 grapics LCD |
Debu
Replies: 5
Views: 1787
|
Forum: BASCOM-8051 Posted: Wed May 13, 2009 12:58 pm Subject: use 122*32 grapics LCD |
Hi,
Frankeman
Thanks for Help!
Can you help me to write a driver?
Here is the datasheet of LCD.
http://datasheet.digchip.com/371/371-00163-0-PG12232-A.pdf
I am new in to drive Grap ... |
Topic: use 122*32 grapics LCD |
Debu
Replies: 5
Views: 1787
|
Forum: BASCOM-8051 Posted: Tue May 12, 2009 5:25 am Subject: use 122*32 grapics LCD |
Hi,
Frankeman
Thanks for Help!
I don't understand the connection of some pin of lcd like CS1, CS2
http://datasheet.digchip.com/371/371-00163-0-PG12232-A.pdf
DEBU |
|