Pages: [1]   Go Down
Author Topic: Arduino Standalone + rs232?  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello All Arduino-ers,

I am trying to program my Arduino Standalone(http://arduino.cc/en/Main/StandaloneAssembly) through rs232, how do I do this (treat me as being as nooby as my username would suggest in your explanations)

-l3378055
Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1010
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a simple solution for this: Buy a USB-to-TTL-serial-adapter from Ebay. Connect it to RX and TX.
Or use an Arduino with a serial adapter included.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a USB-rs232 connector already.
Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1010
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it TTL-level, or a higher voltage RS-232 level signals ?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not sure, I bought it on Amazon, here is all the info on it.

USB to Serial RS-232 DB9 Adapter Cable

Product Features
     Converts a USB port into a 9-pin male RS-232 serial port
     Powered by USB port
     Supports Windows 98/2000/Me/ XP, Mac OS(8.6/9.0)
     It's perfect for PDA, DIGITAL CAMERA, MODEM and MOBILE PHONES.

Technical Details
     Brand Name: DekCell
     Model: undefined
     Item Package Quantity: 1

Heres a link: http://www.amazon.com/gp/product/B000BI95W0/ref=pd_rate_rs
Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1010
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I see.
It is easier to have a adapter from USB directly to TTL-level serial lines.
The old RS-232 uses higher voltages.

Adafruit has both of them, with some explanation:
(1) http://www.adafruit.com/products/18
(2) http://www.adafruit.com/products/70

If you did build that stand-alone, the 7404 is probably used to be able to handle that higher voltage.
I hope you read the comments for this schematic: http://arduino.cc/en/Main/StandaloneAssembly
The RXD is an input, so the 7404 port for RXD is drawn the other way around. Also the /RESET is wrong and there are more problems. So the schematic is a total mess.


Perhaps it's better to start all over again.
Do you have a bootloader programmed ?
Can you upload your schematic (and a photo) ?

Did you already use a normal Arduino ? Building one yourself is easier if you already have used one.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

T`hank you for all you have said so far,

I've built my circuit on a breadboard and it works, the Arduino and everything, if I program the Arduino through the Arduino Uno board.  All that happens when I plug it into my computer is it says it cannot install the driver software(I have the software necessary to use the Arduino Uno).

Picture-wise it looks just like the one from the link I gave.

Could you elaborate on the problems in the circuit from the link?

Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 439
Posts: 23794
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That cable wants to put out ~+/-10V signals on the Tx line that would connect to your Rx, and expects your Tx pin to output +/-10V signals.
The ATMega328 on the  board only handles 0/5V signals. Higher than 5.5 and lower than -0.5 will damage the IO pins.

If you're on a breadboard, then add a MAX232 type chip to handle the signal level conversion.
http://www.dipmicro.com/store/ST232CN
Need 5 0.1uF caps to create the +/-10V signal outputs that the cable needs.

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: