atmega328 standalone serial communication with arduino IDE

im a newbie to arduino infact any microprocessor. i have tried the basic examples in arduino IDE on the arduino uno. including the serial monitoring examples. the task in hand now is to communicate a standalone atmega328 on a breadboard with the computer com port using the arduino IDE first then with an other serial monitoring programming namely the [u]mach 3 pc based cnc controller[/u] to accomplish some tasks. ive tried the serial monitoring examples of arduino IDE on bread board using the RX and TX pins of atmega328 and max 232 but the only thing im getting on the arduino serial monitor are weird set of symbols. im really lost now and need some guidance.

Have you deployed a inbetween USB to TTL converter in between the standalone ATmega and computer USB port? if not you have to do the same

ok! but i forgot to tell that i want to do this by using just the [u]serial com port[/u] of the computer not the usb. i want to use the com port to communicate.

Maybe share the circuit diagram with us? BTW, did you connect the grounds together?

yup i did, ok ill share it soon, dont have access to em yet, first thing tomorrow definitely.

Well the USB to TTL is just a serial to usb converter so nevertheless you are using a Serial com port only if you do not want to use the USB com port converter based then you can make a Serial programmer yourself.

or,

If you have a Arduino already then you can use its FTDi chip to load sketches in the chip

ok! but i do not want to use the usb, just the serial com port and want to communicate the standalone chip with software as i already mentioned, how does arduino help me there that is the question, and i being a newbie am writing it down here, the problem is i dont know where to start and need guidance regarding that... thank u.

I just searched google and found this page: http://www.hobbytronics.co.uk/arduino-atmega328-hardcore. It looks like it has the information you are looking for.

ok so you can try the uno with this > http://arduino.cc/en/Tutorial/ArduinoToBreadboard in consideration it works for most of us just consider the reset switching.

frefol: I just searched google and found this page: http://www.hobbytronics.co.uk/arduino-atmega328-hardcore. It looks like it has the information you are looking for.

thanks a lot ive tried this one and used it to do a lcd program by sending characters through the arduino ide serial monitor, and it is standalone!, im gonna try more serial programs on this one now. but its unable to burn a program wonder why, gonna troubleshoot that as well.

NI$HANT: ok so you can try the uno with this > http://arduino.cc/en/Tutorial/ArduinoToBreadboard in consideration it works for most of us just consider the reset switching.

ok ill check that as well thanks!

Before you go off an that big tangent … the original symptom sounds very much like the baud rate of the serial monitor has not been set to match the arduino program rate. The baud rate selector appears down the bottom right of the serial monitor, just set it to same as the number in the “serial.begin(9600)” command of the program (in this example 9600 baud)… and bingo!

MAsadUllahKhan: thanks a lot ive tried this one and used it to do a lcd program by sending characters through the arduino ide serial monitor, and it is standalone!, im gonna try more serial programs on this one now. but its unable to burn a program wonder why, gonna troubleshoot that as well.

I wonder if it is just not auto resetting.

ninja2: Before you go off an that big tangent ... the original symptom sounds very much like the baud rate of the serial monitor has not been set to match the arduino program rate. The baud rate selector appears down the bottom right of the serial monitor, just set it to same as the number in the "serial.begin(9600)" command of the program (in this example 9600 baud)... and bingo!

hm im afraid that one is ok the baud rate is 9600 every where. the lcd serial display program is working fine. i am able to send characters through with the serial monitor to the lcd. but unlike the circuit desccription im unable to burn program using this circuit configuration. selected the right com port right baud rate i.e 9600. and because of my inexperience im not quite sure where to look but my instincts tell me its the circuit configuration that i should be looking into. heres what im using the non breakout board version i.e teh transitor version....http://www.hobbytronics.co.uk/arduino-atmega328-hardcore