Edit: Video added at bottom of post.
I have bought the USB HID that YAM1966 made, but I am also making my own
I am using this circuit schematic found here:
http://www.volcano.at/iDrive/?p=516
It uses a TJA1055 + MCP2515
I did NOT use an
Arduino Micro though - instead I used Adafruit Feather Bluefruit 32u4 as it has built in BLE and is HID capable. (
https://learn.adafruit.com/adafruit-...it-le/overview)
So far, my code works PERFECTLY for the 5 button controller in the
middle (100KBPS) AND the 7 button controller on the
left (500KBPS)
It
almost works perfectly on the 7 button touch controller on the
right, but I am having a minor problem and hoping someone may be able to help. The touch controller isn't always responsive - it's as if there's a timeout happening (and not to do with the wake command)
All buttons work, but sometimes there is a delay. Touch and rotation is also working but sometimes a delay.
I get these can-bus responses when there's a problem:
Код:
667, F0, 10, A, 62, 17, 4, E2, C4
667, F0, 10, 18, 62, 17, 4, E2, C4
667, F0, 10, 18, 62, 17, 4, E2, C4
667, F0, 10, A, 62, 17, 4, E2, C4
667, F0, 10, 11, 62, 17, 4, E2, C4
667, F0, 10, 11, 62, 17, 4, E2, C4
CanID = 0x667
The rest is the data
Does anyone know what it might mean?
PS - I'm very sorry, I don't know the Russian language, so translated with Google Translate
---------------------------------------------------------------------------------------
Я купил USB HID, который сделал YAM1966, но я также делаю свой собственный
Я использую эту схему, найденную здесь: [URL = "http://www.volcano.at/iDrive/?p=516"] http://www.volcano.at/iDrive/?p=516 [/ URL ]
Он использует TJA1055 + MCP2515
Я НЕ использовал
Arduino Micro, хотя вместо этого я использовал Adafruit Feather Bluefruit 32u4, поскольку он встроен в BLE и способен HID. ([URL = "https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/overview"] https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/overview [ / URL])
Пока мой код работает PERFECTLY для 5-кнопочного контроллера в [B] середине [/ B] (100KBPS) И 7-кнопочном контроллере на [B] влево [/ B] (500KBPS)
Он [B] [I] почти [/ I] [/ B] отлично работает на 7-кнопочном сенсорном контроллере справа [B] [/ B], но у меня есть небольшая проблема и надеюсь, что кто-то сможет помочь , Сенсорный контроллер не всегда отзывчив - это похоже на то, что происходит тайм-аут (и не связанный с командой бодрствования)
Все кнопки работают, но иногда есть задержка. Прикосновение и вращение также работают, но иногда задержка.
Я получаю эти ответы на шину, когда есть проблема:
Код:
667, F0, 10, A, 62, 17, 4, E2, C4
667, F0, 10, 18, 62, 17, 4, E2, C4
667, F0, 10, 18, 62, 17, 4, E2, C4
667, F0, 10, A, 62, 17, 4, E2, C4
667, F0, 10, 11, 62, 17, 4, E2, C4
667, F0, 10, 11, 62, 17, 4, E2, C4
CanID = 0x667
Остальные данные
Кто-нибудь знает, что это может означать?
PS - Мне очень жаль, я не знаю русского языка, поэтому перевел с помощью Google Translate
---------------- VIDEO ------------------