-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added README and some assets for the README.
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Interface a C64 with an Arduino using Firmata. | ||
|
||
This is a Firmata client implementation for the C64 using the userport at 2400 baud for communications. | ||
|
||
![C64 Firmata](./assets/C64_Firmata.png) | ||
|
||
## Prerequisites | ||
|
||
You'll need: | ||
|
||
* x64 | ||
* Arduino UNO | ||
* Grove shield, servo, button, LED, potmeter, relay | ||
|
||
Optional: | ||
|
||
* DIY for the Grove stuff | ||
* A real C64 | ||
* A way to transfer the program to the C64 | ||
* Userport connector | ||
* Wires between the C64 and the Arduino UNO | ||
|
||
## Configure x64 | ||
|
||
Plug in the Arduino, note down the device name of the Arduino (/dev/...). | ||
Start x64 and go to the RS232 settings. Set baudrate to 2400 and device to the correct name. | ||
|
||
## Using a real C64 | ||
|
||
``` | ||
USER PORT ARDUINO | ||
N GND | ||
M RX(1) | ||
B,C TX(0) | ||
``` | ||
|
||
Power up the Arduino using a USB power plug or a power adapter. | ||
|
||
|
||
## What's supported | ||
|
||
* INPUT | ||
* OUPUT | ||
* ANALOG | ||
* PWM | ||
* SERVO | ||
|
||
## Demo on a real C64 | ||
|
||
|
||
![C64 Firmata demo](./assets/C64_Firamata_movie.gif) | ||
|
||
|
||
## Copyright | ||
|
||
(c) 2019 Johan Van den Brande | ||
|
||
``` | ||
(\/) | ||
( ..) | ||
C(")(") | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.