button common ground on ESP32 shuts MCU off

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

button common ground on ESP32 shuts MCU off

Postby Duhjoker » Sun May 21, 2017 11:41 pm

Hi guys

I'm working on a game console thing but I'm having trouble connecting a button ground to the ESP32. I have all the buttons wired to the console but this is tripping me out. I'm running a graphics test so I don't actually have the buttons coded yet but it shouldn't do that should it?

The button pad is made up of 10 tactile switch buttons with a common ground connecting each one and a wire going to an empty pin on each button.
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: button common ground on ESP32 shuts MCU off

Postby WiFive » Sun May 21, 2017 11:59 pm

Connect the ground first, connect one button wire at a time. When does it reset and what gpio pin?

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Re: button common ground on ESP32 shuts MCU off

Postby Duhjoker » Mon May 22, 2017 2:21 am

Ok now I'm puzzled!!!

Just got back around to my thing and dis as instructed and it seems fine. I can even turn it on and off and jiggle it.

Could it be that I used a pin I'm not supposed to?


While we are talking about buttons......

I would like to play around with the NES emu but I see it uses a PlayStation controller. I don't know why but any way how can I include my own button files. Gonna look at it closer but I'm hoping it won't be too hard.
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

Who is online

Users browsing this forum: robizzar72, sangk82 and 109 guests