More Mad Science for the Commodore 64 (ECCC 2015)

15
More Mad Science for the Commodore 64 Leif Bloomquist Emergency Chicago Commodore Convention 201 August 29, 2015

Transcript of More Mad Science for the Commodore 64 (ECCC 2015)

Page 1: More Mad Science for the Commodore 64 (ECCC 2015)

More Mad Science for the Commodore 64

Leif BloomquistEmergency Chicago Commodore Convention 2015August 29, 2015

Page 2: More Mad Science for the Commodore 64 (ECCC 2015)

Presentation

1. Update on the Gaming Glove Kickstarter

2. New project: Wi-Fi Modem for C64

3. New project: Virtual Input Device

Page 3: More Mad Science for the Commodore 64 (ECCC 2015)

Gaming Glove Update – The Bad Business partner’s family health issues

Base sensor board is way too expensive – investigating alternatives

Fashion designer dropped out (new day job) – in discussions with others

A lot of “real life” happened this year

Page 4: More Mad Science for the Commodore 64 (ECCC 2015)

Gaming Glove Update – The Good Kickstarter page is ready to launch,

complete with promo video

Prototype PCBs are complete and tested

It will happen!

Page 5: More Mad Science for the Commodore 64 (ECCC 2015)

Wi-Fi Modem for the Commodore 64

Page 6: More Mad Science for the Commodore 64 (ECCC 2015)

Wi-Fi Modem for the Commodore 64

Learning exercise for designing PCBs!

Started with Eagle and switched to Fritzing (www.fritzing.org)

Prototypes manufactured atOSH Park (www.oshpark.org)

Page 7: More Mad Science for the Commodore 64 (ECCC 2015)

Wi-Fi Modem for the Commodore 64 User Port device Hayes emulation or menu-driven All RS-232 lines (RTS, DCD, DTR, RI, etc) connected to User

Port 802.11 b/g Wi-Fi Onboard TCP/IP stack includes DHCP, UDP, DNS, ARP, ICMP,

HTTP client, FTP client and TCP Secure Wi-Fi authentication via WEP, WPA-PSK (TKIP), and

WPA2-PSK (AES) UP9600 hack supported Onboard MicroView (Arduino Uno with OLED) - Programmable 64 x 48 OLED display Reset Buttons for C64/MicroView/Wifly

Page 8: More Mad Science for the Commodore 64 (ECCC 2015)

Block Diagram

C64Acces

sPoint

RN-XV“Wifly”Module

“MicroView”Arduino

Uno+OLED

Serial Serial 802.11

Wi-FiRS-232 Signals

Terminal Program

(Novaterm, Striketerm,

CCGMS, etc)

Arduino Sketch(Hayes

Emulation, Custom)

RN-171 Firmware

(802.11 Wi-Fi, TCP/IP Stack, DHCP, DNS,

etc)

Optional Direct Connection for Debugging/Configuration

GPIO

Page 9: More Mad Science for the Commodore 64 (ECCC 2015)

Wi-Fi Modem Configurations

Default: As per block diagram

Standalone: Power jack provided for +3.7V to +16V to use the MicroView and RN-XV on their own

Interfacing: Remove RN-XV Wifly and use MicroView’s GPIO to interface C64 to outside world (analog input, PWM output, digital I/O and I²C) – all pins broken out along top of board

Page 10: More Mad Science for the Commodore 64 (ECCC 2015)

Current Status

Six prototype boards manufactured – currently on Version 2

Software in very alpha state, but functionality proven

Code and documentation on GitHub (https://github.com/LeifBloomquist/WiFiCart)

Outstanding issue with buffer overruns (next slide)

Yes, I plan to sell these! Price ~$160 USD + shipping Recommend MicroView programmer for $20 more

Page 11: More Mad Science for the Commodore 64 (ECCC 2015)

Buffering…

C64Acces

sPoint

RN-XV“Wifly”Module

“MicroView”Arduino

Uno+OLED

Buffer ~200 bytes

(Novaterm)Buffer ~1000

bytesBuffer 1500

bytes?

Incoming content @ 54 Mbps5,400,000 bytes/sec

Even at 9600 baud with flow control, characters dropped when data comes in a burst that exceeds all buffers

Page 12: More Mad Science for the Commodore 64 (ECCC 2015)

Virtual Input Device

?

Page 13: More Mad Science for the Commodore 64 (ECCC 2015)

Virtual Input Device - Demo

Page 14: More Mad Science for the Commodore 64 (ECCC 2015)

Virtual Input Device Tiny PCB that interfaces Arduino Nano to C64 Control

Port

Emulates Joystick, Paddles (X/Y), 1351 Mouse (soon!)

Yes Glenn, you can use it with GEOS

All Arduino Pins are broken out for interfacing sensors

USB (Mini-B) interface to PC – Virtual Serial Port

I am planning to sell these too!$10 for the PCB, $20 populated, $50 with Nano

Page 15: More Mad Science for the Commodore 64 (ECCC 2015)

Virtual Input DeviceTop

Bottom