Coder Social home page Coder Social logo

Comments (6)

Gadgetoid avatar Gadgetoid commented on July 1, 2024

If size isn't a constraint, the easier thing to do is use a Picade PCB.

Or something like: https://shop.pimoroni.com/products/adafruit-ft232h-breakout-general-purpose-usb-to-gpio-spi-i2c

Or any generic i2c IO expander. A common and well-documented hobbyist part is the MCP23017.

And USB-compatible Arduino (Leonardo-style) or micro dev board would also work, via USB serial or HID joystick/keyboard emulation, to add buttons.

I'll see what I can get written up regarding these solutions, or perhaps beg @sandyjmacdonald for another epic tutorial ;)

from hyperpixel.

Bauingenieur avatar Bauingenieur commented on July 1, 2024

Hi I'm new here!
As i read it right, there is no possibility to plug in an expander or replicator for using HyperPixel and an DAC HAT?

from hyperpixel.

steffenmllr avatar steffenmllr commented on July 1, 2024

I was just running into the same Problem. I couldn't find a i2c IO Expander on pimoroni so I bought this one: https://www.abelectronics.co.uk/p/71/IO-Pi-Zero

Any help setting it up with my hyperpixel and raspberry zero would be appreciated - seems like a lot of people are interested in that topic

from hyperpixel.

eighthree avatar eighthree commented on July 1, 2024

I attached usb hub to use with my hyperpixel and went the micro dev board route via USB serial.

I have written an example arduino sketch that uses a feather m0 express as a USB HID device for my retropie build.

https://gist.github.com/eighthree/408075d4888b1bd3cc4652b2ed952e78
https://gist.github.com/eighthree/cc8c640cb6b0898cfc6d7130f8ae3f4d

TLDR; Any usb HID keyboard compatible micro controller should work for inputs like keyboard/mouse/gamepad.

For other things I'm using a python script that listens in to the serial port the MCU is connected to and have the board send info like charging state, battery voltage via serial. (eg use case. a battery indicator on a retropie build).

from hyperpixel.

ismangil avatar ismangil commented on July 1, 2024

I found this as well https://shop.pimoroni.com/products/adafruit-atsamd09-breakout-with-seesaw to get back expansion capabilities with HyperPixel, to be connected to the Touch I2C bus 3.

https://learn.adafruit.com/adafruit-seesaw-atsamd09-breakout?view=all

from hyperpixel.

ferazambuja avatar ferazambuja commented on July 1, 2024

The way a pi zero is affordable it might easy to use it as GPIO expander:
https://www.raspberrypi.org/magpi/pi-zero-gpio-expander/

If anyone has tried let me know.

from hyperpixel.

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.