You also need power flags on each of your two ground nets. You can place them anywhere, but personally I like to place the power flags near what I consider the “source” of the net in my designs.
This FAQ entry goes into much more detail:
You also need power flags on each of your two ground nets. You can place them anywhere, but personally I like to place the power flags near what I consider the “source” of the net in my designs.
This FAQ entry goes into much more detail:
Definitely last question of the night. Hopefully I can upload a MUCH improved drawing later.
How do I make the net labels not so messy?
I came up with a convention of SEG_A_D2 which means segment A of Digit 2. Each label needs to be unique in the entire schematic, correct??
I need to have four of those circuits across the top so I have saved pretty much as much space between the shift register and jack as I can get, but it’s not enough room for a bunch of labels.
One idea is to have some horizontal wires on the connector side (like Ronnie shows way up near the top.
This is where hierarchical sheets can help. If you upload your project as it stands sometime in the next half hour (while I’m driving home), I’ll convert it to a hierarchical schematic to show you what I mean.
Tell you what. Give me a day to do some research. I see there are tutorials that come up when I google “KiCad Hierarchical schematic Tutorial”, so I may be able to figure it out on my own. I learn better that way anyway. I’ll post here tomorrow if I need help. You gave me enough info to get started.
Current schematic as of tonight, for anyone keeping track (what an improvement from the first post!!!)
And here’s a link to the project in its current form:
https://drive.google.com/open?id=1ByS0i_qA38Barliget3nZiVQOa9AkNyS
Thanks again for everyone’s help!!
Looks good. Just some points:
I did go ahead and convert your schematic to hierarchical. Remember, I’m not just going to give it to you, but I will show you what it can look like. Here is a 5-page PDF (first page is A4, the rest are A5).:
ScoreboardCircuits.pdf (148.3 KB)
Now that I’ve done this, the method is fresh in my mind. I should be able to help if you get stuck anywhere if you choose to do this. (If you don’t want to, please don’t feel pressured to do so. I really just wanted an excuse for some practice and took your project as an easy opportunity for me.)
Some points about the hierarchical schematic:
Keep up the good work.
Thanks!
I’ve known that I had gotten “tripped-up” when I first started using hierarchical sheets in KiCad; and I know that I’m still not doing it right.
It appears to me that your post has clarified the areas where I deviated from the normal planned use of duplicate hierarchical sheets. What is interesting is that I have been using a text editor to copy the layout from one sheet to the other, but this method would also allow for text differences on the sheets. The problem with this method is that the annotation function is not set up to handle sheets created this way.
The other idea, of using a label, even with a hard drawn connection, as a way to show the Net in PcbNew is a great thing!
Learned a little bit more about KiCad tonight.
So did I. I first placed the 4 sheets objects down. Then I copied the subcircuit part I wanted to one of the sheets and saved. (Saving is the first time the new sheet schematic file is creataed.) Then went into one of the other sheets and was greeted with a blank page. Ummm… Wha??? So I went back to the top level, deleted the 3 sheets that were showing blank and re-created them. This time when creating the sheet that points to an existing schematic file I was asked if I wanted to link to the existing file. After saying yes to this 3 times everything was again working the way I expected it to. Unfortunately, I wasn’t able to figure out how to copy an existing sheet object so I had to place the pins on all 4 of the sheet objects individually. More of an annoyance on a small project like this. but if I was doing something major with 32 identical sheets (32 preamps on a 32 input ADC for example) it would be a major PITA…
Ummm… I just played a hunch. Once the sheet object is connected to an actual schematic file I can copy it with a drag select -> duplicate block sequence. This didn’t work before I created the schematic file, so I assumed it wouldn’t ever work… That would have saved me a little time (and would be the way to do the hypothetical 32 channel ADC from the previous paragraph…). I guess one lives and learns, or dies trying.
There is a very high probability that not knowing this is what tripped me up.
There have been posts about the issue of assigning pins to sheets, and I do not recall seeing any really good straight forward reply.
Looks like V5 and hierarchical sheets needs an update in the documentation.
In the picture above the quoted text the net labels aren’t attached to the wires. The small rectangle must hit a grid point through which a wire goes, or an end point. That’s one downside of non n*45 degrees lines: they don’t touch grid points.
@SembazuruCDE, can you explain your choice of component numbering? C101, C102, J101, J102, J201, etc…
I think I am going to need to pull the LED power out of the CAT5. I think I am pulling close to a full amp, or maybe even a little more, which is probably too much for those tiny CAT5 wires. I’ve got some testing to do to be sure.
Can you explain the “wider traces” comment (#3)?
Other than that, this looks really awesome. I think I can finish this up, and then start work on the PCB design.
Sure. For annotating (setting ref’d values) I first opened up the Annotate Schematic tool from the tool bar with this button:
I clicked the “Clear Annotation” button to reset all the ref’ds to unset (see the bottom of this post for a screenshot of the annotate schematic tool with default settings). I manually set the J0 ref’d to “#J0”. Then I opened the tool again. When using the tool you have a couple option on how to number. I could have left it at the default “Use first free number after: 0”, but instead chose “First free after sheet number X 100”. This automatically embeds the sheet (page) number as part of the ref’d. All ref’ds 100-199 are on page 1, 200-299 are on page 2, etc. It is more self documentation. Granted not all that necessary in this project, but can be a troubleshooting lifesaver on larger, more complicated projects.
For the same reason why you might want to use a heavier gauge wire than the CAT5 wire for LED power. KiCad has a nice calculator to help choose (among other things) trace width. I just plugged in some numbers. If you get the board made with 1oz copper, for your 1A traces for a 10°C rise in temperature on the trace you would want a 12.0325mil wide trace. (Note this is both for power to LEDs and ground return from the LEDs.) I’m not sure if the calculation takes into account covering layers (like soldermask) so I’d calculate against 2 amps and choose a width that falls between the two. This gives a trace width of 31.3019mil, so I’d choose a width between the two. Thinner copper will need wider traces (the formula uses the area of the cross-section of the trace, much like gauge is a related to cross-sectional area of wire)
Here is the annotate schematic tool window for reference in this email:
I’m almost done with the schematic. I’ve made a lot of changes, but I think it will be a pretty good product. I was planning on connecting the LED display panel to the control box with an ethernet cable about 6 ft (2m) long. The cable would carry the data signals and the power. I figured out that my LEDs can draw a total of a little over 2.5A, which I think is too much for a single ethernet wire, or even two ethernet wires. So I am thinking about using a ten-pin molex connector. I know they use some interesting crimp pins inside the connectors, so I hope I can make the cable without too much trouble. I do wonder if it will be suitable for transmitting a high speed data signal. Any thoughts?
I think I am getting close! I have decided that it would not be a good idea to connect the control box to the scoreboard panel with CAT5. Just way too much current. I am going to use a 10-conductor cable (22-24 AWG) with molex connectors. This should work pretty good. I am going to use two voltage regulators to power the LED panels, since the regulators I have are only rated for 1.5A.
I do have one question: Right now I am only using one battery to power the whole thing. It powers the arduino and the LEDs. That means the signals and the LEDs share a common ground. Is that OK? I have a really big LiPo and it can give me a few hours of run time, but electrically, is this a bad idea? I can easily put a second battery in the box, one for signals and one for the LEDs, if that is a smarter way to do it.
Anyway, I am hoping for a few more good comments before I move on to the board design.
Here’s the pdf (I haven’t earned uploading privileges yet)
https://drive.google.com/open?id=1U6tB32a8dx2KzcEKBoNLVcReeQMBbDci
The grounds being connected should be fine. It looks like you are planning on connecting the two on the controller, and that should be fine. Actually, all the wiring should hopefully act as filtering inductors to help filter noise. (Or the opposite could happen and all the wires will act like antennas both radiating its own noise and absorbing noise from adjacent wires… I’m no EMC engineer so I guess you shouldn’t believe a word I say about this. )
Umm… Cat5 UTP is 22 or 24 AWG depending on which cable you buy, but getting those extra 2 conductors will probably help. (I admit, I haven’t looked up any wire current capacity tables to double check your figures.)
I see you are splitting the powers to the displays across two wires. You should probably also use your unused molex pin and send GNDPWR back on two wires as well. Remember, GNDPWR will be carrying the same current as your LED powers.
Thinking about it, I think you should connect the LED powers back together, feeding it to this board with two wires. I don’t see any reason to split them up, in fact it would probably be better if it wasn’t split. That way if the left display is showing 88 and the right is either blank or showing 11 the current should be mostly balanced on the wires instead of one getting hot.
BTW, Nice looking schematic. So much more readable than the first try. Good job.
I was wondering if anyone else would notice this issue in your design.
The DataSheet contains a comment about there being a common tie between the Logic and Pwr grounds. I’ve seen some really creative ways that engineers have dealt with the reference between voltages in a system. However, if your design only has one supply source, this is not an issue. It appears to me that your 2 ground symbols should be tied together; as you indicate that there is only one power source for the current design.
It does seem to make sense to use 2 seperate ground symbols to the device, as the device does not appear to internally connect them.
Is this display ever going to be outdoors in sunlight? And, if so, how long will each digit display “8”?
And, I thought you had already been using such a setup?
In the end, If you use high quality parts, you may well get away with the RJ45 jacks and cables and only need a single larger capacity wire for source power.
This effort is a do-over. I have had the scoreboard running for about two years. For those two years, the data came from the control box to the panel using a flat ribbon cable. I’m not sure what gage (gauge?) the wires are in that ribbon cable, but they are TINY. I had a separate, but much larger cable that powered the digits. It powered all four digits, and that was one of my problems. I had a single voltage regulator that was supplying all power for the panel, and I was definitely exceeding the 1.5A that the board was rated for. Since I decided to add a second regulator, I thought it might be best to also route that power separately. And that’s when I got to thinking about whether I should have a completely different battery for the panel.
It sounds like electrically, it is OK to use the common ground, so I suppose it does make sense to use only one ground symbol as well in the schematic.
I wasn’t aware that CAT5 used the same size wires as I was planning here! The molex data sheets said the pin connectors were rated at some crazy high amperage, so that sounded great. I hadn’t thought that while the connectors were rated high enough, the wires may not be. I can certainly go back to using separate but larger wires for the board power. I think I will do that, since I have the chance now to do it right.
Yes, the board is used outdoors. It is for Ultimate Frisbee, which we normally play “first to 15”. You have to win by two, so rarely we go into the twenties, but it does happen. Definitely the most power drawn would normally be something like 18-18 (or 16-18, 16-19, you get the point). That score could be up there for several minutes. Do you think I still have some power concerns other than what we have talked about here?
Use a wire parameter calculator, like this one. It says that with 24AWG wires, 6 feet long, with 8 wires in a bundle, each wire can carry 2.38 Amps.
Strike that entire paragraph. I had forgotten that you were using two different regulators. Unless you really know what you are doing, don’t connect the output of two different regulators to each other. It is perfectly fine and acceptable (and often necessary) to connect their grounds together though. Just remember that ground return needs to carry the same current as both regulators combined.