Serial connector on the next revision ?

Information and progress towards the H5 board.
User avatar
sporniket
Posts: 956
Joined: Sat Sep 26, 2020 9:12 pm
Location: France
Contact:

Re: Serial connector on the next revision ?

Post by sporniket »

olivier.jan wrote: Mon Jan 18, 2021 10:17 pm
Now using a 240Mhz MCU to provide a BT Serial is a bit overkill. But it open the doors to other mods, BT keyboard and mouse ? Wifi ? ACSI SD Card ?
For bluetooth input and MIDI devices, I would rather replace the 2 ACIAs by one ESP32 (it just happens to be one of my projects, and yesterday evening I was checking that I have enough usable GPIOs for that). My plan is to get a bluetooth IKBD (using another ESP32 plugged to the IKBD powered with batteries/lipo cells/harry the hamster/whatever) (your sample code make me believe that it should be very doable), then implements an HID/MIDI BT host (I found sample/opensource code here and there for HID at least) to use BT keyboard, mices and game controllers.
User avatar
olivier.jan
Posts: 212
Joined: Mon Jun 01, 2020 8:00 am

Re: Serial connector on the next revision ?

Post by olivier.jan »

I'm also considering having an ESP32 for IKBD to provide native BT keyboard and mouse, but I haven't found too much information on HID support for ESP32. It's doable as I've found a few gamepad interfaces using ESP32, but it doesn't seem to be part of the standard lib, you'll have to implement HID yourself on top of lower protocols.
Retro stuff
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
User avatar
sporniket
Posts: 956
Joined: Sat Sep 26, 2020 9:12 pm
Location: France
Contact:

Re: Serial connector on the next revision ?

Post by sporniket »

olivier.jan wrote: Tue Jan 19, 2021 8:38 am I'm also considering having an ESP32 for IKBD to provide native BT keyboard and mouse, but I haven't found too much information on HID support for ESP32.
A legacy Atari hardware is linked as following :

Code: Select all

Atari ST <-[Data Bus + control lines]-> ACIA <-[wired serial link + control]-> HD6301
Thus my plan for BT ikbd :

Code: Select all

Atari ST <-[Data Bus + control lines]-> ESP32 'host' <-[Bluetooth Serial]-> ESP32 'device' <-[serial + control]-> HD6301
A simpler implementation if BT Ikbd is the only goal, would be to replace the wired serial link between the ACIA and IKBD by bluetooth serial. (My final plan is to ditch the ACIAs, thus I will need to interface with the data bus and the control signals from the ST)
User avatar
olivier.jan
Posts: 212
Joined: Mon Jun 01, 2020 8:00 am

Re: Serial connector on the next revision ?

Post by olivier.jan »

I was initially considering inserting the ESP32 between Ikbd and ACIA, but you're right, replacing the ACIAs could be good option.
Moreover, the 6850 is pretty simple to emulate and relatively slow, so it could be done in C.
Retro stuff
520 STF/ 1040 STE / Mega ST / 2 Mega STE / 2 H5
2 x 600XL with U1MB /SOFIA 2/ AVG CART / and a few 1050
Apple //c, Commodore 128, Mac Classic, SE/30, LC, IIvi and PB G3 (Clamshell)
Amiga 600 and a few 486 and 386.
Many Nintendo G&W and other electronic games from the late 70s/early 80s.
Post Reply

Return to “H5 Phoenix Platform Edition”