Forum Index > Projects > LED Pegboard and Matrix Projects
 Programming the Peggy 2.0
 |  Printable Version
By: voxel (offline) on Tuesday, July 08 2008 @ 09:03 AM PDT (Read 3043 times)  
voxel

I was wondering if the USB TTL cable is totally necessary for programming the Peggy 2.0?
I already have an Arduino board, and was wondering if I can just toss the ATMega168 from the Peggy into the Arduino board and program it that way? I realise the TTL cable would be easier (less transporting), but I was curious.
Also, do the instructions that come with the kit show how to set up the Peggy 2 for USB TTL programming?
Thanks!


Forum Apprentice
Apprentice

Status: offline

Registered: 05/28/08
Posts: 8

Profile Email    
   
By: Windell (offline) on Tuesday, July 08 2008 @ 09:58 AM PDT  
Windell

The Peggy 2.0 can be programmed (1) by using the USB-TTL cable (2) by using an AVR ISP programmer (such as the USBtinyISP), or (3) by taking out the AVR and programming it in an Arduino board (as you describe). The ATmega168s in the Peggy 2.0 and in a Diecimila are (I think) interchangeable in every respect, which means that you can just swap them out. (It isn't necessary to take the chip out of the Peggy, take the chip out of the Arduino, program the Peggy chip, and put it back, and then put your Arduino chip back in your Arduino board.) But, much much better than swapping out chips-- because chips get damaged that way-- is to *use* your Arduino board as an ISP programmer. Check it out!


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: voxel (offline) on Tuesday, July 08 2008 @ 12:21 PM PDT  
voxel

Oh that's great news!
I just ordered two Peggy 2.0's and am eagerly awaiting their arrival.


Forum Apprentice
Apprentice

Status: offline

Registered: 05/28/08
Posts: 8

Profile Email    
   



 All times are PDT. The time is now 11:36 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?