Skipping the teensy

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
User avatar
Ivoah
Posts: 13
Joined: Wed Jun 01, 2016 6:41 pm
Has thanked: 2 times

Skipping the teensy

Post by Ivoah » Sat Jun 04, 2016 2:10 pm

I noticed that a lot of projects like this used a separate microcontroller for handling input. While this works just fine, it is another component to buy and power. It seems that not many people realize that the raspberry pi can use the GPIO pins as a keyboard, with the gpio_keys kernel module. Notro has a good tutorial on how to set it up on his fbtft wiki. Keep in mind that although it's on the fbtft wiki, I believe that it's a native part of the Pi kernel. Even if it isn't it doesn't matter, as fbtft is installed by default on the newer OSes. Hopefully people can use this trick to save a few bucks when making handhelds.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Skipping the teensy

Post by Helder » Mon Jun 06, 2016 11:09 am

I don't know where the Pi3 came about but this is simply an alternative to the other methods available and is geared towards people who want plug and play and not have to fuss with so many wires.

While we're on the GPIO pin route there is another method that Brian is looking into using and it uses only 4 GPIO pins. It all comes down to preferences and how much you can and want to do.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Robvp
Posts: 81
Joined: Mon May 09, 2016 10:53 am
Has thanked: 1 time
Been thanked: 2 times

Re: Skipping the teensy

Post by Robvp » Mon Jun 06, 2016 11:11 am

A lot of people are actually using the GPIO, I would have done it myself too but I wanted a plug and play alternative so I'm using a USB gamepad instead

User avatar
Fox
Posts: 26
Joined: Tue May 10, 2016 12:56 pm
Location: Texas, USA
Been thanked: 2 times

Re: Skipping the teensy

Post by Fox » Mon Jun 06, 2016 1:03 pm

Helder wrote:I don't know where the Pi3 came about but this is simply an alternative to the other methods available and is geared towards people who want plug and play and not have to fuss with so many wires.

While we're on the GPIO pin route there is another method that Brian is looking into using and it uses only 4 GPIO pins. It all comes down to preferences and how much you can and want to do.
So without a Teensy, you cannot use a USB gamepad?

Robvp
Posts: 81
Joined: Mon May 09, 2016 10:53 am
Has thanked: 1 time
Been thanked: 2 times

Re: Skipping the teensy

Post by Robvp » Mon Jun 06, 2016 1:23 pm

Fox wrote:
Helder wrote:I don't know where the Pi3 came about but this is simply an alternative to the other methods available and is geared towards people who want plug and play and not have to fuss with so many wires.

While we're on the GPIO pin route there is another method that Brian is looking into using and it uses only 4 GPIO pins. It all comes down to preferences and how much you can and want to do.
So without a Teensy, you cannot use a USB gamepad?
You can, it's plug and play, I'm using one on my project

User avatar
Ivoah
Posts: 13
Joined: Wed Jun 01, 2016 6:41 pm
Has thanked: 2 times

Re: Skipping the teensy

Post by Ivoah » Mon Jun 06, 2016 2:56 pm

Helder wrote:I don't know where the Pi3 came about but this is simply an alternative to the other methods available and is geared towards people who want plug and play and not have to fuss with so many wires.

While we're on the GPIO pin route there is another method that Brian is looking into using and it uses only 4 GPIO pins. It all comes down to preferences and how much you can and want to do.
Again, this method doesn't take any more wires than the teensy route, so why do you say "so many wires"?

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Skipping the teensy

Post by Helder » Mon Jun 06, 2016 3:16 pm

I'm not using the teensy or plan to it and my mod will require 4 wires only, if you go like you said with the teensy and the GPIO pins as you suggest you around 12 to 13 wires. Your method requires the same as the teensy as you said but most people are too tech savvy and are following @wermy's guides to do this so they are following what they see in the guides and it's easier to some people to use the teensy so in the end you can go your route or the teensy and use the same amount of wires.

Maybe making a tutorial that most people can follow to use your method will get more followers to this method.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
Ivoah
Posts: 13
Joined: Wed Jun 01, 2016 6:41 pm
Has thanked: 2 times

Re: Skipping the teensy

Post by Ivoah » Mon Jun 06, 2016 7:10 pm

Helder wrote:I'm not using the teensy or plan to it and my mod will require 4 wires only, if you go like you said with the teensy and the GPIO pins as you suggest you around 12 to 13 wires. Your method requires the same as the teensy as you said but most people are too tech savvy and are following @wermy's guides to do this so they are following what they see in the guides and it's easier to some people to use the teensy so in the end you can go your route or the teensy and use the same amount of wires.

Maybe making a tutorial that most people can follow to use your method will get more followers to this method.
How do you plan on doing it with 4 wires? Multiplexing of some sort? And also yeah, I plan on making a guide once I have all the parts ready for my build. I just bought the screen, and now am trying to find a broken GBA.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Skipping the teensy

Post by Helder » Mon Jun 06, 2016 10:52 pm

Damn phone typos made my message come out wrong. Anyways my board you can use a usb wire or wire the 4 usb wires to the pi or a hub.

I plan to do a pcb for the gba too but need to find my gba to get dimensions but won't tackle this just yet.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

brotherdawn
Posts: 1
Joined: Tue Jun 07, 2016 3:17 pm

Re: Skipping the teensy

Post by brotherdawn » Tue Jun 07, 2016 3:27 pm

If I were skipping the teensy and wanted to create my own pcb board for fun... Would it be wise to add some pull up resistors for pretty much all of the buttons? From what I see online, teensy has internal pull ups but only two of the gpio raspberry pi zero have them.

Been a while since I've done some circuit design... Just remember that pull up/down resistors can be helpful to avoid some issues. Might be a stupid question. Thanks to anyone who can offer some advice!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest