Jump to content
IGNORED

Out of the Pack - Atari 8 bit <-> 850 Interface <-> RS232 S


RSS Bot

Recommended Posts

As if there isn’t enough hardware to hook up to your RS232 equipped computer, now you can build your own. It was a nice thought to build Arduino boards with a USB port for serial communications and programming, and even nicer that it can be equipped with an RS232 port for communicating with our Ataris.

 

You’ll need an 850 interface or a PR:connection hooked up and running on your Atari 8-bit. The ST has an on board RS232 port. If you have hooked up a modem or set up communication to another computer using a null modem cable, you can hook up an Arduino. If you haven’t, a “can do” attitude will be a big help.

 

There are two ways to set up a RS232 port on the Arduino. The first is to use a RS232 shield and the serial communication software that is programmed on the Arduino chip. This software is initialized when the Arduino board is powered up and uses digital pins 0 and 1 hooked up to the USB hardware. The second way is to use a software serial library that can be configured to the digital pins of your choice.

 

 

 

The RS232 shields plug into the Arduino board and are set up to use pin 0 and 1. The shield will need to be removed to give the USB port access when down loading a program and then re-inserted to execute the code. Some have found this inconvenient and opted to modify the shield or use option 2.

 

Option 2 is to purchase an RS232 to TTL converter board. Then wire it to the Arduino pins. You still have the option of using the built in or software serial library depending on which pins you use. You will still have to unplug it if pins 0 and 1 are used.

 

I chose to start experimenting with the shield on the Atari 8-bit.

 

Step 1. Program Arduino to output to serial monitor.

 

Plug the Arduino into USB port of the computer for programming. Download the following program to the Arduino. Open up the serial monitor and look for “Hello”. Once you see that hello is being received from the Arduino through the USB port you are ready for step 2.

//RS-232 Shield test//Send Hello to computervoid setup(){Serial.begin(300);}void loop(){  Serial.println("Hello Atari");  delay(1000);}

Boot up the Atari with the serial port handler(R:) and terminal program. Bob Term is my program of choice. Hook up the Arduino to Port 1 and power up. Set the Baud rate to 300, Translation to ASCii, and Duplex to HALF. Or whatever you need.

 

The biggest problem was getting the cabling right. A DB9 male to male connector didn’t work. The Atari port is not wired the same as the port on the Arduino or IBM. Adding the Null modem cable didn’t work. Mapping the pins and cable connectors would have been the good idea but trying the following worked.

 

 

Atari 850 DB9 Female

Atari Modem cable DB9 Male to DB25 Male

Converter DB25 Male to DB9 female

Serial Cable DB9 Male to DB9 Male

Arduino RS232 Shield DB9 Female

 

 

It brought a tear to my eye while watching the characters come through at 300 Baud and remembering it use to cost me about $65.00 per hour to be on line. (Why do I complain about my cable bill?)

 

Now, if you’ve read this far and have your Atari talking to the Arduino, chances are you’ve thought of a hundred things to try. Somewhere out in the future, I’m hoping someone builds an 850 emulator. All you need is half a SIO cable, Arduino, and RS232 shield. Oh…….. and a bit of Arduino programing.

 

Reference:

www.cutedigi.com - find reviews of shield with some helpful hints.

 

www.linksprite.com/wiki -> open source projects ->1.1.9 Others Shield -> RS232 Shield of Arduino. Schematics and view example code.

 

Atari 850: Interface Module Operator’s Manual, Atari Inc., 1980 , Publication # CO15953 rev.1

 

Jainschigg, John, “Data Transfer: The Productivity Bridge”, Atari Explorer – Summer 1987

 

Monk, Simon, Programming Arduino, Getting Started with Sketches, McGraw Hill, 2012.

 

Attached thumbnail(s)
  • blogentry-37655-0-70502700-1421505632_th
  • blogentry-37655-0-74019400-1421505634_th
  • blogentry-37655-0-67981900-1421505636_th
  • blogentry-37655-0-84622900-1421505638_th
  • blogentry-37655-0-49637500-1421505640_th
  • blogentry-37655-0-18458400-1421505642_th

 

http://atariage.com/forums/blog/572/entry-11653-atari-8-bit-850-interface-rs232-shield-arduino/

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...