First Arduino project

Hello o/

I'm working on my first Arduino project, which will be a button box for a sim.
Watched dozens of video, and finally I came up with my button matrix.
I'd like to politely ask you to check, if you can see any mistake.
I have 19 button, 1 rotary encoder with push button, and a potentiometer.

Thanks in advance!

Cheers,
A

Start simple. Connect and read the potentiometer only...
Then add more...
It seems you have stuff connected to rx and tx. Those are usually used for Serial communication.
Serial communication is a must for debugging...
Do you have any code? The wrong code may destruct your output pins with this wiring scheme...

2 Likes

At first I had the same doubt about rx/tx, but I read somewhere here, that if I don't use serial data, then I can use it as digital (which is line up with the official pin-out. D0 and D1)

Don't have any code yet. While the needed parts arrive, I'm working on the pcb, and after that, I can test it on a breadboard, and start coding.

I followed a YT guide, where the guy said, that it's important to connect encoder to the first and second digital pin, so is that statement false?

I'm not insisting. If I can use a different pin, that's awesome, because later I can add even touch function.

No idea whether encoder should be on d0 d1.
If you do not use Serial, you can do with d0 and d1 whatever you want...
But how will you debug your code? Serial.print() is your friend...

1 Like

The first two pins after the serial pins are the external interrupt pins.
Using at least one per encoder would make sense
Using serial pins would not make sense.

1 Like

You have been informed of why.
Learn how to draw circuit diagrams, not that fritzing rubbish.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.