Ideas for my Atari / Raspberry Pi Project

Atari talk, or the life and the universe and things. Just keep it clean!
Steve
Posts: 177
Joined: Fri Sep 15, 2017 11:49 am

Ideas for my Atari / Raspberry Pi Project

Post by Steve » Wed Nov 07, 2018 10:10 am

Hey guys,

I'm planning to start a Raspberry Pi Atari ST project using:

520st small chassis (the external PSU version)
Raspberry Pi inside, running BeePi:
http://www.atari-forum.com/viewtopic.php?t=34447

Inspired by the #ThinkDifferentChallenge:


I'd like some tips:
* How to connect the internal Atari ST keyboard to the Raspberry Pi for typing
* Any other cool ideas, like where would you guys put the USB inputs, power supply connector, hdmi output etc etc.

I'm hoping to end up with something really cool, like a Firebee, but housed inside an original case. Also BeePi has excellent compatibility with Hatari built in, so it will have good Falcon software support as well. If anyone else has a spare Pi and empty chassis laying around, and feels like a fun project, I invite you to join me in making your own too, sharing in the experience.

Any input much welcome, I will share photos along the way

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 626
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Ideas for my Atari / Raspberry Pi Project

Post by rubber_jonnie » Wed Nov 07, 2018 10:26 am

I put a PC into an ST case a while ago, and I used a Teensy to connect the ST keyboard via USB.

I'll see if I can dig out the code/wiring, but sadly I think it is on another forum.
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

mikro
Posts: 147
Joined: Mon Aug 28, 2017 11:22 pm

Re: Ideas for my Atari / Raspberry Pi Project

Post by mikro » Wed Nov 07, 2018 10:32 am

You can hack a similar IKBD injector as CosmosEx uses and actually rip off its firmware which handles IKBD packets. :)

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 626
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Ideas for my Atari / Raspberry Pi Project

Post by rubber_jonnie » Wed Nov 07, 2018 10:40 am

Some of the info I used is here: http://www.atari-forum.com/viewtopic.ph ... t=teensy+2

I really should see if I can dig out all the info for the USB IKBD adaptor and put it on this forum!
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

Steve
Posts: 177
Joined: Fri Sep 15, 2017 11:49 am

Re: Ideas for my Atari / Raspberry Pi Project

Post by Steve » Wed Nov 07, 2018 11:33 am

rubber_jonnie wrote:
Wed Nov 07, 2018 10:40 am
Some of the info I used is here: http://www.atari-forum.com/viewtopic.ph ... t=teensy+2

I really should see if I can dig out all the info for the USB IKBD adaptor and put it on this forum!
Thanks much appreciated :)

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 626
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Ideas for my Atari / Raspberry Pi Project

Post by rubber_jonnie » Wed Nov 07, 2018 11:52 am

If I have time tonight, I will get a pic of the adapter and post it up for you so you can see the wiring.

What I can't remember is which firmware I flashed the Teensy with. Joska from Atari-Forum. I'll have a look what I have on my laptop, though I have upgraded to a new one since I did it, but knowing me it's backed up somewhere!
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 626
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Ideas for my Atari / Raspberry Pi Project

Post by rubber_jonnie » Thu Nov 08, 2018 11:25 am

Apologies, I didn't have time to dig stuff out for you last night, I'll post it up as soon as I have a chance.
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

Steve
Posts: 177
Joined: Fri Sep 15, 2017 11:49 am

Re: Ideas for my Atari / Raspberry Pi Project

Post by Steve » Thu Nov 08, 2018 11:41 am

No worries man, not in any rush

User avatar
rubber_jonnie
Moderator
Moderator
Posts: 626
Joined: Thu Aug 17, 2017 7:40 pm
Location: Essex
Contact:

Re: Ideas for my Atari / Raspberry Pi Project

Post by rubber_jonnie » Thu Nov 08, 2018 8:06 pm

Ok, so here's a shot of the wiring for the Teensy to ST IKBD wiring, hopefully it's good enough for your needs.
IMG_20181108_195124.jpg
IMG_20181108_195124.jpg (3.35 MiB) Viewed 95 times
The main problem is that I don't actually recall which firmware worked, and I did brick a Teensy 2++ along the way, but if you look on AF (The enemy I know!) there are some useful posts and other firmware on there posted by Joska who wrote the code. I used an original Teensy, but they are hard to get a hold of now, may be worth looking for something that works directly with the Pi.

Have a look here too, some more interesting stuff: http://www.kevinpeat.com/atari_pi_keyboard_coding.html

Here's the Teensy code I have:
Firmware.zip
(33.83 KiB) Downloaded 1 time
Collector of old Atari things:
800XL + Ape Warp mod, 2x 1010 cassette, 1050 + Happy mod, 65XE (128k) & XC12, SIO2SD, 2600jr, 7800 and Lynx II
Atari 520ST (1Meg) + Gotek, 1040STFM + Vortex ATOnce + Gotek, 1040STF long button floppy, 4160 STE with Gotek and ROM switcher, 4160STE with 32Mhz booster, ROM switcher and CosmosEx, not to mention various bare ST boards for testing including a PAK 68/2 :)
Plus the rest..
Amiga stuff, Mac stuff, Sinclair stuff etc...
www.electronicnothingness.co.uk

Steve
Posts: 177
Joined: Fri Sep 15, 2017 11:49 am

Re: Ideas for my Atari / Raspberry Pi Project

Post by Steve » Wed Nov 14, 2018 10:16 am

Thanks, I couldn't find a Teensy original version like yours so I bought an Arduino Leonardo from the link you gave me. That guy has also uploaded his code to github so hopefully I'll be able to work out how to make it work.

Post Reply