Connect to PC via RS232?

Modding and Technical Issues

Moderator: Moderators

Post Reply
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Connect to PC via RS232?

Post by pixel »

Did anyone ever try this and can recommend some hardware? I've seen some user port to classic serial connector adapter and then serial to USB adapters... could that work? Dialling in with an acoustic modem is too expensive at €1/min – sweet saviour – that really brings back retro feelings. And not the warm and fuzzy ones.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
User avatar
ops
Vic 20 Dabbler
Posts: 88
Joined: Mon Feb 19, 2018 11:25 am
Location: Finland

Re: Connect to PC via RS232?

Post by ops »

I have tested a few USB based solutions

https://ops.github.io/developersaid/
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: Connect to PC via RS232?

Post by srowe »

I've got my VIC hooked up to my Linux PC, although I use a normal USB to serial adapter then a serial to TTL converter. I think you should be able to just use a USB to TTL adapter like this

https://www.ebay.de/itm/352935627633?ha ... SwBDRghPEq

Edit: flow control is a problem, VICs don't support CTS/RTS flow control (contrary what the Programmer's Ref says)
User avatar
pixel
Vic 20 Scientist
Posts: 1357
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Re: Connect to PC via RS232?

Post by pixel »

Thanks, guys!
srowe wrote: Sat May 15, 2021 10:13 am Edit: flow control is a problem, VICs don't support CTS/RTS flow control (contrary what the Programmer's Ref says)
I hope that's a problem for higher baud rates really. Whoah! Time machine. Just got warped back a quarter of a century...
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: Connect to PC via RS232?

Post by srowe »

The VIC has 256 byte transmit and receive buffers. If you work within that you'll be fine, otherwise you'll need a software solution like XON/XOFF.
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: Connect to PC via RS232?

Post by groepaz »

Or roll your own rs232 routines, of course (which can easily work at 2400 and use hw handshaking)
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: Connect to PC via RS232?

Post by srowe »

groepaz wrote: Sun May 16, 2021 12:42 pm Or roll your own rs232 routines, of course (which can easily work at 2400 and use hw handshaking)
Already done that

http://www.sleepingelephant.com/ipw-web ... 32#p112978
Post Reply