Make Your Own Development Board With Microcontroller




About: Student at Faculty of Electrical Engineering and Computer Science. ...

Did you ever want to make your own development board with microcontroller and you didn´t know how .In this instructable I will show you how to make it.All you need is knowledge in electronics, designing circuits and programming.

If you have any questions or problems you can contact me on my

Visit my youtube channel:

So let's begin.

Step 1: Materials

All materials for this project can be found on ebay or amazon.

-Bascom AVR for programming

-Attiny2313A-PU 8-bit

-USBasp AVR Programmer

-Stabilisator L78L05.This is stabilisator that stabilise voltage to 5V

-two 100nF condensators

-two 33pF condensators

-one 10k ohm resistor

-crystal 11MHz

-8 red LED diodes

-eight 100 ohm resistors

-11 pins

-10 pin ISP Male Connector Header

If you want you can also make relay outputs.For one relay output you need:

-12V DC relay

-1k ohm resistor

-1 LED diode

-1 Rectifier Diode IN4001

-NPN BC238 transistor

-three pins


In this project I used 8-bit chip from ATMEL family which can be also found on Arduino.It belongs to TTL family so it runs on 5V+.

It has 12 digital outputs or inputs.Pins 2,3, from 6-9 and from 11-16

Pin 12 and 13 can be also used for analog values

Pin 1 is reset

Pin 4 and 5 are connected to GND with 33pF condensators.

Pin 10 is GND

Pin 17 is MOSI

Pin 18 is MISO

Pin 19 is SCK

Pin 20 is Vcc+

For programming this chip I used USBASP AVR Programmer

Step 2: Wiring

You can help yourself wiring this by picture I posted.There are two 100nF condensators on picture but this time I used only one.

5V+ are connected to stabilisator L7805 then there is one 100nF condensator for smoothing voltage.Voltage goes to pin 20 and to pin 1 through 10k ohm resistor.Pin 4 and 5 are connected to GND with 33pF.Crystal is connected parallel between pin 4 and 5.

Resistor and LED diode on pin 11 are just for exemple.

How to connect 10 pin ISP Male Connector Header

You have numbered pins on picture so you will know where to start.

Pin 1 is connected to MOSI (pin 17 on Attiny 2313)

Pin 2 is connected to Vcc+

Pin 3 no connection

Pin 4, 6, 8 and 10 are connected to GND

Pin 5 is connected to reset pin on Attiny2313 (pin 1)

Pin 7 is connected to SCK (pin 19 on Attiny2313)

Pin 9 is connected to MISO (pin 18 on Attiny2313)

Relay output

Relay output can be used for electrical consumers with bigger current and voltage.Relay is controlled with transistor.Base of transistor is connected to digital output, collector is connected to relay circuit and emittor is connected to GND.Rectifier Diode IN4001 is used for protecting the circuit.LED diode is in this circuit so you can see when relay is ON.

Step 3: Fabricate the Circuit Board

I made this circuit by myself.For drawing the circuit is used SprintLayout.This is program for drawing circuits, in this program you have all the dimensions of electronic components so basicly you can make circuit for everything you want.

For engraving this board is used CNC engraving milling machine.I used normal board for circuits which is cotted with copper on one side.When board was finished I polished it with very fine sand paper.Then I mixed industrial alcohol and rosin in powder.With this mix I then coatted copper side to protect it.



    • Sensors Contest

      Sensors Contest
    • Games Contest

      Games Contest
    • Barbecue Challenge

      Barbecue Challenge

    21 Discussions


    Reply 2 years ago

    It doesnt look like arduino but principle is the same


    Reply 2 years ago

    Ah, I figured as much.
    Really cool project.


    2 years ago

    Great job for a first time CNC'd board. There are a couple of things you might consider in the future (some 'best practice' if you will).

    1. When possible, traces should never make a 90 degree turn. At most they should be 45 degrees.

    2. Connect the pour/fill (the places where there are no traces) to ground or power. On a two layer board, connect one side to power and the other side to ground. (There are some pitfalls and things to avoid when doing this. Look here for guidelines.)

    3. Keep your signal traces as short as possible. This may mean changing your layout. You will want to ballance length with #4.

    4. Keep your traces on one side as much as possible, and avoid jumping from one side to the next as much as possible. (You did a great job with this, but at the sacrifice of #3. It's a hard balance to win, and you'll never please everyone.)

    5. Make sure your power traces (and signal for that matter) can conduct enough power. This means you might want to use an online calculator and figure out the minimum width of the power trace and then add 10%. Failure to do this could result in burned traces.

    6. You are going to want to cover the copper. With handling the board, you leave acid from your skin on the copper that etches it over time. The air and the moisture in the air will also tarnish the copper. I've found that cheap, clear nail polish works really well to keep the oxidation of the board at bay. It allows you to handle it without worrying that you might short something. (I'd recommend a foam paintbrush instead of the one that comes with the bottle. It will give you a nicer finish. Also, I'd do it in a well ventilated area or ideal outdoors.) You can also tin the copper. If you do this prior to soldering, it will make soldering a lot easier too.

    7. Your board is tarnishing already. This will actually cause issues with the signals in the long run. You'll use more power and traces may fail. Lemon juice (the stuff you get at the market) does wonders for removing the tarnish. Cover the bottom of a glass dish with about 2-3mm of lemon juice, and place the board, copper side down, into the lemon juice. Let it sit 15 to 20 minutes. Remove and rinse with water. You can use a toothbrush or similar to scrub the board prior to rinsing to remove tougher stains. (Do this before #6, if you plan on doing it at all)

    8. Use a sharper bit for the CNC (as I'm sure you know).

    You did a great job. I just remember when I was where you are, and these are things I wish I'd known.

    1 reply

    Reply 2 years ago

    (Me just making some notifications), wanna comment some.. maybe me wrong??

    1. There's been seriously scientific studies about them angles of traces to be drawn in and what the angles should be used? The outcome says that using 45deg. vs. 90deg. angles doesn't count. Imagine them electrones travelling on the highway of your traces....your trace would be say 20thou. and the electron is of a size, (don't know), say a 1,000,000,000 fraction of the trace, so it actually wouldn't even notice that there was a corner.

    2. Right with that placing them power rails on opposite sides, but remember to keep in mind that this way you create a capasitivy tranciever = antenna. So be sure to decouple it good with accurate caps

    3. Right

    4, Right

    5. Right, with an comment: don't "OWERDO" this. e.g. I use with loads of ~5A/12V traces 60-80thou. No problems

    6. Right. There's allso sprays for electronics just to to protect the same thing, cheep

    7. AAArghh.. forget the "lemon" it doesn't belong to electronic's. There's many protecting .................... for just this purpose.


    2 years ago

    The controller board is nice, but the title is misleading due to the fact that the attiny is a microcontroller.

    5 replies

    Reply 2 years ago

    I´ve corrected it now so it wont be misleading anymore.


    Reply 2 years ago

    Nice though..

    1. To me it looks like the breadboard isn't quite fully etched????

    2. The resistor value for the led is 1K/5V ??? shouldn't it be more like 220~330R

    3. Save the damage by putting a resistor on the base of the transistor or you fry something

    4. The breadboard certainly works as expected... but for clearence and functionality place them transistor's closer to the relay's... I know, the jumpers would be longer, but still...

    5. Actually, if it matters, you could have the PCB to a half the size just by good placing of the component's. I guess You'r kind of a beginner with this about PCB design?? You'r on a good way. GO STRONG, good 'ible


    Reply 2 years ago

    1.Yes it is fully etched but the "drill bit" on engraving machice wasnt that sharp so it didnt make nice edges as you can see on the picture.

    2.Resistor value for led is 100 ohm

    3.It is better to put resistors on the base yes, but in this case I didnt and it also worked without damage.But in next project I will put resistor on the base.

    4,5.Yes I need more practice with PBC designe.Maybe I could make 20 to 30% smaller but to a half size...with more practice maybe :) and thank you


    Reply 2 years ago

    Sorry to point again.. the resistor values should be; the initial V of the led, (normally about 2V), so it will be the source 5V-2V=3V. Then by the ohms law, if you want the led to draw its max. current (mA) usual leds= 20mA.

    R=U/I => 3V/0,020A; R= ~150ohms, but the leds will light pretty good ewen with ~10mA (~270-330ohms)


    Reply 2 years ago

    Sorry if I'm too pointi..

    1. The etching is OK, my bad. The lighting in the photo made a trick to me, poor ;)

    2. Right about them resistors in the parts list, but in the schematics it really is 1Kohm No problem, still lights hmm,,, or not ;)

    3. Yeah. you'r right. If the size doesn't matter then all OK. Me designing PCB's,

    ( done 100 of them), try to "allways" keep them traces at minimum of 60thou. Going between them pads my prog. will automatically smoothen the trace to be 8thou.


    2 years ago

    Yes, need a resistor on the BC238 transistor (transistors are current amplifiers). Run risk of damage to transistor as you pour un-limited current into base(resistor is current limiter).

    Replace BC238 Transistor with an N-Channel MOSFET to direct drive from a Digital output. There are pin-compatible versions(gate=base), but I don't have time to search. TO-92 package so even if not found and exact pin-match, you can always install "cross-legged".

    Let us know what you do with this. (Add a remote control? re-architect to eliminate crystal?)


    2 years ago

    Does condensator = capacitor? I think condensator is maybe the dutch word for capacitor?

    2 replies

    Reply 2 years ago

    Capacitor (english) is in many languages kondensator, (FI= kondensaattori, SE= kondensator, GE= kondensator (I guess)... and so on). Originaly allmost "all" them definitions in electricity comes from either Latin or Italian or Germany. Tesla, Volt Ampere, Ohm... etc. all comes from these languages. So please US. convert yourselves into SI-system, (lbs= pronounced "pound"?????, what is lbs shortening of??)


    Reply 2 years ago

    Yes it is the same thing


    2 years ago

    You may want to look at the Tiny-26
    processor which has 4K of memory. I have been using BASCOM for decades
    as my compiler of choice... I have an instructable on that as well. MY BASCOM INSTRUCTABLE (The demo / free version goes to 4K)

    If you are not limited to 4K of memory, try the Mega-328 chip which has 32K of memory.

    Have fun... it is very interesting to work with microprocessors!



    2 years ago

    Good Idea, Poor Execution, in terms of explanation to viewer from instructor (Why it is called Instructables ?) Suggest that you take all comments, then post a revision.

    Problems, as some has already been stated:

    1) 5V input (As Shown) - Most Probably is 12Vdc that goes to 7805 to only provide 5V to Micro. Since Relays are 12vdc I believe the negative side (i.e. Gnd Rtn is to 12Vdc input of relay coil....? with Positive triggered through BC238 Transitors ?

    2) Need a better Micro to Relay Schematic

    2) You show only 1 relay out from schematic - would be nice to point out that this is 1 of 4 Relay repeatable circuits connected to ---- outputs on Micro.

    3) You use Green and Red LED's to follow/indicate input and output to relay(s), however these are not shown in schematic - only vaguely alluded to.

    4) What are those Pin Type connectors next to Red LED's

    5) Explain 3 input pin connector (upper Left Conn.) , and 3 pin output connector (lower Right Conn).

    6) Physical Build Shown Only - What about programming for use ?

    Bill Lewis - San Jose, CA


    2 years ago

    I think the schematic diagram is not completely correct. First of all the 7805 supply voltage is 5 Volt and that should at least be 8 Volt in order for the 7805 to work correctly. Next you need a resistor of e.g. 1 kOhm between the controller and the base of the transistor otherwise your base current is too high and also the current of the microcontroller is too high.

    1 reply

    Reply 2 years ago

    Oh, I forgot. From the picture it seems that the relays are operating at 12 Volt DC not 5 Volt. I assume your supply voltage for your 7805 as well as for the Relays were meant to be 12 Volt.


    2 years ago

    I'm gonna have to checkout this SprintLayout. do you use the free version, or did you buy a license?