Welcome, Guest. Please login or register.


Author Topic: HID kezelés Arduino -val (Read 74955 times)

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #450 on: 2015.August.21. 01:44:29 »
And still ... somehow it seems too unnatural and forced and involved solution to me ...

There would be 2 latency on the PS/2 protocol ... I mean not only one PS/2 protocol latency, but two ...

And the native joystick input lines would be avoided ...

I understand that from the perspective of the EP softwares it would be good ... but yet, I do not like it somehow ...
Z80 System

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #451 on: 2015.August.21. 02:03:25 »
Now, I begin to understand the importance of the PS/2 (like serial, minimal wire number) connectors ...

We can use them to different devices, with a software protocol change ... instead of an always different wire numbered and physically designed one ...
Z80 System

Offline gflorez

  • EP addict
  • *
  • Posts: 3610
  • Country: es
    • Támogató Támogató
Re: HW készítés Arduino-val
« Reply #452 on: 2015.August.21. 09:29:05 »
Your requirements are that:

You want to play the keys of an already made game or program on the buttons of your joystick.
But at the same time you want to adapt a "strange" joystick to the Enterprise.

I think you have almost achieved the first requirement, you only have to find the way of assign the keys.

But for the second one you must create a new connector, the same as the strange one. The Arduino is flexible, and fast too. If you have spare pins you can have your ps2 keyboard project and the joystick project inside the same Arduino chip.

Don't intent at first to emulate all joysticks. Begin with the easiest.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #453 on: 2015.August.21. 15:22:36 »
Mit gondoltok, van szerintetek olyan jaték, amelyiket nem lehet billentyűzetről játszani egyáltalán ?

És a billentyűzet alatt értem most (technikai okokból) a belső joy -t is ...
Z80 System

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #454 on: 2015.August.21. 15:59:52 »
Képzeljétek csak el milyen jó volna pld. az earthlight egy sega kontrollerrel ...

Az ugye 6 iranyban tud mozogni (3D) + a loves ... ez pont ráférne még egy 3 gombos sega kontrollerre is ...
Z80 System

Offline geco

  • EP addict
  • *
  • Posts: 7122
  • Country: hu
    • Támogató Támogató
Re: HW készítés Arduino-val
« Reply #455 on: 2015.August.21. 18:02:11 »
Mit gondoltok, van szerintetek olyan jaték, amelyiket nem lehet billentyűzetről játszani egyáltalán ?

És a billentyűzet alatt értem most (technikai okokból) a belső joy -t is ...
Én még nem találkoztam olyannal, igaz én a kontrollereket se szerettem, túl sok rajtuk a gomb :D, Quick Shotokon nőttem fel :D

Offline gflorez

  • EP addict
  • *
  • Posts: 3610
  • Country: es
    • Támogató Támogató
Re: HW készítés Arduino-val
« Reply #456 on: 2015.August.21. 18:08:17 »
I'm only saying that is better to search for a lower goal in order to take impulse for connecting more complex controlers.

Your project is a great one if you find the way to replicate the  keyboard contacts on the expansion port. Then the project  will be easily copied by other users. The trick to share  those complex things is to make them easy for others. Then the information spreads itself.

Every game has at least one more key than fire-space, say Enter for confirm, "P" for pause, 1 or 2 for number of players, etc. But some games have other necessary actions(pick object, bomb...) assigned to keys as the Enterprise only have one fire button for games on every controller.  It will be great to have them as buttons near the stick.

But that doesn't make the game better

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #457 on: 2015.August.21. 18:32:44 »
Quote
I'm only saying that is better to search for a lower goal in order to take impulse for connecting more complex controlers.

I did not understand this one ...

Quote
Your project is a great one if you find the way to replicate the  keyboard contacts on the expansion port.

As far as I know, unfortunately there is no way to manipulate the "keyboard matrix" from the expansion port.

If there would be a way form the expansion port, that would be great, and I think my keyboard thing would work on that way, already ... :)

That would be a whole different perspective ...

Quote
Then the project  will be easily copied by other users. The trick to share  those complex things is to make them easy for others. Then the information spreads itself.

I could share the codes and I could point at an appropriate MCU "board" (just found chineese replicas of the arduino micro on e-bay at about 10$ + free shipping, I am courious, will those work or not),
but these are not enough ...

One has to dissassemble the enterprise, soldering many wires, and upload the software to the MCU before that.
So it is not an easy way.
If the expansion thing would work at least, that would be a different case ...
« Last Edit: 2015.August.21. 18:44:55 by Z80System »
Z80 System

Offline gflorez

  • EP addict
  • *
  • Posts: 3610
  • Country: es
    • Támogató Támogató
Re: HW készítés Arduino-val
« Reply #458 on: 2015.August.21. 23:09:01 »
I am only saying that better try make your project work with a simple joystick(four directions+three or four buttons). Then if it works try a more complex one.


The chinesse Arduinos work, I already used one of that clones on the Msx to ps2 mouse interface.

They only have a different driver(also chinesse), but  after instaling you can program with the official Arduino software.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #459 on: 2015.August.21. 23:31:42 »
Quote
The chinesse Arduinos work,

It is cool to hear, because I ordered a few ...

But that is not too cool, the original arduino shop have only a few model, all of the other models are "out of stock" ...

Maybe it is not a random thing ...

Quote
They only have a different driver(also chinesse), but  after instaling you can program with the official Arduino software.

I do not use arduino's software (but I use softwares what are used by arduino's softwares :)),
so probably that will be a pain to me, if they changed the bootloader, or such ...
Z80 System

Offline gflorez

  • EP addict
  • *
  • Posts: 3610
  • Country: es
    • Támogató Támogató
Re: HW készítés Arduino-val
« Reply #460 on: 2015.August.21. 23:48:59 »
I think the different driver is because the copyright of the Serial to Usb chip the original Arduino use.  The Arduino is an open project but uses a third party chip for that. Then the Chinese use a cheaper one to overcome the copyright.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #461 on: 2015.August.21. 23:57:16 »
I used formerly arduino micro which is based on ATmega32U4, which has the whole usb thing inside (as far as I know),

but that is true as well, I ordered now arduino nano (clone) boards too,

because they were unbelievable cheap, and (for example for these joystick things) they can be enough.

Arduino nanos have ATmega328, and probably those features the USB chips you mentioned ...
Z80 System

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: HW készítés Arduino-val
« Reply #462 on: 2015.October.19. 20:15:06 »
http://prog.hu/hirek/4068/itt-a-genuino-101-az-elso-intel-alapu-arduino-miniszamitogep

Quote
Flash memóriából 196KB, SRAM-ból pedig 24 KB található rajta.

Operációs rendszeréként a ViperOS RTOS funkcionál, aminek köszönhetően valós-idejű vezérlést igénylő feladatokra is fel lehet használni.
Z80 System

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: HW készítés Arduino-val
« Reply #463 on: 2015.October.20. 08:34:56 »
http://prog.hu/hirek/4068/itt-a-genuino-101-az-elso-intel-alapu-arduino-miniszamitogep

Hat nem tudom, nekem ez a kb semmire sem jo kategoria. Tenyleg par K RAM es flash, arra jo egy olcsobb MCU. Ha meg "komoly" gep kell, akkor meg ott a Raspberry ami arban kb uez, de mondjuk 1Gbyte RAM, es altalanos celu (Linux) OS is fut rajta. Szoval nem tudom hova pozicionalni a dolgot ... Elonye max az lehet, ha vki assembly-ben akarja nyomni mindenaron, de ARM-ot nem akar tanulni (Raspberry Pi, igaz ott C is boven eleg ehhez imho), es az x86 asm jon be neki. Vagy en nem ertem mire jo ez? :) Az mondjuk teny, hogy vannak rajta plussz cuccok (erzekelok) meg BT, ahogy irja is a cikk. Haaat, nem tudom.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Z80 System