Jump to content
IGNORED

Bit-Bang Serial (RS232) Output via Joystick Pin (PORTA-Bit 0)


mytek

Recommended Posts

Other way around -- port A reads (input AND output) for outputs, while port B reads outputs. You can set port A to all outputs with output $FF and still read joystick port 1.

 

Wow! Really? That is just too cool. I'll have to give that a try.

 

Thanks,

 

- Michael

Link to comment
Share on other sites

  • 5 years later...

I'm still holding my breathe for the documentation, finalized schematics, and software. It's just been 5 or so years and you were nearly done! Did you give phaerons suggestions a try? I just have to know :)

 

-=> Serial Ports are near and dear to old Sysops <=-

 

fun stuff.

  • Like 1
Link to comment
Share on other sites

On 7/11/2021 at 4:56 PM, _The Doctor__ said:

I'm still holding my breathe for the documentation, finalized schematics, and software. It's just been 5 or so years and you were nearly done! Did you give phaerons suggestions a try? I just have to know :)

 

-=> Serial Ports are near and dear to old Sysops <=-

 

fun stuff.

No I moved on to another way (used the UART in a PIC chip), and never went any farther on this project via the Atari.

 

Link to comment
Share on other sites

9 hours ago, _The Doctor__ said:

please do tell !!!   or point us to the uart serial pic project :)

This project was so long ago, and my brain refresh has gotten weak, so not much more I can say other than when I first got back into the A8, I was looking for justifications to use it in some of my 'normal' work. But the truth of the matter is it was far easier to just add some additional PIC code to a stepping motor device I was working on, and have it directly talk RS232 with my PC for control and data collection via Dasylab. So that's what I ended up doing. Really not much else to say about that :)

 

Anything related to serial I/O via bit-banging on the Atari I already covered in this thread.

 

However I did find the missing image of a simple TTL to RS232 level shifting circuit I used in the project.

 

709775739_SimpleTTL-RS232LevelShifter.png.ecc0c6a152cd83c2c3b995b108051907.png

 

For the transistors, a 2N2222 or 2N3904 works just fine for the NPN (BC547). And a 2N2907 or 2N3906 will substitute for the PNP (BC557).

 

EDIT: I only used the TXD half of the circuit in order to send data out from the Atari via a joystick pin.

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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