![]() |
![]() |
#21 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
I altered the SDBox-v2 case and made a 3D-print to check on mechanical adaptation...
![]() ![]() ![]() ![]() It's a bit tight accessing the MicroSD-card slot... ![]() I think I will modify the case lid somewhat and open up for the micro-usb jack and the two buttons on the devkit board...and solder the Devkit-board a few millimetre higher up so it gives more room for accessing the MicroSD-card. A bit more elevated, something like this... ![]() |
![]() |
![]() |
#22 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,666
|
Looks like there's plenty of SD access room if you remove the USB cable first, but the photos could be misleading..
|
![]() |
![]() |
#23 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
yep, you are right there is plenty of room then, but I was thinking if you wanna hot-swap to another card, not that it's needed for the file transfer application (FTP-server etc) I'm tinkering with at the moment, but if someone wants to port the SDBox-functionality it can be good. The card-detect line is routed/prepared to one of the inputs (with a pull-up resistor for this) which gets grounded when a card is inserted in the slot.
|
![]() |
![]() |
#24 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
|
![]() |
![]() |
#25 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
Did some more hacking on this project...
I can now Telnet into the ESP32 from the PC and run ls/dir and cd commands, and also connect from the Amiga via a serial terminal to do the same. https://drive.google.com/file/d/1FhC...ew?usp=sharing And from before you can transfer files to/from the ESP-device via FTP using your PC for example. The idea is once you have put files on the MicroSD-card via ftp you can control everything from the Miggy to transfer Amiga<->ESP32 over the parallel-link. A Parallel-link protocol remains to be implemented. |
![]() |
![]() |
#26 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
Some update regarding this hobby-project...
I got a second ESP32 ($7 from Ali) that I have now soldered down to the carrier board. ![]() Still waiting on some LEDs, they are on the slow boat from China, so I nicked a couple from the TTL-board because they are difficult to solder (D4,D5) once the Devkit-board is in place: ![]() I used some plastic strip as tmp-standoffs to get the correct height on the Devkit-board while soldering. ![]() ![]() ![]() ![]() Here a short vid when I move a file from the PC to the ESP32 via FTP and listing it on the Amiga. https://drive.google.com/file/d/1_aY...ew?usp=sharing I don't know yet if the parallel-port communication will work. Will try that next when I have time. |
![]() |
![]() |
#27 |
Registered User
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 3,010
|
Video wont play for some reason, but, wow, nice. I could use a couple of those ;-)
|
![]() |
![]() |
#28 | |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
Quote:
Oh, I see, for me it works in chrome and safari but not firefox for some unknown reason, anyway the other day I started hacking on the Amiga client to test to send and receive some bytes through the parallel port using the parallel.device. It is just to verify that the communication works. I'm using bebbo's excellent amiga-gcc toolchain, many thanks to bebbo for making it. ![]() For those interested the code is here: https://github.com/jbilander/amiga-pario With this I think I can verify POC (Proof Of Concept). It works on 1.3 too as you can see from the screenshot ![]() |
|
![]() |
![]() |
#29 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
yay, hardware seems to be working
Here I just relay the incoming bytes from the parallelport to the ESP32 Serial1-port where the Miggy also is connected to from its serial port, just to verify data is correctly received: https://drive.google.com/file/d/11OK...ew?usp=sharing |
![]() |
![]() |
#30 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,665
|
This looks really good!
Can this be used to connect an esp32 to an Amiga or other computers and use them as wifi modems too? Or would it just work with the esp-link software? Oh wait, you're connecting this to the parallel port, not serial? |
![]() |
![]() |
#31 | |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
Quote:
![]() |
|
![]() |
![]() |
#32 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
I have made the hardware repository public now in case someone else wants to tinker with this too, hardware seems to work fine but no guarantees...you can find the pin-mapping I've used in the schematic pdf in the root of the repo.
https://github.com/jbilander/Parallel_to_ESP32 The stl-files and the source for the 3D-printable case is in the 3D folder. Remember it is released under a copy-left license, if you build/modify from this source you are obligated to share your work with the rest of the Amiga Community, so that we can have great things! Happy Hacking! |
![]() |
![]() |
#33 |
Registered User
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,228
|
Nice project! are you selling these premade at all?
Is there any scope to use this for gaming purposes wirelessly between 2 Amigas without using null-modem cable? For example, rather than this being a parallel port to ESP32, to have Serial to ESP32!? You can imagine a market for that for gaming conventions to have Amigas networked wirelessly playing Stunt Car Racer, Lotus etc... |
![]() |
![]() |
#34 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
Hi, thanks, no it's a DIY hobby project. I have a few spare boards and connectors but no spare CB3T-chips or Devkit-boards.
Regarding wirelessly playing Stunt Car Racer. I think it would be fairly easy to connect two ESP32 together and tunnel the serial data through back and forth. You can look for example at ESP-MQTT or ESP-NOW here https://randomnerdtutorials.com/esp-...ication-esp32/. Wireless would introduce some lag but maybe it isn't noticable in game play. On the Parallel_to_ESP32 board I have made UART1 (TX1,RX1) and UART2 (TX2,RX2) available with headers in the rear as you can see from the pics. I use it mainly for "Debugging", invoking commands and verify output during development but it would be possible to implement for example a Kermit-Server running on UART2 where other vintage computers could be connected for file transfers, a C64 (with RS232/LVTTL interface) for example, or it could be used for reading/writing Stunt Car Racer serial data and relaying it out on wifi. I don't know if SCR only uses TX,RX signals or if more pins are involved in the serial handshake CTS,RTS? Anyway it should be possible to do with not too much effort in development. |
![]() |
![]() |
#35 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
The other day I did some tests on how quick the ESP32 can respond to interrupts...my thinking is that it should be quick enough to keep up with the Amiga when it's hammering the metal at full (2E) speed with a fast accelerator. I first tried a normal interrupt (level 3 and below) and it turns out the ESP is pretty slow taking some 2us (microseconds) or so to react, so I started to investigate further, can it be quicker?...and I found this blog post that describes howto set up an external level 5 interrupt:
https://haydendekker.medium.com/esp3...z-56f8dbb6a61c I tried this and now it's fast ![]() Here is a vid on one of the tests, I ran it when at the same time stressing it with a FTP-transfer and it didn't miss a beat ![]() https://drive.google.com/file/d/1T3j...ew?usp=sharing Pretty cool. The assembly for the level 5 is here: https://github.com/jbilander/ESP32-P...src/highint5.S and here is howto setup the interrupt in C: https://github.com/jbilander/ESP32-P...Server.cpp#L50 |
![]() |
![]() |
#36 |
Registered User
Join Date: Jun 2018
Location: Stockholm
Age: 48
Posts: 280
|
wow, I didn't realise that Olsen has written a tFTP client for the Amiga and that it doesn't need a TCP/IP-stack.
http://aminet.net/package/comm/tcp/sana2-tftpclient https://github.com/obarthel/amiga-sana-ii-tftpclient This might be the missing piece for my Parallel_to_ESP32 to be able to send files back and forth between the Amiga and the ESP32 unit. I wonder if his tFTP-implementation runs ontop of plip.device? http://aminet.net/package/comm/net/magPLIP38.1 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrestling Masters by ESP anyone | Freakyweakywoo | request.Old Rare Games | 13 | 25 May 2023 11:50 |
Amiga 1000 used in ESP research. | redblade | Nostalgia & memories | 7 | 17 May 2022 02:24 |
Running 'Newer' Amiga Software (Esp. Demos) Made During the Late 90's & Onwards | Oktai-Wanda | support.Demos | 4 | 31 July 2013 19:52 |
Football Masters from ESP | thyst2k | request.Old Rare Games | 6 | 28 December 2008 00:26 |
Football Crazy- ESP | michaeledghill | request.Old Rare Games | 16 | 12 February 2007 17:43 |
|
|