Go Down

Topic: Standalone Arduino Serial debug not working (Read 2065 times) previous topic - next topic

Robin2


Can you please repeat the questions so I can answer you the most exactly.


No !

...R

MAS3

#31
Feb 11, 2014, 12:11 am Last Edit: Feb 11, 2014, 12:17 am by MAS3 Reason: 1
It seems to be hard to show us exactly what you've built.
(the new pic shows 2 max232 and 1 pin layout for dip 16 like your max232)
We're guessing here, and that makes it hard to tell we're actually helping, or making things worse for you.

So, you've connected max232 pin 11 (ttl tx) to (remote) ATMega rx, and max232 pin 12 (ttl rx) to (remote) ATMega tx ?
Where (what pins of both) is your local ATMega connected to the max232 ?

Don't despair, just take some time to show how tings are right now.
And as Robin2 already explained,  assume we don't know anything about that yet so put all in it.
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

bule

Quote
So, you've connected max232 pin 11 (ttl tx) to (remote) ATMega rx, and max232 pin 12 (ttl rx) to (remote) ATMega tx ?

Yes that is how I connected.
There is no connection (max232 ttl to atmega)on schematic because I dont need it, but I soldered directly on atmega pin 2 and 3.

MAS3

#33
Feb 11, 2014, 12:49 am Last Edit: Feb 11, 2014, 10:51 pm by MAS3 Reason: 1
You do not seem to understand what (and why) schematics are.

There is a difference between schematics and wiring.
Wiring is about how to connect modules to each other.
These modules are probably mounted on pcb's.

Schematics show how all components are connected, so also the connections on a pcb.

You telling us that you do not need a connection between max232 and the ATMega on the same board (i'm guessing that is what you just did), tells me you don't understand the importance of schematics for debugging, and what schematics actually show yet.
You soldered pin 2 and 3 of an ATMega directly, but what ATMega would that be and where are the other sides of those wires connected ?
Showing the actual schematic would have made this question unnecessary, but now i still don't know what is connected to what.

So, still guessing this is what you want, and still creating confusion:
Did you connect pin 2 of one ATMega to pin 3 of the other one, and pin 3 to pin 2 (do you understand what i'm asking ?) ?

Edit: typos and clarification
Have a look at "blink without delay".
Did you connect the grounds ?
Je kunt hier ook in het Nederlands terecht: http://arduino.cc/forum/index.php/board,77.0.html

spycatcher2k

I can't see if this has been asked - Is your Terminal/Serial Monitor set to the correct speed, stop bits etc. ?
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Go Up