Go Down

Topic: standlone arduino  (Read 3649 times) previous topic - next topic

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

Budvar10

#1
Apr 04, 2015, 02:17 pm Last Edit: Apr 04, 2015, 02:18 pm by Budvar10
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.
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

mart256

#2
Apr 04, 2015, 05:39 pm Last Edit: Apr 04, 2015, 05:42 pm by mart256
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.

wizkhalifa

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 .

nerdegutta

Have you seen this:


- nerdegutta

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

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
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

wizkhalifa

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

dsauriol

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


Paul__B

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?

evildave_666

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.

wizkhalifa

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

wizkhalifa

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

Budvar10

#13
Apr 11, 2015, 08:52 am Last Edit: Apr 11, 2015, 08:53 am by Budvar10
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.
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

wizkhalifa

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

Go Up