I have a promicro ( i believe 5v one not 100% sure tho ) . I did this circuit . Soldered a bunch of cables etc but then when i tested it it didnt work . Got ly meter to check which cable is being the issue and turns out that there is no voltage in the card .
U can see in the link that i used vcc to power the leds for example bjt even the normal pins when i switch are not working .
There vcc pin gives me 0.00v
The raw pin gives me 0.02
I m using the usb to power it .
As far as i know voltage need to go over 3v for the pins to go from high to low or the other way around so i cant use any of my code ( most my code runs on state change of pins to send keystrokes to pc pretty much ) .
Any tips ideas informations anything really can be helpful is very welcomed . Cause i m kinda confused here as what to do now or what to check . I dont even know how to check if the card is okay or not .
It doesnt have any of them checked . It doesnt matter for my use case tho . I just need some voltage to be able to switch pins from high to low using buttons . Which i m getting none at all
Run your buttons to ground, not VCC. Use a resistor pull up to VCC or use the INPUT_PULLUP option of pinMode() to select the internal pull up resistor on the input.
Then you don't need any voltage to run your switches.
Pin 2 input pullup
Pin2 set to high
Pin 2 to button
Button to ground
If digitalread 2 == low
Serial print Button1
Yet it never prints the button 1 . All of my pins have no voltage . Raw pin is the only one to give me 0.02 .
The led within the card that shows it has power is on . It s illuminating in red so the card has power through the usb and i can upload programs through it .