<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9130726849248851041</id><updated>2012-02-16T08:15:40.974+01:00</updated><category term='BP103'/><category term='Atmega88'/><category term='Geheime'/><category term='hex'/><category term='IRF540'/><category term='winavr'/><category term='IRF9530'/><category term='all your base are belong to us'/><category term='hell'/><category term='Pololu'/><category term='datalogger'/><category term='Atmel'/><category term='mystery box'/><category term='IR transmitter'/><category term='microcontroller'/><category term='FET'/><category term='base64'/><category term='Atmega328'/><category term='Atmega8'/><category term='powerdown'/><category term='mystery led'/><category term='Dice'/><category term='accelerometer'/><category term='wedding gift'/><category term='morse code'/><category term='watering can'/><category term='codevision'/><category term='EEPROM'/><category term='Secret'/><category term='Attiny2313'/><category term='Dobbelsteen'/><category term='friends'/><category term='d&apos;Icey'/><title type='text'>Deddies Lab</title><subtitle type='html'>Electronics blog - because anything deserves a microcontroller</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-5332733075272945173</id><published>2012-01-08T21:07:00.000+01:00</published><updated>2012-01-08T21:07:02.487+01:00</updated><title type='text'>Mystery LED in a box: part 7</title><content type='html'>My friends were so pleased with my sewing craftmanship that they decided to releave us from our duty. No more morse code, no more assignments...&lt;br /&gt;&lt;br /&gt;One day we blinked with our eyes and we found our selfmade wallet filled with a decent amount of dough. Our assigment was fullfilled! &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-PlGq87cBNHU/TwnyRsSQ6OI/AAAAAAAAAJk/H-L66tvrLRA/s1600/P1080989.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-PlGq87cBNHU/TwnyRsSQ6OI/AAAAAAAAAJk/H-L66tvrLRA/s320/P1080989.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;A little trip down memory lane:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;: The suprise!&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1&lt;/a&gt;: &lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class="hps"&gt;Reconnaissance mission&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&lt;/a&gt;: Tin soldier&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;: Epromising website&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html" target=""&gt;Mystery LED in a box: part 4&lt;/a&gt;: Chat me up, baby&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html" target="_blank"&gt;Mystery LED in a box: part 5&lt;/a&gt;: d2hhdCB0aGUgZnVjaw==&lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;: So sew me...&lt;br /&gt;&lt;br /&gt;Thanks, buddies.... who's next by the way?&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-cY29Rc-YEr8/TwnyTGgHonI/AAAAAAAAAJs/ljpSwMnyYdo/s1600/P1080997.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-cY29Rc-YEr8/TwnyTGgHonI/AAAAAAAAAJs/ljpSwMnyYdo/s320/P1080997.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-5332733075272945173?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/5332733075272945173/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/5332733075272945173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/5332733075272945173'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html' title='Mystery LED in a box: part 7'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-PlGq87cBNHU/TwnyRsSQ6OI/AAAAAAAAAJk/H-L66tvrLRA/s72-c/P1080989.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-1768114225935629979</id><published>2011-12-18T22:38:00.006+01:00</published><updated>2012-01-08T21:12:58.633+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='base64'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery box'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><category scheme='http://www.blogger.com/atom/ns#' term='all your base are belong to us'/><title type='text'>Mystery LED in a box: part 6</title><content type='html'>see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1 &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&amp;nbsp; &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html" target=""&gt;Mystery LED in a box: part 4&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html" target="_blank"&gt;Mystery LED in a box: part 5&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How do you &lt;span style="font-size: small;"&gt;respond &lt;/span&gt;to a sentence like the following:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;U'2F'UBMU'SI'G'5HY'W'KGZ'W'V'UI'H'B'VCNR'LBW'9UBMV'LI'G'1LDC'B'QDW'XSAW'U'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;GBMF'TZ'W'4GZ'W'4GDH'J'VDX'DKY'X'R'1BS'4GQ'MV'3AW'PZI'H'Z'PY'S'B'IBG'9NL'I4UT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;Anyone? Nobody? ANYthing? The &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html" target="_blank"&gt;last clue&lt;/a&gt; kept us busy for a few weeks.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;Shortly after presenting the world our latest progress we found a rather scary letter in our mailbox:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-TO1Bz7ULqv8/Tu5JBbO7-QI/AAAAAAAAAIs/-EnUZ3_THjs/s1600/P1080960.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-TO1Bz7ULqv8/Tu5JBbO7-QI/AAAAAAAAAIs/-EnUZ3_THjs/s320/P1080960.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;"All your base are belong to us". Not only one of the most famous&lt;a href="http://en.wikipedia.org/wiki/All_your_base_are_belong_to_us" target="_blank"&gt; internet memes&lt;/a&gt; ever but as from now also a big hint to solve our mysterious sentence that should lead us to our wedding gift. Googling it didn't result in a lot of usefull stuff other then a huge amount of odes and also parodies to the subject. After a week of puzzling, googling and trying to tear some usefull information from my friends a little birdy (Thank you!) remerbered my of a mental note that I took during&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html" target="_blank"&gt; part 2&lt;/a&gt; of the queste. The clue of part 2 ended with the number 64&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt; ("&lt;/span&gt;&lt;/span&gt;VIERENZESTIG")&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;, which was not intended for that assignment. It seemed a bit lost standing there, but I kept it in mind. Maybe it is usefull here.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;Adding '64' to the Google search string 'All your base are belong to us' didn't actually give me something new (except some way too nerdy Microsoft stuff). But hurray, my luck changed when I shortened the string to 'All your base 64'. It showed me various leads to the term 'Base64'. &lt;a href="http://en.wikipedia.org/wiki/Base64" target="_blank"&gt;Base64 &lt;/a&gt;is an encoding/decoding method that uses a base of 64 characters to encode 8 bit ASCII data. It has various applications and it makes a normal sentence look like it is heavily encrypted. For that it is also used to obfuscate passwords. The Wikipedia site showed with a small example how to decode Base64 encoded data, and manually decoding the first part showed my the first letters of my own name, so I knew I was going the right way. Base64 is not very difficult to encode/decode so there has to be somebody that already made a script for the world wide web. &lt;a href="http://www.motobit.com/util/base64-decoder-encoder.asp" target="_blank"&gt;Lucky me!&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;There was only one thing. Base64 encoding makes a distinction between small and capital letters while Morse code doesn't make this distinction. That was an easy one. It immediately explained the apostrophe ( ' ) characters in the mysterious sentence. A letter followed by an apostrophe means a capital letter, otherwise it is used as a small letter.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-hUBbAbYAj_4/Tu5VFl7X1GI/AAAAAAAAAI0/V9cKiNkkM48/s1600/naai.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-hUBbAbYAj_4/Tu5VFl7X1GI/AAAAAAAAAI0/V9cKiNkkM48/s320/naai.jpg" width="290" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;"SANNE, NAAI EEN PORTEMONNEE MET JULLIE&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;NAMEN EN TROUWDATUM. BEWIJS VIA BLOG..."&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;(Sanne (That's my nickname), sew a wallet with your names&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;and wedding date. Show the proof via the blog...)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;The assignment is a wink to my wife's hobby: &lt;a href="http://mamaslap.blogspot.com/" target="_blank"&gt;Sewing &lt;/a&gt;and other sorts of crafting. In &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html" target="_blank"&gt;part 2&lt;/a&gt; she had to do some soldering on the mystery box, so now it was my turn. And here is the result... And yes, it is geeky and nerdy!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-UfgtdCbUUGs/Tu5ZSvbE8MI/AAAAAAAAAJU/L2y1MiMybOg/s1600/pictures.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-UfgtdCbUUGs/Tu5ZSvbE8MI/AAAAAAAAAJU/L2y1MiMybOg/s400/pictures.jpg" width="400" /&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-gfs6k4KLsM0/Tu5Za-8xCEI/AAAAAAAAAJc/NmapalLY-kg/s1600/P1080957.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-gfs6k4KLsM0/Tu5Za-8xCEI/AAAAAAAAAJc/NmapalLY-kg/s320/P1080957.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-L6rS1L_vEjo/Tu5WQwxCSjI/AAAAAAAAAJE/GtFfJNuGZYQ/s1600/P1080946.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/8rfzf0L9A_s/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/8rfzf0L9A_s?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/8rfzf0L9A_s?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;What's next?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-1768114225935629979?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/1768114225935629979/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1768114225935629979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1768114225935629979'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html' title='Mystery LED in a box: part 6'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-TO1Bz7ULqv8/Tu5JBbO7-QI/AAAAAAAAAIs/-EnUZ3_THjs/s72-c/P1080960.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-8526388620932511574</id><published>2011-11-26T15:27:00.004+01:00</published><updated>2012-01-08T21:12:31.542+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='datalogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='IR transmitter'/><category scheme='http://www.blogger.com/atom/ns#' term='friends'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><title type='text'>Mystery LED in a box: part 5</title><content type='html'>&lt;div style="text-align: justify;"&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1 &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&amp;nbsp; &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html" target=""&gt;Mystery LED in a box: part 4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I promised in the &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;previous item&lt;/a&gt; to provide an update after my vacation. That was in August! Unfortunately my vacation doesn't take more then 3 months (I wish!).&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;It took me quite some time to make the mystery box actually listen to me. I was able to tell it stuff with the &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;IR transmitter that I had to build&lt;/a&gt;, but it looked pretty deaf. The last hint I got was a little assigment to tell the box 'something':&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;"JIPPIE NU KAN IK OOK LUISTEREN. ZEG EENS IETS..."&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;I figured out that this 'something' had to be the word 'IETS', which is the dutch word for 'something'. 'IETS' has also the advantage to be fairly easy in morse code. Three dots, one dash and again three dots is all it takes (** *- ***).&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Just two weeks ago I found out why me and the box were not on the same level. I made a little mistake with one of the resistors.... &lt;a href="http://www.google.nl/search?q=resistor+color&amp;amp;hl=nl&amp;amp;client=firefox-a&amp;amp;hs=g2e&amp;amp;rls=org.mozilla:nl:official&amp;amp;prmd=imvns&amp;amp;tbm=isch&amp;amp;tbo=u&amp;amp;source=univ&amp;amp;sa=X&amp;amp;ei=6vjQTvvGI8TqOdOwxI4P&amp;amp;ved=0CDoQsAQ&amp;amp;biw=1280&amp;amp;bih=915" target="_blank"&gt;3K3 IS NOT THE SAME AS 33K, IDIOT!&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The 2K and 3K3 resistors serve as a voltage reference for the incoming photo transistor signal, and using a 33K resistor resulted in a 4.7V reference instead of the intended 3V.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/--I1I3G31reY/TtDny11m7XI/AAAAAAAAAH8/JTKxzX_gMdY/s1600/circuit2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="158" src="http://3.bp.blogspot.com/--I1I3G31reY/TtDny11m7XI/AAAAAAAAAH8/JTKxzX_gMdY/s320/circuit2.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp; &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Having that fixed the box and I renewed our vows and we were finally on speaking terms again. Telling 'IETS' to it with IR remote control waked it up and gave me a new sequence of morse pulses. I quickly hooked up my datalogger to log the sequence and let Matlab crunch the data:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-oNMSRXCrOVE/Ts_pi8w0dEI/AAAAAAAAAH0/PcEUxoj7meY/s1600/matlab_vrienden.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-oNMSRXCrOVE/Ts_pi8w0dEI/AAAAAAAAAH0/PcEUxoj7meY/s320/matlab_vrienden.jpg" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;"WIE ZIJN JE BESTE VRIENDEN? (IN ALFABETISCHE VOLGORDE)"&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;i&gt;Translated: "Who are your best friends? (in alphabetical order)"&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Damn, that looks like a tricky question. This really could cost (or gain) me friends... I took the safe road and picked the names of the people that actually contributed to the wedding present. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-KdmJKy1jdVc/TtDopJSqzhI/AAAAAAAAAIE/e6Wln-zLDu4/s1600/P1080859.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-KdmJKy1jdVc/TtDopJSqzhI/AAAAAAAAAIE/e6Wln-zLDu4/s320/P1080859.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;But some use their real name and others jotted down their nickname in  the card. Some of the guys have actually nicknames that are used so  often, their real names are already long forgotten (Bart? And who's  Frank?). So multiple options here:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-bXz2v-CfsFg/TtDqjVULg8I/AAAAAAAAAIM/7Ol3oVTH9nE/s1600/codevision_namen.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="128" src="http://3.bp.blogspot.com/-bXz2v-CfsFg/TtDqjVULg8I/AAAAAAAAAIM/7Ol3oVTH9nE/s320/codevision_namen.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Regardless the right answer it promised to be a challenge to send this huge morse code sequence manually, although I realized that is exactly what they did back in the days in WW2. But then they didn't had microcontrollers like we have now so I followed Deddies Labs slogan ("Because anything deserves a microcontroller") and start putting together a morse code generator.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-2RxHYMP51Ww/TtDsng5a7BI/AAAAAAAAAIU/892RygsNkrk/s1600/P1080860.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-2RxHYMP51Ww/TtDsng5a7BI/AAAAAAAAAIU/892RygsNkrk/s320/P1080860.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-QoIUUSgHLTw/TtDtZ7ReAcI/AAAAAAAAAIk/OkkTpUoONmg/s1600/P1080858_detail.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="176" src="http://4.bp.blogspot.com/-QoIUUSgHLTw/TtDtZ7ReAcI/AAAAAAAAAIk/OkkTpUoONmg/s320/P1080858_detail.jpg" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/FfQ2OL8GAEo/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/FfQ2OL8GAEo?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/FfQ2OL8GAEo?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;That worked! A little bird had told me in the meantime what the most likely answer was to the friends question, and finally the mystery box gave me the next morse sequence. Again twice as fast as the previous clue which was also double as fast as the one before that.... &lt;br /&gt;Inevitably the datalogger needed some more tuning since the &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;last upgrade which boosted up the sampling frequency to a whopping 40Hz (!!!)&lt;/a&gt; proved not to be fast enough (C'mon guys, cut me some slack here). I actually compressed the data before storing it to the USB stick and decompressed it with Matlab (I will explain this later on in a different topic). It is now so freakin' fast that I myself don't even now how fast it is. I probably can expect some phonecalls from the &lt;a href="http://en.wikipedia.org/wiki/Speed_of_light" target="_blank"&gt;CERN&lt;/a&gt;...&lt;br /&gt;&lt;br /&gt;This clue is probably also the last clue the mystery box will give me, a running led sequence after the hint gives me the impression that its job is finished. I am shedding no tears, it is still electronics and it can't withstand salty water very well:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;U'2F'UBMU'SI'G'5HY'W'KGZ'W'V'&lt;/span&gt;&lt;span style="font-size: small;"&gt;UI'H'B'VCNR'LBW'9UBMV'LI'G'&lt;/span&gt;&lt;span style="font-size: small;"&gt;1LDC'B'QDW'XSAW'U'&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;GBMF'TZ'W'&lt;/span&gt;&lt;span style="font-size: small;"&gt;4GZ'W'4GDH'J'VDX'DKY'X'R'1BS'&lt;/span&gt;&lt;span style="font-size: small;"&gt;4GQ'MV'3AW'PZI'H'Z'PY'S'B'IBG'&lt;/span&gt;&lt;span style="font-size: small;"&gt;9NL'I4UT&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;What the hell? Is this my final hint? This is not human readable. No easy "Congratulations, the present can be picked up at the trainstation in locker 1306"? Did I read the morse code right? Yes, I think I did! Did something went wrong with compressing the data or did Matlab had a bad day? Not likely.&lt;br /&gt;&lt;br /&gt;Chuckles of recognition of some of my friends gave me definitely the idea that I got the clue right. As you all can understand, more to follow...&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-8526388620932511574?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/8526388620932511574/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/8526388620932511574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/8526388620932511574'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html' title='Mystery LED in a box: part 5'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/--I1I3G31reY/TtDny11m7XI/AAAAAAAAAH8/JTKxzX_gMdY/s72-c/circuit2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-1831469982265801150</id><published>2011-08-08T22:44:00.007+02:00</published><updated>2012-01-08T21:12:16.566+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='IR transmitter'/><category scheme='http://www.blogger.com/atom/ns#' term='BP103'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><title type='text'>Mystery LED in a box: part 4</title><content type='html'>see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1 &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&amp;nbsp; &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Days passed by since we fulfilled &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;our last assignment&lt;/a&gt; considering the mystery LED box without any news. Did we do it right? Were we missing something? Last week the uncertainties suddenly vanished with a envelop that we found on our doormat.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ZDQ338iavjk/TkBBtmtq_XI/AAAAAAAAAHU/EYH7I8Ofu-A/s1600/P1080179.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-ZDQ338iavjk/TkBBtmtq_XI/AAAAAAAAAHU/EYH7I8Ofu-A/s320/P1080179.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;In the envelop we found some interesting parts: a micro switch, an IR led, and a BP103 phototransistor. I rushed to the website we found in the previous clue and there we found a new briefing. The 'Grande Finale' was about to take of...&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-HhlAaKZGX00/TkBCbLSCfYI/AAAAAAAAAHY/7Be1cbZ5DtI/s1600/grandefinale.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="175" src="http://1.bp.blogspot.com/-HhlAaKZGX00/TkBCbLSCfYI/AAAAAAAAAHY/7Be1cbZ5DtI/s320/grandefinale.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Again I had to add stuff to the already pretty stuffed up board and upload a new hexfile to the Attiny. I was asked to build an simple IR transmitter and giving the Attiny the capability to receive IR signals. Instead of one led the board now needed three leds.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-tVMPcUz6lRM/TkBD1Xz7MlI/AAAAAAAAAHc/9GuO6R7ab6M/s1600/circuit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="197" src="http://4.bp.blogspot.com/-tVMPcUz6lRM/TkBD1Xz7MlI/AAAAAAAAAHc/9GuO6R7ab6M/s400/circuit.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The next evening I did my magic and a couple of hours later the mystery box was blinking again...&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-lzfs17F6zp4/TkGXacNvyrI/AAAAAAAAAHo/YQ3vO2NVtpM/s1600/P1080419.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-lzfs17F6zp4/TkGXacNvyrI/AAAAAAAAAHo/YQ3vO2NVtpM/s320/P1080419.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It started with a running light, followed by 1 minute of sequential blinking of the middle led, finished by the 3rd led turning on and off only once. Nothing after that, you could almost hear the Atmel sleeping :) In the video you can find the BP103 photo transistor in the box on the left.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/neRAIpwFArQ/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/neRAIpwFArQ?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/neRAIpwFArQ?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;Diligently I hooked up my ever so useful datalogger! Just before I  started recording the new sequence like I did with the previous clues,  my attention was caught by the middle led..... Damn! Rat bastards......  the sample rate of the led sequence was definitely faster then 4Hz this  time and my datalogger is not capable of&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt; recording any faster&lt;/a&gt;.  And reading the morse code with the naked eye is definitey out of  question at those speeds. I knew I should have kept my mouth shut about  this bug (or blog about it). Me and my big mouth!&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-2uuLdr7xJs4/TkBMcD8-IJI/AAAAAAAAAHg/OwGj9xAx13o/s1600/P1070972.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="181" src="http://1.bp.blogspot.com/-2uuLdr7xJs4/TkBMcD8-IJI/AAAAAAAAAHg/OwGj9xAx13o/s320/P1070972.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;My friends' goal was definitely to slow down the progress solving the mystery box, apparently I was going to fast for them. Now I had to (quick) fix the datalogger first. And we were about to leave for vacation in a couple of days, were I was forbidden to even think of electronics or dream of Atmels. I agreed with myself to speed up the datalogger and get at least the next clue out of the mystery box before packing my bags.&lt;br /&gt;&lt;br /&gt;From the datalogger's sourcecode I removed everything unnecessary that could slow down the recording. Wow, I did some realy awful programming two years ago. 4 hours and a lot of deleting and rewriting later I managed to get the datalogger to record with an astonishing speed of at least 40Hz. I didn't try to make it faster, a tenfold increase seemed fine by me. I figured my friends not to be that big of assholes... Luckily I was right. After recording and some minor changes to the Matlab script the next sentence popped up:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-RIOrcbRxrPY/TkBO-aPcNvI/AAAAAAAAAHk/vd20J6cNaC4/s1600/matlab_jippie.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://4.bp.blogspot.com/-RIOrcbRxrPY/TkBO-aPcNvI/AAAAAAAAAHk/vd20J6cNaC4/s400/matlab_jippie.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;"JIPPIE NU KAN IK OOK LUISTEREN. ZEG EENS IETS..."&lt;/div&gt;&lt;br /&gt;Like I already suspected with the IR led and phototransistor the box was now capable of also 'listening'. It 'asked' me to say 'something' to him/it. This 'something' I still have to find out. I really have to pack my suitcases now...&lt;br /&gt;&lt;br /&gt;As you probably already have noticed, a project like this kind of grows on you. Like my 1 year old son it finally starts to listen and I start to understand its babbling. I hope I won't mix up the two, and find myself poking a soldering iron in my son's eye while the mystery box is getting a bath.&lt;br /&gt;&lt;br /&gt;More after my vacation...&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html"&gt;Mystery LED in a box: part 5&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-1831469982265801150?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/1831469982265801150/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1831469982265801150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1831469982265801150'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html' title='Mystery LED in a box: part 4'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ZDQ338iavjk/TkBBtmtq_XI/AAAAAAAAAHU/EYH7I8Ofu-A/s72-c/P1080179.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-3827086897889987358</id><published>2011-07-16T22:58:00.005+02:00</published><updated>2012-01-08T21:11:34.973+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='codevision'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='EEPROM'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><title type='text'>Mystery LED in a box: part 3</title><content type='html'>see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1 &lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2 &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Still we don't have the contents of the &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;wedding present&lt;/a&gt; that was given to us on our wedding party. Along the way we found clues telling us to exentend the electronics board with a &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;pushbutton &lt;/a&gt;and most recently to fill all 128 bytes of the &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;EEPROM &lt;/a&gt;with the hex value '0x03'.&lt;br /&gt;&lt;br /&gt;To get to the EEPROM I added a 10 pins ISP header to the board to be able to connect it to my &lt;a href="http://www.ic-board.de/product_info.php?info=p62_ICprog-AVR2-0-KANDA.html"&gt;programmer&lt;/a&gt;. This gave me also the nice opportunity to read the fuse and lock bits to anticipate for any other surprises. Hmm, no surprises here (was I thinking too difficult again? Was I disappointed?), the fuse and lock bits were left alone and still had their default value. I also made a backup of the EEPROM and Flash memory to fix any possible screw-ups.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-PwE1lvA9UXQ/TiHxcPW3Q0I/AAAAAAAAAHE/zXRvxD74h68/s1600/P1080083.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-PwE1lvA9UXQ/TiHxcPW3Q0I/AAAAAAAAAHE/zXRvxD74h68/s320/P1080083.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I used Codevision to read the EEPROM and changed it as requested. Yeehaa, a new Morse sequence!&lt;br /&gt;&lt;br /&gt;"PROFICIAT MET JULLIE SKILZZ. CHECK HTTP://**.***.**.***/DEZONDEVOORBIJ/ OM DE VOLGENDE HINT TE VINDEN. MYMICROCONTROLLERCANBEATTHEHELLOUTOF..."&lt;br /&gt;&lt;br /&gt;(the '*' were actually filled in but are not really relevant here)&lt;br /&gt;&lt;br /&gt;After congratulating us with the achieved result so far we were presented a website for the next clue. Here the clue ended with a seemingly harmless reference to the &lt;a href="http://deddieslab.blogspot.com/2011/01/microcontroller-from-hell.html"&gt;coolest bumper sticker ever&lt;/a&gt; that hangs on the wall of Deddies Lab. Note taken!&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-IdCkkWwzKQ4/TiH7IJLT4LI/AAAAAAAAAHQ/H-cxJzukY4E/s1600/website.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="154" src="http://2.bp.blogspot.com/-IdCkkWwzKQ4/TiH7IJLT4LI/AAAAAAAAAHQ/H-cxJzukY4E/s320/website.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;So, a website. The tips&amp;amp;tricks section on the website gave us a link to the wikipedia site of morse code. We could have used that some time ago! Funny...&lt;br /&gt;&lt;br /&gt;We were told to make a picture of the mystery box with today's newspaper to prove that the cube was still intact. Okay, I maybe broke it a week ago... but it is fixed now. The picture below will lead us further on our quest as promised on the website.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-jTWCQJOHyic/TiH30O5rYTI/AAAAAAAAAHI/4TNBuT7IhG8/s1600/broken_cube.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-jTWCQJOHyic/TiH30O5rYTI/AAAAAAAAAHI/4TNBuT7IhG8/s320/broken_cube.jpg" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Z6rrfheikb0/TiH39iBqyWI/AAAAAAAAAHM/Z8yOzrmdi2A/s1600/P1080086.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-Z6rrfheikb0/TiH39iBqyWI/AAAAAAAAAHM/Z8yOzrmdi2A/s320/P1080086.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It is obviously that somebody is watching our moves. I suppose we have to be carefull with what we say the weeks to come. Hang on...&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;Mystery LED in a box: part 4&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html"&gt;Mystery LED in a box: part 5&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-3827086897889987358?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/3827086897889987358/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/3827086897889987358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/3827086897889987358'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html' title='Mystery LED in a box: part 3'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-PwE1lvA9UXQ/TiHxcPW3Q0I/AAAAAAAAAHE/zXRvxD74h68/s72-c/P1080083.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-4237531331825805929</id><published>2011-07-16T21:59:00.005+02:00</published><updated>2012-01-08T21:11:11.372+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='EEPROM'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><title type='text'>Mystery LED in a box: part 2</title><content type='html'>see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1&amp;nbsp;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nothing more sexy then a beautiful woman with a 360 degrees celcius piece of metal in her hands. And I recently married her too. Lucky me!&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-KIx8xWChDtE/TiHpjgK1WiI/AAAAAAAAAHA/pfWlR0TEvUQ/s1600/P1080069.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-KIx8xWChDtE/TiHpjgK1WiI/AAAAAAAAAHA/pfWlR0TEvUQ/s320/P1080069.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;In our continuing quest to find our &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;wedding present&lt;/a&gt; we (and with 'we' I mean Rianne) got the task to &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;add a pushbutton&lt;/a&gt; to the mystery box. This was easy, even for my soldering virgin.&lt;br /&gt;&lt;br /&gt;The pushbutton revealed a new sequence of Morse code. The Matlab script I wrote for the first clue proved itself robust enough to also give us the next clue:&lt;br /&gt;&lt;br /&gt;"ALLRIGHT. JULLIE DACHTEN TOCH NIET DAT DIT HET AL WAS HE? ZET HET EEPROM VOL MET 0X03 OM NAAR DE VOLGENDE RONDE TE GAAN. VIERENZESTIG"&lt;br /&gt;&lt;br /&gt;The next task is to fill the EEPROM of the Attiny with '0x03'. This would bring us to the next round. The sentence strangely ends with the number 64. I don't know if this means anything for now or later on but I will keep the number in mind.&lt;br /&gt;&lt;br /&gt;Stay tuned....&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;Mystery LED in a box: part 4&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html"&gt;Mystery LED in a box: part 5&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-4237531331825805929?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/4237531331825805929/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html#comment-form' title='1 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/4237531331825805929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/4237531331825805929'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html' title='Mystery LED in a box: part 2'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-KIx8xWChDtE/TiHpjgK1WiI/AAAAAAAAAHA/pfWlR0TEvUQ/s72-c/P1080069.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-2993705337696367659</id><published>2011-07-11T23:38:00.006+02:00</published><updated>2012-01-08T21:10:38.282+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='morse code'/><title type='text'>Mystery LED in a box: part 1</title><content type='html'>see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;Mystery LED in a box: part 0&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;So the puzzling started. After receiving the small transparent&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt; mystery box&lt;/a&gt; on our wedding party, already the next day I diligently started deciphering the led's ON/OFF sequence.&lt;br /&gt;&lt;br /&gt;As a leftover from a energy monitoring project (that I never finished) I still had a USB datalogger (build around the &lt;a href="http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_VDIP1.pdf"&gt;VDIP1 &lt;/a&gt;module) which can log 4 channels of analogue values as a 10 bits value with a maximal sample rate of about 4Hz. It is unfortunately not faster (the software contains some bugs that I still have to fix), but for the mystery led it seemed appropriate. I plugged in an optical sensor (type unknown) to log when and how long the led is ON and OFF. Not knowing how long a unique data sequence was, I logged the optical sensor for 30 minutes.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-mCS-pKA-1M4/ThtYomeMEkI/AAAAAAAAAGk/MSi9EPGxJ9M/s1600/foto_datalogger.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-mCS-pKA-1M4/ThtYomeMEkI/AAAAAAAAAGk/MSi9EPGxJ9M/s320/foto_datalogger.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/RDQJm9sdXMQ/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/RDQJm9sdXMQ?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/RDQJm9sdXMQ?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;With the analogue values of the optical sensor stored in a CSV file, I can write some signal processing scripts to analyse the data. In a spreadsheet program the data showed up nicely. A high analogue value (around 700) means the led is ON, the lower values indicate the led is turned OFF. The total sequence was around 7500 samples long. Not a very pleasant job to decipher that by just looking at the led. I definitely needed some software aids for this.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-m-bsh9JVEJY/ThtdZFvnBZI/AAAAAAAAAGs/ardo2DOOQsU/s1600/DATA7_fs150ms_200x.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="126" src="http://4.bp.blogspot.com/-m-bsh9JVEJY/ThtdZFvnBZI/AAAAAAAAAGs/ardo2DOOQsU/s400/DATA7_fs150ms_200x.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I have some experience with MATLAB, a widely used mathematical software environment. With MATLAB this shouldn't be difficult to decipher, I figured. A 'small' difficulty was that I had no clue what to look for. It can be a highly encrypted telephone number for which I needed a key, or a 800x600 black&amp;amp;white picture giving us a new clue or even a QR code leading us to a website. I stared at the data for a small week and played around with it viewing it from different angles. But nothing that looked useful.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-VO8ss4vVWUs/ThtiC6hQihI/AAAAAAAAAGw/Y1L0gzfxBeE/s1600/matlab_QR.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-VO8ss4vVWUs/ThtiC6hQihI/AAAAAAAAAGw/Y1L0gzfxBeE/s320/matlab_QR.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;To make sure I didn't miss any data, I watched the Attiny's led output on an oscilloscoop. Maybe a signal with a frequency higher then a visible sequence of 20Hz would show up. Some of my friends know their way pretty well in in the GHz working areas, so I was aware of some very high frequency clue. Luckily, the Attiny2313 has an internal clock of only 1MHz, and my 15MHz scoop showed no hidden suprise. The data that I had from the datalogger still looked as the only useful data.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-4lf4khqfzCU/ThtjVTaf1SI/AAAAAAAAAG0/A3xJaxK6DGA/s1600/foto_scoop.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-4lf4khqfzCU/ThtjVTaf1SI/AAAAAAAAAG0/A3xJaxK6DGA/s320/foto_scoop.jpg" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I definitely was thinking too difficult. It was time to get help from my wife (no offense, honey). Maybe she can look at it from a different (non-technical) perpective which I didn't see with my biassed technical view.&lt;br /&gt;Funny thing was that from the beginning I told everybody that a Morse-code would be out of the question, since this should be way to easy to solve for me and would be kind of an insult to me. I must say, I did look at this option, interpreting the '1' as a dash '-' and the '0' as a dot '.'. The spreadsheet sample from the picture above would then be deciphered as '----.-.-.-.'. But it didn't gave me information when a certain letter started or ended, so the data stream could mean a enormous amount of letter combinations. Very hard to go through all that options. I quickly put aside the Morse-code option.&lt;br /&gt;&lt;br /&gt;Eventually it was my brilliant wife that came up with the idea that not the '1''s are dashes and the '0''s are dots but that the lengths of the sequential '1''s were the way to go. So a long stream of '1''s means a dash and a short stream of '1''s means a dot. The length of the '0' streams would then indicate the ending and starting of letters and complete words. The beginning of the data is then deciphered as '-... . ... - .' which means 'BESTE', the dutch word for 'DEAR'.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-kTmT7_rXFtQ/ThtoCU5oqpI/AAAAAAAAAG4/ny8OJe6JgiI/s1600/matlab_data.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="54" src="http://3.bp.blogspot.com/-kTmT7_rXFtQ/ThtoCU5oqpI/AAAAAAAAAG4/ny8OJe6JgiI/s320/matlab_data.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Victory was ours! A few hours of additional MATLAB programming eventually gave us the information that we needed.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-YqEDv8NjsK8/ThtpFFncq-I/AAAAAAAAAG8/4BCT86a5kis/s1600/matlab_commandline.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://4.bp.blogspot.com/-YqEDv8NjsK8/ThtpFFncq-I/AAAAAAAAAG8/4BCT86a5kis/s400/matlab_commandline.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;"BESTE SANNE EN RIANNE, GEFELICITEERD MET JULLIE HUWELIJK. OM DE VOLGENDE AANWIJZING TE VERKRIJGEN MOET RIANNE EEN DRUKKNOP NAAR AARDE AAN PIN7 SOLDEREN."&lt;br /&gt;&lt;br /&gt;The text basically says that my wife Rianne needs to solder a push button between ground and PIN7 on the Atmel.&lt;br /&gt;&lt;br /&gt;That is our first clue, we are going to search for the next one! More to follow....&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;Mystery LED in a box: part 4&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html"&gt;Mystery LED in a box: part 5&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&amp;nbsp;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt; &lt;br /&gt;&lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-2993705337696367659?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/2993705337696367659/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/2993705337696367659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/2993705337696367659'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html' title='Mystery LED in a box: part 1'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-mCS-pKA-1M4/ThtYomeMEkI/AAAAAAAAAGk/MSi9EPGxJ9M/s72-c/foto_datalogger.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-1442128002905285409</id><published>2011-07-10T21:45:00.006+02:00</published><updated>2012-01-08T21:09:57.896+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='wedding gift'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='mystery led'/><category scheme='http://www.blogger.com/atom/ns#' term='Attiny2313'/><title type='text'>Mystery LED in a box: part 0</title><content type='html'>I could have expected it!&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Last year we build this &lt;a href="http://deddieslab.blogspot.com/2010/09/for-friends-wedding-we-had-to-find-way.html"&gt;huge wooden dice&lt;/a&gt; for a good friend's wedding stuffed with electronics to prevent the newlyweds from getting their hands on their present too quickly. Two weeks ago it was my turn to tie the knot and guess what: The same guys that stood by my side last year putting the dice together now stood right in front of me all together to give me and the misses an interesting transparant box with some electronic parts in it.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-lbs7_1YYjn4/Thn_VQg4xqI/AAAAAAAAAGY/eiakLUKLc7I/s1600/Collages.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-lbs7_1YYjn4/Thn_VQg4xqI/AAAAAAAAAGY/eiakLUKLc7I/s400/Collages.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Besides a lot of air the little box was filled with a 9V battery, some voltage regulation with an 7805, an ON/OFF switch, an Atmel's Attiny2313 and a single yellow 3mm led. Although the beers tasted good that evening it didn't take me too long to come up with the idea of flipping the switch. What could such a tiny Atmel do, not considering the fact that the battery could be half filled with explosives ending the party a bit sooner as expected? Luckily for us our friends indeed had only good intentions (so far), and the yellow led started blinking quite decently.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/TUtFdDAeb0w/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/TUtFdDAeb0w?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266"  src="http://www.youtube.com/v/TUtFdDAeb0w?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;That was it. No big speech afterwards, hints, tips or tricks. The music started playing again, everybody grabbed their beers and we stood their holding a little transparent box with a small blinking yellow led like it was our first born baby. Luckily at the end of the party we got a little hint. Despite the kind of nerdy content of the present we were told that Rianne (my wife) will play a big part in finding the solution...&lt;br /&gt;&lt;br /&gt;My (our) task is to figure out if this box leads us to any clues concerning our wedding gift. Supposing their is indeed a wedding gift besides this small box worth approximately 10 euros. &lt;br /&gt;&lt;br /&gt;More is following soon....&lt;br /&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-1.html"&gt;Mystery LED in a box: part 1&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-2.html"&gt;Mystery LED in a box: part 2&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-3.html"&gt;Mystery LED in a box: part 3&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/08/mystery-led-in-box-part-4.html"&gt;Mystery LED in a box: part 4&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/11/mystery-led-in-box-part-5.html"&gt;Mystery LED in a box: part 5&amp;nbsp;&lt;/a&gt;&lt;br /&gt;see also: &lt;a href="http://deddieslab.blogspot.com/2011/12/mystery-led-in-box-part-6.html" target="_blank"&gt;Mystery LED in a box: part 6&lt;/a&gt;&lt;br /&gt;see also:&amp;nbsp;&lt;a href="http://deddieslab.blogspot.com/2012/01/mystery-led-in-box-part-7.html" target="_blank"&gt;Mystery LED in a box: part 7&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-1442128002905285409?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/1442128002905285409/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html#comment-form' title='1 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1442128002905285409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1442128002905285409'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/07/mystery-led-in-box-part-0.html' title='Mystery LED in a box: part 0'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-lbs7_1YYjn4/Thn_VQg4xqI/AAAAAAAAAGY/eiakLUKLc7I/s72-c/Collages.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-4711213762472202671</id><published>2011-02-05T15:36:00.004+01:00</published><updated>2011-02-05T21:35:11.654+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='watering can'/><category scheme='http://www.blogger.com/atom/ns#' term='codevision'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmega8'/><title type='text'>Electronic watering can</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU1Om6liveI/AAAAAAAAAGE/3tOKGa54q_E/s1600/P1060450b_edit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU1Om6liveI/AAAAAAAAAGE/3tOKGa54q_E/s320/P1060450b_edit.jpg" width="238" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;To get the necesarry carbon dioxide to oxygen conversion  Deddies lab is accommodated with a young Ficus Lyrata. To not interrupt its attempt to become the biggest Ficus on earth it needs a weekly dosis of water. That combined with the lab's motto that everything deserves a microcontroller gave inspiration for a little project on a rainy sunday: An automated electronic watering can!&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;No, it is not an R2D2 alike robot holding a watering can. Basically it is a 10 liter reservoir filled with water and a little pump that waters the plant once a week.&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/x0YKamxX-mE/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/x0YKamxX-mE?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/x0YKamxX-mE?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&amp;nbsp;To count the days and make the device extremely low on power consumption it uses a simple (mechanical) wall outlet timer that turns on the electronics once a day for only 15 minutes.* In this 15 minutes the day counter is incremented and on the 7th day the pump starts pumping up the water. That is unless their is enough water in the tank (guarded by mr. Duck) and some other preconditions have been met. If mr. Duck notices the water level is getting low, he pulls the rope indicating that no pumping is allowed anymore unless the tank is filled again.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;i&gt;* I could have used a more modern timer that will only turn on the watering can once a week. But as it was still a sunday I made it a kind of scrapheap challenge and used parts I had lying around instead of buying a new timer the next day.&lt;/i&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU1JZ338E9I/AAAAAAAAAF0/6xnyq1LNgDs/s1600/collage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU1JZ338E9I/AAAAAAAAAF0/6xnyq1LNgDs/s320/collage.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;An Atmega8 is used running on its own internal 1 MHz clock. A pushbutton is available to set the day that is most convenient for watering. Besides the timer mode their is also the possibility to give the plant an extra shot of water with the single shot pushbutton. This button is also useful when adjusting the voltage regulator that determines how long the pumps needs to be turned on. The single shot mode can test the amount of water that is pumped up. With the Aux In feature a external trigger signal can start the pump. That is unless the Timer Mode is disabled with the jumper. There is also an additional Aux Out that turns high when the pump is activated.&amp;nbsp; &lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Especially the Aux In and Out features can become useful when this watering can is part of a larger home automated system. Maybe we get plenty of 'rainy sunday afternoons' for Deddies lab to roll out this home automation plan.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;When the hole thing was put together and ran the first tests I realized that an important feature was missing. Although mr. Duck indicates the water level is getting low and pumping is not allowed anymore there is still no (auditive/visual) signal to the outside world that the tank needs refilling. So, mr. Duck guards the pump but not the plant. So an addition to the electronics will be needed to fix this.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU2qWG9dM0I/AAAAAAAAAGI/E0gOBoDyPBo/s1600/P1060455_edit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="199" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU2qWG9dM0I/AAAAAAAAAGI/E0gOBoDyPBo/s320/P1060455_edit.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU2xdJNBGCI/AAAAAAAAAGM/RcH4iD124U8/s1600/P1060516.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="181" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TU2xdJNBGCI/AAAAAAAAAGM/RcH4iD124U8/s320/P1060516.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;My Ficus Lyrata needs approximately half a liter per week. With a water reservoir that can contain 10 liters and has a minimum water level of 2 I have to fill the tank every 4 months. Not bad with the water tap at the other side of the house.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Schematics can be found below and C source code for Codevision AVR can also be &lt;a href="http://yourplaceor.mine.nu/files/ewc01.c"&gt;downloaded&lt;/a&gt;.&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_yKQgaS-kbC8/TU1JbV78KHI/AAAAAAAAAF4/4jprBzY9DGY/s1600/P1060262b_edit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="288" src="http://4.bp.blogspot.com/_yKQgaS-kbC8/TU1JbV78KHI/AAAAAAAAAF4/4jprBzY9DGY/s320/P1060262b_edit.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TU1J4upbgLI/AAAAAAAAAGA/yGsezuDN8qA/s1600/electric_watering_can_schematic.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="209" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TU1J4upbgLI/AAAAAAAAAGA/yGsezuDN8qA/s320/electric_watering_can_schematic.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-4711213762472202671?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/4711213762472202671/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/02/electronic-watering-can.html#comment-form' title='3 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/4711213762472202671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/4711213762472202671'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/02/electronic-watering-can.html' title='Electronic watering can'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yKQgaS-kbC8/TU1Om6liveI/AAAAAAAAAGE/3tOKGa54q_E/s72-c/P1060450b_edit.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-1048148172314114673</id><published>2011-01-19T22:23:00.000+01:00</published><updated>2011-01-19T22:23:23.577+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='hell'/><title type='text'>Microcontroller from hell</title><content type='html'>&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Isn't this the coolest bumper sticker ever? Okay, that is just a matter of opinion, but I think it is pretty awesome... And it is actually not on my bumper, but a wall decoration of Deddies lab for some time&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TTdUtwlMwfI/AAAAAAAAAFs/NaNu4mgPYzo/s1600/P1060362_edit.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TTdUtwlMwfI/AAAAAAAAAFs/NaNu4mgPYzo/s320/P1060362_edit.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-1048148172314114673?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/1048148172314114673/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/01/microcontroller-from-hell.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1048148172314114673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1048148172314114673'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/01/microcontroller-from-hell.html' title='Microcontroller from hell'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yKQgaS-kbC8/TTdUtwlMwfI/AAAAAAAAAFs/NaNu4mgPYzo/s72-c/P1060362_edit.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-375256119611349307</id><published>2011-01-17T22:15:00.001+01:00</published><updated>2011-01-17T22:18:14.041+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='IRF9530'/><category scheme='http://www.blogger.com/atom/ns#' term='powerdown'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmega328'/><category scheme='http://www.blogger.com/atom/ns#' term='IRF540'/><category scheme='http://www.blogger.com/atom/ns#' term='FET'/><title type='text'>Auto powerdown</title><content type='html'>&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;A little detail from the &lt;a href="http://deddieslab.blogspot.com/2011/01/secret-dicey.html"&gt;Secret d'Icey&lt;/a&gt; project: I am actually not very familiar with Atmel's own power saving capabilities, so I made a little circuit with FET's. I set it up so that the Atmega328 cuts off its own power when there is no activity for 30 seconds.&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_yKQgaS-kbC8/TTSooiBkrHI/AAAAAAAAAFo/zMUqovWmpoc/s1600/schematic_auto_powerdown.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="290" src="http://1.bp.blogspot.com/_yKQgaS-kbC8/TTSooiBkrHI/AAAAAAAAAFo/zMUqovWmpoc/s320/schematic_auto_powerdown.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;Default the gate of the P-FET (IRF9530) is pulled up to V+, which is connected to the batteries. This turns off the P-FET and Vs stays 0V. The pulse switch S2 connects the gate to ground and lets the P-FET conduct so Vs become equal to V+. This will power up the circuit that also contains the Atmega328. When the Atmega is turned on the output B2 (pin 5) turns high. This makes also the N-FET IRF540 conduct and makes sure the gate of the P-FET keeps grounded. This takes over the role of the pulse switch.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;When there is no change in the dice state for 30 seconds the output B2 becomes low, which turns off the N-FET and the gate of the P-FET is again pulled up high to V+. Now the circuit (Vs) is cut off from the batteries.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;i&gt;(The IRF540 and IRF9530 are maybe a bit overkill (with a maximum drain current of 22 respectively 12A) but these I had lying around.)&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif; text-align: justify;"&gt;&lt;br /&gt;I tend to learn how to use Atmel's power saving functions in the near future, but until then this hardware solution will serve its purpose nicely and maybe it can be useful for other applications.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-375256119611349307?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/375256119611349307/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/01/auto-powerdown.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/375256119611349307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/375256119611349307'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/01/auto-powerdown.html' title='Auto powerdown'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yKQgaS-kbC8/TTSooiBkrHI/AAAAAAAAAFo/zMUqovWmpoc/s72-c/schematic_auto_powerdown.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-7460836872183382768</id><published>2010-12-01T21:00:00.008+01:00</published><updated>2011-01-16T23:27:16.446+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Secret'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='Geheime'/><category scheme='http://www.blogger.com/atom/ns#' term='codevision'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmega328'/><category scheme='http://www.blogger.com/atom/ns#' term='Pololu'/><category scheme='http://www.blogger.com/atom/ns#' term='Dobbelsteen'/><category scheme='http://www.blogger.com/atom/ns#' term='accelerometer'/><category scheme='http://www.blogger.com/atom/ns#' term='winavr'/><category scheme='http://www.blogger.com/atom/ns#' term='d&apos;Icey'/><title type='text'>Secret d'Icey</title><content type='html'>&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;After building the &lt;a href="http://deddieslab.blogspot.com/2010/09/for-friends-wedding-we-had-to-find-way.html"&gt;first version&lt;/a&gt; of the secret dice in Deddies lab,        it was time for an upgrade; Secret d'Icey!&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Secret d'Icey has the same functionality as its bigger brother, but has some interesting upgrades:        It is smaller, lighter, and has a nice chrome 'Icey' look (some coasters from the Ikea do the trick here)*. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9RX7Bn3wI/AAAAAAAAAE8/VoC9qYMvy7w/s1600/P1060233.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9RX7Bn3wI/AAAAAAAAAE8/VoC9qYMvy7w/s400/P1060233.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp; &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The batteries are easy accesible without       giving access to the secret stuff inside. So no auxillary power connection needed to be included here in        case the batteries run flat. A three dimensional accelerometer instead of a homemade tilt sensor is used.        Another new nice feature is the automated power off function. When the dice is not used (change of dice state)        for 30 seconds the power is shut off automatically. The same webshop that provided the accelerometer also        had in store a tiny (robot) controller with an Atmega328 on board. This little device is originally designed        to control a small robot, but was also very suited for the Secret d'Icey. The dual H-bridge seems overkill,        but the single transistors in the H-bridge proved to be very useful.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp; &lt;/div&gt;&lt;br /&gt;&lt;div align="center" class="contentarea"&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;  &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.pololu.com/catalog/product/766"&gt;&lt;img border="0" height="170" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9Td6eA9DI/AAAAAAAAAFE/UIqSFY0hSlc/s200/0J675.600.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.pololu.com/catalog/product/1051"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS9TeEllcxI/AAAAAAAAAFI/0ssIF50xO4M/s200/0J2239.600.jpg" width="158" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.pololu.com/catalog/product/1220"&gt;&lt;img border="0" height="158" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS9TdenlqQI/AAAAAAAAAFA/KjDunVPyQeI/s200/0J661.600.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;i&gt;* Okay, at the moment this secret dice doesn't serve a higher  purpose and is probably destined to stay a        piece in the Deddies Lab hall of fame, so I may as well tell you  the secret code: 6, 5, 4, 3, 2...... the last number is up to you.&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;i&gt; &lt;/i&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9UbsZ7ehI/AAAAAAAAAFM/m3QhmmyrNJw/s1600/P1050634.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9UbsZ7ehI/AAAAAAAAAFM/m3QhmmyrNJw/s200/P1050634.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS9UdF5ZN0I/AAAAAAAAAFQ/4JNpm8lzcho/s1600/P1060234.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS9UdF5ZN0I/AAAAAAAAAFQ/4JNpm8lzcho/s200/P1060234.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_yKQgaS-kbC8/TS9Ue-yOHhI/AAAAAAAAAFU/7xRQe_Q-nqw/s1600/P1060242.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/_yKQgaS-kbC8/TS9Ue-yOHhI/AAAAAAAAAFU/7xRQe_Q-nqw/s200/P1060242.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS9Ugcve5cI/AAAAAAAAAFY/Gs4XwWgbFDY/s1600/P1060246.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS9Ugcve5cI/AAAAAAAAAFY/Gs4XwWgbFDY/s200/P1060246.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_yKQgaS-kbC8/TTDE8MCcSwI/AAAAAAAAAFg/5tT3EiQPe4w/s1600/secret_dicey_schematic.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="290" src="http://1.bp.blogspot.com/_yKQgaS-kbC8/TTDE8MCcSwI/AAAAAAAAAFg/5tT3EiQPe4w/s400/secret_dicey_schematic.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Source:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;- &lt;a href="http://yourplaceor.mine.nu/files/secret_dicey012a.c"&gt;secret_dicey012a.c&lt;/a&gt; (winavr)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;- &lt;a href="http://yourplaceor.mine.nu/files/codevision-dice.c"&gt;codevision-dice.c&lt;/a&gt; (codevision, included in secret_dicey012a.c) &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-7460836872183382768?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/7460836872183382768/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2011/01/secret-dicey.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/7460836872183382768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/7460836872183382768'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2011/01/secret-dicey.html' title='Secret d&apos;Icey'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9RX7Bn3wI/AAAAAAAAAE8/VoC9qYMvy7w/s72-c/P1060233.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9130726849248851041.post-1248891970714856075</id><published>2010-09-30T21:00:00.005+02:00</published><updated>2011-01-15T21:37:10.817+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Secret'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='Geheime'/><category scheme='http://www.blogger.com/atom/ns#' term='codevision'/><category scheme='http://www.blogger.com/atom/ns#' term='Dice'/><category scheme='http://www.blogger.com/atom/ns#' term='Atmega88'/><category scheme='http://www.blogger.com/atom/ns#' term='Dobbelsteen'/><title type='text'>Huge Secret Dice</title><content type='html'>For a friend's wedding we had to find a way to wrap a gift we were going to give to the happy couple. With inpiration from &lt;a href="http://www.youtube.com/user/PICing4fun"&gt;PICing4fun's&lt;/a&gt;  microcontroller based secret box we decided to construct our own secret  dice. As for the size, bigger was better, this gave us enough space to  fit all the parts. Eventually a 20x20x20 cm impressive dice was handed  over at the wedding accompanied by a handful of more or less meaningful  hints that would reveal a secret code. We also did the kind request not  to butcher the dice with a flame thrower or crowbar and suggested to  figure out the clues during their upcoming honeymoon.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS4mmG2HKII/AAAAAAAAAC0/neVUg6-7020/s1600/DSC00574.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS4mmG2HKII/AAAAAAAAAC0/neVUg6-7020/s400/DSC00574.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The basic idea is to turn the dice according  the code. When the dice is turned exactly according the  code with the right number on the dice facing up, the lit will be  unlocked and reveal the goodies that are put inside. The  lit is locked by a simple hobby servo, a clever constructed mechanical  tilt sensor checks for the right state the dice is in and an always  popular Atmega88 does the thinking.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i.ytimg.com/vi/b2EJdIQr198/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/b2EJdIQr198?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/b2EJdIQr198?f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4uiNBMTpI/AAAAAAAAADw/WLCkofmCj10/s1600/gyro+v2.0.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4uiNBMTpI/AAAAAAAAADw/WLCkofmCj10/s200/gyro+v2.0.JPG" width="200" /&gt;&lt;span id="goog_1518139830"&gt;&lt;/span&gt;&lt;span id="goog_1518139831"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS4ulMHHHFI/AAAAAAAAAD0/kdj_7oaxaK0/s1600/P1040625.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS4ulMHHHFI/AAAAAAAAAD0/kdj_7oaxaK0/s200/P1040625.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;tr&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS4ump8uClI/AAAAAAAAAD4/O_2hDGmXEcM/s1600/P1040630.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS4ump8uClI/AAAAAAAAAD4/O_2hDGmXEcM/s200/P1040630.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS4t3fO9vPI/AAAAAAAAADs/GtEAfCdYUmc/s1600/P1040628.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/_yKQgaS-kbC8/TS4t3fO9vPI/AAAAAAAAADs/GtEAfCdYUmc/s200/P1040628.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=9130726849248851041&amp;amp;postID=1248891970714856075"&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9J1ZL1QfI/AAAAAAAAAE4/Ionp3_K0kd8/s1600/secret_dice_schematic.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="290" src="http://3.bp.blogspot.com/_yKQgaS-kbC8/TS9J1ZL1QfI/AAAAAAAAAE4/Ionp3_K0kd8/s400/secret_dice_schematic.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Source:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;- &lt;a href="http://yourplaceor.mine.nu/files/trueboard_secretdice2.c"&gt;trueboard_secretdice2.c&lt;/a&gt; (codevision)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;- &lt;a href="http://yourplaceor.mine.nu/files/codevision-dice.c"&gt;codevision-dice.c&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; (codevision, included in trueboard_secretdice2.c)&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9130726849248851041-1248891970714856075?l=deddieslab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deddieslab.blogspot.com/feeds/1248891970714856075/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://deddieslab.blogspot.com/2010/09/for-friends-wedding-we-had-to-find-way.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1248891970714856075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9130726849248851041/posts/default/1248891970714856075'/><link rel='alternate' type='text/html' href='http://deddieslab.blogspot.com/2010/09/for-friends-wedding-we-had-to-find-way.html' title='Huge Secret Dice'/><author><name>Deddies Lab</name><uri>http://www.blogger.com/profile/16480149250377086609</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_yKQgaS-kbC8/TS4ihOaTalI/AAAAAAAAABs/7cTosoqHUrY/S220/P1060194_25.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yKQgaS-kbC8/TS4mmG2HKII/AAAAAAAAAC0/neVUg6-7020/s72-c/DSC00574.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
