Giter VIP home page Giter VIP logo

Comments (6)

yzhanping avatar yzhanping commented on June 28, 2024

I think your problem is on the expansion board. My expansion board can normally replace the Tumaster a10c /F18C grip, recognize 24 triggers; and can realize 128 triggers in series;
They are like this
微信图片_20230803180653
微信图片_20230803180647

from freejoy.

teeshq avatar teeshq commented on June 28, 2024

HI thanks yes could be original thrustmaster shift reg board have some different logic (but still it use 4021 IC) and grip work ok with virpil base :/.
probably i will just get my own pcb with HC165
image
image

Edit :
funny i just find out it work with mmjoy2 so there is somethings wrong with free joy 4021 logic.

image

from freejoy.

vostrenkov avatar vostrenkov commented on June 28, 2024

Arduino (and I guess warbrd also) uses 5V logic but STM32 has 3.3V logic
CD4021 may have some issues with 3.3V logic when connected over long wires or having high connections capacity.

Using voltage level translator most likely would solve the isuue

from freejoy.

teeshq avatar teeshq commented on June 28, 2024

Arduino (and I guess warbrd also) uses 5V logic but STM32 has 3.3V logic CD4021 may have some issues with 3.3V logic when connected over long wires or having high connections capacity.

Using voltage level translator most likely would solve the issue

Hi thanks can u advise what translator to use im quite noob you mean somethings like that https://makershop.ie/CJMCU-0102 .
or https://ie.farnell.com/texas-instruments/cd40109be/ic-level-shifter-quad-16dip/dp/3120902

from freejoy.

ghawkgu avatar ghawkgu commented on June 28, 2024

@teeshq
Regarding the issue that multiple buttons being triggered. I had similar issue when I tried to wire up the cougar throttle.
#179

However, the throttle grip uses a button matrix instead of a shift register.
As CD4021's datasheet noted it is supposed to work well with 3.3v and 5v logic,
https://www.ti.com/lit/ds/symlink/cd4021b-q1.pdf .
I doubt there's some defect in the logic of reading physical button status.

from freejoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.