Loading...
  Show Posts
Pages: 1 2 [3] 4
31  Forum 2005-2010 (read only) / Development / Arduino as a programming bridge to another Arduino on: August 23, 2009, 07:09:33 pm
I had this crazy idea some days ago..

I have an Arduino Duemilanove and a couple of bare ATMEGA168s. I mainly use the ATMEGA168s for "short life" projects on a breadboard so I can try different sketches etc smiley-wink

I'm currently using the ATMEGA168s without the Arduino bootloader and I program them with the BitBanging method. That not easy for me, because I have to remove and insert the different chips, risking their.. pins ;D

Can the Arduino be used as a bridge to another Arduino chip?

( PC ) -- program --> Duemilaove -- program --> Arduino bootloaded chip

Of course a modified IDE will be needed in order to stop the autoreset feature or perhaps a (permanately) modified board.

Any ideas are welcome! ;D
32  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 28, 2009, 03:58:40 am
I found out that I need to change the Fuses. Hmm, that's easy but I don't know what to change to smiley-razz

EDIT: Found this site http://www.engbedded.com/fusecalc

EDIT2: I made it work, thanks everyone!! smiley-grin
33  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 27, 2009, 07:10:42 pm
I uploaded a C program without delays (no need for crystal/resonator). Works
fine on the Arduino board but, again, not on the breaboard.
I've clicked every result on Google for "avr tutorial" but everyone talk about code and not the hardware smiley-sad

Can someone point me to the right direction? What pins need power and what ground? smiley-sad
Sorry if I'm getting boring :'(


Oh well, I wired my Arduino's crystal and it worked smiley-razz
34  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 27, 2009, 12:31:14 pm
I tried burning an 8mhz bootloader, it worked on the board (with crazy timings, as it should be) but not on the breadboard :-[

My current problem is that the AVR (with and without the Arduino bootloader) doesn't work. I'll try adding a pullup on Pin 1 and see if that makes any difference!

Thank you everybody smiley
35  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 27, 2009, 11:55:09 am
Why do I need a crystal? Doesn't it use the internal?

A pullup on pin 1? Haven't tried that yet..

My problem is that the AVR doesn't work on the breadboard, so I don't think the resistor on the LED will fix it :-/

Already tried +5 on AVCC.
36  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 27, 2009, 09:49:19 am
No, I don't have a crystal available.
Here's a picture. Thanks for the help smiley


EDIT: Forgot to tell that I'm using 5v from an old Basic Stamp board and not 3v like the picture! I also tried to power the AVR with my Arduino board but it does the same, nothing (in case it was a powering problem).
37  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 27, 2009, 09:06:46 am
Hmm.. I had zero luck with the parallel programmer. I programmed a ATMEGA168 only once, then it wouldn't respond.

This morning I modified my Duemilanove in order to make it a programmer. I succesfully flashed the ATMEGA168, works like a charm on the board! I have another problem now..

When I move the chip on a breadboard it won't work.. I power it correctly, I think.. I'm I missing something? :-[

P.S.: I tried with the Arduino bootloader and the Blink sketch and a blink.c program I compiled and flashed my self. No luck at all smiley-sad
38  Forum 2005-2010 (read only) / Development / Re: 1 chip Arduino on: July 25, 2009, 08:29:01 pm
Thanks for the replies guys!

I don't really care if I blow them up, I'm just testing (& learning). All those "extra" components may be good for the Arduino, but all I see is a board-component-hell! smiley-sad I'm learning though smiley-razz

I also don't care for the power, I can feed the AVR 5volts directly from the USB. If that doesn't work, I can use the regulator on my old *stamp board smiley-wink

As for the USB to Serial, I have this one available, I think it works, doesn't it? http://www.m3-online.com/catalog/images/usb-to-serial-1.jpg

I can't go for "shopping" because it's a long trip from my home and I can't buy from abroad because I don't have a CC/DC yet. So that's why I'm trying to build it with what I have available :-[

EDIT: Tomorrow I think will be the big day (its 4:30 in the morning here).. smiley-razz I'll try to flash this bootloader "ATmegaBOOT_168_pro_8MHz.hex"!
39  Forum 2005-2010 (read only) / Development / 1 chip Arduino on: July 25, 2009, 07:52:47 pm
Hello there!
Some days ago I got an Arduino Duemilanove.. You know you can't just have only one after some hours of tinkering with it! ;D

So.. I bought some ATMEGA168 to play with (not as Arduinos, but..). Can these little guys be "Arduinos" but WITHOUT any external component? Something like http://www.geocities.jp/arduino_diecimila/obaka/project-2/index_en.html, maybe?

I'm not asking for complete projects, tutorials etc, but for information like if I'll need a custom bootloader etc smiley-wink

It would be perfect, as I build everything on breadboards! Short lifes, but that's the game smiley-grin
40  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Updated FTDI Drivers For Arduino IDE for Windows 7 on: July 27, 2009, 10:47:04 am
I didn't install any drivers, Windows have them on Windows Update.

As for the IDE, download the latest Java JRE (32bit even if you have 64bit Windows). Install it and go to Program Files, Java. Copy the folder and move it to the Arduino IDE's folder. It works like a charm for me and it fixed the Aero problem!
41  Forum 2005-2010 (read only) / Interfacing / Re: Arduino to 384 LED display module (MCU Interface) on: November 04, 2010, 04:16:18 pm
Has anyone managed to write a scroll function for milesburton's lib?
42  Forum 2005-2010 (read only) / Interfacing / Re: Arduino to 384 LED display module (MCU Interface) on: October 30, 2010, 07:29:19 pm
@filmo

No, evething works fine now.
43  Forum 2005-2010 (read only) / Interfacing / Re: Arduino to 384 LED display module (MCU Interface) on: October 28, 2010, 08:24:40 am
Awesome job mate. You'll also need to fix the demos now. For example the "Simple" demo won't light the 3 last columns.

Here's the fix:
Code:
...
// Fetch bounds
X_MAX = disp.getDisplayCount() * disp.getDisplayWidth();
Y_MAX = disp.getDisplayHeight();
...
44  Forum 2005-2010 (read only) / Interfacing / Re: Arduino to 384 LED display module (MCU Interface) on: October 19, 2010, 03:56:11 pm
I have the same problem as Jensah. First and last row of displays 2 to 4 don't light. Setting all the displays as the first makes the rows light, so it's not a hardware problem. Any known fix?
45  Forum 2005-2010 (read only) / Interfacing / Re: Ethernet shield and SD on: July 30, 2009, 11:15:17 am
You don't need to create your own library, you can use an existing. Just find on which pins the SD slot is connected to and modify the pins on a SD library. I don't know if that works, I'm just thinking loud smiley-razz Mine also came without an SD card holder smiley-sad
Pages: 1 2 [3] 4