SICKmods

September 09, 2010, 10:43:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: AVR programming sums it up.  (Read 14428 times)
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« on: October 02, 2005, 10:16:23 AM »

ok, im here finally Cheesy

i have stated i have alot of these microchips.

i need some information on programming them though.

heres what i am thinking, correct me if im wrong.

what i will need
ATtiny15L's
ATtiny programming board
Serial Port Dongle Programmer for STK Port
PonyProg

OK that what i need im pretty sure. Now i will  start by what im going to do.

I need to make your programming board which is located below.


Once i have made the actual programmer i am going to need to make the cable (Serial Port Dongle Programmer for STK Port) so i can hook it up to the computer.  I have included a link to the website you can purchase these from or view the schematics.

http://www.sparkfun.com/shop/index.php?shop=1&cat=4

Here are the schematics for making this cable on your own.

OK, so now we have everything to make one of these breathing LED circuits, w0000t.

A few questions first though.

1. What is the bottom microchip which is located on the actual programming board?

2. Where do the wires lead to from the cable i posted a schematic of?
The three bottom wires and the one on pin 6 of the ICSP

I think that is all for now, i will DEFINITELY have more questions coming.

cheers,
eminvil_12
Logged

 coward dies a thousand deaths, A soldior dies but once
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #1 on: October 02, 2005, 10:18:37 AM »

forgot to mention

the cable the schematics are for is the very bottom one within the link in the previous post.

eminvil_12
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #2 on: October 02, 2005, 10:23:29 AM »

hello,

1. well, the chip at the bottom is no chip, its a normal pinheader. You connect the programmer there.

2. they are the ground of the programmer, so just connect them together. Thats all.

If you don't want to build the programmer yourself and want cheap shipping then contact sickmods.net, they have some spare programmers I think.


regards
Pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #3 on: October 02, 2005, 10:34:57 AM »

ahhh i get it, thanks for that pablot.
I think making the cable will be the challenge though it seems pretty straight forward, now i know the ICSP connecter is pretty much just a female pinheader.

ok well i am going to order the stuff i need now, and in the process i will probably have to come back here and ask a few questions as to what parts are.

cheers mate
eminvil_12
Logged

 coward dies a thousand deaths, A soldior dies but once
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #4 on: October 02, 2005, 10:46:18 AM »

OK, found all the components now, ready to order Cheesy
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #5 on: October 02, 2005, 11:11:26 AM »

Quote
Hi,
here are the components. All the components on the schematic are surfacemount but I switched them for normal holemount. These are mouser part numbers:

T1 - 512-BC546B (NPN transistor)
Z1 & Z2 - 512-BZX55C5V1 (5.1V zenerdiode)
D1 - 512-1N4148 (switchdiode)

Make sure that you read the schematics correctly when you connect these components.. they must be connected the right way..

/pablot



thats a quote from my self that i found after alot of digging.. hope it helps

make sure that the parts that you found aren't surfacemount!!

that transistor is the holemount version of the one in the schematic, and the other parts i posted are also holemount

/pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #6 on: October 02, 2005, 11:31:26 AM »

all ordered now Smiley just gotta wait for it to arrive.
am i allowed to sell some of these because i clearly have too many or arent i.

Because im australian, could just provide people over here with a slightly cheaper alternative.

cheers,
eminvil
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #7 on: October 02, 2005, 11:59:06 AM »

sure you can, the code is released under the GNU GPL so it's not much stopping you =)

I would prefere though that sickmods remains the main distributor. But that is up to you.

But I really think you should sell them off if you want to. Go ahead!

/pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #8 on: October 06, 2005, 11:03:14 AM »

Quote from: "pablot"
sure you can, the code is released under the GNU GPL so it's not much stopping you =)

I would prefere though that sickmods remains the main distributor. But that is up to you.

But I really think you should sell them off if you want to. Go ahead!

/pablot


Ahhhh, great, thanks for that.

Now i will just clear up a few things before i start within the next week or two, damn shipping.  Well not clear up but just clarify.

All i need is

The ATtiny15L programmer board to be made on your site.  pretty much just a pinheader and IC socket with wires connecting to and from each of the pins. thats clearly stated.

The programming cable has to be made from http://www.sparkfun.com/shop/index.php?shop=1&cat=4
The cable that needs to be made is the very bottom one, i have posted the schematic in my first post.

once these are made, you simply plug the cable from your P.C----->the ATtiny programming board----->plug the aTtiny15L microchip into the IC socket on the ATtiny15L programming board.

kind regards,
eminvil_12
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #9 on: October 06, 2005, 02:49:55 PM »

you are correct on all your posts.

Then you just install ponyprogr. Start it and it will ask to calibrate it self. Do that. Setup any eventual things needed to be setup (eg, wich comport you are using). Then close down the program and run the script for ponyprogr that I will include in the source package together with a compiled hexfile so that you won't have to worry about building the code (will add all that later today I hope).

I'll post here as soon as the code is updated.

regards
pablot
Logged

Pleased to meet ya!
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #10 on: October 06, 2005, 04:23:24 PM »

the source package is now uppdated with the script and a pre-built hexfile

regards
pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #11 on: October 07, 2005, 07:57:05 AM »

Quote from: "pablot"
the source package is now uppdated with the script and a pre-built hexfile

regards
pablot


Great Cheesy

I order all my electrical stuff from a site called www.futurlec.com.au they also have a U.S site.  They seem extremely cheap and all there products are quality.

So i will get back to you once i have a package in the mail, postage says 1-2 weeks Sad

I also have to finish my Vu-X by mikeymikeuk, i just havent got around to it, xbox in peices, getting all the hardware right before i do the visual mods.

cheers,
eminvil
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #12 on: October 07, 2005, 08:30:28 AM »

hehe.. sweet.. the VU-X sure looks nice doesnt it?

/palbot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #13 on: November 04, 2005, 02:07:26 PM »

Just an update, my order was finally bloody shipped out yesterday !!!
so i should receive it next week.

cheers,
eminvil

Heres the insert of my order
 Order Date:        2005-10-04
Order Status:    Order Shipped
Shipping Method:    Standard
Shipping Date:    2005-11-03  

UNBELEIVABLE

Order Details
Part Number   Description    Qty    Price (AUD)   Total (AUD)
HEADD20    20 Pin .100 St. Male Double Headers    1    0.27    0.27
ATTINY15L-1SC    ATTiny15L - 8 bit SMD Microcontroller    6    2.53    15.18
DSUBIDCF9    D-Sub 9 Contact Female IDC Ribbon Conn.    1    2.0    2.0
R010K14W    10kohm 1/4W 5% Carbon Film Resistor    1    0.13    0.13
1N4148    1N4148 General Purpose Diode    1    0.27    0.27
R0047K14W    4.7kohm 1/4W 5% Carbon Film Resistor    1    0.13    0.13
1N5370B    1N5370B 56V 5W Zener Diodes    2    0.93    1.86
R033K14W    33kohm 1/4W 5% Carbon Film Resistor    1    0.13    0.13
BC846    BC846 - NPN SMD Transistor    1    0.6    0.6
FHEADD14    "14 Pin .100"" Straight Female Double Headers"    1    0.2    0.2
GRCABLE10    Grey Ribbon Cable - 10 core    2    0.53    1.06
    Sub-Total (AUD)            21.83
    Shipping (AUD)            4.00
    Total (AUD)            25.83
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #14 on: November 04, 2005, 07:32:58 PM »

sweet!

I'm a lazy fuck so I wont read the whole list but I'm betting its right.. =)

/pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #15 on: November 10, 2005, 08:28:44 AM »

Ok, i have connected everything together.
All soldered up, now i need some help with pony prog s i havent the slightest clue to what im doing. And i really mean no idea.

i tried starting the ponyprog file in the source download from here but i get an error (-24) .

i dont know how to set anything up.

Any help appreciated,
Thanks pablot

EDIT: pablot, Would you happen to have a scematic of the AVR-PG1b cable which shows how its soldered onto breadboard instead of all over the place like that?

thanks. ill try make on my self.
Logged

 coward dies a thousand deaths, A soldior dies but once
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #16 on: November 10, 2005, 12:04:01 PM »

OK, i just finished drawing up a schematic which i can understand lol.

Would you be able to tell me if everything is in their corect places.

cheers, im pretty sure its al right but not 100%

,
eminvil_12

Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #17 on: November 10, 2005, 02:26:54 PM »

Hi,

I'm at the university at the moment but I will look over it as soon as I get home.

regards
Pablot
Logged

Pleased to meet ya!
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #18 on: November 10, 2005, 09:56:26 PM »

looks good. Just make sure that the transistor legs are in the correct position.

and in ponyprog you must choose attiny15 in the device list up in the right corner.

regards
pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #19 on: November 11, 2005, 07:34:18 AM »

Hi,

Im glad the schematic is correct Smiley

Now im going to try building it again because i didnt know which was pin one on the serial port connector.  I then took a photo with macro on and it had tiny freaking numbering on it lol.

heres another pic for you, its of the transistor and the ATtiny15L.

would you be able to tell me which is the input and output of the transistor and could you label the pins on the ATtiny15L?

i put a green dot where there is a circular indent on the chip.

{edit by pablot}removed big picture, se my post below for it{/edit}

thankyou
eminvil
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #20 on: November 11, 2005, 08:31:09 AM »



and for details on how to connect it to the attiny15:



regards
Pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #21 on: November 12, 2005, 01:40:41 AM »

Thanks pablot, after i finish this little project i think i will try making a XERC, maybe a IR one?

Anyway i gotta run down to the electronics shop tomorrow and get some breadboard.
Logged

 coward dies a thousand deaths, A soldior dies but once
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #22 on: November 15, 2005, 05:08:38 AM »

OK, went down to my local jaycar today to pick up some stuff. Got everything i needed (breadboard) and forgot the fkin pin headers, im having a bad week.

ill try and see if i can find some.

Also pablot while im here you wouldnt know how to wire a 4pdt relay would you?

I want to put my wireless controller hard wired into my xbox with this relay but dont know how.

anyway, bad day so im gonna go now.

cya
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #23 on: November 15, 2005, 10:11:12 AM »

sorry.. I'm not too familiar with how to connect different relays =/
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #24 on: December 09, 2005, 08:21:56 AM »

pablot i need some help again.

pin 1 on my schematic is getting 11.50V, arent i supposed to be getting %v/3.3V ?

i used the correct resistor (4.7K) even tested with multi meter.

also i think i might have the wires on the serial connector around the wrong way.  I look on the front of th econnector and see little numbers for the holes, and i solder to them according to those.

im confused, lol i should just buy one off you but...... i like making things myself, a challenge, even though none of them work haha.

Any way pm a price of a programmer if you have any spare,
cheers mate Should only be under $2 shipping right, like 123leds.com

ill keep trying to work this out Sad
Logged

 coward dies a thousand deaths, A soldior dies but once
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #25 on: December 09, 2005, 08:44:50 AM »

hm, you probably connected it wrong to the dsub. The picture there shows how to connet it to the side that you solder to.. pin 1 is only read by the computer, it doesn't send a signal on it (if I remember it correctly).

if you want to buy a programmer then contact sickmods directly, I think he has a few left.

regards
Pablot
Logged

Pleased to meet ya!
eminvil_12
Jr. Member
**
Posts: 15


View Profile
« Reply #26 on: December 13, 2005, 09:34:01 AM »

ahhh, thats the side you connect it to **headbang**

well hopefully when i solder the right wires in "correctly" it might work lol

be back in the next few days mate
Logged

 coward dies a thousand deaths, A soldior dies but once
DragonSlayer
I am new here.
*
Posts: 9


View Profile WWW
« Reply #27 on: March 27, 2006, 01:23:36 PM »

this is how my programer looks like Smiley

(it has 1M cable)
im planning to make it smaller next time Smiley
(with a RS-232 connector soldered directly on the PCB board)
« Last Edit: April 03, 2008, 09:43:51 PM by DragonSlayer » Logged
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #28 on: March 27, 2006, 09:33:25 PM »

Nice one!
Logged

Pleased to meet ya!
Xpando_Systems
I am new here.
*
Posts: 5


View Profile
« Reply #29 on: May 02, 2006, 08:01:28 AM »

Is it possible you could direct me to a link to the firmware for the XERC, the file I downloaded from the web is either the wrong one or I have made an serious error while designing the circuit board or my programmer failed to program the AtmelTiny15L. I am currently using an AVR ISP programmer designed by silicon chip magazine and I am using AVR studio to program the device.
Logged
pablot
Administrator
Hero Member
*****
Posts: 797


View Profile WWW
« Reply #30 on: May 02, 2006, 08:15:41 AM »

I don't htink the firmware is the problem, it won't make the programming fail, it will just make the xerc not work when programmed. So I would make sure that you have soldered everything properly and make sure that if you made the xerc isp that the jumpers are removed.

for hexfiles:
http://pablot.com/hex/

regards
Pablot
Logged

Pleased to meet ya!
Xpando_Systems
I am new here.
*
Posts: 5


View Profile
« Reply #31 on: May 06, 2006, 04:11:20 AM »

Thanks for directing me to the link. I let you know how I go. Well about a month later I finally got back round to working on the XERC and it worked without any worries. I think last time it would of worked without no worries but I was not patient enough to calibrate it. Stupid me. Some ways I am glad Xecuter didn't decide to bulid one of these cuase it allows yours to be defined in another catagory (the eject capabilities is a must). Plus if you scan the web hard enough you are able to find the original ir mod that Xecuter decide to manufacture and sell. Im glad I didnt decide build that one it just turns the xbox on and off in different in different boot modes. One thing I do hope for Xecuter is that hopefully they are able to produce the first XBOX 360 modchip (thats is they decide to) because the quality in thier workmanship is brilliant and very reliable.
Logged
insilla09
Jr. Member
**
Posts: 11


View Profile WWW
« Reply #32 on: January 19, 2010, 05:22:16 AM »

I think that anyone that didnt look at who was behind the AVR-X Mili deserves whatever they get for buying it. Mili brought you the Magic Card I & II and now the Magic Card III disquised as AVR-X. Will you never learn?
Logged
goyourside
Sr. Member
****
Posts: 132


View Profile WWW
« Reply #33 on: August 21, 2010, 02:55:33 AM »

HaHA! I have already seen the great thing!!!
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!