Mindaugas' Home
Home Projects MJoy MJoy16 Application C1 Products Software About
## MJoy16 Project | #### USB joystick project on ATmega16
### About MJoy16 project MJoy16 project is a successor of MJoy project which was initial work in this area. It uses ATmega16 chip which has more inputs and is more flexible than ATmega8 in MJoy. Operation basics stay very similar to MJoy. If you want learn more about them please look at MJoy project page. The main part is MJoy16 board which has USB port and analogue and digital interface to external devices. These devices could be potentiometers or switches on your simulator control panel. These devices may also be other module boards performing some specific functions. One first examples of such modules is Key Matrix board described below. MJoy16 was developed to be a hardware basis for various applications. Specific functions will depend on application software of MJoy16 and also other possible peripheral devices. To find a software of first presented application named "MJoy16-C1" please look in applications section. Assembled and tested MJoy16-C1 is available for purchase from MJoy16-C1 product page. Go to top of the page ### MJoy16 board
MJoy16 board is the main board which has USB interface as well as analogue and digital interfaces to other peripheral devices. Main part of it is ATmega16 microcontroller (MCU) by Atmel. This microcontroller has software which implements USB protocol processing and other application specific functions. As this board has a lot of I/O pins it makes it universal platform for many applications. It was initialy designed as powerful USB joystick similar to MJoy. But it's capabilities are not limited only to this application. It may be also used as a signal measurement or data gathering device such as interface for PC electronics lab. It may also be used as external devices control such as PC house control/security system. Possibilities are numerous. |
MJoy16 board has folowing connectors for interfacing outside world:
| - USB socket which is used to connect MJoy16 to host computer via standard B type USB cable. - In-System Programming socket which is used for programming ATmega16 microcontroller chip. The pinout of this connector is the same as of Atmel AVRISP programmer's 10-pin programming connector. This provides compatibility with many different Atmel MCU programmers. In simplest case you can use adapter cable which connects to PC printer port and can be used by PonyProg for programming the chip. - Analogue Inputs connectors which are used to connect to analogue signal sources such as poentiometers on joystick axes for ADC conversion. - Digital Interface connector which is used to connect to digital peripherals such as buttons, switches or maybe other digital chips. - Analogue Inputs Patch connector which may be used in applications that don't require analogue inputs. In this case pins on this connector may be connected to Analogue Inputs connectors "Signal" pins. In this way you may add additional 8 digital I/O signals to Digital Interface connector. In other words it is used to connect Analogue Inputs signals to Digital Inputs connector.
Main features of MJoy16 board are:
| - Low speed USB 1.0 interface support - 8 x 10 bit analogue ADC inputs via 8 4-pin connectors - 21 digital I/O terminals (29 if ADC input pins are used in digital mode) via 40-pin Digital Interface connector - In-System Programming capability - Flexible design for various applications
#### MJoy16 board Schematics, PCB and Parts List Here are schematics, parts list and PCB board mask with component layout: Download: MJoy16 board v1 Software of MJoy16 is application specific and it is included on applications pages. First presented application is MJoy16 Application C1 which is multifunction home simulator cockpit controller. You will find the software there. Go to top of the page ### Key Matrix board
Key Matrix board is an optional companion board for MJoy16 board. It is designed to save a lot of tedious work of wiring tens of buttons and switches with complex wiring mesh with great possibility of errors. It has all needed matrix diodes needed to eliminate "Phantom Keys". It's output arranged so that all the wires to switches and buttons go straight from Key Matrix board connectors to control itself. No wire interconnections between controls needed as otherwise would be the case if you would use MJoy16 alone. |
#### Key Matrix board Schematics, PCB and Parts List Here are Key Matrix board schematics, parts list and PCB board masks with component layout: Download: Key Matrix board v1 Go to top of the page ### Applications #### MJoy16-C1 - Multifunction home simulator cockpit controller Detailed information for DIY building C1 Application of MJoy16 is shown on MJoy16 Application C1 page. Assembled and tested MJoy16-C1 is available from Products section MJoy16-C1. Go to top of the page ### Project contact If you have questions regarding this project contact me on address below: Go to top of the page ### Notes Note: All above .pdf documents are in Adobe Acrobat 5 format and can be opened by Adobe Acrobat Reader version 5 or later which is available for download from the page on Adobe site: Get Acrobat Reader 5 or newer. Go to top of the page #### Licence and Copyrights All information published on this page is free for non commercial use. All presented programs are under GPL licence (for non commercial use). For licencing information of this project use in commercial products contact . Copyright © 2005, Lithuania, www.mindaugas.com Copyright © Ing. Igor Cesko 2003, Slovakia, http://cesko.euro-science.net/ , cesko@internet.sk Go to top of the page ##### Last update: 2005-02-09