For this week we need to read a microcontroller data sheet and program our own board.
Data Sheet
Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet_Complete.pdf
The datahseet talks about the several classes of ATMegas that share very similar characteristics. The differences between them are basically the following:
Program Board.
This task was a nightmare. Really. I am not joking. At last I could do it for my final project. But I suffer. Like if I was in hell. I tried so many times to do an fabduino with ATmegas that I lost the count.. an the money associated with it… At least 5 times I tried to do it, but for several reason they never worked. Sometimes was a soldering issue, but in the last tries was a programming thing. What was the problem? My big, fat, frustrating problem? The resonator/crystal. I worked with 20MHz. For having a successful serial communication the resonator should be of 8MHz (or at least is the recommendation).
The design I made is shown:
The physical result was:
I burn the program by two different ways on the board:
The program that I made was basically for my project, so it uses a hall sensor in order to sense the proximity of a magnet. The next video show it.