Electronics Design

group assignment

use the test equipment in your lab to observe the operation of a microcontroller circuit board

What kind of test equipment do we have in the lab?
I found a multimeter, which is able to measure different electronic quantities. It also has a voltage meter and a current meter. You can switch between AC and DC measurement. Furthermore it has a resistance meter.

Mostly I used the 5 functions from the left. With them I can check if the targets are connected to each other and conducting electricity. To do this I hold the two tips to one of the two lines and if there is a auditory signal when they are connected. With this I always check my boards for short circuits before I connect them to the power for the first time.

The second test equipment we have with us in the labor is an oscilloscope. This is also an electronic measuring device but in contrast to the multimeter it is able to show us only the voltage as a time course. For this purpose it has a screen on which a 2 dimensional coordinate system is displayed in which the e-curve or the curves (if the device has several inputs) can be displayed. Unfortunately I can't do any tests with it at the moment because one of our employees took it with him into his home office due to Corona.

individual assignment

redraw an echo hello-world board, add (at least) a button and LED (with current-limiting resistor) check the design rules, make it, and test it extra credit: simulate its operation

Design
What kind of microcontroller do I need for my final project? The best would be one that resembles an Arduino. Therefore I chose an ATMEGA328P. In addition I connected a reset button and a LED to pin 13 to check if it works. The remaining pins I connected with pin power to be able to connect sensors and actuators in the next weeks. The Atmega is the brain of the board it acts as a computing unit, memory and stores the source code. The quart is a frequency-determining component.
The board should be designed to fit into the standard blocks of my robot system.
In the pictures below you can see how I did this.


Parts
Parts Type Value In Eagle
ATmega328P TQFP - ATmega328P-AU
Resistor 1206 1KΩ R1K, R1k(2)
LED rad 1206 - LEDRAD
Capacitor C 100nF C100NF, C100nf1
Capacitor C 15pF C15pF(1), C15pF(2)
Quarrz 16MHZ Q1
Button - 434123025816



Milling

Now I still have to mill and assemble the circuit board.


Test

Now I can start to program my board. But before I can start programming the microcontroller I have to burn the bootloader to the board.
Since I haven't found the time to fix my programmer problems with my ISP my Instractr Tobi has given me another programmer so I can continue.

It works

I used the Blink test program from the Arduino IDE. This can be found under Examples->Basic->Blink.


Downlowds