tag:blogger.com,1999:blog-40625336583736910162024-03-13T01:23:43.642-05:00The Green JournalA smart home is an efficient home!Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.comBlogger63125tag:blogger.com,1999:blog-4062533658373691016.post-28603151677983081882015-07-11T04:28:00.001-05:002015-07-11T04:37:42.982-05:00Bug Out Bag/ Emergency Car Kit<span style="font-family: Verdana, sans-serif;">So I know its been a long time since I've posted here, and it's mostly cause Ive lost interest in my Smart Home project. Between work and life, there's no time to spend on it, and what's more is that it's no longer a new type of technology. Lots of companies have similar products and my Smart Home project is no longer a viable option.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">So Ive decided to move on to bigger and better things. This blog is still about Green Living, which includes safe, proactive and environmentally friendly topics. One of those topics that recently was brought to my attention is having an emergency Bug Out Bag (BoB) to have with you at home in case of an Emergency where you need to leave your home immediately (i.e. a fire or natural disaster). This is different from an Emergency Car Kit (ECK), which would have tools and supplies in case your car breaks down on the side of the road or you get stranded somewhere remote. This is my new project; In the next few months I'm planning to build up my BoB and ECK kits and I'll be sharing what sorts of items I'm going to have in them. </span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-21996486328452426362014-07-07T21:37:00.000-05:002014-07-24T03:21:27.096-05:00Kitty AcquiredI know its been a long while since I last posted and I do apologize for that. Between work and getting a new kitty, this project has ground to a halt. I just have no time to spend on this 'Smart Home' project anymore. But I decided this blog will be all inclusive about technology, my project (whenever I can) and all other matters of my life that I see necessary to talk about. One such case is the new cat.<br />
<br />
My Orange Tabby came to me mid-march, when the temperatures were way too cool for a kitty to be wondering outside in. She was homeless - a stray, wondering endlessly looking for a new home. She happened to be out when we'd had a bitter cold front, with temps dropping into the single digits. Meowing endlessly, she went door to door begging to be let in, when she finally came in front of my door. To her amazement, I actually opened up. She came running inside, investigated the whole apartment, and then looked at me for food. I, being a single guy, had no idea what kitties eat, let alone had any cat food to begin with. I gave her the next best thing: canned tuna with dill and olive oil. From the looks of it, she didnt care: she was famished. Now, visualize if you will, this is a full human-sized can of tuna. One can usually fill and satisfy most folks. She was so hungry, she not only ate one of them, she ate two! Plus she downed about a bottle of water to boot! I was so happy that I fed her, because from the looks of it, she was seriously underweight, with ribs easily showing through her fur. After the initial feeding, she was grateful for the meal, and started rubbing against me and purring. It didnt take long for her to want to go back out, which I complied. Not even 30 seconds spent outside in the freezing temperatures, and she ran right back indoors. Now I had me a kitty.<br />
<br />
First thing was first: I had to bathe her to get the grime and dirt off of her coat. No way I was letting her sleep in my apartment or my bed for that matter, while she was dirty. Note: had I known the possible side effects to bathing cats, I would have never attempted this. I knew they didnt like water, and that she would most likely attempt to flee the bath, so I went in and completely forgot all the supplies I needed. I took her in the bathroom and shut the door behind me. First thing I did was try to calm her, which didnt really get me anywhere. She was anxious for being in a new location, and taking her with me into a smaller room seemed to aggravate that. For the moment though, she wasnt meowing, howling or angry, so I went for it. I turned the water on, attempted to set the temperature to something comfortable for me, and dunked her right in. Knowing now what I should have known then, dunking her was very silly of me for many reasons.<br />
<br />
One, she could have freaked out and attacked me for doing that - thankfully, she did not. Two, she could have jumped out and made a complete mess of me and my bathroom - which this is exactly what she did. And Three, she could have caught a cold for having her fur whetted suddenly and without notice. Normally, it is recommended that if you wish to bathe your kitty, you need to prepare a small tub with some toys and slowly introduce him/her into it to try to "enjoy" the bath. Also, I used Head-And-Shoulders, since thats the only soap I had available. Apparently, theres some special kitty-safe bathing soap, I wasnt aware about. In any case, my soap did its job, because when I finally washed her off, the whole bottom of the bath tub was covered in soil/sand. Since I didnt have the forsight to get a towel for her, I had to use my bath towel to dry her off. Let me tell you, while bathing is one of the hardest things to do, drying off a wet cat is just as hard, if not harder. She doesnt want to sit still, shes soaking wet, plus by now you're probably soaking wet too, and all the while, shes getting cold. You have to work quickly, otherwise she will catch a cold, which involves taking her to a vet and getting some medication to help her out with that. Its a lengthy, painful process you dont want to undertake. So some speed in drying your kitty is required.<br />
<br />
When I finally dried her off, her fur was matted down, and she began the long process of cleaning her own fur to fluff it back up. By this point, it was late into the night, and I was getting tired. I felt I owed her to care for her at least temporarily, so I brought her to my bed, and allowed her to bunk with me for the night. I was surprised just how accepting she was of the gesture. Just as I was starting to nod off, I noticed she had stopped licking herself and had dropped off as well. It made me smile, knowing I had not only rescued a kitty, but cared for her and helped her get clean as well.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://scontent-a-dfw.xx.fbcdn.net/hphotos-xpa1/t1.0-9/10488002_10152237560297499_3059729733442674332_n.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://scontent-a-dfw.xx.fbcdn.net/hphotos-xpa1/t1.0-9/10488002_10152237560297499_3059729733442674332_n.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Okay, since this story is really long, I'll save the second half for later. Thanks for reading!Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-67690628900060777992013-09-04T20:32:00.001-05:002013-09-04T20:32:12.035-05:00Copyright Update!<span style="font-family: Verdana, sans-serif;">Well after some thought, and a few cease-and-desist letters, I had decided to formally submit an application for a copyright registration of my thesis paper. This was back in March - its now September, and my registration has been approved! So now, only I am allowed to say if and when people can use from my thesis document any material posted in it, that includes drawings and schematics. All of it is copyrighted. :)</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">OK, now that I got that off my chest, onwards to the Smart Home project...</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Alas, I havent made much progress with this since I started my new job. Work projects take priority after all, and I just dont seem to have it in me to work on this when I get back home on the weekdays. I dont even have my lab bench setup at my place, so I cant really begin to think about smd soldering or what not. However, Im still open to suggestions and input for ways to improve the project.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Thanks for reading. Peace!</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-68125137035676762512013-07-04T10:22:00.003-05:002013-07-14T13:18:34.772-05:00Regular Fixes to Linux<h4>
</h4>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">If you're like me, and you rarely use Linux, you tend to forget your password as well as other little windows interface fixes that are required quite often.</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">I hope this blog post is as useful to others as it has been to me. The following instructions are a combination of <a href="http://linuxtipstricks.wordpress.com/2009/07/04/ho-to-reset-ubuntu-password-kubuntu-xubuntu-gos-mint-and-other-ubuntu-based-oss/">Linux Tips and Tricks</a> and <a href="http://askubuntu.com/a/92620">Brandon's Solution</a>:</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<h1>
<span style="font-family: Verdana, sans-serif;">Linux Passwords</span></h1>
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Lost Password? Dont Fret! Check This Out:</span><br />
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Switch on your computer, and as soon as you can, strike the Esc key on your keyboard to display GRUB menu (assuming it doesnt already take you to this menu on boot-up);</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Highlight and select the recovery mode;</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Your distro will boot into a recovery shell; </span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Select the command prompt as root, then type:</span></div>
<div style="background-color: white;">
<br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">user@pc:~$ passwd user</pre>
<br />
<span style="font-family: Verdana, sans-serif;"><span style="line-height: 21.109375px;">Where the user is your username; C</span><span style="line-height: 21.109375px;">hoose, enter and confirm a new password when prompted.</span></span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">If this doesnt work, I have a solution. Its not because you typed it in wrong. Its because the File System is mounted in Read Only mode which prevents resetting the password.</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">You'll have to change it over to be Read/Write Mode. Heres how to do that:</span></div>
<div style="background-color: white;">
<br /></div>
<div style="background-color: white; border: 0px; clear: both; color: #333333; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;">
<span style="font-family: Verdana, sans-serif;">Choosing the option to remount <code style="background-color: #eeeeee; border: 0px; color: #222222; margin: 0px; padding: 1px 5px; vertical-align: baseline;">/</code> as <code style="background-color: #eeeeee; border: 0px; color: #222222; margin: 0px; padding: 1px 5px; vertical-align: baseline;">read/write</code> and <span style="background-color: transparent;">going back into the root shell prompt enables the password change.</span></span></div>
<div style="background-color: white; border: 0px; clear: both; color: #333333; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;">
<span style="font-family: Verdana, sans-serif;">The command to run prior to changing the password is:</span></div>
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">user@pc:~$ mount -rw -o remount /</pre>
<br />
<span style="font-family: Verdana, sans-serif;">Try again with the password change:</span><br />
<br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">user@pc:~$ passwd user</pre>
<br />
<span style="font-family: Verdana, sans-serif;"><span style="line-height: 21.109375px;">Where the user is your username; C</span><span style="line-height: 21.109375px;">hoose, enter and confirm a new password when prompted.</span></span><br />
<br />
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Restart your machine:</span></div>
<div style="background-color: white;">
<span style="font-family: Verdana, Tahoma, Arial, sans-serif; font-size: x-small;"><span style="line-height: 21.109375px;"><br />
</span></span></div>
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">user@pc:~$ reboot</pre>
<br />
<span style="background-color: white; font-family: Verdana, sans-serif; line-height: 21.109375px;">and take a deep breath.</span><br />
<div style="background-color: white;">
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span></div>
<div style="background-color: white;">
<h1>
<span style="font-family: Verdana, sans-serif;">XFace GUI</span></h1>
</div>
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Next I have an issue with my XFace GUI where my Maximize, Minimize and Close buttons all disappear and the window title bar is missing. Its very annoying, since you cant close any of your windows, and you can end up punching your screen in frustration. Here is a temporary solution for that [credit to <a href="http://www.ubun2.com/question/329/why_ubuntu_window_title_bar_missing">The Ubunt2 Forums</a>]:</span><br />
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;"><br />
</span> <span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">Click on the Application Menu to Execute a Program.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"><span style="line-height: 21.109375px;">Type in </span></span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">xfwm4 &</pre>
<span style="font-family: Verdana, sans-serif; line-height: 21.109375px;">and hit [Execute]. This should resolve your problems. </span><br />
<span style="font-family: Verdana, Tahoma, Arial, sans-serif; font-size: x-small;"><span style="line-height: 21.109375px;"><br />
</span></span> <span style="font-family: Verdana, Tahoma, Arial, sans-serif; font-size: x-small;"><span style="line-height: 21.109375px;"><br />
</span></span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-58036972729534574752013-05-07T22:14:00.003-05:002013-05-07T22:14:37.987-05:00Work Desk Galore<span style="font-family: Verdana, sans-serif;">Hello again. </span><div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Lately Ive been overwhelmed by projects and tasks at my new job, so I havent had the opportunity to make much progress on my own Smart Home project. On the brighter side, Ive got a pretty good idea of the work desk I want to order so that I can setup a work station at my new apartment.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Ive narrowed down the choices to two workbenches from <a href="http://www.globalindustrial.com/p/work-benches/systems/adjustable-height/48-w-x-24-d-maple-square-edge-bench-return-blue">Global Industries</a>, both with Maple-wood tops. I didnt want an ESD-safe top, because those are plastic surfaces which arent very friendly to Soldering Irons. Traditional compressed-wood work tops arent very knife-friendly either. So the best of both worlds, a cutting board-styled top. Im not sure if I will add accessories to the work bench or not; first thing is first, Ive got to order the bench and assemble it at my apartment, before I can proceed.</span></div>
<div>
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Verdana, sans-serif;">Until next time. Peace Out.</span></div>
Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-43395784346424682272013-03-11T18:35:00.002-05:002013-03-11T18:35:31.191-05:00Unauthorized Sales of My Thesis<span style="font-family: Verdana, sans-serif;">Lately I have noticed a few stores selling my published thesis, </span><u style="color: #111111; font-family: Verdana, sans-serif;">Tesla Turbine Torque Modeling for Construction of a Dynamometer and Turbine</u><span style="color: #111111; font-family: Verdana, sans-serif;">,</span><span style="font-family: Verdana, sans-serif;"> without A) asking permission from me, the copyright holder, through </span><span style="font-family: Verdana, sans-serif;">oral or written means,</span><span style="font-family: Verdana, sans-serif;"> or B) giving me royalties for the sales. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">As this is a document provided free to download on the </span><a href="http://digital.library.unt.edu/ark:/67531/metadc67979/" style="font-family: Verdana, sans-serif;">UNT Digital Library</a><span style="font-family: Verdana, sans-serif;"> website, I expect it to be shared to the global community free of charge. BUT should it be sold, I expect to gain royalties as a result of these sales (though I still dont want to sell it).</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">I have seriously considered sending a Cease-and-Desist Letter to all of the stores attempting to sell a copy of my copyrighted material, and have already begun with a few of them. I have filed a copyright application to get the ball rolling legally in case I have to take this to court (hopefully I wont have to).</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">The following websites have already received emails about this, and should be taking action shortly to take them down:</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<a href="http://www.amazon.com/gp/product/124985685X/ref=olp_product_details?ie=UTF8&me=&seller="><span style="font-family: Verdana, sans-serif;">Amazon.com</span></a><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<a href="http://www.barnesandnoble.com/w/tesla-turbine-torque-modeling-for-construction-of-a-dynamometer-and-turbine-tamir-ali-emran/1113699249?ean=9781249856856"><span style="font-family: Verdana, sans-serif;">Barnesandnoble.com</span></a><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">As it stands, if you see this document, <span style="background-color: white; color: #111111; line-height: inherit;"><u>Tesla Turbine Torque Modeling for Construction of a Dynamometer and Turbine</u>, </span><span style="color: #111111;"><span style="line-height: inherit;">please <b>PLEASE DO NOT PURCHASE IT</b>. I am not getting any Royalties, and these sales do <b>NOT </b></span>benefit<span style="line-height: inherit;"> me. </span></span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111;"><span style="line-height: inherit;"><br /></span></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111;"><span style="line-height: inherit;">You can download it for <b>FREE</b> from the original publishing location, the </span></span><a href="http://digital.library.unt.edu/ark:/67531/metadc67979/" style="line-height: inherit;">UNT Digital Library</a><span style="color: #111111; line-height: inherit;">.</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111; line-height: inherit;"><br /></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111; line-height: inherit;">If you have any advice for me, please post away. I can use any advice on this topic.</span></span><br />
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111; line-height: inherit;"><br /></span></span>
<span style="font-family: Verdana, sans-serif;"><span style="color: #111111; line-height: inherit;">Thanks for your understanding.</span></span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com2tag:blogger.com,1999:blog-4062533658373691016.post-67175421919061974132013-02-15T21:42:00.002-06:002013-02-15T21:42:26.927-06:00Slowed Pace, Little Progress<span style="font-family: Verdana, sans-serif;">Well, the pace of the project has slowed down considerably since I settled down at my new job. As you can imagine, after a long day at work, one tends to just relax when one goes home, and side projects are the last thing on your mind. So this has become a weekend project pretty much. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">The boards returned from the Fab shop a few days after the New Year, but Ive yet to order the parts (or solder paste) because my work desk/soldering station isnt setup. Ive moved to a new place and I will have to acquire a proper work desk so to proceed with soldering in a safe manner. So pretty much the project is still on a hold until I can setup my work station.</span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Whenever I get a chance I may post some technical news posts, but until I get the work station, there wont be any updates for this project. Makes me a little sad, but my new job takes priority. </span><br />
<span style="font-family: Verdana, sans-serif;"><br /></span>
<span style="font-family: Verdana, sans-serif;">Peace Out.</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-44203418971295338752013-01-10T00:52:00.001-06:002013-01-10T00:52:32.974-06:00Google Code Page Online<span style="font-family: Verdana,sans-serif;">Just wanted to update the latest and greatest on the project. For the moment, the entire project is on a temporary hold while I move to my new place and get situated at my new job. In the meantime, the boards have been at the Fab shop for over a week, so I should be getting them soon. My parts list is completed, so I'll go ahead and put that in my order queue.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">For the moment at least, Ive got my <a href="https://code.google.com/p/intellihome/">Google Code</a> page setup, so any code, updates, open source what not will all go there. If you have any input for this project, feel free to post in comments on this blog. I will investigate the need for a Google Group in the future, but as I see it, there is not quite enough of a following to justify that for now. </span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-67927413527995475872012-12-25T23:27:00.000-06:002013-01-10T18:39:57.519-06:00Dragonboard Update!<span style="font-family: Verdana, sans-serif;">Dragonboard V1.0.5 is 99% ready to be sent off to the Fab shop. I just have to resolve an issue with OSH Park, and I'll get it ordered. I have selected and compiled a parts list and am ready to make the big order from Mouser and Digikey. I checked and verified a few things with viewing Gerbers to see that the board looks good, and I learned a few things worth mentioning here.</span><br />
<br />
<span style="font-family: Verdana, sans-serif;">For those who use GerbV, listen up. </span><span style="font-family: Verdana, sans-serif;"><span style="font-family: Verdana, sans-serif;">Dont panic if you open GerbV and dont see your imported bitmaps. </span>GerbV has a bug </span><span style="font-family: Verdana, sans-serif;">which doesn't allow it to show features imported with Eagle2BMP.exe, since the default DPI is 10k, and the viewer can only handle about 300DPI. The way to get around this is to use import-bmp.ulp, and manually enter in a DPI value. Its a bit time consuming, but it works. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">And FYI, if you have your Eagle library in the Eagle lbr folder (which is where Eagle is installed or me), you wont be able to generate the bmp.scr for your imported image. So be sure to import your images into a library that isnt in your Program Files, and then import the individual parts across from that library to the library you use regularly. Problem solved. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">However, I found a great work around to even needing a Gerber viewer. I can render 3D CAD files directly from my Eagle Board Layout, and save whatever view I want into PNG format. <a href="http://eagleup.wordpress.com/">This is how it works</a>: A clever combination of Google Sketchup, ImageMagick and EagleUp. Follow the tutorial at the link, and you'll be up and running viewing your 3D Boards in no time. This way you can view your Board Layout, and not only verify the parts layouts, but also the board view in 3D space. How exciting! If you're planning to use OSH Park to Fab your boards, I went with these two colors for the EagleUp.ulp script: Board color is 0x462f5b and Trace color is 0x663a93. Thats it! </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">If you want a quick way to view your Gerbers, you can always use the online viewer at <a href="http://circuitpeople.com/">Circuitpeople.com</a>. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">For those interested in exporting a Bill of Materials List, without the hassle of doing it manually, theres an easy way through a script in Eagle, called <a href="http://www.electro-tech-online.com/circuit-simulation-pcb-design/109863-eagle-cad-parts-list.html">BOM.ulp</a>. This script gives you the option to group by name or by value. I usually group by value to make the BOM easier to read.</span><br />
<span style="font-family: Verdana, sans-serif;"> </span><br />
<span style="font-family: Verdana, sans-serif;">Heres a teaser of the Dragonboard:</span><br />
<br />
<span style="font-family: Verdana, sans-serif;"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://farm9.staticflickr.com/8359/8309741340_a47a4baba7_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="262" src="http://farm9.staticflickr.com/8359/8309741340_a47a4baba7_b.jpg" width="500" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Verdana,sans-serif;"><a href="http://farm9.staticflickr.com/8082/8309786546_88e966e2be_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="262" src="http://farm9.staticflickr.com/8082/8309786546_88e966e2be_b.jpg" width="500" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana,sans-serif;"><br />
</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana,sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Verdana,sans-serif;">I hope everyone has a Happy Holidays and a Happy New Year!</span></div>
Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-61425350319454840852012-12-20T14:12:00.002-06:002012-12-20T14:15:18.426-06:00Finding Components in Eagle Schematic Design<span style="font-family: Verdana,sans-serif;">I came across a good tip for Eagle and thought it would be nice to share with everybody. If you've just designed a rather complex circuit, with many parts (and possible many pages), sometimes Eagle will name things with odd naming schemes, and you're left wondering wheres the odd number left out of the number order. Ive run into this several times, and its quite annoying. So I discovered a unique solution, that the folks at Eagle already thought about.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;"><a href="http://www.eaglecentral.ca/forums/index.php/fa/3560/2a033ceb135e3bf49e52793d467d9290/">Find.ulp</a> will locate a part <span class="MsgBodyText">in your schematic based on an inputted reference designator or part number. Not only will it give you exact X and Y coordinates on your schematic, but it will zoom in on that part and highlight it. </span></span><br />
<span style="font-family: Verdana,sans-serif;"><span class="MsgBodyText"><br />
</span></span> <span style="font-family: Verdana,sans-serif;"><span class="MsgBodyText">If you want to add a shortcut, as 'Control + F' to find components in your schematic, you can type in the Eagle Command Line:</span></span><br />
<br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">ASSIGN C+F 'RUN find.ulp'; </pre><span style="font-family: Verdana,sans-serif;"><span class="MsgBodyText"> </span></span> <span style="font-family: Verdana,sans-serif;"><span class="MsgBodyText">Additionally, you can modify the Eagle.scr file to </span><span class="MsgBodyText">add a button on the Eagle toolbar.</span> This is well documented in the EAGLE HELP: Editor Commands > MENU.</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com1tag:blogger.com,1999:blog-4062533658373691016.post-16117013703133216032012-12-16T22:51:00.000-06:002012-12-26T05:04:50.948-06:00Dragonboard V1.0.0<span style="font-family: Verdana,sans-serif;">I havent had an update in awhile, so I figured I'd give a status update. The last few months have been hectic, but Ive managed to cram a lot of time towards my project, and am almost ready to finally get my first legit prototype board off to the fab shop. Ive christened it as the Dragonboard. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Its a multiple-use microcontroller board meant for operating RFID modules and gas sensor modules (of which are in the design phase right now). Its a pretty nifty little device that only has a dimension of 3.25 x 2", with an on-board RTC, a 9-16V DC/AC power supply, a 3-Axis accelerometer, an EMI suppression circuit for USB programming, an XBee, and all supporting hardware for the circuits. It also allows for on-board programming of the XBee. </span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">Once I get it back from the shop, I'll post some updates about programming it, operation and whether or not it passes my tests for operation. Im crossing my fingers that this thing works out like Ive planned. Anyways, thats about all I wanted to say about it for now.</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com1tag:blogger.com,1999:blog-4062533658373691016.post-28341206838569061582012-11-11T19:17:00.000-06:002012-11-11T19:19:06.092-06:00Resistor Color Codes<span style="font-family: Verdana,sans-serif;">Most people dealing with electronics these days know how to read a Resistor Color Code Value Chart, but beginners probably dont. This tutorial should walk you through how to read a chart to determine resistors in your projects. So lets get started.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">A <b>resistor</b> is a passive two-terminal electrical component that implements electrical resistance as a circuit element <span style="font-size: xx-small;">[<a href="http://en.wikipedia.org/wiki/Resistor">1</a>]</span>. They come in many compositions, but there are three primary ones that people use: carbon film, metal film and wire-wound resistors. For more information about all other kids of resistors, as well as a detailed explanation of the three types mentioned here, refer to the <a href="http://en.wikipedia.org/wiki/Resistor">Wikipedia page on resistors</a>.</span><br />
<span style="font-family: Verdana,sans-serif;"></span><br />
<span style="font-family: Verdana,sans-serif;">Classification of resistors consists of three main properties. <b>Resistance</b>, which is measured in ohms, is the actual value of the resistor. Without this, you cant tell one resistor from another. The second is the <b>tolerance </b>value, which is shown as a percentage, and is represented by a color band of its own. The last property is the <b>power rating</b> of the resistor, which is measured in Watts <span style="font-size: xx-small;">[<a href="http://www.300guitars.com/articles/resistor-color-codes-explained/">2</a>]</span>.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">The value of the resistor, as well as the tolerance percentage can both be found by using the following chart.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwc2vhlOCBvugaCO7EojeMd7Os8_cQiyxS9EPw9wWuv7cSWtVED9C3iu53UwGAfB5z64TTNbWcFQg4VXVnPFMJnHb_u4sSdew2Vtk4OhWpAhMSWsQ3mJ92djOEyTXLFVo3f0rj_ZRHJe1U/s1600/resistor_code26.gif" style="margin-left: auto; margin-right: auto;" /></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Image Source: <a href="http://www.300guitars.com/articles/resistor-color-codes-explained/">300Guitars.com</a></td></tr>
</tbody></table><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana,sans-serif;">For four banded resistors, the first band is the first number in the value of the resistor. The second is the second number in the value. The third is the number of zeroes behind the first two numbers, also referred as the multiplier. For example, Red-Red-Black, would be 220 Ohms. Similarly, 1K Ohms would be Brown-Black-Red.</span></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana,sans-serif;">For five banded resistors, the third band represents a third value, the fourth band is the multiplier, and the fifth band is the tolerance. These types of resistors are usually blue, green or brown, depending on the manufacturer.</span></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana,sans-serif;">The tolerance value represents what error the value known might be off from the actual value of the resistor. Most electronics use the standard 5% or 10% resistors, which is represented by a gold or silver band. Sensors and precision electronics require higher tolerances. Those come as actual color bands. Most precision resistors come with a 1% tolerance (Brown), though, other tighter tolerances can be found. So a 237 Ohm resistor with a 0.5% tolerance would take the 5-banded color code, Red-Orange-Violet-Black-Green.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana,sans-serif;"><br />
</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: Verdana,sans-serif;">The wattage rating of a resistor is determined separately by the size of the resistor. The larger the diameter and length of a resistor, the higher wattage it can handle.</span></div><span style="font-family: Verdana,sans-serif;"><br />
</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-59014629426098011362012-11-05T13:26:00.001-06:002012-11-05T13:26:38.996-06:00ESD-Protective Bags & Packing Foam<span style="font-family: Verdana,sans-serif;">So today I wanted to give folks a rundown of ESD-protective materials that are available for those who need to package, store or ship electronics, but just dont know what to get. As a hobbyist electronics person, I know how challenging and sometimes frustrating this can be. You can usually get away with using the little bits of ESD foam that come with your electronics, or even the </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">ESD-protective </span>bags they come in. Sometimes, this isnt enough, or the bags might be damaged, thereby defeating the purpose of using them. </span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">When you are working on a project, small or big, you need to organize your project in bins so that you can constantly keep track of where everything is, and avoid an accidental static discharge that will destroy your precious electronics. I know people usually get lazy about this, and they tend to strew everything across their desk or the floor, as do I as well, but to progress from amateur to professional electronics project development, you have to improve your storage methods to better manage and care for your electronics. </span><span style="font-family: Verdana,sans-serif;">So explanation aside, lets get to the good stuff.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">First, everyone knows about </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">ESD-protective </span>bags, they come in all sorts of colors and shapes. Some have zip locks and others dont. You've seen the silver ones, the pink ones and the blue ones. Maybe you've even seen the black ones. I'll explain what each is, and the application for it.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">The pink/blue/green </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">ESD-protective </span>bags are <b>Anti-Static</b> bags made of low-charging material, meaning they will not create harmful static electricity charges when the bag surfaces rub together, but will not protect the item from electric fields. Depending on your application, you may or may not be able to store sensitive electronics in these. They come in both zip and non-zip styles. These tend to be the cheapest.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;"> A few things to note about Anti-static bags <span style="font-size: xx-small;">[<a href="http://www.packagingknowledge.com/Anti_Static_Bags.asp">1</a>]</span>:</span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">Antistatic bags offer NO effective protection against a contact ESD!</span></li>
<li><span style="font-family: Verdana,sans-serif;">They should only be used for NON STATIC SENSITIVE components, e.g. nuts, bolts,
paper etc.</span></li>
<li><span style="font-family: Verdana,sans-serif;">ORDINARY PLASTIC BAGS can generate and hold static charges in excess of 10,000v!</span></li>
<li><span style="font-family: Verdana,sans-serif;">Antistatic bags deteriorate with time and wear, MONITORING them is VERY
IMPORTANT.</span></li>
</ul>
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">The silver </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">ESD-protective</span> bags are <span style="font-size: small;"><b>Metalized Shielding</b></span> bags made with anti-static plastic and a metalized film, which forms a Faraday cage around the item to be protected preventing any localized charges
from being deposited onto the protected devices as the bags are handled. This allows them to shield sensitive electronics from outside radiation or radio waves.
A lot of electronics, especially IC chips will come packaged in this type of bag. They come in both zip and non-zip styles. These tend to be more costly than regular anti-static bags, but are used most often. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">A few things to note about Metalized shielding bags <span style="font-size: xx-small;">[<a href="http://www.packagingknowledge.com/Anti_Static_Bags.asp">1</a>]</span>:</span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">DO NOT CREASE the bag, as this can breakdown the integrity of the metalized
shield!</span></li>
<li><span style="font-family: Verdana,sans-serif;">Metalized Shielding bags CAN DETERIORATE with use, MONITORING them for
effectiveness is VERY IMPORTANT!</span></li>
</ul>
<br />
<span style="font-family: Verdana,sans-serif;">The black </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">ESD-protective</span> bags are <b>Conductive</b> polyethylene bags which are both anti-static and shielding. Unfortunately, since they are also conductive, if you build up a static charge by walking across a carpeted floor with shoes, and you hold this bag, everything inside will get damaged. So this bag is for use primarily when it will be grounded at all times, such as in storage. These are most expensive, but have drawbacks for general use, so arent used as often.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;"> A few things to note about Metalized shielding bags <span style="font-size: xx-small;">[<a href="http://www.packagingknowledge.com/Anti_Static_Bags.asp">1</a>]</span>:</span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">It is POSSIBLE TO DAMAGE a static sensitive component inside a Black Conductive
bag with a contact ESD!</span></li>
<li><span style="font-family: Verdana,sans-serif;">Black Conductive bags, holding static sensitive components, should only be
handled in an EPA and while the person is grounded in order to ensure that no
potential difference occurs.</span></li>
<li><span style="font-family: Verdana,sans-serif;">Black Conductive bags allow for a good path to Earth when used with other.</span></li>
</ul>
<br />
<span style="font-family: Verdana,sans-serif;">So now you know about ESD-protective bags. For more information on ESD-protective bags, visit <a href="http://www.packagingknowledge.com/Anti_Static_Bags.asp">Packingknowledge.com</a>. Next, I will give a brief rundown on ESD-protective packing foam. Similar to ESD-protective bags, foam also comes in Anti-Static and conductive.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">There are many types of ESD-protective packing foam, but the two most used are polyethylene and polyurethane. Polyethylene foam is "closed cell" foam, it has a smooth skin and it tends to be very hard. Besides hardness, it is less likely to retain moisture and more chemically inert than polyurethane </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: xx-small;">[<a href="http://www.thektog.org/forum/f85/polyethylene-foam-vs-polyurethane-foam-246670/">2</a>]</span></span>. This tends to be the black conductive foam </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: xx-small;">[<a href="http://www.correctproducts.com/ESD-Packaging/ESD-Foam-Bubble">3</a>]</span></span>. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Polyurethane is "open cell", and you can see the miniature bubbles in cross
section.This is a soft foam, and it is good for cushioning </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: xx-small;">[<a href="http://www.thektog.org/forum/f85/polyethylene-foam-vs-polyurethane-foam-246670/">2</a>]</span></span>. This one tends to be the pink anti-static foam, however, you might find some polyethylene anti-static foam in packaging to secure devices from moving during transport <span style="font-size: xx-small;">[<a href="http://www.correctproducts.com/ESD-Packaging/ESD-Foam-Bubble">3</a>]</span>. </span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">So there you have it. A brief, quick rundown on ESD-protective bags and foam. For even more information about ESD-protective bags, visit <a href="http://www.esdjournal.com/techpapr/ryne/esdbags.htm">The ESD Journal</a>. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">I hope this helps your future ventures to storing and organizing your electronics projects.</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com1tag:blogger.com,1999:blog-4062533658373691016.post-24736436940722962372012-10-29T19:36:00.004-05:002012-10-30T22:48:49.613-05:00Teensy 3.0 Arrives!<span style="font-family: Verdana,sans-serif;">I just got my <a href="http://www.pjrc.com/store/teensy3.html">Teensy 3.0</a> today, and Im excited to work with it to get a feel for ARM M4 development. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">One of the most striking differences between this and the Teensy 2.0 is the board color and size. Its black and about a quarter of an inch longer than the former board. Also to note it obvious has the USB 2.0 Micro-B connector not the USB 2.0 Mini-B as the previous Teensy has.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Another immediate difference is the size of the chip. Its much larger and has twice as many pins. The board itself has many more pins packed in that tiny space than the Teensy 2.0.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Finally, the most promising, and most important feature, is the fact that this is </span><span style="font-family: Verdana,sans-serif;">an ARM Cortex-M4 with Arduino-style programming. You can see more on development using this powerful device on <a href="http://dangerousprototypes.com/forum/viewtopic.php?f=2&t=4606#p44948">DangerousPrototypes</a>, and the <a href="http://forum.pjrc.com/showthread.php?14-Teensy-3-0-and-interrupts">PJRC Forum</a>.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">The <a href="http://www.kickstarter.com/">Kickstarter</a> page is also available <a href="http://www.kickstarter.com/projects/paulstoffregen/teensy-30-32-bit-arm-cortex-m4-usable-in-arduino-a">here</a> if you want even more information.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Here are some of the <a href="http://rcarduino.blogspot.com/2012/09/arduino-due.html">specs</a> of the Teensy 3.0:</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;"><b>Manufacturer</b>: Freescale Semiconductor </span><br />
<span style="font-family: Verdana,sans-serif;"><b>Core</b>: <a href="http://www.mouser.com/Semiconductors/Embedded-Controllers-Processors/Microcontrollers-MCU/ARM-Microcontrollers-MCU/ARM-Cortex-M4-Core/_/N-a85pcZ1yztkji">ARM Cortex M4</a></span> <br />
<span style="font-family: Verdana,sans-serif;"><b>Processor Series</b>: MK20DX128VLH5</span><br />
<span style="font-family: Verdana,sans-serif;"><b>Data Bus Width</b>: 32 bit </span><br />
<span style="font-family: Verdana,sans-serif;"><b>Maximum Clock Frequency</b>: 48 </span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">MHz</span> </span><br />
<span style="font-family: Verdana,sans-serif;">(Up to 94 MHz Overclocked) </span><br />
<span style="font-family: Verdana,sans-serif;"><b>Program Memory Size</b>: 128 KB </span><br />
<span style="font-family: Verdana,sans-serif;"><b>Data RAM Size</b>: 16 KB</span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><b>EEPROM Size</b>: 2 KB</span></span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><b>Digital Pins</b>: 34 </span> </span></span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><b>PWM Pins</b>: 10</span></span></span></span></span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><b>Analog Pins</b>: 14</span></span></span></span></span></span></span></span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><b>DAC Pins</b>: 0 </span></span></span> </span></span></span> </span></span></span> </span> </span><br />
<span style="font-family: Verdana,sans-serif;"><b>On-Chip ADC</b>: Yes </span><br />
<span style="font-family: Verdana,sans-serif;"><b>On-Chip RTC</b>: Yes</span><br />
<span style="font-family: Verdana,sans-serif;"><b>Operating Supply Voltage</b>: 5V </span><br />
<span style="font-family: Verdana,sans-serif;"><b>USB Version</b>: 2.0</span><br />
<span style="font-family: Verdana,sans-serif;"><b>USB Type</b>: Micro-B</span><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiito-6rf40XeYUcinMH46YzBy_OjlmQ4yrAf_4uUK_2RP4Z-Y72OOxu-_PsfsWBBIilFhj4PtPiWmhzuQITi4RO8sj0cAupYcUi0ukjfVV6oTrwj4D6SsEdiZq1lY8L8-o1GvJ9RJwbTai/s1600/IMG_5103.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="267" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiito-6rf40XeYUcinMH46YzBy_OjlmQ4yrAf_4uUK_2RP4Z-Y72OOxu-_PsfsWBBIilFhj4PtPiWmhzuQITi4RO8sj0cAupYcUi0ukjfVV6oTrwj4D6SsEdiZq1lY8L8-o1GvJ9RJwbTai/s400/IMG_5103.JPG" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Photo Credit: <a href="https://picasaweb.google.com/109928236040342205185/Electronics#5795501577070866322">John Beale</a></td></tr>
</tbody></table>
Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-67646024879029076882012-10-26T01:12:00.003-05:002012-10-29T20:04:36.653-05:00Beaglebone LCD3 Arrives!<span style="font-family: Verdana,sans-serif;">Finally, after waiting for about 2 months, Ive gotten my LCD3 cape for my Beaglebone. Now I can start working with a screen. While it is the smaller of the two screens you can get, 7-inch for the larger, and 3.5-inch for the smaller, its still a useful screen to work with. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">After discovering today that Texas Instruments released an image of Android for the Beaglebone, Im strongly leaning towards writing that image to another SD card and trying my luck at getting Android working on the Beaglebone. The great part is the TI tutorial for their Matrix GUI takes place on the Android system, so I feel thats my best bet for getting the config I want actually working. Plus, Android has a MUCH more friendly GUI over Angstrom Linux. Even Angstrom with Gnome isnt all that great, from what I can tell visually. </span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">As far as updates with the current Beaglebone build, Ive been unsuccessful as of late in getting my WiFi connecting - I think its a problem with my Xubuntu laptop. Ive setup the driver & the WiFi module lights up, but when I go to restart the WiFi config file, Angstrom & my XUbuntu terminal both hang. When I unplug the Beaglebone, the XUbuntu laptop crashes, and Im forced to reboot. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Either way, I will have to start from scratch with this WiFi issue on Android if I want to move in that direction. I'll post updates on this, as Im quite sure a lot of folks are interested about this topic. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">The build as it stands now: </span><br />
<blockquote class="tr_bq">
<span style="font-family: Verdana,sans-serif;">~Beaglebone with Angstrom Linux and WiFi</span><span style="font-family: Verdana,sans-serif;"> (no WiFi in the image below)</span></blockquote>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.adafruit.com/images/large/beaglebonetop_LRG.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="247" src="http://www.adafruit.com/images/large/beaglebonetop_LRG.jpg" width="320" /></a></div>
<br />
<blockquote class="tr_bq">
<span style="font-family: Verdana,sans-serif;">~An expansion cape with an XBee</span></blockquote>
<ul></ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieYS8rjy6HbkKGuLqChX474A-eKKYcSmzrFBENihxmcGr_ZFjP_HI6-YC1UxQEsGTsR1Q8oEO4qthHmuPtrazTrZE5Ug94cK0WB6Mmi0fVdTS2gwhSs2TaTrXCjAHcWEaOqCV56P_As1Ud/s1600/DSC05197.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieYS8rjy6HbkKGuLqChX474A-eKKYcSmzrFBENihxmcGr_ZFjP_HI6-YC1UxQEsGTsR1Q8oEO4qthHmuPtrazTrZE5Ug94cK0WB6Mmi0fVdTS2gwhSs2TaTrXCjAHcWEaOqCV56P_As1Ud/s320/DSC05197.png" width="320" /></a></div>
<br />
<blockquote class="tr_bq">
<span style="font-family: Verdana,sans-serif;">~An LCD3 3.5" Touchscreen with Interface buttons</span></blockquote>
<ul></ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://beagleboardtoys.com/wiki/images/7/73/LCD3-Front.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="221" src="http://beagleboardtoys.com/wiki/images/7/73/LCD3-Front.jpg" width="320" /></a></div>
<br />
<h4>
<span style="font-family: Verdana,sans-serif;">Just have some Linux FYI:</span></h4>
<span style="font-family: Verdana,sans-serif;"><br />
To shutdown, type:</span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">sudo halt</pre>
<span style="font-family: Verdana,sans-serif;">or</span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">sudo shutdown -h now</pre>
<br />
<span style="font-family: Verdana,sans-serif;">To reboot, use: </span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">sudo reboot</pre>
<span style="font-family: Verdana,sans-serif;">or</span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">sudo shutdown -r now</pre>
<br />
<span style="font-family: Verdana,sans-serif;">For more information on these commands, use: </span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">man reboot
man shutdown</pre>
<br />
<span style="font-family: Verdana,sans-serif;">To see the current network connections, use: </span><br />
<pre class="wp-terminal" font-family:="font-family:" sans-serif="sans-serif" verdana="verdana">sudo ifconfig</pre>
<br />Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-13271750437446420332012-10-10T23:21:00.004-05:002012-10-16T22:35:47.523-05:00Arduino Low Power Tutorial<span style="font-family: Verdana,sans-serif;">Ive been working with power save mode for the Arduino lately, and Ive found that while there are multitudes of examples out there, nobody specifically gives you a working example to run with. In this post, I'll walk you through my code, and at the end, I'll provide you with a great working example of using an interrupt button to bring the Arduino back out of a low power state for a few seconds and then back to sleep. This is great for applications that require the use of a battery for long periods of time and charging is scarce.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">You can follow the interrupted sleep tutorial by <span style="font-family: Verdana,sans-serif;"><a href="http://n0m1.com/2011/12/15/catching-some-zzzs-part-1-interrupted-sleep/">NoMi Design</a> to learn just how to set things up.</span></span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">My code, however, is just like this <a href="http://www.engblaze.com/hush-little-microprocessor-avr-and-arduino-sleep-mode-basics/">example</a>, provided on Engblaze.com, except that Ive added some serial communications to see that its working visually and to re-enable the interrupt attach so that I can constantly bring the device out of sleep every time it goes to sleep. </span><br />
<br />
<pre class="cpp" name="code" style="font-family: Verdana,sans-serif;">//remove the space between '<' and 'avr'.
#include < avr/interrupt.h>
#include < avr/power.h>
#include < avr/sleep.h>
#include < avr/io.h>
void setup()
{
Serial.begin(9600);
DDRD &= B00000011; // set Arduino pins 2 to 7 as inputs, leaves 0 & 1 (RX & TX) as is
DDRB = B00000000; // set pins 8 to 13 as inputs
PORTD |= B11111100; // enable pullups on pins 2 to 7
PORTB |= B11111111; // enable pullups on pins 8 to 13
pinMode(13,OUTPUT); // set pin 13 as an output so we can use LED to monitor
digitalWrite(13,HIGH); // turn pin 13 LED on
}
void loop()
{
// Stay awake for 1 second, then sleep.
// LED turns off when sleeping, then back on upon wake.
delay(2000);
Serial.println("Entering Sleep Mode");
sleepNow();
Serial.println(" ");
Serial.println("I am now Awake");
}
//
void sleepNow()
{
// Choose our preferred sleep mode:
set_sleep_mode(SLEEP_MODE_PWR_SAVE);
//
interrupts();
// Set pin 2 as interrupt and attach handler:
attachInterrupt(0, pinInterrupt, HIGH);
//delay(100);
//
// Set sleep enable (SE) bit:
sleep_enable();
//
// Put the device to sleep:
digitalWrite(13,LOW); // turn LED off to indicate sleep
sleep_mode();
//
// Upon waking up, sketch continues from this point.
sleep_disable();
digitalWrite(13,HIGH); // turn LED on to indicate awake
}
void pinInterrupt()
{
detachInterrupt(0);
attachInterrupt(0, pinInterrupt, HIGH);
}
</avr></avr></avr></avr></pre><br />
<span style="font-family: Verdana,sans-serif;">Dont mind any avr's at the end. Its a glitch the website keeps doing when I post #includes at the top of the code on the blog.</span><br />
<br />
<h3><span style="font-family: Verdana,sans-serif;">Sleep Modes</span></h3><span style="font-family: Verdana,sans-serif;">Finally, its important to discuss the types of Sleep Modes that you can choose from. There are 6 sleep modes available on the Arduino Uno (ATMEGA328):</span><br />
<ul><li><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_IDLE – least power savings</span></li>
<li><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_ADC</span></li>
<li><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_EXTENDED_STANDBY </span></span></span></li>
<li><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_PWR_SAVE</span></li>
<li><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_STANDBY</span></li>
<li><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_PWR_DOWN – most power savings</span></li>
</ul><span style="font-family: Verdana,sans-serif;">SLEEP_MODE_IDLE provides the least power savings but also retains the most functionality. SLEEP_MODE_PWR_DOWN uses the least power but turns almost everything off, so your options for wake interrupts and the like are limited. Power reduction management methods <avr power.h="power.h">are described in more detail on the <a href="http://www.nongnu.org/avr-libc/user-manual/group__avr__power.html" target="_blank" title="avr-libc - Power.h">avr-libc documentation page</a>.</avr></span><span style="font-family: Verdana,sans-serif;"> For details on what features are available with each power saving mode for the Arduino Uno, please refer to the <a href="http://www.atmel.com/Images/doc8161.pdf">ATMEGA168/328p Datasheet</a> (look out, its a 12mb file). For all other Arduino's refer to either the <a href="http://www.arduino.cc/">Arduino website</a>, or the <a href="http://www.atmel.com/">Atmel website</a>.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Ive decided to go with <span style="font-family: Verdana,sans-serif;">SLEEP_MODE_PWR_SAVE for this example, just because it gives me some flexibility with waking it, and because the power savings are a bit better than idle. Power down is overkill for my applications, and its comparative to actually turning off the device, which I don't need my hardware to do.</span></span><br />
<br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">You're welcome to ask questions, about this code if you arent sure whats going on. The bit of setting up the pins in the Arduino hardware is explained more on the <a href="http://www.engblaze.com/hush-little-microprocessor-avr-and-arduino-sleep-mode-basics/">Engblaze post</a>.</span> </span></span><br />
<br />
Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com18tag:blogger.com,1999:blog-4062533658373691016.post-12796064676480007532012-10-06T00:23:00.002-05:002012-10-06T00:28:35.754-05:00YAWS Assembly<span style="font-family: Verdana,sans-serif;">Most of the rest of my hardware arrived yesterday, so Ive begun to assemble things. During my Live Tests outdoors with the Weather Board, I came across a few things which I feel I should note.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">Ive revised the Sparkfun code to show the Wind Direction in Degrees (as in the code) and in Headings (N, S, E, W). This is a simple set of <span style="font-family: "Courier New",Courier,monospace;">if<span style="font-family: Verdana,sans-serif;">-statements</span></span> to display headings when the correct range is found.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">Ive also updated the code to remotely reboot the board on command, as Ive found that it has issues with starting a connection once its out in the field. The software has to be running first before the Weather board, thus a reboot is required. This is simply including setup(); in the reboot function.</span><br />
<span style="font-family: Verdana,sans-serif;"><br />
</span> <span style="font-family: Verdana,sans-serif;">One of the things I wanted my Weather Station to do was display data via an LCD locally, so I can debug and view data in Real Time to make sure the station is functioning (and so I don't have to keep running back and forth to my computer). So I included a case in the code to display to the LCD screen and the serial port at the same time. I wont know for sure if this will work, but the code does compile. The way Im connecting the LCD screen to the Weather Board is via </span><span style="font-family: Verdana,sans-serif;">I<sup>2</sup>C using this <a href="http://bansky.net/blog/2008/10/interfacing-lcd-using-i2c-port-extender/">tutorial</a>. This requires a nifty little IC, the </span><span style="font-family: Verdana,sans-serif;"><b>PCF8574P</b>, an I<sup>2</sup>C 8-bit port extender</span><span style="font-family: Verdana,sans-serif;"> and a 3.3V LCD screen. I'll post pics of it once its assembled and working.<br />
<br />
<u>I guess now is as good a time as any to warn about the importance of a grounding kit on the weather station.</u> You don't want lightning frying your expensive electronics, or burning down the shed (or your house), so you'll want to take good grounding measures. Do plenty of research to make sure you know what you are doing.<b> I am not liable if you ignore this warning and lightning does hit your stuff</b> (God forbid it of course).<br />
<br />
So that said, I used a 4-ft long piece of grounding rod (it comes in lengths of 8ft for about 10 bucks at Home Depot). Hammer it until about 1.5 ft of it is sticking out (the softer the ground, the shorter the rod should be; if the ground is hard, dry dirt, you might have to go to a 6ft rod or use the full 8 ft - this will change the amount of rod sticking out of the ground). You dont want to hammer it all the way in because the rocks in the ground will wear away the copper coating of the rod and that will accelerate decay of the steel rod. I also bought some #4 multi-stranded electrical cable, grounding clamps and a pencil-thin steel rod. All this stuff comes together as the grounding kit. A necessary expense to keep things safe.<br />
<br />
It looks like the weather station meters will just be attached to the steel pole of the mounting kit using stainless steel pipe clamps (the image below simply shows the mounting kit, now how Im going to mount it).</span><br />
<span style="font-family: Verdana,sans-serif;"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://ecx.images-amazon.com/images/I/31139Fc8tYL._SY450_.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://ecx.images-amazon.com/images/I/31139Fc8tYL._SY450_.jpg" width="224" /></a></div>
<span style="font-family: Verdana,sans-serif;">Im still trying to work out all the minor things, like some extension cables for the sensors and the solar panel to reach where Im mounting the Weather Board. </span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">FYI, There will be a post soon about setting up the Beaglebone, as Ive gotten half of the stuff I need to start that side of my project. Configuring it is a pain, but it has to be done. </span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-88296122974483700872012-09-26T22:55:00.003-05:002012-09-26T22:55:57.807-05:00Yet Another Weather Station<span style="font-family: Verdana,sans-serif;">During my escapades as a Research Assistant, while I was working towards my Master's degree, I had the privilege of purchasing and setting up a weather station at UNT. The Campbell Scientific Weather Station did everything I wanted it to do, and it was well constructed, but it was also well out of my own personal budget. Thus my goal of this weather station was to keep the components within my budget while achieving good, solid construction and reliable software.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">In addition to this, I found that if <span style="font-family: Verdana,sans-serif;">am to build a custom smart home system, I need to construct a weather station from
scratch so that it will be compatible with the rest of my system. </span></span><br />
<br />
<span style="font-family: Verdana,sans-serif;">One of my aims for this project is that it should be self powered and self sustaining as much as possible. The weather board listed here has a JST connector for
power via a Li-Ion battery, and can also be powered via USB. I decided to
go with a Li-Ion for the main power. To keep the battery charged, I will be going
solar. The build is comprised of Sparkfun, Adafruit and Amazon components.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">Since this weather station can be easily reproduced and since it is comprised of open source hardware, I'll fill you in on the tid-bits.</span><br />
<br />
<span style="font-family: Verdana,sans-serif;">From <a href="http://www.sparkfun.com/">Sparkfun Electronics</a>:</span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">1 x <a href="https://www.sparkfun.com/products/10586">USB Weather board</a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x <a href="https://www.sparkfun.com/products/8942">Weather Meters</a></span> </li>
<li><span style="font-family: Verdana,sans-serif;">1 x Series 2 <a href="https://www.sparkfun.com/products/10419">XBee Pro 50mW</a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x 5dBi 2.4Ghz <a href="https://www.sparkfun.com/products/558">RPSMA Antenna </a></span> </li>
</ul>
<br />
<span style="font-family: Verdana,sans-serif;">From <a href="http://www.adafruit.com/">Adafruit Industries</a>:</span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">1 x 10K <a href="http://www.adafruit.com/products/372">Thermistor</a> (for regulating charging behavior when battery temp is too high or too low)</span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x nifty <a href="https://www.adafruit.com/products/390">USB/DC/Solar LiPo Charger</a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x 6 V 3.4W <a href="https://www.adafruit.com/products/500">Solar Panel</a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x clear <a href="http://www.adafruit.com/products/905">weather resistant box</a> to enclose the whole project </span></li>
</ul>
<span style="font-family: Verdana,sans-serif;">Since the weather station from Sparkfun doesnt come with a temperature/humidity external sensor, I may have to construct my own, using two sensors: </span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">1 x waterproof <a href="https://www.adafruit.com/products/381">digital temperature sensor</a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x <a href="http://www.parallax.com/tabid/768/ProductID/554/Default.aspx">humidity sensor</a></span></li>
</ul>
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">While the weather board makes the I<sup>2</sup>C headers from the micro-controller accessible via the expansion header, the </span></span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><a href="http://www.parallax.com/tabid/768/ProductID/94/Default.aspx"><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">Sensiron I<sup>2</sup>C</span></span> sensor</a> is out of my current budget, and therefore I will construct my own device out of sensors I already have. </span></span><span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"></span></span><br />
<br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">Finally there were a few things left to get from Amazon, since obviously thats the cheaper route to take for someone with a tight budget. I needed a mounting kit for the weather station so that I could place it somewhere high up, like on a roof, and an extension pigtail cable for the RPSMA connector:</span></span><br />
<ul>
<li><span style="font-family: Verdana,sans-serif;">1 x stable <a href="http://www.amazon.com/gp/product/B003EAANBO/ref=ox_sc_act_title_6?ie=UTF8&smid=A2ANVX7C75D1I">mounting kit with mast</a><a href="https://www.adafruit.com/products/381"></a></span></li>
<li><span style="font-family: Verdana,sans-serif;">1 x <a href="http://www.amazon.com/gp/product/B005G20NRC/ref=ox_sc_act_title_7?ie=UTF8&smid=A1THAZDOWP300U">male to female connector RPSMA pigtail</a> cable</span></li>
</ul>
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;">With these items bought, I just have to assemble everything together, upload my own customized code to the weather station board, and set it up for operation outside. I have decided to use a 16x2 LCD screen for local debugging to make sure the sensors are working, and I have a Processing program running to log data on the computer.</span></span><br />
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><br /></span></span>
<span style="font-family: Verdana,sans-serif;"><span style="font-family: Verdana,sans-serif;"><br /></span></span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-6158187003570219872012-08-31T00:11:00.004-05:002012-08-31T00:11:49.256-05:00Smart Home Prototype<span style="font-family: Verdana,sans-serif;">Since last time that I posted, I went ahead and made a plan for the Smart Home System that I wanted to build. I found that I just didnt have the budget to make the full scale prototype, so I decided on making a 1/3 scale prototype to demonstrate functionality and features, and then try to get some grants or Kickstarter money to fund the rest of the prototype.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">So I ordered a ton of parts from Sparkfun, Pololu, SeeedStudio and Pro-Advantage, as well as bought a bunch of stuff from my local electronics store. Everything came in today (minus the stuff from Adafruit which is on Backorder). I've already gotten started on the RFID Door Lock Module, which is simple enough, but surprisingly, with all the tutorials and examples out there, I still struggled a little bit in writing the code. I'll post the tag checker function on here once I get it working. Simply put, the main structure of my code follows this: <a href="http://arduino.cc/playground/Code/ID12">ID-12 RFID Tag Reader Sample Code</a>.</span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">I plan to have an Arduino Fio (with its battery pack), the RFID reader and an electronic door strike to complete this module. The benefit here is that there is also an XBee attached to the Fio. So when the door opens, the Smart System is notified, and things start happening. I'll post code when I can: I plan to turn this into a sellable product, so I dont want to give away too much source code. </span><br />
<span style="font-family: Verdana,sans-serif;"><br /></span>
<span style="font-family: Verdana,sans-serif;">Thats all for now. Peace Out.</span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-8557808471671946642012-07-25T17:55:00.000-05:002012-07-25T17:55:09.753-05:00Rensas RL78/G13 Promotion Board<div class="separator" style="clear: both; text-align: center;">
<a href="http://am.renesas.com/media/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrpbrl78g13/RL78_Kit_sm.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="158" src="http://am.renesas.com/media/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrpbrl78g13/RL78_Kit_sm.jpg" width="320" /></a></div>
<div style="font-family: Verdana,sans-serif;">
Well, I got my Rensas promotion board today, so Im excited to see what features it can provide me, and if it can fit into my project. Great thing is, I made the sample request yesterday, and they sent it with 1-day shipping. You better get one while this lasts, even if you dont have a need for it, its free!</div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
The features according to the <a href="http://am.renesas.com/products/mpumcu/rl78/index.jsp">RENSAS Website</a>: </div>
<blockquote class="tr_bq">
<ul>
<li><span style="font-family: Verdana,sans-serif;">World’s leading low power performance</span><span style="font-family: Verdana,sans-serif;"> for equivalent MCUs in its class</span><span style="font-family: Verdana,sans-serif;"> </span></li>
<li><span style="font-family: Verdana,sans-serif;">Scalability of line-up, including smart</span><span style="font-family: Verdana,sans-serif;"> pin layout</span><span style="font-family: Verdana,sans-serif;"> </span></li>
<li><span style="font-family: Verdana,sans-serif;">System cost saving features</span><span style="font-family: Verdana,sans-serif;"> </span></li>
<li><span style="font-family: Verdana,sans-serif;">Wide voltage operation</span><span style="font-family: Verdana,sans-serif;"> </span></li>
<li><span style="font-family: Verdana,sans-serif;">Wide temperature operation</span><span style="font-family: Verdana,sans-serif;"> </span></li>
<li style="font-family: Verdana,sans-serif;">Built-in safety features</li>
</ul>
</blockquote>
<blockquote class="tr_bq">
<span style="font-family: Verdana,sans-serif;">The RL78 MCUs‘ innovative “Snooze“ mode achieves ultra-low power by allowing ADC</span> <span style="font-family: Verdana,sans-serif;">operation and serial communication, all while the CPU is turned off. This makes the</span> <span style="font-family: Verdana,sans-serif;">RL78 MCUs best in class for low power applications.</span></blockquote>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-52590567959739314132012-07-23T19:14:00.000-05:002012-07-24T13:50:11.555-05:00Darlington Transistor Arrays<div style="font-family: Verdana,sans-serif;">
After a bumpy period in my personal life, I am back on this project. Its going to be a bit slow over the next few weeks due to Ramadan, but I feel like I am excited to get the project back on track.</div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<span style="font-family: Verdana,sans-serif;">The relay board did get assembled, but after finding a fault in the circuit design, Im having to fix it and make another revision. I have to say though, Im glad I came across </span><a href="http://www.adafruit.com/blog/2012/02/03/part-finder-friday-darlington-transistor-arrays/" style="font-family: Verdana,sans-serif;">this post on Adafruit</a><span style="font-family: Verdana,sans-serif;"> about the ULN2003 Darlington Array, because that part (in its DIP or SMD packages) should allow me to shrink the dimensions of the relay board. </span><br />
<br />
<span style="font-family: Verdana,sans-serif;">Also, if you're interested, RENSAS is offering a <a href="http://am.renesas.com/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrpbrl78g13/index.jsp">free promotion board</a> for their new RL78 chip, to those who are willing to provide some information on the project it will be used in. </span><span style="font-family: Verdana,sans-serif;">They describe, “The YRPBRL78G13 is a promotion board for the new Renesas RL78 microcontroller family. It supports on-board debugging, flash programming, and is pre-programmed to work with the GUI provided on the included DVD to demonstrate the low-power capabilities of the Renesas RL78 MCU.”<via <a href="http://am.renesas.com/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrpbrl78g13/index.jsp">DangerousPrototypes </a>></span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-54214490401574585692012-06-07T22:25:00.000-05:002012-07-06T11:44:35.388-05:00G8P Relay Controller Part 2<div style="font-family: Verdana,sans-serif;">
Well I sent my boards off to the Fab shop, so hopefully they'll be in sometime next week. <br />
<br />
In the meantime, Ive started coding for the board to control the relays remotely. I've also begun work on the Relay control library to make coding a lot easier. The goal is to get a VB GUI program to interface with the relay controller to flip relays on and off. If that works, then the I'll try to make a Web server PHP script to control the relays remotely. As much as it is nice to have control over lighting at each station, the end goal is to interlink all these relay boards so that the Smart Home system maintains each system rather than the user. I've already begun making plans to make the next revision of these boards XBee Wireless.</div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
For the moment, I see a great need for single and dual relay controllers, but not so much for triple, quadruple or more relays per board. However, if the need arises, I can design larger sized relay controllers. Most people have one lamp here and another there; some just want control of their ceiling fans and lights. While the initial revision is dual relays, I see a future for making single relay boards. </div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
I've decided to say a little bit (benefits) about why I've selected the Omron G8P Automotive relays:<br />
<br />
First, theyre capable of handling high currents at high voltages. An SPST relay can handle 30A at 220VAC, while an SPDT can handle 20A at 220VAC. That goes a long way for controlling devices in a home. <br />
<br />
Second, there are quick connect pins on the top of the relays, which allow an electrician to use quick connect crimp connectors to wire each relay into a lighting circuit. This is beneficial, since they most electricians are already aware of this connector, and probably stock up on them. </div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
Third, the PCB board doesnt have to account for high currents running through it, so price of fabrication is lower, and thus price to sell a controller is lower. This is more a technical aspect, but its important for the user in that theres less of a chance of a fire in case of failure of the PCB. Fourth, these relays are already being used on production lines in manufacturing facilities and in automotive applications. They've proven their worth and their reliability. I can say from experience using these relays before in a couple of projects, that they never let me down. </div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
So benefits all the way around. Finally, there's only one company I'm aware of that sells relay controllers with G8P relays. As their pricing stands today, the boards are way over priced, and totally unaffordable by electronic hobbyists. The plan is to make my boards affordable, and still try to give the same range of features. </div>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-47048036728428825372012-06-04T03:01:00.000-05:002012-07-06T11:47:51.770-05:00G8P Relay Controller<div style="font-family: Verdana,sans-serif;">Well I've been developing a dual relay controller board for use with my Smart Home system (its meant to be controlled via the Beagle Bone or Raspberry Pi). Its somewhat based on the <a href="http://www.relaycontrollers.com/Relay/Device/UADR220PROXR">NCD USB Relay board</a>, but I've changed a few things and made it smaller. Trust me, my board looks nothing like theirs.<br />
<br />
I wont go into too many details until I've gotten the board fabricated, assembled and tested. For now, I'd like to highlight some specs and code. The benefit of this board is that I've decided to embed a Teensy microcontroller into it, which means that this is a USB-to-Serial Relay board. So the Teensy is powered via USB. The relays however, will be powered via a 12VDC adapter. The relay power supply is separate from the Teensy power supply. </div><div style="font-family: Verdana,sans-serif;"><br />
</div><div style="font-family: Verdana,sans-serif;">There are two Quick-Connect Contact G8P Relays on board. If I decide SPST, its rated at 30A at 250VAC, and if SPDT, its rated at 20A at 250VAC. </div><div style="font-family: Verdana,sans-serif;"><br />
</div><div style="font-family: Verdana,sans-serif;">For reference, here is the ASCII byte command chart:</div><div style="font-family: "Courier New",Courier,monospace;"><br />
</div><pre class="cpp" name="code" style="font-family: Verdana,sans-serif;">//The first is the command mode byte (not implemented); The second is the command byte.
(254),0-1 Turn ON Individual Relays
(254),2-3 Turn OFF Individual Relays
(254),4-5 Get the Status of an Individual Relay
(254),6 turn all on.
(254),7 turn all off.
</pre><br />
<br />
<br />Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-12034927220362274812012-05-22T17:18:00.000-05:002012-05-22T17:22:53.278-05:00Cosm, Prowl and The Internet of Things<div style="font-family: Verdana,sans-serif;">
<span style="font-size: small;">I've been really distracted lately with various projects, and trying to explore my cooking creativity now that I'm getting bored of looking for work all the time. However, this blog isn't about my life, its about my tech research, which I've done a little bit of in the past month. Granted, I haven't gotten the Dragino to post sensor data to Pachube yet, but I'll get there. Which brings me to my first topic.</span><br />
<br />
<span style="font-size: large;">Pachube is now Cosm!</span></div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
<span style="font-size: small;">You heard it. Apparently, nobody could pronounce PATCH-BAY, so now its COS-M. <br />Now its interface has changed a bit from what it used to be. It's no longer just a cloud to aggregate and share your sensor data, but rather an Internet of Things system to help you control hardware based on that data. This is quite similar to <a href="http://www.pushingbox.com/">PushingBox</a> and <a href="http://open.sen.se/">Sen.se</a>, except that <a href="https://cosm.com/">Cosm </a>has a much larger community, and doesn't really have to start from the ground-up. In any event, it should be interesting to experiment with the new system.</span></div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
<span style="font-size: small;">That brings me to another topic: the <a href="http://www.theinternetofthings.eu/">Internet of Things</a>. I've found a really nifty (and very useful) iPhone app called <a href="http://prowlapp.com/">Prowl</a>, which allows an external site to push notifications to your phone for practically anything. Using <a href="http://www.jzlabs.com/2009/07/13/prowler-a-firefox-extension-to-quickly-send-selected-text-to-prowl/">Prowler </a>for <a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a>, <a href="https://chrome.google.com/webstore/detail/afjmhofmjbffpakdiiilmkcdclabhmmb">Prowl </a>for <a href="https://www.google.com/intl/en/chrome/browser/">Chrome </a>and <a href="http://growl.info/">Growl </a>for <a href="http://www.apple.com/safari/">Safari</a>, you can push text and links to your iPhone. <a href="http://www.pushingbox.com/">PushingBox</a> can take in a sensor feed from an Arduino, and set an action to push a notification to you via <a href="http://prowlapp.com/">Prowl</a>. It can also send you an email, post to twitter and more. There are so many possibilities to this, but the big one that comes to mind is a notification when someone enters your home when you are not home. <a href="http://makeprojects.com/Project/Notifying-Doorbell/2165/1">Doorbells </a>are cool, but if you've got a small home, it doesn't really matter. If you're in the backyard, how likely will you have your phone in your pocket? Right. So, security is the big use that comes to mind when using this notification system. Very convenient, isn't it.</span></div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
<span style="font-size: small;">There will more plenty of time to discuss other topics I'm working on, but I wanted to give the run down on Cosm and Prowl, just to let you know of the technologies out there to give life to your next project. </span></div>
<div style="font-family: Verdana,sans-serif;">
<br /></div>
<div style="font-family: Verdana,sans-serif;">
<span style="font-size: small;">Take Care. </span></div>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0tag:blogger.com,1999:blog-4062533658373691016.post-56667346912337644172012-04-28T21:42:00.002-05:002012-10-05T23:57:03.972-05:00Xubuntu 12.04 LTS<span style="font-family: Verdana, sans-serif;">Well I ran into a bit of a snag when trying to install TFTP so that I can transfer the compiled hex program from my laptop over to the Dragino. Apparently Ubuntu 9.10 is no longer supported by the Application Manager, so you have to change the sources.list over to <a href="http://old-releases.ubuntu.com/">old-releases.ubuntu.com</a>. That would have worked if I could get a working internet connection. </span><br />
<br />
<span style="font-family: Verdana, sans-serif;">So I decided to throw out the old version of Ubuntu, and switch over to <a href="http://xubuntu.org/getxubuntu/">Xubuntu 12.04 LTS</a>. I managed to get internet on that over an Ethernet cable, so I was able to get all the software updates and installs done. I also managed to get the <a href="https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx">Broadcom 4360 driver</a> installed so that I can get WiFi going on the laptop. If you are running into the same problem on Ubuntu, use this fix and reboot.</span><br />
<div class="wp-terminal">~$ sudo apt-get install b43-fwcutter firmware-b43-installer</div><span style="font-family: Verdana, sans-serif;">Long story short, my system is back up and running in working order. </span>Tamirhttp://www.blogger.com/profile/18223116012199898479noreply@blogger.com0