Difference between revisions of "User:Haukur"
(11 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
The aim is to build a unit that can monitor temperatures and precense of power to freezers | The aim is to build a unit that can monitor temperatures and precense of power to freezers | ||
and coolers and upon failure sound an 80 db alarm, if no one is present it will then send a sms to a mobile phone. | and coolers and upon failure sound an 80 db alarm, if no one is present it will then send a sms to a mobile phone. | ||
+ | |||
+ | '''Electronics design and production (October 28)''' | ||
+ | |||
+ | Assignment | ||
+ | Make and program the serial hello-world: | ||
+ | hello.serial.45.cad | ||
+ | hello.serial.45.asm | ||
+ | hello.serial.45.hex | ||
+ | Remember DTR power | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | '''Computer-controlled machining (November 11)''' | ||
+ | |||
+ | Assignment | ||
+ | Make something big | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | '''Embedded programming (November 25)''' | ||
+ | |||
+ | Assignment | ||
+ | read an AVR data sheet | ||
+ | make serial and programming cables | ||
+ | add (at least) a button to the serial echo hello-world board | ||
+ | modify the serial echo assembly program to respond to the button | ||
+ | modify the serial echo C program to respond to the button | ||
+ | |||
+ | When making the Hello.Echo.44 board we did not have any of the newer connectors. So I deceided to use the Hello.echo.44.MTA board and modify it, | ||
+ | add MTA power connector and another 5 pin MTA connector so I could connect it to a bread board and do some experimenting with the unused pins of Attiny44. | ||
+ | |||
+ | I opened Hello.echo.44.MTA.cad in Cad.py and there I worked on the modifications.Everything was working ok and I did rendering from time to time to see the changes. | ||
+ | Then I took the modified file to the computer the Modela is connected to and set it up to make the board. | ||
+ | |||
+ | I went through the whole procedure and pressed send to maschine,it said it would take 30 min to complete but didn't start. I tried again and again but all of my efforts were to no avail,the Modela didn't start. | ||
+ | |||
+ | Back to the drawing board I opened the modified Hello.echo.44.MTA.cad in Cad.py and started to work on the file,however when I tried to save the file, Cad.py did not respond,so I closed Cad.py. The file was there on the desktop but Zero Byte. | ||
+ | After many tries I finally managed to solve both problems and got it to work. | ||
+ | |||
+ | Well I'm not completely 100% sure what the problem or what the solution was,so I´m going to try to replicate it and post it here after I'm 100% sure. | ||
+ | |||
+ | Problem 1 the contents of the file vanishes ?? | ||
+ | The reason for it was I had put my name at the start of the .cad file like that # Modified by Haukur Sölvason 2009 # | ||
+ | After I changed it to # Modified by Haukur Solvason 2009 # it worked fine. So two tiny dots over the o where the reason for this weird behavior. | ||
+ | |||
+ | Problem 2 the Modela won't start ?? | ||
+ | |||
+ | |||
+ | |||
+ | '''Here are pictures of Hello.echo.44.MTA board befor and after the modifications.''' | ||
+ | |||
+ | |||
+ | [[Image:Hello.echo.MTA.44.png|500 px|Before]] [[Image:Hello.echo.44.MTA.Mod.png|500 px|After]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Here is the board unpopulated, _________________________________________________ and here the residents have moved in. | ||
+ | |||
+ | |||
+ | |||
+ | [[Image:unpopulated.jpg|500 px|Before]] [[Image:populated.jpg|500 px|After]] | ||
+ | |||
+ | __________________________The early board catches the worm. The purple "worm" is a wire from R3 to pin BP2 on ATTiny44 | ||
+ | |||
+ | |||
+ | The soldering went without any problems and the board worked ok after programming. | ||
+ | |||
+ | And no I did not forget to mill out the board,instead I want to try to add some circuit to the unused area. |
Latest revision as of 16:29, 18 December 2009
Haukur Sölvason
Fab Academy
Final project proposal - Warning system for monitoring freezers and coolers.
The aim is to build a unit that can monitor temperatures and precense of power to freezers
and coolers and upon failure sound an 80 db alarm, if no one is present it will then send a sms to a mobile phone.
Electronics design and production (October 28)
Assignment Make and program the serial hello-world: hello.serial.45.cad hello.serial.45.asm hello.serial.45.hex Remember DTR power
Computer-controlled machining (November 11)
Assignment Make something big
Embedded programming (November 25)
Assignment read an AVR data sheet make serial and programming cables add (at least) a button to the serial echo hello-world board modify the serial echo assembly program to respond to the button modify the serial echo C program to respond to the button
When making the Hello.Echo.44 board we did not have any of the newer connectors. So I deceided to use the Hello.echo.44.MTA board and modify it, add MTA power connector and another 5 pin MTA connector so I could connect it to a bread board and do some experimenting with the unused pins of Attiny44.
I opened Hello.echo.44.MTA.cad in Cad.py and there I worked on the modifications.Everything was working ok and I did rendering from time to time to see the changes. Then I took the modified file to the computer the Modela is connected to and set it up to make the board.
I went through the whole procedure and pressed send to maschine,it said it would take 30 min to complete but didn't start. I tried again and again but all of my efforts were to no avail,the Modela didn't start.
Back to the drawing board I opened the modified Hello.echo.44.MTA.cad in Cad.py and started to work on the file,however when I tried to save the file, Cad.py did not respond,so I closed Cad.py. The file was there on the desktop but Zero Byte. After many tries I finally managed to solve both problems and got it to work.
Well I'm not completely 100% sure what the problem or what the solution was,so I´m going to try to replicate it and post it here after I'm 100% sure.
Problem 1 the contents of the file vanishes ??
The reason for it was I had put my name at the start of the .cad file like that # Modified by Haukur Sölvason 2009 # After I changed it to # Modified by Haukur Solvason 2009 # it worked fine. So two tiny dots over the o where the reason for this weird behavior.
Problem 2 the Modela won't start ??
Here are pictures of Hello.echo.44.MTA board befor and after the modifications.
Here is the board unpopulated, _________________________________________________ and here the residents have moved in.
__________________________The early board catches the worm. The purple "worm" is a wire from R3 to pin BP2 on ATTiny44
The soldering went without any problems and the board worked ok after programming.
And no I did not forget to mill out the board,instead I want to try to add some circuit to the unused area.