Show Posts
Pages: 1 ... 65 66 [67]
991  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Other Atmega on the UNO on: January 17, 2011, 12:05:12 pm
I have support for a LOT of different vesions of the ATMEGA chip in my version of the libraries. Refer to

That's a great resource - thank you very much.  I found this in pins_attiny45.c - I guess this would hold for the '85 - right?


//                  +-\/-+
// Ain0 (D 5) PB5  1|    |8  Vcc
// Ain3 (D 3) PB3  2|    |7  PB2 (D 2)  Ain1
// Ain2 (D 4) PB4  3|    |6  PB1 (D 1) pwm1
//            GND  4|    |5  PB0 (D 0) pwm0
//                  +----+

So I take it that we have 4 analog input pins, 6 digital I/O, 2 analog out (overlapping obviously).

How do you handle the timers and other internal differences?  Should most libraries work?  What about specifically software serial and servos?
992  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Other Atmega on the UNO on: January 13, 2011, 10:49:29 pm
Ok, here's the todbot item on standalone arduinos with atmega8's. it covers the bootloader and crystal vs internal issue and may give you some help.

atmega88's are pin compatible with atmega8's but have some internal differences. per this
993  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Other Atmega on the UNO on: January 13, 2011, 04:48:50 pm
OK, so if I install the bootloader using the Arduino as an ISP/breadboard method. I should then be able to use any of these chips. Right?
How to I select what bootloader to install?

From what I can read the Atmega88 is not supported?
Is the Atmega48 supported?

One more "kinda" related question.
If i want to use the atmega chip outside the Uno board, but I want it to use it's internal clock. Do I need a special bootloader?

And if I install a bootloader on a chip using the Arduino as an ISP/breadboard method without a crystal. Will is be usable on my Uno running at 16mhz? Not sure if my question is clear?

google "todbot blog" and look for a good post on building standalone arduino clones with atmega8's and where to get bootloaders.

I believe you can use the arduino environment to program for the atmegas you mentioned as well.  If you have a programmer to burn the bootloader you might consider using it to burn your sketch and forget about the loader alltogether.

using the internal oscillator rather than the external crystal is set with fuses on the chip.  Once you've set the fuses correctly you could, conceivably, still use the chip in your uno - you'd need a custom boards.txt entry - see the todbot blog.  This doesn't affect any other chips that you might plug in.

I have spent a lot of time fooling with attiny's, as have others here.  The more I play with other chips, the more i respect the original decision to use the atmega8.  It was a real sweetspot for capability vs size and it's grown nicely with the 168/328.  What i mean by that is: consider sticking with the full-size processor for ease of use unless you need an awful lot of them.
994  Forum 2005-2010 (read only) / Uno Punto Zero / Re: The Arduino IDE should remember its window size on: December 17, 2010, 07:05:08 am
If the installer worked, you'll see 4 new "Teensy" items in the Tools > Boards menu, and a couple new menus like Tools > USB Type.
Thanks.  The teensy boards are there i see now and the usb type and cpu speed items are there but greyed out.  Possibly because i declined the usb driver install.  No change in the window restart behaviour.

I'm keenly interested in this though - Where would I look figure out what's wrong?
995  Forum 2005-2010 (read only) / Uno Punto Zero / Re: The Arduino IDE should remember its window size on: December 16, 2010, 07:18:07 pm
My latest Teensyduino installer adds a patch for bug #78.  Even if you never intend to use Teensy, you can run the installer on your Arduino 0021 and it should fix this, plus a few other long-standing bugs.

just tried this with vista and 021.  I loaded a sketch, stretched the window then ctrl-q.  restarting the ide it came up with the usual blank sketch.

Is there any way to see that the td install worked?  I don't see any new boards or anything in the tools menu.

By the way, I take it that it'd difficult to make your own changes to the IDE?
996  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Tool:  InitSketch on: December 16, 2010, 07:24:21 pm
geez, that's exciting.  thanks.  So you could do something like this to include functions you wanted in the ide menus.  
997  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Suggest: Warn on = vs == in "if" statement on: July 12, 2010, 03:05:14 pm
As far as I know errors and warnings are returned by the compiler which development is not in charge of arduino team.

ok so the suggestion is a tool menu item that would scan for common errors.  

Similarly, I wonder if it would be possible to have a tool that would check that the port/board selected was workable.
Pages: 1 ... 65 66 [67]