Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Reprogramming an ATmega328 on: January 23, 2011, 05:18:06 pm
The main reason I'm hesitant to buy the arduino lilypad programmer is because there are two different versions of it.  One is 3.3v and the other is 5v.... maybe the one you linked me to handles both cases, but it looks exactly like the ones I was looking at.  I'm unsure how I would know whether I need the 3.3v or the 5v version and I don't know exactly what would happen if I used the wrong one.

Both versions can be switched to the other mode by cutting a lead and soldering a jumper or switch in place, but I still don't want to plug it in until I know which version I should be using.

Like I said, my board seems to be running at around 3.3v, so I'm sure that's the one I need, but I just thought I should ask for advice before buying anything.


If I were to instead go with the USB to RS232 converter as suggested above, how would I need to connect that to my board?  The board I am trying to reprogram can be seen here:

http://www.sparkfun.com/products/9883

It has pictures of the board and at the bottom there are schematics and eagle files.  There are 3 unused sections of the board, one is the set of 6 pins for the serial connection that I mentioned earlier.  Is this where I would need to somehow connect the RS232 stuff that you recommended?  If so the header wouldn't match with the board you recommended.

There is also an ISP section, and I have no idea what the purpose of that is, so if anyone could enlighten me that would be great.  It seems to match the pins on the RS232 board but I know that doesn't necessarily mean they go together.

The third unused section on the board, as far as I can gather, is just there for possible expansions of the board so that I could add new boards if I chose to do so.
2  Forum 2005-2010 (read only) / Frequently-Asked Questions / Reprogramming an ATmega328 on: January 22, 2011, 04:44:30 pm
I recently started to become interested in building circuits and I bought this simon game kit from sparkfun so that I could get started learning the basics.  After I got it together and it was functioning I decided that I would like to figure out how to reprogram the ATmega328 chip that came with the kit so that I can make the game work differently.  After spending some time trying to learn how to do that I have a few questions I was hoping someone here may be able to answer for me.

The board has a set of 6 unused contacts, 3 of which seem to be connected to nothing and the other 3 of which; the ground, tx and rx pins; are connected to pins 1-3 of the ATmega328 chip.  The shop page that I bought the kit from suggests that I should buy a male header to solder into that spot on the board, and an FTDI board that would allow me to connect a USB cable to the board so that I could reprogram it.

I looked at the FTDI board in their shop and I was thinking it might be worth just making my own circuit that would do the same thing, instead of paying for their board.  So my question is, does anybody know how to create a circuit that would allow me to reprogram an ATmega328 chip using the tx, rx, and ground connections that are already etched on the board?

I would like to make this circuit on a breadboard, with a female header that I could connect to the male header I would put onto the board I'm trying to reprogram.

If this isn't possible does anyone have any suggestions for how I could get started learning more on a budget?

I was also a bit unsure about how to know if I need to be using 3.3V or 5V.  5V is silkscreened onto one of the contacts on the board, but the schematic that is supplied by the site says that it is 3.3V.  I used a multimeter and everything seems to be running at 3.3V so I assume that I'm using a 3.3V board, but I'm confused about the 5V marking on the board.
Pages: [1]