<?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-21529086</id><updated>2011-04-21T19:46:52.173-07:00</updated><title type='text'>Dave's Tangible User Interfaces Blog (make sure to refresh your browser to see changes)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tangibledave.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tangibledave.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tangibledave</name><uri>http://www.blogger.com/profile/02012391397972211192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.geocities.com/daveman_3/DavidWerth.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21529086.post-114688964768163437</id><published>2006-05-05T21:26:00.000-07:00</published><updated>2006-05-05T21:28:50.406-07:00</updated><title type='text'>About The Smartshelf</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What we designed:&lt;/span&gt;&lt;br /&gt;We created a system to help people with weightloss. It provides haptic feedback to inform dietary decisions. Our implementation included 3 containers in which food with a RFID tag on it could be placed. The system would diagnose which food was in which container and then provide power to an electromagnet within the container. The end result is that bad food is harder to take out of the fridge and good food is easy.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Prototype Components:&lt;/span&gt;&lt;br /&gt;We used a java program we wrote, a RFID reader, 3 electromagnets, a handyboard microcontroller, 3 relays, and an external battery. Here is a picture of how it worked.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5515/2178/1600/smartshelf%20diagram.1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 427px; height: 276px;" src="http://photos1.blogger.com/blogger/5515/2178/320/smartshelf%20diagram.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21529086-114688964768163437?l=tangibledave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tangibledave.blogspot.com/feeds/114688964768163437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21529086&amp;postID=114688964768163437' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114688964768163437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114688964768163437'/><link rel='alternate' type='text/html' href='http://tangibledave.blogspot.com/2006/05/about-smartshelf_05.html' title='About The Smartshelf'/><author><name>tangibledave</name><uri>http://www.blogger.com/profile/02012391397972211192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.geocities.com/daveman_3/DavidWerth.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21529086.post-114522179343873600</id><published>2006-04-16T13:26:00.000-07:00</published><updated>2006-05-05T20:54:00.603-07:00</updated><title type='text'>The SmartShelf Implementation Process</title><content type='html'>Using the handyboard with electromagnets has been very frustrating. Here is the story of our implementation process.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;About the Magnets:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5515/2178/1600/magnet.1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5515/2178/320/magnet.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;First we tried to make our own electromagnets by wrapping wire around an iron core and sending electricity through it, but it wasn't terribly effective. We then purchased electromagnets (picture on left), they are stronger than anything we could make but a similarly simple design. They draw as much power as you will give them. They accept a variety of voltages and currents. More current leads to more pull. High or low voltages cause the magnet to vibrate. Initial experiments revealed that though the U shape enhanced the pull of the magnets, we could get enough pull from just one magnet so we took them to the Mechanical engineering dept. and they were kind enough to cut them for us.&lt;br /&gt;&lt;br /&gt;The apparant problem with hooking several magnets into the handyboard motor ports directly is that the handyboard bugs out when too much power is being drawn from it. It exhibits this behavior by channeling all the power into just one of the motor ports. When it does this everything stops working and you cannot stop it.  The only way to break it out of this weird behavior is to unplug the one motor now getting all the power.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solving the power issue with the Handyboard:&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5515/2178/1600/relay.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5515/2178/320/relay.jpg" alt="" border="0" /&gt;&lt;/a&gt;Our solution was to use an external power supply. And use the microcontroller to control a relay(pictured left) which decides when the magnets get power. Normally a relay works by simply making or breaking a circuit, an on/off relationship. We wanted more of a range of powers so that we could create many different magnet strengths, and we didn't want to have to use more than one relay per magnet because there are limited ports on the handyboard.  We were very surprised to discover that we could get the relay to provide varying strengths of current when we used a relay rated for very low voltage. I have developed a theory why this works. Inside the relay is an electromagnet (oh the irony) and thats what it uses to flip the switch. We learned when experimenting with our own electromagnets that they vibrate at low high voltages. I think we produced a similar effect on the relay's electromagnet causing it to vibrate very quickly, and move the switch very fast between on and off. This vibration was made evident by the buzzing sound that came from our relays. For a more complete explanation of how relays work, visit &lt;a href="http://www.bcae1.com/relays.htm"&gt;http://www.bcae1.com/relays.htm&lt;/a&gt; but this site doesn't explain the variable strenght property we discovered.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Interfacing the handyboard with the info from the RFID reader:&lt;/span&gt;&lt;br /&gt;The next problem we encountered was getting the handyboard to communicate with the RFID reader. We thought initially that we could use the Java Code that Orit had posted online, however that only reads information from the handyboard and we needed to use the RFID information to send signals to the handyboard. Because there was a time constraint we decided to use the ability of Java to generate its own mouse and keyboard directions. We used this feature to run interactive C (the language that interfaces with the handyboard) in interactive mode so we could  update the power coming from the motor ports dynamically. So essentially our code clicks up on the screen and types the appropriate commands into interactive C. &lt;span style="font-weight: bold; font-style: italic;"&gt;If you try to run our code beware that interactive C must be open, working, and perfectly positioned.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21529086-114522179343873600?l=tangibledave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tangibledave.blogspot.com/feeds/114522179343873600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21529086&amp;postID=114522179343873600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114522179343873600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114522179343873600'/><link rel='alternate' type='text/html' href='http://tangibledave.blogspot.com/2006/04/smartshelf-implementation-process.html' title='The SmartShelf Implementation Process'/><author><name>tangibledave</name><uri>http://www.blogger.com/profile/02012391397972211192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.geocities.com/daveman_3/DavidWerth.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21529086.post-114064349175404144</id><published>2006-02-22T12:33:00.000-08:00</published><updated>2006-05-07T17:32:54.476-07:00</updated><title type='text'>Sensing Technology - The handy cricket</title><content type='html'>I must say that I am pretty impressed with how easy the handy cricket is to use. Our goal for the project was to get a variety of components to work with the cricket and make something fun to demonstrate what we learned. Since one of the crickets already had a pressure sensor, a light and a motor attached, we decided to use those. Here's a pic of these components and a few xtra:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5515/2178/1600/cricket.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 473px; height: 354px;" src="http://photos1.blogger.com/blogger/5515/2178/320/cricket.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It turned out to be very easy to code. The logo programming language is very simple to use.  It can be downloaded along with  examples  and instructions at  &lt;a href="http://handyboard.com/cricket/"&gt;http://handyboard.com/cricket&lt;/a&gt;/. To turn a the light on, you just say the name of the sensor port it is attached to and how long you want it on. It was a bit tricky figuring out how to use the pressure sensor because we knew that it sent a value between 0-255 but we didn't know what different numbers corresponded to in real life.  We basically figured it out by trial and error that the 255 means no pressure and that any amount under 20 requires serious finger strength. We also discovered that it is possible to produce intervals of about 30. For instance if you are getting 100 its not too tough to figure how to get it to register 70, but getting it to register 90 from 100 is pretty tough. We made a game that mimics the strength tests at amusement parks were people have to hit hard enough with the mallet to ring a bell.  Except for our game, the winner hears la cucaracha and the light and motor are intermediate prizes.&lt;br /&gt;&lt;br /&gt;Inputting la cucaracha from scratch would have been unbelievably tedious. I found a website that listed notes and time increments for many popular songs so that people can program them to be their phone ring tones. We then used find and replace in a text editor to convert it to the appropriate syntax for logo, then copied it in.&lt;br /&gt;&lt;br /&gt;We made the motor one of our intermediate prizes. It is a bit difficult to attach things of interest to it because it is pretty frictionless. For instance we found that it clay wasn't effective because it would just burrow a hole in it. We ended up duct-taping a cardboard propeller to it.&lt;br /&gt;&lt;br /&gt;One time we had trouble getting the cricket to work and it was because the battery had died for the transmitter. Be sure to check that the batteries are still good if you are having issues.&lt;br /&gt;&lt;br /&gt;Here is a picture of the final product (I stole the pic from Audrey's blog):&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5515/2178/1600/test%20your%20strenght%20handy%20cricket.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/blogger/5515/2178/320/test%20your%20strenght%20handy%20cricket.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21529086-114064349175404144?l=tangibledave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tangibledave.blogspot.com/feeds/114064349175404144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21529086&amp;postID=114064349175404144' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114064349175404144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/114064349175404144'/><link rel='alternate' type='text/html' href='http://tangibledave.blogspot.com/2006/02/sensing-technology-handy-cricket.html' title='Sensing Technology - The handy cricket'/><author><name>tangibledave</name><uri>http://www.blogger.com/profile/02012391397972211192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.geocities.com/daveman_3/DavidWerth.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21529086.post-113825741958388836</id><published>2006-01-25T22:34:00.000-08:00</published><updated>2006-01-25T22:36:59.590-08:00</updated><title type='text'>First Entry (worthless)</title><content type='html'>Beleive it or not, I have never had a blog before. No livejournal or anything like that.  So here's to new beginnings!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21529086-113825741958388836?l=tangibledave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tangibledave.blogspot.com/feeds/113825741958388836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21529086&amp;postID=113825741958388836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/113825741958388836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21529086/posts/default/113825741958388836'/><link rel='alternate' type='text/html' href='http://tangibledave.blogspot.com/2006/01/first-entry-worthless.html' title='First Entry (worthless)'/><author><name>tangibledave</name><uri>http://www.blogger.com/profile/02012391397972211192</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.geocities.com/daveman_3/DavidWerth.jpg'/></author><thr:total>0</thr:total></entry></feed>
