Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« on: November 17, 2012, 10:53:24 am » |
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
|
|
|
|
|
Logged
|
Patience.....
|
|
|
|
Canada
Offline
Sr. Member
Karma: 3
Posts: 391
|
 |
« Reply #1 on: November 17, 2012, 03:43:01 pm » |
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
|
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 41
Posts: 5171
CMiYC
|
 |
« Reply #2 on: November 17, 2012, 07:26:55 pm » |
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
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #3 on: November 17, 2012, 08:51:42 pm » |
James, Let me try to clarify. I am not sure how to wire up the switch and leds actually.  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
|
|
|
|
|
Logged
|
Patience.....
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #4 on: November 17, 2012, 10:44:00 pm » |
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
Sr. Member
Karma: 3
Posts: 391
|
 |
« Reply #5 on: November 18, 2012, 10:57:56 pm » |
S1 tells the sketch to begin another bootloader burn.
|
|
|
|
|
Logged
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #6 on: November 19, 2012, 08:04:38 am » |
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
Sr. Member
Karma: 3
Posts: 391
|
 |
« Reply #7 on: November 19, 2012, 10:39:04 am » |
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
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #8 on: November 19, 2012, 01:24:00 pm » |
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.....
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 41
Posts: 5171
CMiYC
|
 |
« Reply #9 on: November 19, 2012, 03:18:30 pm » |
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
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #10 on: November 19, 2012, 08:20:35 pm » |
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.....
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 41
Posts: 5171
CMiYC
|
 |
« Reply #11 on: November 19, 2012, 08:25:07 pm » |
So you were trying to build a generic "Arduino as ISP [in-circuit serial programmer]" shield?
|
|
|
|
|
Logged
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #12 on: November 19, 2012, 10:35:06 pm » |
James,
Yes I suppose that is what I was trying! Am I far off on this?
Lance
|
|
|
|
|
Logged
|
Patience.....
|
|
|
|
Austin, TX
Offline
Faraday Member
Karma: 41
Posts: 5171
CMiYC
|
 |
« Reply #13 on: November 19, 2012, 10:43:21 pm » |
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
|
|
|
|
|
Gales Ferry, CT
Offline
Newbie
Karma: 0
Posts: 29
Always thinking
|
 |
« Reply #14 on: November 19, 2012, 11:06:42 pm » |
Thanks a ton I will research tomarrow after work. My head hurts after reading Sociology topics. 
|
|
|
|
|
Logged
|
Patience.....
|
|
|
|
|