CMM2 LIBRARY
NONchuk - Joystick/I2C/keypad/rotary interface 1 by CircuitGizmos (GAME/HARDWARE, updated 13-02-2023 04:14:25) UPDATE
HW interface

The NONchuk board provides a way to interface joysticks and other devices to the RetroMax. The intention is to use the I2C port on the NONchuk to connect to the Nunchuk interface on the RetroMax (or CMM2).


The NONchuk allows the Nunchuk port of the RetroMax to connect to joysticks and several other devices. Since there are a variety of different devices that can be connected, the NONchuk uses a MicroMite chip (the '170 with MMBasic installed) to run code for the task.


The NONchuck has a console port that can be used as the serial interface for programming the MMBasic code specific to how the NONchuk will be used.


The NONchuk features:
• Based on MMBasic '170 so it can be user re/programmed
• Support Atari (digital/switch) joystick
• Support PC (analog/potentiometer) joystick
• Operate as I2C slave interface
• Operate as serial interface
• Support 16 key keypad
• Support rotary module
• Support analog joystick module


The NONchuck board could also be used as a stand-alone MicroMite ('170 chip) board. For example it could be used with a joystick and various pins from the microcontroller could control relays, LEDs, etc.