Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / Re: How does arduino handle usart with 16MHz? on: April 14, 2011, 12:36:54 am
Thanks, that was a very interesting discussion.
And that article about tuning the internal osc val was very helpful.

2  Using Arduino / Microcontrollers / Re: How does arduino handle usart with 16MHz? on: April 13, 2011, 04:27:57 pm
Thanks

Well, I was actually working on a project with attiny2313 which will use usart communications!

So if I use a 16 Mhz Crystal or even 8Mhz it wont be much of a problem ? [will save me 40 km bus ride to the nearest electronic bazaar for those magic number crystals]

The project is a universal[term limited to my projects] remote control [wired, wireless, ir and whatever i could find], sort of like those super villains who control everything with a single remote.
3  Using Arduino / Microcontrollers / How does arduino handle usart with 16MHz? on: April 13, 2011, 04:07:20 pm
I was reading about avr usart communications and how to implement it, when I found a formula which determines the baud rate:
BaudValue = ((F_CPU / (USART_BAUDRATE * 16)) - 1
F_CPU = main clock frequency
USART_BAUDRATE = desired baud rate
BaudValue = a value needs to be written to some registers which implement it into the usart subsystem

According to the table in
http://www.wormfood.net/avrbaudcalc.php
none of the 16MHz entry is 100% error-free
So, how does arduino handle communication so good?
4  Using Arduino / Microcontrollers / Re: Arduino bootloader on atmega8 default fuse settings?? on: March 12, 2011, 05:52:33 pm
Like I said it only worked if I used an external clock.

does crystal oscillator count as an external clock?
and im using 33pf caps[with 16Mhz crystal], is that the reason my chip misbehaved last time?
5  Using Arduino / Microcontrollers / Re: Arduino bootloader on atmega8 default fuse settings?? on: March 10, 2011, 09:15:17 am
Nope! no success! uno hates me!
Btw how do I know if I have optiboot?


Thanks
[PSYK3D]
6  Using Arduino / Microcontrollers / Re: Arduino bootloader on atmega8 default fuse settings?? on: March 05, 2011, 12:42:44 am
@ alparent
I have 2 unos and a mega 2560, afaik unos cant be used, and theres something wrong with my mega, when I connect it to my computer, the software cannot see it, but the serial monitor can!

@ retrolefty
Default is 1Mhz?? I thought it was 4!

I have a ftdi breakout board and a buspirate! I've already borked an atmega8 using buspirate [the sparkfun one btw]. You guys had any success with ftdi, as described on ladyada.net ?

Thanks
[PSYK3D]

7  Using Arduino / Microcontrollers / Re: Arduino bootloader on atmega8 default fuse settings?? on: March 04, 2011, 04:40:51 am
Yes, the factory settings.
8  Using Arduino / Microcontrollers / Arduino bootloader on atmega8 default fuse settings?? on: March 04, 2011, 02:23:09 am
Hello everyone,
I am making a segway clone for my friends college project, and I implemented a minimal arduino circuitry on a custom pcb. I do not own an avr programmer and didnot have much success with the parallel programmer so I gave my atmega8 chip and the hex file to a friend and asked him to get it burnt[if thats the correct term]. Everything was perfect but he forgot to burn the fuses!!! I was wondering if there will be any problem running arduino8.hex bootloader on atmega8 with default fuse settings.
[Its kinda pain in behind to get the chip burnt again, thats why I just want it the way it already is]
Also, what is the default pwm frequency? Will incorrect fuses affect it?

Thank you
[PSYK3D] 
Pages: [1]