standlone arduino

i have build a standlone arduino on breadboard and i want to connect it with my pc with serial port
so help me please with some ideas

You need some kind of device which converts voltage level RS232/TTL. Converter based on MAX232 chip for serial port on PC or based on FT232RL for USB. These are the most popular, I think.
On Arduino site there are pins Rx & Tx for serial connection of course.

wizkhalifa:
i have build a standlone arduino on breadboard and i want to connect it with my pc with serial port
so help me please with some ideas

Max232 chip.

is there any schematic for this serial connections betwen my pc and my atmega 328 based on some simple componements like transistors or something like this .

Have you seen this:

  • nerdegutta

yes but the problem that i cant find this chip imean max232 .so for that reason i have aske you for a schematic that existe a simple componemnts

wizkhalifa:
yes but the problem that i cant find this chip imean max232 .so for that reason i have aske you for a schematic that existe a simple componemnts

Sparkfun, DigiKey, Mouser, and eBay - They all sell this chip, but...

I have not tried this circuit, so it might harm your pc or mcu - meaning, you are on your own.

  • nerdegutta

thanks yo broth .so after i make this schematic .is it enough to connect it with the pc and start upload my sketch or there somthing other to do it

wizkhalifa:
i have build a standlone arduino on breadboard and i want to connect it with my pc with serial port
so help me please with some ideas

Building, assembling and probably troubleshooting/debugging a circuit with discrete components is one approach, which might not be the easiest, depending on your electronics skills, knowledge.

A much easier approach would to use an already built and known to be functionnal usb to serial module.
(search for "usb serial module ch340"...... )
These sell for $2-$4 on eBay, they could be available at your local electronics store as well.
It is definitely good to have a couple in your toolbox....they always come in handy.

Why use serial connection? I would also (strongly) suggest that you interface your atmet chip (would be nice to specify which one) using the MISO, MOSI, and SCK signals. Have a look at http://upvector.com/atmega/icsp_hookup.png.

That is the most popular method and has the merit of not requiring additional components/modules, besides using your Arduino Uno board, which provides the MISO, MOSI, and SCK signals. and acts as a programmer.

I hope it helps !

  • dan

We do hope you are not getting confused when you refer to the older "serial" port as against a now-standard USB port.

If you also propose to use this for programming via a bootloader, then you will also want to duplicate the RxD side of the above circuits to include the RTS function and connect that (minus the spurious 1k output resistor in the discrete component version above) via a 0.1μF capacitor to the reset on your chip (with the 10k pull-up and a diode across that).

Why can you not obtain the proper parts - MAX232 or preferably, a pre-built module using this chip readily available on eBay?

wizkhalifa:
yes but the problem that i cant find this chip imean max232 .so for that reason i have aske you for a schematic that existe a simple componemnts

ADM232AAN is a pin-compatible substitute too.

ok is there any schematic of max232 or (compatible) that work goood :wink:

and i want to know if it works with atmega 328 .and also is there some drivers or somthing like this to install when connect this board ( atmega, max232) with the pc

Of course, it works with ATmega328 and even with any device with 5V logic (for 3V3 is MAX3232 line, it is for both 5V/3V). You need not the driver. If the PC has a serial port I bet the OS is able to work with.

Ok Sir Budvar10 .Now i have
*atmega 328
*st323(it compatible with max232)
........ so can you please give me a schematic that work good

wizkhalifa:
so can you please give me a schematic that work good

"nerdegutta" just gave you the schematic in reply #4. What more do you want?

Oh, all right then, here's the proper circuit, including the reset:

thanks you very much sir

Way to hard to build a circuit unless you want permanent connection. buy a cable from sparkfun (or anywhere ) that has the converter built in and add a header to your board. This way you can use the converter with all your projects.

There is more to Arduino than the hardware. There is the fuses, the bootloader, the interconnection to the PC, etc.

I know you have your circuit, but this link shows all the pieces.

hi my friends i have built the schematic of the max232 the first time i have tested it by attaching the rx and tx and open the serial monitor and sebd somthing and it work good but when it attached to my atmega328 and send the code i have the next message:

avrdude: stk500_getsync(): not in sync: resp=0x30