#Pro Micro trouble getting 5th dial to work,

63 messages · Page 1 of 1 (latest)

chrome mirage
#

Ive only been able to get A0-A3 to work, Ive tried A8, A7 on the other side of board and a10 on the same side as the a0-a3, no matter what i do it only works 4 dials on the A0-A3, Ive made the changes in the files and like i said 4/5 work, am i missing something, Does anyoone know if there is something else i
need to do for the pro micro?

rare oriole
#

Hi @chrome mirage, it's possible that you have a pot that isn't working correctly - have you tried swapping it out for another?

#

You can also use a multimeter to measure to make sure it's hooked up correctly at the electronics level

chrome mirage
#

hello, yes they al work on my pro, i just want this one to weork with micro because build is already done

#

thanks for reply

rare oriole
#

It would also be helpful if you described and/or showed a serial monitor sample illustrating what isnt working

chrome mirage
#

om i can do that hang on

rare oriole
#

Here's the pro micro pinout in case you need

chrome mirage
#

The green lines are the ones that work a0-a3 the red lines show the different pins that I’ve also tried for the fifth knob no matter what I do I can only get four to show up in the software even when I change the set up files to show 5 so I don’t know if it’s something with this board if I’m doing it wrong or what I’ve tried a 7-10

#

When I replace the pro mice with the pro that has more A0,12335 numbers it works. The Pro just have has a different end and it won’t work for my project.

#

Here is the pro in place of the micro working them all obviously the pins are moved on the board for testing

rare oriole
#

mhm mhm

#

can i ask you how you named the pins in your sketch? with the pro micro

chrome mirage
#

A0, A1, A2, A3, A9, A10, A8

#

DEPENDINGN THE PIN I WAS TRING

#

TRYING

#

HERE IS THE FIOLES WORKING ON THE PRO SHOWINH ALL KNOBS WORK OOPS SRY BOUT CAPS

rare oriole
#

umm, I am reading online that you can only use A0 to A5 on the pro micro

#

it surprises me but that's what it says

chrome mirage
#

that would give me 6 that is enough

#

where is A%

#

A5

rare oriole
#

you're right. hold on, i'm super confused rn

chrome mirage
#

i appreciate the help, i really do

rare oriole
#

sorry, I'm just not sure what to tell you to try. you could theoretically try pin 4 (A6) or 6 (A7) as you haven't mentioned trying those, but it's weird that all the others are giving you trouble

chrome mirage
#

ok, good idea, i will thanks again,

rare oriole
#

can I ask how it looks in the serial monitor when you try those pins? is 1 of the pots just always 0/1023/unstable?

chrome mirage
#

no it only shows, 0|0|0|0, like the 5th doesnt exist

rare oriole
#

ohhh

#

wait, that tells me that you never really uploaded your sketch successfully to this board

#

because with the file in your screenshot.. you'd see 5 numbers

#

did you actually flash it with the arduino sketch? maybe forgotten to do that?

chrome mirage
#

whjen i turn the dials they go up to 1017, just not the 5th one, and ive loaded it up

#

approx 1017

serene scaffold
#

If the 5th one doesn't show up; ie, 0|0|0|0 (and not 0|0|0|0|0), then double check your num_sliders = 5.
Even if the analog input isn't reading correctly, it's not iterating the 5th time through the loop to send it over the serial.

chrome mirage
#

i got it to show 5 numbers now, just no response when i turn the 5th dial

rare oriole
#

no, but, if you only have 4 numbers, something's off.. yeah. even if the pot is not attached correctly there would be a 5th number if you successfully uploaded the file in your screenshot from above

#

oh okay

serene scaffold
#

ok, 5 numbers being printed now, good.

#

Can you screenshot your output/code again?

chrome mirage
#

the A4, ive changed to the various pins ive tried

serene scaffold
#

I'd recommend swapping the wires coming to your input A3 and A4.
See if the problem moves. Then you know if it's a problem with your pot/wiring

rare oriole
#

but, are you sure that you actually flashed versions with different pins than A4? because until now you said there were 4 numbers

#

there should have been 5 in all your attempts. if there weren't it means those pins could've been working fine

chrome mirage
#

i got it, i tried 6 which is A7,

#

this layout helped me figure it out, and you guy asking me questions thanks so much

serene scaffold
#

oh, lol.
A4 isn't exposed to an external pin 😛

chrome mirage
#

you guys i meant, i appreciate you, thanks

serene scaffold
#

I assume you had the wire connected to "4"
That means it should be {A0, A1, A2, A3, A6}
Personally, I don't like using named pins, I just use the GPIO number

rare oriole
#

like "5"?

serene scaffold
#

In this example, my array would be {18, 19, 20, 21, 4}.
Doing that, rather than referring to the Ax pins

chrome mirage
#

its A7 on pin 6 weird

rare oriole
#

I guess it's possible to do either in the code. but I'm so used to A[x]

#

yeah pinouts are.. weird. I mean, they make sense to someone. I'm sure.

#

just not me

serene scaffold
#

agreed

#

Glad you got it sorted mate