Pages: [1] 2   Go Down
Author Topic: Need help populating Arduino r3 proto shield.  (Read 1434 times)
0 Members and 1 Guest are viewing this topic.
Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am in the process of populating the shield following http://ladyada.net/library/tools/standaloneisp.html  but they have a different proto board. Where do I connect the reset switch and leds on this board?

My board - [url]http://www.mouser.com/ProductDetail/Arduino/A000082/?qs=sGAEpiMZZMtE4ePzUE8d2CmN5d6cQSeK[/url

Thanks guys


* 54737_10151294267065552_999470014_o.jpg (162.92 KB, 852x1136 - viewed 49 times.)
Logged

Patience.....

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 602
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just draw up a schematic from the description given in the tutorial, then use any available space on the proto-sheild for the components.
Logged

Facts just don't care if you ignore them.

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not entirely sure what question you are really asking.  You can connect a switch and LED anywhere you want.  Proto shields are meant to be general purpose.

In this case you need to be very careful.  The Adafruit tutorial assumed you are using the Adafruit Protoshield (http://www.adafruit.com/products/51).  That shield is designed with the rows of connections (in line with the pins of the IC) are connected together on the board.

The Arduino-branded Protoshield was not designed this way.

So you must make sure all of the wires in a row are soldered together.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

James,

    Let me try to clarify. I am not sure how to wire up the switch and leds actually.  smiley-eek I am a hands on learner so wrapping my noggin around the picture has me scared to mis-wire something. Figured it was better to ask then waste cash/time.

    I will post a photo of my board from underneath. I connected the pins the adafruit board said to. IE. pin 9 to pin 9 on chip.

Thanks again for the help. Can't wait to get this thing going! I have a relay setup ready to be standalone and a 4x4 led cube for an xmas present ready to go.

Lance


* photo.JPG (855.84 KB, 1632x1224 - viewed 45 times.)
Logged

Patience.....

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok I grabbed a beer and regained my thoughts. I have the LED's hooked up correctly now and am using the power rail which cleaned things up a bit. Now my last question!


- What is the purpose of S1 and how do I connect it to my board? It says to: "Next add S1switch which you will press to start the programming process. You can just solder a wire (yellow) from the breakout near S1 to Analog 1" but what does that do with only one wire going from A1 to the switch?

Thanks!!
Logged

Patience.....

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 602
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

S1 tells the sketch to begin another bootloader burn.
Logged

Facts just don't care if you ignore them.

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so any ideas where to wire to and from for S1? Also I understand i am telling the Arduino to burn a new program into the 2nd chip with this code but any idea where I place the code to be burned?

Logged

Patience.....

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 602
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

S1 goes from analog 1 of the host board to ground.

The only code the standalone bootloader sketch delivers is a modified version of the optiboot bootloader (adaboot) as per Limor's blog:

"The standalone sketch will only program ATmega328P chips and it will program them with our "adaBoot" Bootloader not Optiboot! Select Duemilanove with 328 when uploading to Arduinos that use the bootloaded chip, even if you are using it in an UNO branded Arduino! "

That code is contained within the sketch itself.
Logged

Facts just don't care if you ignore them.

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Aweseom thanks Bill! (S1 goes from analog 1 of the host board to ground.)

So on the latter part of what you just said......

"The only code the standalone bootloader sketch delivers is a modified version of the optiboot bootloader (adaboot) as per Limor's blog:

"The standalone sketch will only program ATmega328P chips and it will program them with our "adaBoot" Bootloader not Optiboot! Select Duemilanove with 328 when uploading to Arduinos that use the bootloaded chip, even if you are using it in an UNO branded Arduino! "

That code is contained within the sketch itself."


CRAP! Did I just waste 5 bucks and a couple hours of my time?! What I wanted to do was build a rig so I can program the chips in order to transfer them to run standalone.
Logged

Patience.....

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

CRAP! Did I just waste 5 bucks and a couple hours of my time?! What I wanted to do was build a rig so I can program the chips in order to transfer them to run standalone.
What chips?  You only need to burn a bootloader on to blank ATmega328s.  If the chip already has the bootloader, it is ready to run standalone (at 16MHz).
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

James,

    I purchased about five ATmega328's that has a blank bootloader. Then I wanted to avoid pulling the arduino's ATmega out to program the chips 1-5. Figured I would create this shield to burn the bootloader as well as burn the program I wanted to use that chip(1-5) for. I.E. the 4x4 cube present, or the relay box I have. I guess what I have created is JUST the bootloader shield NOT a full on programming shield.

Lance
Logged

Patience.....

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So you were trying to build a generic "Arduino as ISP [in-circuit serial programmer]" shield?
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

James,

   Yes I suppose that is what I was trying! Am I far off on this?

Lance
Logged

Patience.....

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Look at the Arduino as ISP stuff and determine if the connections of your shield are the same connections.  If so, it is just a matter of loading the "Arduino as ISP" sketch on to the "host" Arduino.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Gales Ferry, CT
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Always thinking
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a ton I will research tomarrow after work. My head hurts after reading Sociology topics.   smiley-sleep
Logged

Patience.....

Pages: [1] 2   Go Up
Jump to: