Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: vialick on March 26, 2009, 06:17:21 AM
-
Hi, I'm making the $50 robot and I managed to buy this programmer link (http://www.roboblock.com/mall/m_mall_detail.php?ps_ctid=10020000&ps_goid=166&PHPSESSID=16f67550cf0883e8cfd7c711b576eb23)
I've checked around and can't find a datasheet, it has 6 pins in one row (as opposed to two rows of three) the colours of the pins go: red, yellow, green, blue, white, black. Not sure if that will help.
from the website:
1.Product description
This cable can write ATMEL's AVR micro processor series. Our company provide it very low price!
It can supply AT90s2313, AT90s8515, AT908535, ATMEGA103, ATMEAG128 etc...
Good for beginner at micom.
No need ROM writer.
Anyone got any ideas on how I can connect this to the ATmega? I've sent them an email with no response yet.
-
Well, I opened up the plug and from the circuit board found the following descriptions (guess I probably should have done this before posting earlier :P )
Red VCC
Yel SCK
Gre MOSI
Blu RE?T (i guess REST)
whi MISO
BLA GND
would it be fair to assume that I should connect them to the ATmega8 as follows (from the pin descriptions in the atmega8 datasheet)
R - pin 7 (VCC)
Y - pin 19 (SCK)
G - pin 17 (MOSI)
B - pin 1 (reset)
W - pin 18 (MISO)
B - pin 22
While I guess nothing expensive is at risk, I'd rather not melt anything in a failed experiment...there's no retail electronics shops in Korea, it's all online. So it'd be annoying to pay 5000 won shipping for a 2000 won part
-
if u can connect to the right pins...then i guess ull face no problems...
-
I'm mostly worried that I'll connect two outputs together. I'm not sure if the labelling on the board is in referrence to the programmer or the chip. If I connect the output of the programmer to the output of the chip then at best nothing will happen, and it will probably be a pain for me to troubleshoot (all my electrical thinking has been shaped by audio work...this is probably a laughable concern).
-
the only thing u need to do is that need to cnnect the eight pins...miso to miso...mosi to mosi...sck to sck...grnd to grnd ,vcc to vcc...thats it...its gonna work
-
Well I've connected up the board...everything's looking promising and then...
I get the wrong USB to Parallel converter...I get one that goes to a centronics connector instead of a DB25 (as the site's in Korean it was difficult to check details...and the picture says "usb to paralel" not "usb to printer". Unfortunatly the webstore I bought it from doesn't have one that goes straight to a DB9 female. And returning it may end up costing half of the initial cost.
They do however have a usb to serial cable, with a DB9 to male DB25 plug (meaning I'd need to buy/make a gender converter if that would even work)
Should I try to make a converter from centronics to F DB25 using the pinouts here (http://www.lammertbies.nl/comm/cable/parallel.html). Connecting data bit 0 to data bit 0, etc.
Help me Obi wan Kenobi, you're my only hope
-
I had the exact same problem.
Sparkfun got their parts mixed up and I called and then sent me a completely new and correct one, free of charge.
Just call and tell them your situation.
here is my forum post, if this helps
http://www.societyofrobots.com/robotforum/index.php?topic=7204.msg54780#msg54780 (http://www.societyofrobots.com/robotforum/index.php?topic=7204.msg54780#msg54780)
-
I had the exact same problem.
Sparkfun got their parts mixed up and I called and then sent me a completely new and correct one, free of charge.
Just call and tell them your situation.
here is my forum post, if this helps
http://www.societyofrobots.com/robotforum/index.php?topic=7204.msg54780#msg54780 (http://www.societyofrobots.com/robotforum/index.php?topic=7204.msg54780#msg54780)
Ah, well the problem is all mine...plus I've opened the packet on the usb-parallel (which is how I found out it was a centronics connector. I did a bit of extra digging up and apparently usb - parallel things just don't work (wish I knew that before...everything I found before suggested that parallel was the way to go). I ended up convincing the treasury (ie fiancee) that I do really need some extra funding for this project and hopefully my USB ISP will be arriving soon.
As for ringing up and trying to explain the situation, I'm living in Korea at the moment, and my Korean is limited to the basics (a few animals, hello, goodbye, "you wanna die", and swearing). Also if I have to change a \10000 part I end up having to pay \7500 shipping (including the initial shipping).
Though I am still curious if it would work...
-
usb - parallel things just don't work (wish I knew that before...everything I found before suggested that parallel was the way to go).
yea, I didn't know either at first and it caused me a lot of headache . . .
my Korean is limited to the basics (a few animals, hello, goodbye, "you wanna die", and swearing).
hehe, you wanna die, my favorite korean phrase . . . chugalay?
A bit off topic, but I often live in Thailand for long periods of time. How's it like building robots in Korea?