Página 1 de 1
  • Novo tópico
  • Responder

Como fazer Um Joytick para seu Siemens [ Está em Inglês, Traduçaõ 45%] Avaliar tópico: -----

#1 Membro offline   doug.sonic Ícone

  • Membro Avançado
  • Ícone
  • Grupo: Membros
  • Posts: 189
  • Cadastrado: 27-11-07
Status: > Offline

Postou 05-12-08- 11:16

Já vou avisando, tem que ter conhecimento em eletrônica

Como Criar um Joystick para AVR microcontrollers ATmega8L

Essa é a lista do que você precisa comprar/baixar:

1. Microcontroller ATmega8L (hereinafter - MK) (preço = 5.2 $)
2. Conector para a porta LPT "Macho" (preço = 0.6 $)
3. Resistências (resistors em inglês) 4sht para 150 ohms (isso é para programar)
4. Resistências (resistors em inglês) 13sht 1k5 Om (Om 1k5 = 1500 ohms) (para o futuro do controle)
5. Conector para o seu celular (aquele para conectar o cabo usb no telefone)
6. Joystick (qualquer um, que não seja muito caro)
7. Baixe o Programa CodeVisionAvr (Download no final do tuto)
8. Baixe a firmware para o MK. Sortsy attached.

Depois de ter comprado/baixado todos os itens da lista, vamos começar :

0. 0. Olhe para todos os circuitos
1. 1. Collects programmer, ie pripaevaem Microcontroller to LTP port on the scheme (for programming suitable for all AVR)
2. 2. Conecte o aprelho na porta LPT
3. 3. Supplied by MK desirable land first and then everything else.
Meals at the lodge VCC (7 pin) 5 volts
4. 4. Nastraevaem program CodeVisionAvr:

I. I. Nastraevaem type programatora:
Settings-> Programer and put it "Kanda Systems STK200 / 300, and the correct address LTP, and then OK.
If the insertion fill with errors, the uvelichte delay multiplier.

II. Programa:
Selecione "Tools-> Chip programmer", vystavlyaem: Chip: ATmega8L, Ship clock = 1Mhz.
The rest did not touch ...
Then, "File-> Load Flash". Then, "File-> Load Flash". Select the HEX file. Select the HEX file. To pour into the MK, select "Program-> Erase Chip". To pour into the MK, select "Program-> Erase Chip". Awaiting completion. Awaiting completion. Then, "Program-> Flash" ... Then, "Program-> Flash" ...

III. If everything was zapayano correct insertion zaletsya and automatically check for compliance with the buffer. If not, see if everything is properly welded, and if that - perepaevaem.

5. 5. Matches button phone and pinov MK

Ping at MK - button on the phone

9 - left soft key
10 - number 1
11 - number 3
12 - The number 7
13 - The number 9
14 - Joystick Top
15 - joystick down
16 - joystick to the right
17 - joystick left
18 - Joystick Center
19 - The right soft key

6. 6. Otpaivaem MK from the LPT shtekera, take the joystick and the change in the stuffing scheme. 5 on the chart this tension, it is supplied by phone, the truth is not 5V, and ~ from 2,7 V to 4,4 V, depending on the battery charge, but that was enough.

7. 7. If the conclusions of a button podsoedenena not need this pin zakorotit to the ground, preferably through a resistor ~ 100 ohms.

That's all you get the joystick to x65 (SGold) and x75 (SGold, NewSGold).
Here is a list (probably not complete:) existing MK "Mega"

mega103
mega128
mega1280
mega1281
mega16
mega161
mega162
mega163
mega165
mega168
mega169
mega2560
mega2561
mega32
mega325
mega3250
mega48
mega603
mega64
mega640
mega645
mega6450
mega8
mega8515
mega8535
mega88

vanek wrote that if the use Microcontroller pomoschnee, type ATmega128 and beyond, you can even make an external keypad.

Pozhzhe vanek added that the external keyboard to make possible.

User_bi from SC, proposed to make the case to the "teacup".
Who does not know that - just look, look, two, three, see.

downloads :

LINK PROTEGIDO!

REGISTRE-SE ou faça o LOGIN para visualizar o link.


LINK PROTEGIDO!

REGISTRE-SE ou faça o LOGIN para visualizar o link.

for MK

LINK PROTEGIDO!

REGISTRE-SE ou faça o LOGIN para visualizar o link.




http://forum.allsiemens.com/files/_____________124.png
http://forum.allsiemens.com/files/__________________133.jpg
http://forum.allsiemens.com/files/____________________212.gif
http://forum.allsiemens.com/files/______________________708.jpg
http://forum.allsiemens.com/files/_____________________144.jpg
http://forum.allsiemens.com/files/________________100.jpg

Retirado de AllSiemens

0

 
Página 1 de 1
  • Novo tópico
  • Responder