Table of Contents
Write a comment
hi this is Dave from notes and volts.com and if you follow my channel you've seen me build up a lot of electronic projects from start to finish my more advanced projects tend to use printed circuit boards and I get a lot of questions about how I design them what software I use and how I get them manufactured so in this series we're gonna take a look at my favorite circuit board design software kicad and we're going to take a simple project from design to manufacture first of all I need to thank my sponsor JL CPCB for providing the circuit boards and making this video series possible I use JL CPCB for all my circuit board needs and they always come through with high quality boards ship fast at a great price so if you need circuit boards for your next project make sure you check out JL CPCB com for recent project I had to design a circuit board to fit on the back of these push buttons that are definitely not designed for printed circuit board use so in this series we're going to design a very simple circuit board with custom footprints to fit this part and hopefully by the end you'll have enough confidence to tackle your own designs the best thing about kicad is it's free and open source so go download it get it installed open it up and let's get started all right to start the process we'll go to the file menu and go to new project and select a new project you'll get an explorer window and just browse to where you want to save your project and select new folder to create a folder we'll name this folder the name of the project which in this case is PCB tutorial now enter the folder and pick a name for your project file I'll use PCB tutorial again when the new project opens it will contain two files one is a printed circuit board file and one is a schematic file we'll start with a schematic so double-click on the dot SCH file and here's our blank schematic file ready to go now go to the right hand side menu and click on the place component tool when you click on the empty schematic you'll get a pop-up window that shows all the schematic symbols that are currently in kicad scroll down to the switches group and click the plus symbol to expand it now select the symbol SW push LED which is a generic normally open button with a LED attached click on the schematic sheet to place the component the thing to remember about kicad is that the schematic symbol and the PC board footprint for that symbol are totally separate items so this generic symbol can really describe any button with an LED now go back to the right hand menu and select the add power tool we'll choose the plus 9 volt symbol to represent the positive terminal on our 9-volt battery and then we'll select the G and D symbol to represent the ground terminal you now we'll go back to the add component tool and type the letter R in the filter box the first thing that should pop up is a generic resistor so we'll select that and add one of those next we'll align the components and connect them together select the arrow tool from the top of the right-hand menu this will allow you to click on each component and move it around to move the part place the cursor over the part you want to move and press the M key on your keyboard if you get a pop-up menu like this that tells you to clarify your selection make sure you select the component now we'll move the e+ nine-volt symbol down to touch the resistor this will connect the two components together we'll use wires to the rest of the symbols go to the green ad wire tool and selected click on terminal 1 of the switch and then drag it up and click on the resistor now connect terminal 3 on the switch to ground now we'll connect terminal 2 on the switch to terminal 4 on the LED the idea with this circuit is when you push the switch it will allow current to flow through the resistor and light up the LED not too useful but good for demonstration purposes we're going to make four copies of this so instead of doing this all again just drag a box around the entire circuit and right-click and select copy block this will make a duplicate now I'll drag a box around both circuits and copy it again this will save even more time now notice that all components have question marks beside the names we need to give each component an individual name so to do that we're going to use the annotate schematic tool simply select the tool click annotate and ok now notice that all the components have unique names and that's it for the schematic so now all we have to do is go up to the upper left hand corner and click Save schematic project okay so that's it for part 1 in the next part we're going to learn how to design a custom foot print for our circuit board make sure you follow notes and vaults on YouTube Facebook and Twitter and I'll see you next time
Thanks for your comment Carmella Meinzer, have a nice day.
- Jeannie Savka, Staff Member
hey guys welcome back to another video today is wednesday so it's our kicad tutorials uh i'm jp so if you're new to this channel bluntbot is basically a hobby channel diy build yourself but we also teach people about pcp design so kick it and ultim mainly so once a week i create a video tutorial to help you guys in your pcb design journey so in today's video i'm going to speak about simulating schematics in kicad so this is quite new for most of you but you can actually simulate your circuit in kiko so that's what this video is about it is really sticking to basics so we're not going to get too complicated we're just going to simulate some resistors circuits some current voltages resistance series resistors in parallel just to get the idea just to get used to using the kicad environment in the simulation environment and then next week i'm going to go but further deeper how to create your own ld sparse modules maybe make a triple five timer circuit and really get into simulating using ecat but this video is really just getting your fingertip wet or your tongue wet wet or something to get something wet what is this saying i know get your toes wet that's it that's it your toes wet i think but anyway guys let's get started so the first thing we do is we create a project create a simulation sheet i just called it that name and then i double click on it and i have my sheet that i'm used to so the difference now is we're going to draw a circuit for simulation so to do that we push a so normally we just push a normal component on and then we start pulling our circuit for pcb if you do that then the components are not always ready to be simulated with so for example if i take audio amplifier it has no sparse model and you have to actually put the spice model here we'll get that later in the second video i'll do next week in this video i just want to show you guys how to get started so what you do is push a again and we type in sparse so these are the components we can use to simulate now as a beginner first time and just to find out how it works and how to set it up as you can see it's got capacitors diode and all the big most popular components and then some voltage sources and some current sources so let's build a circuit and then you'll see how this works it's actually quite easy let's get started first thing we do is i'm going to make a circuit with just a resistor let's see if we can measure the current going through resistor so i've got spice do i see a resistor somewhere yes resistor and you can see it's for simulation only so it does not have a footprint you can take your pcb to create a pcb office this is just for simulation but later on i'll show you guys you can actually use real resistors that has footprints but like i said it's just the beginning of a beautiful journey we'll take on simulating in kiket so we've got a resistor now we need some power source we type in spice again and we go to the bottom and we see voltage source dc and i put it here and you can see my plus minus and now i'm going to do what we used to do create our line at our power of let's say 5 volts and add our ground let's first add our vowels there as well c for copy now we need a ground so the ground is important for reference as spice and you'll see zero volt we have to use this fault for this ground and not the normal ground that we used to so this is our simulation ground and now we've got this i have to give my resistor some value now double click and i'll just make it 470. okay so now the 470 ohms and my dc i want 5 volts so what i do is you can see sparse module dc one i can change this to a five or go to edit sparse model and there you can see one i'll make it five okay okay now i've got five volts going through a four ohm resistor we got tools annotate schematic annotate now got my r1 vcc so what we do now is go to tools simulator and a nice window pops up first thing we have to do is go to settings and choose what we want to do so there's different things we can do so you can see dc vo source is v1 this dc transfer is actually just a step so it will go starting voltage you can set it so if you make it zero volt and then farm final volt and then final volts of five volts and increments of one volts then it will slowly step up it will give my circuit one volt and then i'll give it to two volts until five volts uh so this is where you to step up dc to see what the circuit does at certain voltages so we're not going to use that we can use the transient so we're just going to measure the voltage over a certain time so time step is like the sample rate so often you're going to measure this voltage or current so i'll make this one milliseconds and for how long we're going to do it for 10 seconds okay now you can see i can run the simulation and then you actually see some values pop at the bottom my my voltage is five volts which i said and v one point is actually my current going through it so it says it's minus 0.0106 amps so that's about 10 10 milliamps does that make sense let's see so if i've got a 5 volt and i divide about 470 we get 0.01063 you see it it's exactly the same so this is calculated the current of through our resistor without us doing it but you can see the negative key cad is based on lt spice and they've got a thing of the negative current that is because real current actually runs from negative to positive and conventional current actually runs from positive to negative so it always takes it from negative to positive but when we do calculations in design we normally go from positive to negative so don't worry too much about the negative that's just the way ulti spice does it i know in rt spice you can rotate the resistor and then it should become positive but it did not work for me in this scenario and i'm not too sure why but it doesn't matter the absolute value is perfect now let's see if we can put some graphs on here so we can go add signals and you'll see the three main signals here the voltage on my system um i only have one supply and only one resistor so the voltage of the system is five volts and the current through my resistor will be the same as the system because i only have one resistor so you can see it's about ten ten point something volts so there you can see it actually become positive when i rotate the resistor so this value will always show the the negative value but here you can see it positive so if we rotate our resistor again that value will probably go negative let's see yeah you can see when negative so if you want a positive negative swap your resistors in real life it does not matter right a resistor does not not have polarity so this is just a program thing that they did so there you can see the value there is the same value as we calculated for our current what we're going to do now is add another resistance series so what we expect now is resistance in series increases the resistance and therefore decreases the current with ohm's law v equals ir guys i'm not too sure at everyone's levels on this channel so if you would like me to go into more details about basic electronics about resistance in series in p
Thanks brotinu your participation is very much appreciated
- Jeannie Savka
About the author
I've studied media studies (mass media) at Savannah State University in Savannah and I am an expert in criminal psychology. I usually feel bewildered. My previous job was interpreter for the hearing impaired I held this position for 27 years, I love talking about base jumping and snow boarding. Huge fan of George Strait I practice flag football and collect bicycles.
Try Not to laugh !
Joke resides here...