Seonghee Kim | |
12. OUTPUT DEVICES | |
HOME | ABOUT | ASSIGNMENTS | FINAL PROJECT | CONTACT | |
Week12
Assignments
-group assignment
measure the power consumption of an output device-individual assignment
add an output device to a microcontroller board you've designed, and program it to do somethingHardware and Softwares used
-Roland SRM-20
-arduino IDE
-fab module
-eagle
cad
Outcome
Did step by step debuging. Run LCD board.
LCD output device
Coding Arduino
Before start my own board, I tested LCD at arduino board. It works well.- I grab LCD arduino code from exapmles.
Coding Hello.LCD Board
- -I only need to change the pin number. I refer the board images from hellolcd board, but I was not able to find the pin no originally from. I could not find it from pin configuration of attiny44 datasheet.
When I uploaded the porgram it did not work. I could not bootload nor upload by programmer at arduino IDE. So I tired to solve the problem.
Debugging
-1st I tired another fabISP(more than 2)but not working.
-2nd I changed my voltage regulator. (the voltage regulator got the power form worng direction from my fabISP because I did not take off the jumper of ISP so it might burn.)
-3rd, I put 0 resistor instead of voltage regulator but still not working.
-4th, I check the continuety and voltage agian with multimeter(continuety was ik and voltage was 5.01 voltage from vcc to GND)
-5th, I wonder again if my ISP is ok so I uploaded progrma to my distance input board from lastweek, it works well so it is not the ISP problem.
-6th, I took off Attiny44 from the board and resoldered. not working.
-7th, I resoldered ISP pin, and the path took off!!!!!!!
-8th, I milled the board again, take off all the component from old board to save them and put it to new board again. However not working.
-9th, I changed resonater, tried bootload, not working, changed resistors, tried bootload, not working, changed the capacitor, tired the bootloader, still not working and I learnt that the resonator, resistors and the capacitor do not affect to bootloading so it should not be the problem.
-And finally... I check the Youngsik's site, and he showed how to solve the same problem. He reinstalled the fabISP with the zadig program!! thanks to him.
Problem Solved!
I don't know the reason but when fabISP connect the board with attiny44(same problem with helloecho board) My computer didnot recognise USBtinySPI, so I reinstalled using zadig and it worked!!
- -Hello LCD! I am really nice to hear you!!
Design board
-After I tried Neil's board, I made mine and made it work.-Download eaglefile
-Download arduino code
Date: 2018-04-18 Author: Seong Hee Kim @ Fablab Seoul