Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Mjoy AVR USB Joystick

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Silk layer

Top layer

ATMega8 PonyProg configuration bits

MJoy
by Mindaugas Milasauskas
mindaug@mindaugas.com http://www.mindaugas.com/ 2004

PD0 S1 PD1 S2 PB2 S3 PD3 S4 PD4 S5 D7 D8 D9 S12 S13 S14 D14 D15 D16 S19 S20 S21 D21 D22 D23 S22 S23 S24 D28 D6 S11 D13 S18 D20 LEFT D27 D5 S10 D12 S17 D19 DOWN D26 D4 S9 D11 S16 D18 RIGHT D25 D3 S8 D10 S15 D17 UP D24 Hatswitch Buttons

VCC C1 10uF GND J1 VBUS DD+ GND 1 2 3 4 R2 4.7k GND GND D1 3.3V GND D2 3.3V R3 82 R1 2.2k

PD5 S6 PD6 S7 D30 D29

D3-D30 1N4148

PB3 11 pin buttons connector R4 82 11 pin buttons socket PB2 PB3 PB4 PB5 Q1 C2 12MHz 15pF 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1 GND C3 15pF GND PD0 PD1 PD3 PD4 PD5 PD6 PD7 JP1 1 2 3 4 5 ISP connector JP2 1 2 3 4 5 ISP socket R5 R6 R7 R8 330 330 330 330 PB4 PB3 PB5 ATmega8-16PI 14 15 16 17 18 19 9 10 2 3 4 5 6 11 12 13 PB0 (ICP) PB1 (OC1A) PB2 (SS/OC1B) PB3 (MOSI/OC2) PB4 (MISO) PB5 (SCK) PB6 (XTAL1/TOSC1) PB7 (XTAL2/TOSC2) PD0 (RXD) PD1 (TXD) PD2 (INT0) PD3 (INT1) PD4 (XCK/T0) PD5 (T1) PD6 (AIN0) PD7 (AIN1) PC0 (ADC0) PC1 (ADC1) PC2 (ADC2) PC3 (ADC3) PC4 (ADC4/SDA) PC5 (ADC5/SCL) PC6 (RESET) VCC AVCC AREF GND GND U1

PB4

PB5 AVCC

PD7

Pots sockets
JP3 1 2 3

Pots connectors
JP9 1 2 3 JP10 1 2 3 JP11 1 2 3 JP12 1 2 3 JP13 1 2 3 JP14 1 2 3 Dial R14 10...20K Slider R13 10...20K Throttle R12 10...20K Rudder R11 10...20K Y R10 10...20K X R9 10...20K

USB Connector

GND

23 24 25 26 27 28 1 VCC 7 20 21 22 8 C4 0.1uF GND L1 AVCC 10uH

GND

JP4 1 2 3

GND

J2

JP5 1 2 3

C5 0.1uF

C6 0.1uF GND GND

JP6 1 2 3

GND

GND

GND JP7 1 2 3 GND JP8 1 2 3 GND

GND

DB25 Printer port male connector

ISP programming adapter

MJoy schematic version 1.4 Parts List


Component Microcontroller Crystal Oscilator Zener diode Diode Resistor Resistor Resistor Resistor Potentiometer Capacitor Capacitor Capacitor Inductor Socket Connector Socket+Connector Socket+Connector Socket+Connector Button Hatswitch Value Quanitity Designator ATMEGA8-16PI 1 U1 12MHz 1 Q1 1N4733 2 D1, D2 1N4148 28 D3-D30 2.2k 1 R1 4.7k 1 R2 82 Ohm 2 R3, R4 330 Ohm 4 R5-R8 10k 6 R9-R14 10uF 15pF 0.1uF 10uH USB type B DB-25 male 5-pin 3-pin 11-pin Pushbutton Hatswitch 1 2 3 1 1 1 1 6 1 24 1 C1 C2, C3 C4-C6 L1 J1 J2 JP1, JP2 JP3-JP8 S1-S24 UP-LEFT Remarks

May be any 3.3V zener diode. May be any low power silicon diode.

10k is recommended but potentiometer of any greater value up to 100k may be used. Polar capacitor.

Or some similar value. Can use a simple wire instead if inductor is not available. May be omitted if USB cable is soldered directly into PCB. Or some other pair with more than 5 pins. Or some other pair with more than 3 pins. If buttons are connected to PCB through socket any 11 or more pin socket/connector pair may be used.

You might also like