I’m about to trow it out of the window…
I just don’t get it…
no one has another idea?!?!
I’m about to trow it out of the window…
I just don’t get it…
no one has another idea?!?!
Is there a reason you “need” to use the max232 driver instead of just using TTL communication? I don’t know if it will solve your problem, but we do it all the time using the Basic Atom processors. People normally use db9 RS-232 communication from a PC to the SSC-32, but when we use a microcontroller to talk to the SSC-32 we just use TTL level comms.
sorry if i’m asking something stupid now…
TTL is the signal comming directly out of the ATmega32, without the MAX232?
just to be sure:
I need to connect the rxd/txd directly to the txd/rxd on the ssc-32 board?
Yes, but there are some issues. When we do it we are connecting a 5vdc part to a 5vdc part. Is your processor 3.3vdc or 5vdc? If it’s a 5vdc part then you are good to go. You simply connect the TX from the atmel chip to the RX on the SSC-32. There are two jumpers that enable the DB9 and max 232. If you remove the two jumpers you can connect the TTL jumpers there. Use the GND and the RX pins closest to the DB9 connector.
it is 5VDC
i connected those… but now when i don’t connect the GND the led flashes when i send somehing… but when i connect the GND it does nothing… like it is receiving nothing…
And… when the rxd and txd jumpers are removed… i still can use the GND from the DB-9 connector?
can you post images of your wiring?
every time i try to upload a link or a image it gives me an error
That’s because of our anti-spam measures. You’ll have to wait until 24 hours have passed since you signed up on the forum before you are able to post images or links. Sorry for the inconvenience.
Check out this topic for more information.
lynxmotion.net/phpbb/viewtopic.php?t=2230
80.57.49.242/pics/wiring_simple.jpg
That looks correct. You do need the ground. Something is wrong, but I do not know what it is. I would have liked to see more of the wiring for the power. I’m as perplexed as you are.
in the TTL configuration you will need to remove the jumper shunts on TXD/RXD of the SSC-32 as leaving them on will cause the MAX232 outputs on the SSC-32 to fight with your TTL outputs from the ATmega32.
I assumed it was part of the original image he was using. I hope they are removed.
thats right…
i can’t connect the wires when the jumpers are there
I am thinking more and more that my code is wrong…
It must be the serial configuration than… but i’m sure the baudrate is 9600, both on the ssc-32 and the atmega32.
When i connect one of them to my pc it works fine… and when i connect the other one I don’t have to change any settings on my pc…
i discoverd i configured it for 9 databits
How that happened… no idea…
Looking for more errors… maybe it is the code after all…
SOLVED!!!
programming errors in the code…
finally it works:D…
Thanks for letting us know what the problem was. I’m glad you got it going. And a lot safer for people walking past your window.
haha… yes… now they don’t have to ware helmets
all of you, thanx a lot for your help!