Lameguy64 / ps2serial

Plans and Arduino code for building a PS/2 mouse to Serial mouse adapter
GNU General Public License v2.0
32 stars 11 forks source link

Using RS232 to TTL adapter #1

Open ssshake opened 4 years ago

ssshake commented 4 years ago

Hi hope you dont mind me asking this question here. I was wondering if your code could be used with this RS232 to TTL adapter. I ask because I have a box of them, and I've used them with other vintage pc projects (building wifi modems).

I'm not familiar with the components you list in your readme. I'm wondering if those components and this adapter serve the same purpose.

Thanks!

corvus1 commented 2 years ago

yes, you can absolutely use a max232, however, it might require a small change in software for RTS sensing.

Lameguy64 commented 2 years ago

It bugs me people are still using this clumsy implementation of mine over my successor of this, but then the fact it is written in AVR assembly is likely a deterrent to most from adopting it.

corvus1 commented 2 years ago

@Lameguy64 Any links to the successor implementation? Although, I gotta say, it might be clumsy, but it's easy to understand and change if need be.

corvus1 commented 2 years ago

So, I found your asm implementation, and it's cool and everything, but I for one really don't want to dig into AVR assembly. If it's performance you're after, you can get a RasPi Pico or a bluepill clone from aliexpress for the price of an arduino nano, which is about 3 bucks. And it will have a proper USB interface, which will allow you to use any old usb mouse, and it has 20 times the performance, while the same power consumption, and you can program in micro python if you so choose, which is a lot easier to understand. So why all the assembly?

What bugs me really is that ttl-rs232 coverter boards from ali only connect 1 line in and 1 line out. So you can either have the RTS sense, or software configuration. Despite max232 having 2 lines in each direction, they just aren't connected.