First design - looking for feedback

Hey everyone,

new to these forums and KiCad. I am a software engineer who got fascinated with the world of electronics and set of on my first large scale project, creating a 3+1 game for my kid.

It’s features a set of 7 LED arcade illuminated buttons + 1 large green one, 3 rotary encoders with 10LED bars and an LED each, and a few other components…

Games are simple:

  1. Buttons play tunes based on a program that lights up the right button to play the tune.
  2. Buttons and rotary encoders play with my houses hue lights
  3. Added an adafruit 8led bar on a motor to create some light show, controlled by the encoders and buttons for patterns and colors.

Anyway, don’t wanna bore you with this, I set off to create the circuit diagram to learn KiCad and figure out any issues ahead of time (turns out i did and was a very helpful and rewarding journey).

I am looking for feedback on quite a few areas:

  1. My overall KiCad usage and design patterns.
  2. Due to the amount of inputs and outputs, if I chose the right way to manage them with Shift Registers.
  3. Overall circuit feedback.

As I am a new user I think I will not be able to attach multiple images, so I’ve posted all the diagram and a few in-progress project photos on postimages service, use this link:

1 Like

You’ve probably nearly reached requirements to post multiple attachments.
Conditions required for posting in this forum are in the FAQ or here.

I won’t comment on the circuit characteristics, but on your drawing style.
You get plus points for using hierachical sheets in a sensible way. How to partition a circuit correctly is not easy.
You get minus points for using portrait format for the schematic. For readability, schematics are always left-to-right (inputs-to-outputs).
A suggestion: your circuit really calls for using bus connections. Following a line is much easier than searching for some alphanumeric label.
Generally: “Chapeau!”, for a first attempt it’s good.

Welcome aboard. :slight_smile:

2 Likes

I like diagonal or sometimes inside out. :crazy_face:

Thank you for the feedback!!!

Yes that makes sense, got it, landscape, left to right!

For which particular sheet and labels are you referring to?

In my opinion you didn’t use enough capacitors.
Whenever in our (firm) history we had a problem with something works but from time to time there are problems (like EPROM emulator giving corrupted byte ones per 3 million reads) the reason was a lack of capacitor at right place.
Add 100n to each IC as close (at PCB) as possible to it. You need not to show at schematic both wires of capacitor going to IC pins. Just place capacitor near VCC pin and connect its other side to GND.

And also VCC up and GND down. You have it opposite sometimes.

1 Like

For example GPIO32…38 and GPIO 39…42 could be depicted as two buses.

1 Like

I will reinforce Piotr’s remarks. When you lay out your pcb, place power supply rail bypass ceramic chip capacitors at all of the ICs as close as possible, as a first step. For some beginners, supply rail bypassing is an afterthought or no thought. That is an error… I like to bypass with an 0603 chip as close as possible to the IC. If you need more capacitance than can fit in an 0603, place the larger chip capacitor outside the smaller one so it is a little further away.

As a standard I use 0603 capacitors but I use 100n 0402 at each IC power pin. The reason for using 0402 was that I have one at each side of AtXmega chips (along side as there are VCC, GND pin pairs) and 0603 are huge :slight_smile: and interfere with adjacent pin tracks.

Three problems for PCB…

  1. I am pressured for time now, need to deliver this as a xmas present… working every day, all day now on this…
  2. I have zero experience designing PCBs… I’ll have to watch quite a few hours of youtube content to understand what is what…
  3. I live in Greece and haven’t yet figured out my suppliers / PCB providers…

Also, btw, since I’ve now added all these caps on the same power circuit, their capacitance now measures 5x100 = ~500nf… we good with that, right?

Hi @thanpolas
Total capacitance is not the problem.
When you have finished assembling the Christmas present, spend a little time googling “bypass capacitors” or “decoupling capacitors”. :slightly_smiling_face:

1 Like

Typically at any power rail (+5V, VCC, I don’t look at your schematic now) you should have one bigger capacitor (like 100uF electrolytic) anywhere and 100nF at each IC. These 100nF will be better installed if they will be connected directly to VCC and GND IC pins - diagonally.
Capacitance sum can be important only if you use Low Drop Voltage regulators as they tend to be unstable (their data sheets define stability region dependent of load capacitance).
At picture from first post I see power modules. Surprising is that there are no capacitors at their inputs and outputs. I just supposed capacitors are inside these modules.

1 Like

Hi @thanpolas

I moved all the soldering and jumper posts to a new thread here to make it easier to follow circuit feedback comments.

1 Like

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