tag:blogger.com,1999:blog-23714263251711882872024-03-14T01:46:25.588-07:00Projects of max246My projects that nobody will never understand =)d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.comBlogger56125tag:blogger.com,1999:blog-2371426325171188287.post-38009926177384954542017-07-16T13:48:00.003-07:002017-07-16T13:48:21.325-07:00E3276 and my fight to get it working<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<h3 style="text-align: left;">
<u>Issue</u></h3>
<br />
I wanted to upgrade my webcam system with a new dongle which supported 4G due to the carrier being upgraded and because 4G is everywhere now.<br />
I bought a new dongle from Ebay which was pretty straight forward, just needed an unlocked one and I got it.<br />
Following few tutorials, just because I couldnt remember exactly how to switch mode to CDC mode, I ended up to find the whole process difficult and unsuccessful.<br />
<br />
<h3 style="text-align: left;">
<b><u>Investigation</u></b></h3>
<br />
First, Huawei is an amazing dongle, second,<a href="http://routerunlock.com/" target="_blank"> routerunlock.com</a> is an awesome website!<br />
By Googling around, I found out that my dongle was fully working but running a wrong firmware which allows PPP mode but this is not what I needed.<br />
Here is my discovery, Huawei modem have two communication:<br />
<br />
<ul style="text-align: left;">
<li>Serial device</li>
<li>Composite or Ethernet device</li>
</ul>
<div>
As you can presume, what I wanted is Ethernet device.</div>
<div>
<br /></div>
<div>
Specifically on this model, the version 21 and before are SERIAL and 22 or above should be ETHERNET.</div>
<div>
Using linux, I could trigger the mode by typing (remember 1506 needs to be discovered by doing lsusb):</div>
<div>
usb_modeswitch -v 12d1 -p 1506 -J -R -W<br />
<br />
Then your device will either go into Serial or Ethernet device.<br />
<br />
If you are unfortunate like me that you can only access the model via serial, it is best to install a serial client which allows you to get IMEI number and firmware.<br />
<br />
<h3 style="text-align: left;">
<b><u>AT way</u></b></h3>
<br />
When you discovered that you device is using a Serial device, open it with a serial client ( I used arduino just because it was open at the moment), and type:<br />
<span style="background-color: #fafafa; color: #2c2c2c; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 14.6667px;">ATI</span><br />
You should see something similar:<br />
Manufacturer: huawei<br />
Model: E3276<br />
Revision: 21.263.03.00.78<br />
IMEI: 863**************<br />
+GCAP: +CGSM,+DS,+ES<br />
Remember to add CR at the end of every command!<br />
<br />
Now you got some information, in my case I found out that I am running a firmware 21 and I got the IMEI to general the password.<br />
<br />
You need to find out what exatcly model you got, by typing <span style="background-color: #fafafa; color: #2c2c2c; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 14.6667px;">AT^FHVER</span><span style="background-color: #fafafa; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 14.6667px;"> which should return somthing similar:</span><br />
<span style="background-color: #fafafa; font-size: 14.6667px;"><span style="font-family: Open Sans, Helvetica, Arial, sans-serif;">^FHVER:"E3276s-150 21.263.03.00.78,CH1E3276SM Ver.C"</span></span><br />
<span style="background-color: #fafafa; font-size: 14.6667px;"><span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><br /></span></span>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="background-color: #fafafa; font-size: 14.6667px;">Now I got everything:</span></span><br />
<br />
<ul style="text-align: left;">
<li><span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Running 21 firmware</span></span></li>
<li><span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">I got my IMEI</span></span></li>
<li><span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">I got the model which is E3276s-150</span></span></li>
</ul>
<h3 style="text-align: left;">
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><b><u>Password</u></b></span></span></h3>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">You need to generate a password from your IMEI, there <a href="http://www.modemunlock.com/huawei-new-algo-unlock-code-calculator.html" target="_blank">this website</a> which ask to login with your G+ then ask for a G+ like and then you will get the password for free. Not a bad deal!</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<h3 style="text-align: left;">
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><b><u>Firmware</u></b></span></span></h3>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Now that I have all the information I can go ahead and flash my device with the latest one from this <a href="https://routerunlock.com/download-webui-dashboard-huawei-hilink-modem-router-free/" target="_blank">website</a> , you could possibly find another website but this worked for me.</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Remember to flash first WEBUI then the FIRMWARE, otherwise you are going to run into issues like I had.</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Remember to double check the model, mine was 150, yours could be different.</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Once you have flashed the two file ( Firmware and WEBUI ), your device should be ready and your should be able to open the page http://192.168.1.1</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">What if you flash WEBUI as last</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">Without even thinking about it, I flash the firmware then the webui, unfortunately the webui software couldnt find the device and thrown me errors. The device itself was working and the API call did work.</span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;">The little trick is to be able to switch the mode by using the API or if you had a older version of WEBUI by going to http://192.168.1.1/html/switchProjectMode.html</span></span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Thankfully I<a href="https://forum.mikrotik.com/viewtopic.php?t=68136" target="_blank"> found a just who made</a> a curl script with the right parameters to switch and then I successfully flashed my WEBUI</div>
<div>
<br /></div>
<div>
echo "<request><mode>1</mode></request>" | curl -X POST -H "__RequestVerificationToken:1099746139" -H "Content-type: text/xml" -d @- http://192.168.8.1/api/device/mode</div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<h3 style="text-align: left;">
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><u>Versions</u></span></span></h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE4ktRI-PqUv62yewhBFRftXRvD8HVOKq1pOv95OGyI6vx6wMstghFgdmMJqseeZN6pPO3UvIqMsz9-DGoAIpPY77sh9CX_HA1oXeYVfzq9y2faSMBWpwGpc_9zRZ1eIzkasuiJv0dEO2J/s1600/Selection_040.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="97" data-original-width="436" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE4ktRI-PqUv62yewhBFRftXRvD8HVOKq1pOv95OGyI6vx6wMstghFgdmMJqseeZN6pPO3UvIqMsz9-DGoAIpPY77sh9CX_HA1oXeYVfzq9y2faSMBWpwGpc_9zRZ1eIzkasuiJv0dEO2J/s320/Selection_040.png" width="320" /></a></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div>
<span style="font-family: Open Sans, Helvetica, Arial, sans-serif;"><span style="font-size: 14.6667px;"><br /></span></span></div>
</div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com1tag:blogger.com,1999:blog-2371426325171188287.post-34190363171360402862017-05-07T14:51:00.000-07:002017-05-07T14:51:26.333-07:00Communicate between Raspberry Pi and Arduino<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Intro:</u></b><br />
I was looking how I could talk between Raspberry Pi and Arduino, because sometimes is much easier to get a sensor, driver motor or else ready in C instead of trying to code something that will take months to get it working.<br />
<br />
<a href="http://amzn.to/2pQXDUw">http://amzn.to/2pQXDUw</a><br />
<br />
<b><u>Communications:</u></b><br />
Raspberry Pi has the advantage to have SPI, I2C and Serial port communication, but for laziness I chose the Serial port. Of course you could try to go for SPI or I2C but it will take a little bit of more time to setup everything.<br />
<br />
<b><u>What you need:</u></b><br />
You can use the serial port already existing on the Raspberry's pins but to make sure that I am not going to send some dirty data, because you can access the console via com, I chose to buy a usb ftdi.<br />
You can buy the "official" usb to ttl, that will cost you around 15 pounds or you can go for a standard and cheap one <a href="http://dx.com/p/pl2303hx-converter-usb-to-ttl-usb-to-com-cable-module-black-1m-150928" target="_blank">here</a> that works great!<br />
<br />
<b><u>Connection:</u></b><br />
Connect the usb ttl on your Raspberry's usb port and then 3 cables in yours Arduino, <u><span style="color: red;">remember to dont connect the power pin! It wont damage your Arduino but better dont risk.</span></u><br />
<br />
Black pin = > Arduino Ground<br />
Green pin => Arduino RX<br />
White pin => Arduino TX<br />
<br />
You can choose other two pins for RX and TX but if you need to talk straight to the Arduino, just use the common serial port.<br />
<br />
<br />
<b><u>Code:</u></b><br />
I did few lines of code in Python, or just use any other languages to read and send on serial port.<br />
This is the simple code:<br />
<br />
<br />
<br />
On your Arduino just write whatever to answer or decode from Raspberry Pi, this is a simple example:<br />
<br />
<br />
<br />
<b><u>Conclusion:</u></b><br />
It's pretty simple and easy to communicate via Serial port, make sure that you always:<br />
<br />
<ul style="text-align: left;">
<li>select right bitrate</li>
<li>remove the usb ttl when uploading a new Arduino project</li>
<li>try simple communication if there is any communication problems</li>
<li>never connect the red pin to the Arduino board</li>
</ul>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-51871103662558132016-10-15T15:02:00.000-07:002017-05-07T14:49:43.104-07:00Huawei E3131 issues with 3G<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
I had some issues with my dongle due to a change of carrier and probably change of frequency.<br />
My lovely dongle stopped working on 3G network and decided to connect only on 2G, which made my life a hell.<br />
<br />
After few head scratches ( 4 hours ), I tried to upgrade the firmware, which was very hard to find due to the old hardware and only few people providing the software.<br />
<br />
I found this <a href="https://3ginfo.ru/downloads704.html" target="_blank">russian website</a> which has a good archive of firmware, just use google translate to read what the website say.<br />
<br />
The procedure is easy:<br />
1) Connect your dongle to a windows machine<br />
2) Run the upgrade firmware software and it will make the device become a serial port<br />
3) If you dont have the driver installed, you will need to download the Mobile Partner software which includes all drivers<br />
4) If you run windows 10, make sure you reboot on "disable signature drivers" or you will never install them<br />
5) You might need to edit the ini to allow the driver to be installed as not all of the devices are listed but the driver is generic<br />
6) After all of this, run again the upgrade firmware software<br />
7) At some point you will be asked to insert a password, go on <a href="http://www.modemunlock.com/huawei.php" target="_blank">here</a> and use your IMEI to get your password<br />
8) After all of this, the job is done! I got back my 3G connection.<br />
<br />
Small tip, you will probably need to flash WebUI as well, on my case, it just didnt work and I had to flash it.<br />
<br />
<br />
I hope this helped someone else.<br />
<br />
Modem: <a href="http://amzn.to/2qeFi4T">http://amzn.to/2qeFi4T</a></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-2247689543209065872016-02-13T10:20:00.000-08:002017-05-07T14:50:14.265-07:00Karcher SC3 Broken<div dir="ltr" style="text-align: left;" trbidi="on">
A very interesting Saturday where I had this Karcher Steamer machine which turned on, detecting water level but not able to warm it up.<br />
<div>
<br /></div>
<div>
After a bit of thinking I have decided to open it and try to find the issue on this simple system, maybe a fuse? Maybe a broken part? It must had be very simple!</div>
<div>
<br /></div>
<div>
I had to follow each cable and understand how it worked:</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEJdG1kzZJoImmnKQcV6zzeV-jE2gpHk8RbiXsa6gdYdvR1dkWPObqTwf1dZuiXYOgS5MQE4FOvkbHPixi0AipBTZ4zZfWA-kwijHFC8pUCxMREW6thYmaxxwQvlyG0lro5G_2ZvjxAc9j/s1600/Karcher.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEJdG1kzZJoImmnKQcV6zzeV-jE2gpHk8RbiXsa6gdYdvR1dkWPObqTwf1dZuiXYOgS5MQE4FOvkbHPixi0AipBTZ4zZfWA-kwijHFC8pUCxMREW6thYmaxxwQvlyG0lro5G_2ZvjxAc9j/s320/Karcher.png" width="158" /></a></div>
<div>
The controller is powered up and checking if the water is present, if not a light turns on and the pump doesnt turn on.</div>
<div>
<br /></div>
<div>
When the water is present, a pressure detection of 2.1 Bar is taking care to turn on and off the heating element.</div>
<div>
<br /></div>
<div>
When then temperature goes low, the switch turns on the pump that allows the water to be pumped inside the heating system.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Luckily my issue was very simple, I have tested the pump and few connections but nothing was broken or burnt. What I didnt actually check is the long run cable where a female connector wasnt secure inside the pin which controlled the whole heating and pump system. </div>
<div>
<br /></div>
<div>
Put all back together and I had my steamer machine working without buying a new one or contacting the support.<br />
<br />
<br />
<br />
<br />
Product on amazon: <a href="http://amzn.to/2pR5n8R">http://amzn.to/2pR5n8R</a></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com1tag:blogger.com,1999:blog-2371426325171188287.post-65816102176002437022015-11-03T12:45:00.000-08:002015-11-03T12:45:46.529-08:00Talking Scary Pumpkin <div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Introduction</u></b><br />
<br />
It is Halloween, or at least it was when I made this pumpkin, and I had to make something scary otherwise.<br />
The pumpkin needed to have sound, flashing lights and sensor to trigger when people were walking past, and everything powered with 9V.<br />
<br />
<br />
<a href="https://github.com/max246/xman-hack/tree/master/Pumpkin" target="_blank">Code is available here</a><br />
<br />
<br />
<b><u>Items</u></b><br />
<br />
I ordered a simple <a href="http://projectsmax246.blogspot.co.uk/2015/10/mp3-player-serial.html" target="_blank">MP3 serial player to connect to the Arduino</a>, one small amplifier to pump the sound, two speakers, PIR sensor and a lot of leds.<br />
<br />
<a href="http://www.dx.com/p/uart-control-serial-mp3-music-player-module-for-arduino-avr-arm-pic-blue-silver-342439#.VjkcYXXtlBd" target="_blank">MP3 Serial player</a><br />
<a href="http://www.ebay.co.uk/itm/201377212799?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT" target="_blank">Amplifier</a><br />
<a href="http://www.ebay.co.uk/itm/310395752586?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT" target="_blank">Speakers</a><br />
<a href="http://www.ebay.co.uk/itm/181863707261?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT" target="_blank">PIR sensor</a><br />
<br />
<br />
But remember, dont buy always cheap stuff otherwise you will end up to fine tune your installation without any clue, read more about below.<br />
<br />
<br />
<br />
<b><u>Why you need to spend that pound more</u></b><br />
I tried to make the whole project as cheap as possible due to the pieces that I wasnt going to re-use anymore. But this came with a price to pay, having sensor which dont have any labels on the PCB and you have no clue what each pin do and how to tune it.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyXuIhPkhsrKoFnI_6G99KWmAi_n5mFvk2meFl42iON9nwjkIEQSqiEE2J1VPeeI0x3jfO2pMvGo-N0ygpgDGPa3fWy7rvzhqfjeIaPGEi0XtnpsCLVvYYlZ1nPaCvn8XaP8M8KPkcEWDo/s1600/IMG_20151103_195540.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyXuIhPkhsrKoFnI_6G99KWmAi_n5mFvk2meFl42iON9nwjkIEQSqiEE2J1VPeeI0x3jfO2pMvGo-N0ygpgDGPa3fWy7rvzhqfjeIaPGEi0XtnpsCLVvYYlZ1nPaCvn8XaP8M8KPkcEWDo/s320/IMG_20151103_195540.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
After few investigation and comparing the good PIR sensor to this cheap one, I find out what are the pins to connect and the two potentiometers.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrDOLncyzn3g_XQ4V78lTFT2A2h3IFn-aywv2Kh_qv6cyLUsizS-9lezl3mUO72JM5sQjr6g3B0phHMYisPzMa2BD7IpQiJgwgoh5VhM_1Xz3QHe8aeKTin4veD-hU3eZjYrUBzB-NiZE2/s1600/Untitled+drawing.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="196" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrDOLncyzn3g_XQ4V78lTFT2A2h3IFn-aywv2Kh_qv6cyLUsizS-9lezl3mUO72JM5sQjr6g3B0phHMYisPzMa2BD7IpQiJgwgoh5VhM_1Xz3QHe8aeKTin4veD-hU3eZjYrUBzB-NiZE2/s320/Untitled+drawing.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
From the picture above you can see no labels are on the board and I pointed each one pin where should be connected to get it working.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The potentiometers was a bit tricky as different boards on the internet were showing different functionality. </div>
<div class="separator" style="clear: both; text-align: left;">
This board has the first potentiometer which set the sensitivity of the sensor, turning to the left it will make less sensible and to the right more sensible.</div>
<div class="separator" style="clear: both; text-align: left;">
The second is setting the timing but it is very sensible as the position on the picture would be 65 seconds of wait and twisted all the way to the left is 2 seconds, so I would assume that all the way to the right might be 260 seconds. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
I hope these information might help someone having the same issue as I had in this installation.</div>
<div class="" style="clear: both; text-align: left;">
<b><u>Wiring</u></b></div>
<div class="" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div class="" style="clear: both; text-align: left;">
You can see from the picture below that is a total mess! Sorry, I didnt have time to clean it up as it was a one day project and it needed to work the day after.</div>
<div class="" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbORLcu5OGd-06eRnlTkoiOONb6r0mM8E3khdO1AKBvP2gCnhJRJR4ud1YEZ2GeU2tcbs-8dPhdUbxwXMjoSb12d3CNcI1oMBW7CpoKOi1tvBfUD23LJredm43H_bZscDs2Zm30-H9OsxC/s1600/IMG_20151103_193451.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbORLcu5OGd-06eRnlTkoiOONb6r0mM8E3khdO1AKBvP2gCnhJRJR4ud1YEZ2GeU2tcbs-8dPhdUbxwXMjoSb12d3CNcI1oMBW7CpoKOi1tvBfUD23LJredm43H_bZscDs2Zm30-H9OsxC/s320/IMG_20151103_193451.jpg" width="236" /></a></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6d13Y3Yg-L5JZMYrF3tnTYqoC8pBEecSZzSv_RiHws_qS5GVsNJIAv4jQnUgSmjUqaJ-dXZFkWYO8RX9_LF0j_Wuc7UfdcOgbOrRJVy70eB90ItvYT8OF2tTjEzNtGMmWEbEm4qGBlpv3/s1600/IMG_20151103_193519.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6d13Y3Yg-L5JZMYrF3tnTYqoC8pBEecSZzSv_RiHws_qS5GVsNJIAv4jQnUgSmjUqaJ-dXZFkWYO8RX9_LF0j_Wuc7UfdcOgbOrRJVy70eB90ItvYT8OF2tTjEzNtGMmWEbEm4qGBlpv3/s320/IMG_20151103_193519.jpg" width="240" /></a><br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I have used some stick to help to position some leds in the eyes, position the PIR in the nose, place the speakers on the back, some leds inside to make a nice light reflection and the arduino.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The MP3 player was connected over Serial and then amplifier on the output and then to the speakers, make sure you use 5V, otherwise the module might reset and make a horrible noise.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I had 4 strip of leds which had 4 light on each one, I have connected them to 4 pwm pins to make sure I can play with flashing and fading.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I found an old case for the battery which will provide 9V to the arduino and the PIR sensor connected to one of the digital pins.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>How it works</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
Probably you already understood what I have done if you read the lines above, but my idea was to scary people by walking pass to a glowing pumpkin and make them think that it was alive.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
The Arduino has two modes, one that glow all the lights with a different timing, and one flashing and triggering the sound. The PIR sensor was the device that was triggering the different mode and some delay to make sure the pumpkin wouldnt go crazy.</div>
<div class="" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<b><u>Result</u></b><br />
<b><u><br /></u></b>
<b><u><br /></u></b>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmkAdrsKtNdVsz9OQyTxczGr5e5ZKJ_77VWDiUVIIHXn9IYc26RovwwABqk255Eydbv2plqrc9XrBY82T7rbKLgJEZ4Lltx-p00wfzsprK4-q1PksprOfqPyV64E9vm4JX5jfNpqzh2XfU/s1600/IMG_20151103_193503.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmkAdrsKtNdVsz9OQyTxczGr5e5ZKJ_77VWDiUVIIHXn9IYc26RovwwABqk255Eydbv2plqrc9XrBY82T7rbKLgJEZ4Lltx-p00wfzsprK4-q1PksprOfqPyV64E9vm4JX5jfNpqzh2XfU/s320/IMG_20151103_193503.jpg" width="240" /></a><b><u><br /></u></b><br />
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw0AbK13Dh07v4rIUeSOYIEYqkNZSgmPjDQfpPId3sWflIXg0X88bawhFHe3jJjaigjjbQJUa8Hf-c0xEI3nyG1MiAPxhZNGJk4Fe1yidgBHPhSPaFwIU7-1QnUxCXBmyShuY0jcSKsjPL/s1600/IMG_20151031_194610.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw0AbK13Dh07v4rIUeSOYIEYqkNZSgmPjDQfpPId3sWflIXg0X88bawhFHe3jJjaigjjbQJUa8Hf-c0xEI3nyG1MiAPxhZNGJk4Fe1yidgBHPhSPaFwIU7-1QnUxCXBmyShuY0jcSKsjPL/s320/IMG_20151031_194610.jpg" width="236" /></a><b><u><br /></u></b><br />
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b><b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u><br /></u></b></div>
<br />
<br />
<blockquote class="instagram-media" data-instgrm-captioned="" data-instgrm-version="5" style="background: #FFF; border-radius: 3px; border: 0; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width: 658px; padding: 0; width: -webkit-calc(100% - 2px); width: 99.375%; width: calc(100% - 2px);">
<div style="padding: 8px;">
<div style="background: #F8F8F8; line-height: 0; margin-top: 40px; padding: 50.0% 0; text-align: center; width: 100%;">
<div style="background: url(data:image/png; display: block; height: 44px; margin: 0 auto -44px; position: relative; top: -22px; width: 44px;">
</div>
</div>
<div style="margin: 8px 0 0 0; padding: 0 4px;">
<a href="https://instagram.com/p/9elYTJvNcg/" style="color: black; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px; text-decoration: none; word-wrap: break-word;" target="_blank">Pumpkin finished</a></div>
<div style="color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 0; margin-top: 8px; overflow: hidden; padding: 8px 0 7px; text-align: center; text-overflow: ellipsis; white-space: nowrap;">
A video posted by Christian Bianchini (@christian.bianchini) on <time datetime="2015-10-30T22:05:54+00:00" style="font-family: Arial,sans-serif; font-size: 14px; line-height: 17px;">Oct 30, 2015 at 3:05pm PDT</time></div>
</div>
</blockquote>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br /></div>
<blockquote class="instagram-media" data-instgrm-captioned="" data-instgrm-version="5" style="background: #FFF; border-radius: 3px; border: 0; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width: 658px; padding: 0; width: -webkit-calc(100% - 2px); width: 99.375%; width: calc(100% - 2px);">
<div style="padding: 8px;">
<div style="background: #F8F8F8; line-height: 0; margin-top: 40px; padding: 50.0% 0; text-align: center; width: 100%;">
<div style="background: url(data:image/png; display: block; height: 44px; margin: 0 auto -44px; position: relative; top: -22px; width: 44px;">
</div>
</div>
<div style="margin: 8px 0 0 0; padding: 0 4px;">
<a href="https://instagram.com/p/9O9JsUvNRO/" style="color: black; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px; text-decoration: none; word-wrap: break-word;" target="_blank">Halloween project</a></div>
<div style="color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 0; margin-top: 8px; overflow: hidden; padding: 8px 0 7px; text-align: center; text-overflow: ellipsis; white-space: nowrap;">
A video posted by Christian Bianchini (@christian.bianchini) on <time datetime="2015-10-24T20:25:47+00:00" style="font-family: Arial,sans-serif; font-size: 14px; line-height: 17px;">Oct 24, 2015 at 1:25pm PDT</time></div>
</div>
</blockquote>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-26437616394276880182015-10-24T14:21:00.000-07:002017-05-07T14:49:24.309-07:00MP3 Player Serial<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Introduction</u></b><br />
The mp3 player serial is a cheap solution to add sound to your project, otherwise you could get a shield from Sparkfun or Adafruit which would cost more.<br />
<br />
<a href="http://www.dx.com/p/uart-control-serial-mp3-music-player-module-for-arduino-avr-arm-pic-blue-silver-342439#.VivzNXUVhBc" target="_blank">Shop online</a><br />
<a href="http://amzn.to/2pQWXOK">http://amzn.to/2pQWXOK</a><br />
<br />
<b><u>Files</u></b><br />
I couldn't find much information about this device or the vendor didn't give me a datasheet or sample arduino, so after I google for a while, I found all of it.<br />
<br />
<a href="https://github.com/max246/xman-hack/tree/master/mp3serial" target="_blank">Datasheet and Sample Arduino</a><br />
<br />
<br />
<br />
<br />
<b><u>Wiring</u></b><br />
<b><u><br /></u></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-n1LOSI74GPwW-xbgKzc160KFIOD7rDWXH2YPW0oBapJaqK0xfgc8a9nX3Lu0ADy8vl9jMTumyP4bvLZtqmC52FsCz4-CUehqSQ_v0vv1uD778gFDeaJE1RYOXPzg0T7evgU4aYqdVx_-/s1600/Screenshot+from+2015-10-24+22%253A15%253A08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-n1LOSI74GPwW-xbgKzc160KFIOD7rDWXH2YPW0oBapJaqK0xfgc8a9nX3Lu0ADy8vl9jMTumyP4bvLZtqmC52FsCz4-CUehqSQ_v0vv1uD778gFDeaJE1RYOXPzg0T7evgU4aYqdVx_-/s320/Screenshot+from+2015-10-24+22%253A15%253A08.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<b><u><br /></u></b>
The wiring is pretty simple, connect the serial communication to the Arduino and 5V is required.<br />
In my project I add a 3W amplifier just in case the sound wouldn't be too loud but otherwise you can avoid it.<br />
<br />
<br />
<b><u>Commands</u></b><br />
<br />
The datasheet confirm that there are these commands available for this module:<br />
<br />
<ul style="text-align: left;">
<li>Next song</li>
<li>Previous song</li>
<li>Play with index</li>
<li>Volume up</li>
<li>Volume down</li>
<li>Set volume</li>
<li>Single cycle play</li>
<li>Select device</li>
<li>Sleep mode</li>
<li>Wake up</li>
<li>Reset</li>
<li>Play</li>
<li>Pause</li>
<li>Play with folder and file name</li>
<li>Stop play</li>
<li>Cycle play with folder name</li>
<li>Set single cycle play</li>
<li>Set DAC</li>
<li>Play with volume</li>
</ul>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-64883557244940712982015-05-05T13:12:00.004-07:002015-05-05T13:12:46.186-07:003D Printed Chain Guard <div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Description</u></b><br />
I changed my Crank of my bike recently and it didn't have a chain guard to protect my jeans to get smashed and dirty.<br />
The options were to buy one online that means 10-12 GBP or to get a 3D model online and print it with my "already paid" filament.<br />
I went on Google and found one model that looked good and big enough for main Crank but when I tried on my bike, it was too small. What I have done is to measure the right diameter and increase the size to match my 12 cm disk.<br />
<br />
<br />
<b><u>Solution</u></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqIAO0me-4AtUdPHeksMUFQa9frH0f0OcM00h1kixp0XevPil0n5EPV_08NjwSP280DZEpVih6IyWqSCXEz2gOcfnnc3O8VglvOCiMWx_RaqLnKqJGMj5Mp9-a_Mh7aG6ZyYvgXJ2F3oP7/s1600/Screenshot+from+2015-05-05+21:11:00.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqIAO0me-4AtUdPHeksMUFQa9frH0f0OcM00h1kixp0XevPil0n5EPV_08NjwSP280DZEpVih6IyWqSCXEz2gOcfnnc3O8VglvOCiMWx_RaqLnKqJGMj5Mp9-a_Mh7aG6ZyYvgXJ2F3oP7/s1600/Screenshot+from+2015-05-05+21:11:00.png" height="141" width="320" /></a></div>
<br />
I have shared the model, even if it is not the correct ratio, but people could improve it and print it.<br />
<br />
<a href="https://www.tinkercad.com/things/hOXnZpOtUmW-chainguard-12-cm">https://www.tinkercad.com/things/hOXnZpOtUmW-chainguard-12-cm</a><br />
<br />
<br />
<b><u>Result</u></b><br />
<b><u><br /></u></b>
Final result with 4 M4 screws<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://igcdn-photos-e-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/11243553_1666737150220980_1417465418_n.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://igcdn-photos-e-a.akamaihd.net/hphotos-ak-xaf1/t51.2885-15/11243553_1666737150220980_1417465418_n.jpg" width="320" /></a></div>
<br />
<br />
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-12628517682593876162015-02-13T02:02:00.002-08:002015-02-13T02:05:14.825-08:00Leds Jacket<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Description</u></b><br />
In my little part of Switzerland, there is a huge celebration for the carnival that can last for over a month, and one of the way to enjoy this event is to dress up, party and enjoy the night.<br />
My project fits into the "dress up" step, where I made my own costume leds jacket that react with the sound and has different modes.<br />
<br />
<br />
<b><u>Items</u></b><br />
- 1x old jacket<br />
- 1x arduino<br />
- 1x spectrum sparkfun or <span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">MSGEQ7</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">- 1x microphone</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">- 1x Lipo battery</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">- 1x 9v battery</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">- 1x lot of meters of leds ( addressable are better )</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">- few step down 5v ( if you run a lower voltage leds compared to the battery )</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;"><br /></span>
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;"><b><u>Jacket</u></b></span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">You have to be creative, I decided a bit randomly how to place my strip of leds and based on that you have to think what kind of animation you can display.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDF_Hl_fsNyBDtjnyZL0_RZeqoVoBQXDOK0E6Wc6fQMia4kULHbdORjOpwsBY4jL0GEuOAsa5yk3ZDCVUQtja10Z7pkaZaCW_klGJQjAyEylzlYBphkfm-XBo8Nu0hiRHrlg1nUHcPUzLB/s1600/IMG_20150207_131210.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDF_Hl_fsNyBDtjnyZL0_RZeqoVoBQXDOK0E6Wc6fQMia4kULHbdORjOpwsBY4jL0GEuOAsa5yk3ZDCVUQtja10Z7pkaZaCW_klGJQjAyEylzlYBphkfm-XBo8Nu0hiRHrlg1nUHcPUzLB/s1600/IMG_20150207_131210.jpg" height="150" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW66CxaalVycE7rmvdkGpdquaAn6EqiYFK-fVSwf7sX3KUBpp7n-3QdbWwNsN1l4XKcbv6LARim1Rt2vShQjmMsH1f31you3xI3K9IpYPioDsTjuwfvUy4DBeF1RPjXAlUFT4wHVLia9z_/s1600/IMG_20150201_201022.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW66CxaalVycE7rmvdkGpdquaAn6EqiYFK-fVSwf7sX3KUBpp7n-3QdbWwNsN1l4XKcbv6LARim1Rt2vShQjmMsH1f31you3xI3K9IpYPioDsTjuwfvUy4DBeF1RPjXAlUFT4wHVLia9z_/s1600/IMG_20150201_201022.jpg" height="200" width="150" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Best way to stick your leds on the jacket is to saw them a bit every 20-40 cm then put a piece of fabric on the top to avoid people grabbing the strip or get stuck somewhere.<br />
<br />
If you are lucky enough, you will have a jacket with more than one layer of fabric, so you can run cables inside the jacket without touching them when wearing the jacket, and remember to find one with some big pocket inside to store battery and arduino.<br />
<br />
<br />
<br />
<b><u>Microphone</u></b><br />
The microphone is the tricky one to place, it took me a while to stick in the right position but with some sewing and hot glue everything stayed in position.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUg42n9ZSKcJrqrVWJN1aYpYKOwAvYAHILakrY-L-uRXnScr_VvEJ-uzTwusJ4NcB-GWfMeDBZkzfOiBDi_heDbsJUbRlTcdwJC06ufKtu2CtZWeJKw_UnrAfVXxlW7xyR800UCgS1Jhs8/s1600/IMG_20150121_211515.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUg42n9ZSKcJrqrVWJN1aYpYKOwAvYAHILakrY-L-uRXnScr_VvEJ-uzTwusJ4NcB-GWfMeDBZkzfOiBDi_heDbsJUbRlTcdwJC06ufKtu2CtZWeJKw_UnrAfVXxlW7xyR800UCgS1Jhs8/s1600/IMG_20150121_211515.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9i08zWa496qSf1SYBoILkTyIfLiO4U3M_ge8jAyBP5NQkOgGmehmzbEkSvuUnOl9x2CttxWZNmkhO0JW0P4lao4LDL4xLISPzYP1AZ_Jkq9cjC6KYODsjfTFZM3Tr2BmgiRp-wl84g9q7/s1600/IMG_20150121_212419.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9i08zWa496qSf1SYBoILkTyIfLiO4U3M_ge8jAyBP5NQkOgGmehmzbEkSvuUnOl9x2CttxWZNmkhO0JW0P4lao4LDL4xLISPzYP1AZ_Jkq9cjC6KYODsjfTFZM3Tr2BmgiRp-wl84g9q7/s1600/IMG_20150121_212419.jpg" height="200" width="147" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
Remember, try to find the best position to fit everything and close to inside pocket to avoid to pull any cables that will stop the fun.</div>
<div class="" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<b>Battery</b></div>
The battery is up to you, in my case I decided to use a 5v addressable leds that will consume 3.2 A and one lipo 4S 4000 mah to power them. The battery life is about 6-8 hours but it can be extend by lowering the brightness via code.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFB4P8hUDs2Hv2VXZwuL6j1eHD58dsav9w5CzjqchHOEs032FBxzb_TdOzWdwU0SwEhUuDbNOaIwlmBkzPcWFSZMW3XjfzoM5eQJjKFF3EKuBw6avCMY0-jYY657Gl-M0nSEqdvuReJGvK/s1600/IMG_20150128_195737.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFB4P8hUDs2Hv2VXZwuL6j1eHD58dsav9w5CzjqchHOEs032FBxzb_TdOzWdwU0SwEhUuDbNOaIwlmBkzPcWFSZMW3XjfzoM5eQJjKFF3EKuBw6avCMY0-jYY657Gl-M0nSEqdvuReJGvK/s1600/IMG_20150128_195737.jpg" height="200" width="150" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy-mxVtn-W_zcCkdBjNZ-zptiaMQBHVEgdAYf5AfyvwGeOA0lDDy9AD3t9M0uPvTr7Y19PEvdFSa7aznH8xm4qgCwRlj5RXXkBf5b2kvMYPZVfT-KGUNwoWHf2kEvW-3cuRi4wGjugQolk/s1600/IMG_20150206_194903.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy-mxVtn-W_zcCkdBjNZ-zptiaMQBHVEgdAYf5AfyvwGeOA0lDDy9AD3t9M0uPvTr7Y19PEvdFSa7aznH8xm4qgCwRlj5RXXkBf5b2kvMYPZVfT-KGUNwoWHf2kEvW-3cuRi4wGjugQolk/s1600/IMG_20150206_194903.jpg" height="200" width="150" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In addiction, I had to use 3 step down 5V, be sure to use a switching converter to avoid any lose on the conversation. I bought few of them from HobbyKing and they are UBEC converter.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Dont forget to have two batteries, one for the Arduino ( can be a 9v battery ) and one to power the LEDs, this because you might want to have all the possible current to the LEDs and avoid any "power down" or "frying arduino" due to the higher current.</div>
<div class="separator" style="clear: both; text-align: left;">
It might sounds silly but it's just less work to do and much more safe.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I got a fuse in my jacket between the battery and my leds strips, just in case there are any shorts, I wont burn =).</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Animations</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
I am not a great guy in terms of design and animations, so I had to watch some youtube videos to get some inspiration. I have implemented 4 modes on my jacket and 6 mode for the brightness&control.</div>
<div class="separator" style="clear: both; text-align: left;">
The 4 modes shuffle every 60 seconds and they do react with sound or when I change to manual, they read random values to replaced the microphone. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6yFOdlCA8jC9EKoIN6MGr0sElsh7BRYSoHqeAGPhwJOp1NATnGTGPYnHOBKYPh8-lSHJUWxtEME9Deqnr1R7EI3ADGYcS-6rH2xwPXkZTdMvPM0rPs3SeoJ-h-sB6hSUNLjCZud1sZgG9/s1600/VID_31251225_033318.mp4" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6yFOdlCA8jC9EKoIN6MGr0sElsh7BRYSoHqeAGPhwJOp1NATnGTGPYnHOBKYPh8-lSHJUWxtEME9Deqnr1R7EI3ADGYcS-6rH2xwPXkZTdMvPM0rPs3SeoJ-h-sB6hSUNLjCZud1sZgG9/s1600/VID_31251225_033318.mp4" height="320" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIXEnbNVKZWvqFlZLBPcdD7JKBtBJWnsaKScmcMxSv65f6pzxV51GZnuj3RMEpxA4gzhiGESZLIWXoTVYpwDsFojnjyDvf25_t5NF93ZZdYiPmNOyLC3iFWBsbI7dMBcYbOFGdlvdtkoW0/s1600/IMG_20150201_201013.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIXEnbNVKZWvqFlZLBPcdD7JKBtBJWnsaKScmcMxSv65f6pzxV51GZnuj3RMEpxA4gzhiGESZLIWXoTVYpwDsFojnjyDvf25_t5NF93ZZdYiPmNOyLC3iFWBsbI7dMBcYbOFGdlvdtkoW0/s1600/IMG_20150201_201013.jpg" height="320" width="240" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-W-xgmVIp0in_mkQ-EjaSDCGxZdR-0jDF_gpXoGFVpnGY0sd2aXFsiC007ahd7DsWZAKXl2WtwNoQ2uH9lc5yvbtCMcrEx5xGiiBipJf0ui0OnJxXCV7igBb0zZEPIgvbqWAxBSuleLpq/s1600/IMG_20150207_131154.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-W-xgmVIp0in_mkQ-EjaSDCGxZdR-0jDF_gpXoGFVpnGY0sd2aXFsiC007ahd7DsWZAKXl2WtwNoQ2uH9lc5yvbtCMcrEx5xGiiBipJf0ui0OnJxXCV7igBb0zZEPIgvbqWAxBSuleLpq/s1600/IMG_20150207_131154.jpg" height="235" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I have implemented the green button to switch between 6 modes: Microphone, Microphone 50% brightens, Microphone 20% brightness, Manual, Manual 50% brightness and Manual 20% brightness.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
To have a quick access to the operation of the arduino, I soldered a switch to turn it on and off.</div>
<br />
<br />
<b><u>Videos</u></b><br />
<u><br /></u>
<u>http://instagram.com/p/yzPSsRPNV-/?modal=true</u><br />
<u>http://instagram.com/p/y0LikDPNSW/?modal=true</u><br />
<u>http://instagram.com/p/ydK0aEvNXZ/?modal=true</u><br />
http://instagram.com/p/yX7gaqvNYH/?modal=true</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-51484324527813550402015-01-07T03:50:00.001-08:002015-01-07T03:50:04.414-08:00Watering system<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Description</u></b><br />
I bought a plant, a Christmas tree ( actually two of them ), because I felt like I had to decorate my desk at work, but I was failing to water it regularly and I came up with a plan.<br />
I decided to check on ebay for a very small and cheap pump, a soil sensor, a small arduino and few<br />
other bits.<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/AVvXsEi-rbBqZAF4sVL7QyU4b4qX-Kj6x5dCG8El6gr5Yfk5YHRAk8x6k-s8VSmSXF2Mjp_ShSQPDYnMxaViRLMw549HJZdGtpQo6FUE45v6olu6h8gdJkbkau6woqj1vudIJ0dMrNLxrxFYEKT0/s1600/watersystem_bb.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-rbBqZAF4sVL7QyU4b4qX-Kj6x5dCG8El6gr5Yfk5YHRAk8x6k-s8VSmSXF2Mjp_ShSQPDYnMxaViRLMw549HJZdGtpQo6FUE45v6olu6h8gdJkbkau6woqj1vudIJ0dMrNLxrxFYEKT0/s1600/watersystem_bb.jpg" height="320" width="281" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Wiring of transistor may change based on your model </td></tr>
</tbody></table>
<br />
<b><br /></b>
<u><b>Pump system</b></u><br />
The pump system was pretty straight forward, one pump, a tube and wrap it around the plant.<br />
I decide to make holes in the tube and close the end of it, in this way the water would come out uniform and gently instead of flooding. the terrain.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwTRXJT6zvMunojXB6Xh9LIUj4NRdhoYjT9W4TVUD8h3eEn5WKtaWasBiNMDFiN4i31fbElM2jkTqsS9Djug1wPLyUBo2-p8gwRIEzvdP0ihaKvEoeJYcCWhvF8F-8AZdMxjjjlmc1muiJ/s1600/IMG_20141228_191455.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwTRXJT6zvMunojXB6Xh9LIUj4NRdhoYjT9W4TVUD8h3eEn5WKtaWasBiNMDFiN4i31fbElM2jkTqsS9Djug1wPLyUBo2-p8gwRIEzvdP0ihaKvEoeJYcCWhvF8F-8AZdMxjjjlmc1muiJ/s1600/IMG_20141228_191455.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiohdYJl7yewZdTlph9BzbFn1lGUEVVEP0CyO9VHfUDh3ZYl1OqLOd7nd5ZM_OsYggVfPahL5qRsFdkUKPpWlfpiBB2ospcIcrwwl4qNwKgdcSoHyyuxFMqhGEv6dcXw4BgFut6ex-RPE/s1600/$_57.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWiohdYJl7yewZdTlph9BzbFn1lGUEVVEP0CyO9VHfUDh3ZYl1OqLOd7nd5ZM_OsYggVfPahL5qRsFdkUKPpWlfpiBB2ospcIcrwwl4qNwKgdcSoHyyuxFMqhGEv6dcXw4BgFut6ex-RPE/s1600/$_57.JPG" height="200" width="184" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
In addition, I designed 4 pins to hold the tube down to the soil and point the water against the middle instead of having some random ray of water coming out of the pot.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Soil sensor</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
The soil sensor was the easy bit, just stick the "fork shape" into the soil and read the analog input from the chip, nothing very difficult, a part from the missing datasheet.</div>
<div class="separator" style="clear: both; text-align: left;">
My chinese sensor was giving me 1024 when the soil was dry and almost zero when everything was wet.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTcSSMBzEEF2PgR_hgR_1RK77A3h8AIi7duCE26zWSkzjj-U6zTQ9YE6VIgFYe4RRieGCIG6nufI-SoNIIgr6n4ebeoqGb1nak0mkiuVVEUyfCpBhLQ2d-gGFbCsnW-KfiHPXNT78DkVGq/s1600/$_12.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTcSSMBzEEF2PgR_hgR_1RK77A3h8AIi7duCE26zWSkzjj-U6zTQ9YE6VIgFYe4RRieGCIG6nufI-SoNIIgr6n4ebeoqGb1nak0mkiuVVEUyfCpBhLQ2d-gGFbCsnW-KfiHPXNT78DkVGq/s1600/$_12.JPG" height="200" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI06dpxLmy77dBhTbqkQ3AmthFgw-ETOTpkUdiEskrycKIH0n1EPZzx07CdlQFuQuyopEl5H3DJtIsNXGm1yyVbVUKTZb3s28W59xuT6E3STcVpsBCGMkrdIEef3mE_kYcWHLYLNp-ClcI/s1600/IMG_20141229_104946.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI06dpxLmy77dBhTbqkQ3AmthFgw-ETOTpkUdiEskrycKIH0n1EPZzx07CdlQFuQuyopEl5H3DJtIsNXGm1yyVbVUKTZb3s28W59xuT6E3STcVpsBCGMkrdIEef3mE_kYcWHLYLNp-ClcI/s1600/IMG_20141229_104946.jpg" height="147" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
** Note ** The soil PCB broke down after 1 week, so better if you stick two wires in the soil</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
I wrote down some code to make sure to trigger the pump only in a specific value, adding a delay ( in case the sensor will fail ) and a max pump time ( in case the sensor will be slow to read the current change of the soil conductivity.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Box and Tank</u></b></div>
<div class="" style="clear: both; text-align: left;">
I had to keep everything clean and nice to look, so I designed two boxes: one to put all my electronics in and the second to keep 0.6L of water.</div>
<div class="" style="clear: both; text-align: left;">
Very simple basic, nothing too complicated, I wanted to use a simple bottle as tank, but was very unattractive.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisYQQiA6u252VldJtXUaq_xeHch_ztkTproJE3SeHkK1yKQkChzCFg9jfLbQe9oLEzgTZHvN0xxyyi41_9n92p77Aui0JULF6dVs2MmIwBHhg3LGLdLuWyvFd_XM90tSq3hZfz5V3vqI1u/s1600/IMG_20141229_110130.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisYQQiA6u252VldJtXUaq_xeHch_ztkTproJE3SeHkK1yKQkChzCFg9jfLbQe9oLEzgTZHvN0xxyyi41_9n92p77Aui0JULF6dVs2MmIwBHhg3LGLdLuWyvFd_XM90tSq3hZfz5V3vqI1u/s1600/IMG_20141229_110130.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEGdCVStNPyzJSiF8Cm_C7dq6JB_xorkn5dKQ55vWjPcCi9p5VM-SCFxRcWzhfupfnBVET3Fy66XhRkBjPENMkntTK2rcrrMGHT9tmjm9IDOrUuyDPkl74NgMgTNb0GsydZ9WUIzN823v2/s1600/IMG_20141229_110137.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEGdCVStNPyzJSiF8Cm_C7dq6JB_xorkn5dKQ55vWjPcCi9p5VM-SCFxRcWzhfupfnBVET3Fy66XhRkBjPENMkntTK2rcrrMGHT9tmjm9IDOrUuyDPkl74NgMgTNb0GsydZ9WUIzN823v2/s1600/IMG_20141229_110137.jpg" height="147" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5muSqgvrNFIxFB4eGLzaV8OTSqChTSWVxsNYB9FaF6f8WgnCvZjgdNU103AsJpLzr3jWe9KTJW1gA-GxSWEeDRAZ-ojUHirAua4MN9c57PadDYZuXd0JfIHUYrJH_YTWEHVIN4TrK6yF4/s1600/IMG_20150107_114051.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5muSqgvrNFIxFB4eGLzaV8OTSqChTSWVxsNYB9FaF6f8WgnCvZjgdNU103AsJpLzr3jWe9KTJW1gA-GxSWEeDRAZ-ojUHirAua4MN9c57PadDYZuXd0JfIHUYrJH_YTWEHVIN4TrK6yF4/s1600/IMG_20150107_114051.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsWyNjRnIzhd0iI-BdaJvrBlQ6arLqrdpfKGulE9_eYjqW5f4plpXWVD16eX7A_-yqLfgc_l-4LcXClQu-YZDAwe6SINKnVb2xAmjCoZ3E__6VTKxJUay-CgA3Rlk_Y53aHDflT-j05IQA/s1600/IMG_20150107_114113.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsWyNjRnIzhd0iI-BdaJvrBlQ6arLqrdpfKGulE9_eYjqW5f4plpXWVD16eX7A_-yqLfgc_l-4LcXClQu-YZDAwe6SINKnVb2xAmjCoZ3E__6VTKxJUay-CgA3Rlk_Y53aHDflT-j05IQA/s1600/IMG_20150107_114113.jpg" height="147" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Source code</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
You can find one copy of my source code and 3d models on my github: *** Soon ***</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Photos</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsYdBXvneUAQab-dvM1YmwTQJmlV-_HXHPYm2HLbhjlyJV9xdPinN-K-gtqi_92fTJGIPVGZw6BpdtfyI9swSMemX-eoljAc7SQ3i-_qqgi4w1zjmPbcpXhoKAQKmqVG3itnetjR1_mdWQ/s1600/IMG_20141229_110151.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsYdBXvneUAQab-dvM1YmwTQJmlV-_HXHPYm2HLbhjlyJV9xdPinN-K-gtqi_92fTJGIPVGZw6BpdtfyI9swSMemX-eoljAc7SQ3i-_qqgi4w1zjmPbcpXhoKAQKmqVG3itnetjR1_mdWQ/s1600/IMG_20141229_110151.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLEc7fsM4JN_A8vp2nLjEn4FsceLoX0gMVf5E7F3VOhfI79qlImR0kOJlfSoMZPHvmVuQcMwwUouG2Iw-mEBIeDgxSXRkwyu_KTLqXkEuS9fhqCt5agDXWMxNAKC5GNHkbYQsneYe28gNe/s1600/IMG_20141228_235126.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLEc7fsM4JN_A8vp2nLjEn4FsceLoX0gMVf5E7F3VOhfI79qlImR0kOJlfSoMZPHvmVuQcMwwUouG2Iw-mEBIeDgxSXRkwyu_KTLqXkEuS9fhqCt5agDXWMxNAKC5GNHkbYQsneYe28gNe/s1600/IMG_20141228_235126.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7E08_51subzqVZa3CQlvOTksu8EBzna8Zxf8uJjQVWdhiNtv6uhEBxK45BtF9CSgfFMLZ8zXAejpbGYbn_lPAFW4IKu_9N5q2g9NovR0EehkSxxc9ZBvMcSN1KCzcvMXWVPwHevJr_DpF/s1600/IMG_20141224_152134.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7E08_51subzqVZa3CQlvOTksu8EBzna8Zxf8uJjQVWdhiNtv6uhEBxK45BtF9CSgfFMLZ8zXAejpbGYbn_lPAFW4IKu_9N5q2g9NovR0EehkSxxc9ZBvMcSN1KCzcvMXWVPwHevJr_DpF/s1600/IMG_20141224_152134.jpg" height="147" width="200" /></a></div>
<br /></div>
<!-- Blogger automated replacement: "https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-r6KOQHbc-eI%2FVK0bpn2SxjI%2FAAAAAAABd9Y%2FsgO5kiTyNv4%2Fs1600%2FIMG_20150107_114113.jpg&container=blogger&gadget=a&rewriteMime=image%2F*" with "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsWyNjRnIzhd0iI-BdaJvrBlQ6arLqrdpfKGulE9_eYjqW5f4plpXWVD16eX7A_-yqLfgc_l-4LcXClQu-YZDAwe6SINKnVb2xAmjCoZ3E__6VTKxJUay-CgA3Rlk_Y53aHDflT-j05IQA/s1600/IMG_20150107_114113.jpg" -->d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-57487923171695697982015-01-06T09:15:00.002-08:002017-05-07T14:50:44.078-07:00Bosch kettle - Reduce beep noise<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: left;">
<b><u>Description</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
I got a Bosch Styline Kettle and I am happy with that, it does the job and pretty quick. There is one small thing that is annoying me, it is the horrible beep noisy that it makes when I start and when it finishes the job.</div>
<div class="separator" style="clear: both; text-align: left;">
Unfortunately, using a normal screwdriver to unscrew the 4 screws below the platform wasn't possible, I had to buy a special tool to access the inside of it.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://amzn.to/2qeKfec">http://amzn.to/2qeKfec</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Unscrew</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
The tool bit to unscrew these special ones was "Spanner (snake eye): 4, 6, 8, 10", I reckon I used the number 6 but better to get a set as I did. You can find one on Ebay for about 8 pounds.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDbJU6pPQAv-BY6YhC8SgWQweOFi_Ht_ZTu4UTZyGoOpIlIShjJNcZ-IEJFNuStMU6BHxqDCC_mG1j5JCrKhrDM_yucMt0EM2bkCVSlbJzUoKu_yQ1JyC8K7KL2ajK64xrliDwUpIiIK77/s1600/IMG_20150106_003149.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDbJU6pPQAv-BY6YhC8SgWQweOFi_Ht_ZTu4UTZyGoOpIlIShjJNcZ-IEJFNuStMU6BHxqDCC_mG1j5JCrKhrDM_yucMt0EM2bkCVSlbJzUoKu_yQ1JyC8K7KL2ajK64xrliDwUpIiIK77/s1600/IMG_20150106_003149.jpg" width="150" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0_W4lkpfzzXY0fGmIbWaxlyltHU39OT1bR7bAMS0ezWOJX_s8KRnUUQxPtVodv_hbQNshD31zAoD43Lcns-aGax2WSKqIHvxmTq4lO2K5aP5KLbDEtX6AaefuuHA3PUQHbN82ulGjNmL/s1600/IMG_20150106_002050.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0_W4lkpfzzXY0fGmIbWaxlyltHU39OT1bR7bAMS0ezWOJX_s8KRnUUQxPtVodv_hbQNshD31zAoD43Lcns-aGax2WSKqIHvxmTq4lO2K5aP5KLbDEtX6AaefuuHA3PUQHbN82ulGjNmL/s1600/IMG_20150106_002050.jpg" width="150" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Find the buzzer</u></b></div>
<div class="" style="clear: both; text-align: left;">
This is what it looks like inside the base of the Bosch Kettle, simple PCBs, and you can spot the annoying buzzer on the right side.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9pXaqJUv01p4F0KhArd_38WRUd-usdM_GZo8I47GxPhQ1S91JzAzSMiMm3SukMMERTy3eoFzgapH5YSq7uMuIPRn6_BJ_iNsu2Cdn8lY2YWW0uiyhsJEPrmLkeiymFDnWSrFKMehcPtb3/s1600/IMG_20150106_002653.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9pXaqJUv01p4F0KhArd_38WRUd-usdM_GZo8I47GxPhQ1S91JzAzSMiMm3SukMMERTy3eoFzgapH5YSq7uMuIPRn6_BJ_iNsu2Cdn8lY2YWW0uiyhsJEPrmLkeiymFDnWSrFKMehcPtb3/s1600/IMG_20150106_002653.jpg" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: left;">
<b><u>Fix it!</u></b></div>
Applying a bit of tape on the top of the buzzer will reduce the noise and still notify when it has done the job.<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFZ8qQa-4Z6AAQA9uNbAB9zzPdawei9BCxCEsL877baVODJFcLCO5YRBpM8Ir1wknyRybY72_HTc8Me9mZS7oip46x-p4VJ5kmRyNqRyHyEqFkUZMT0yqYNoLt6FKo_bcNY2HabJCE0Gim/s1600/IMG_20150106_002745.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFZ8qQa-4Z6AAQA9uNbAB9zzPdawei9BCxCEsL877baVODJFcLCO5YRBpM8Ir1wknyRybY72_HTc8Me9mZS7oip46x-p4VJ5kmRyNqRyHyEqFkUZMT0yqYNoLt6FKo_bcNY2HabJCE0Gim/s1600/IMG_20150106_002745.jpg" width="150" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Result</u></b></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/DiyDGlhf4mI?feature=player_embedded' frameborder='0'></iframe></div>
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-31966051755918815962014-12-06T10:38:00.000-08:002014-12-29T12:34:23.530-08:00XLED bike lights version 2.0<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<b>Intro</b><br />
<br />
In my previous project <a href="http://projectsmax246.blogspot.co.uk/2014/07/bikes-lights.html" target="_blank">Bike lights</a> I managed to create my personal lights, but these were very ugly.<br />
I have tested my current setup for few months, under rain, cold, washing my bike, etc... everything went good and I had no issues.<br />
The next step was to improve the position of the lights, a new design for the enclosure and change type of leds where needed.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC3eH74XmshzCyX30LYN34IHgvgivyLb3NqLOjFexVmPS1Gn2IJ5cIqutoN1H-sDondBRnh72xIQPzevGd68h6HttQ7nk66J7DPrO6v4JnkG58vgkDofg2i1xAaQBOulM-n1Tq7HyxsRfz/s1600/IMG_20141105_210953.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC3eH74XmshzCyX30LYN34IHgvgivyLb3NqLOjFexVmPS1Gn2IJ5cIqutoN1H-sDondBRnh72xIQPzevGd68h6HttQ7nk66J7DPrO6v4JnkG58vgkDofg2i1xAaQBOulM-n1Tq7HyxsRfz/s1600/IMG_20141105_210953.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwoWVQYyHst-ADPxNRjn927d4Pr3UurKzUfF9LWvjcE0IRyLkWIYB074YJ0y4v9PbUop_MKz6YzeHDWe3fGRNKEKcruSCVZfwzIVwj9i9-Mntbz_Xk3FTbDn3rnTuX2hb7Jtk_9NOFKvM_/s1600/IMG_20141105_210926.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwoWVQYyHst-ADPxNRjn927d4Pr3UurKzUfF9LWvjcE0IRyLkWIYB074YJ0y4v9PbUop_MKz6YzeHDWe3fGRNKEKcruSCVZfwzIVwj9i9-Mntbz_Xk3FTbDn3rnTuX2hb7Jtk_9NOFKvM_/s1600/IMG_20141105_210926.jpg" height="147" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<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/AVvXsEhEdm-s8XIlHNpwxNDv0uiJNFD3U5ID1DGjgkXuBjgDl8_dswNlCgTTIPHIrTr87DM3Qcpmut-iDMLdtIDHXRlwNezQLkot6oC3jDs9ntZR4itI9uHh6dipl86ezglS0tZiw2U1VckzFdq8/s1600/bikelights_bb.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEdm-s8XIlHNpwxNDv0uiJNFD3U5ID1DGjgkXuBjgDl8_dswNlCgTTIPHIrTr87DM3Qcpmut-iDMLdtIDHXRlwNezQLkot6oC3jDs9ntZR4itI9uHh6dipl86ezglS0tZiw2U1VckzFdq8/s1600/bikelights_bb.jpg" height="255" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">One light wired up, my configuration had two of them.</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b>Upgrade</b><br />
<br />
The case that contains the leds, is full of glue as the previous one, but of course the outside doesnt look like a piece of glue as the old one.<br />
I designed, with tinkercad, the new enclosure to fit on the top of the reflector and 3d printed in black.<br />
<br />
The front leds( white ones) were upgraded because the previous ones had a wider angle and didnt have enough light.<br />
<br />
The transistor was upgraded to a bigger one from the previous design. I had one on each led and now I got only one in each case.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE0mRm01E6e0EdUs5z7gpU9xX5GwHUPU781MFwDQIwI1TsNTDGYsmxh1A0Rjd81YHz2mwgsk883QGuOHDOAOM3GT-7K4ONv_9to9vYY28bG9pMtw80VBjvIbD7KwgaO6dBGwSovyzYlBja/s1600/IMG_20141102_162300.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE0mRm01E6e0EdUs5z7gpU9xX5GwHUPU781MFwDQIwI1TsNTDGYsmxh1A0Rjd81YHz2mwgsk883QGuOHDOAOM3GT-7K4ONv_9to9vYY28bG9pMtw80VBjvIbD7KwgaO6dBGwSovyzYlBja/s1600/IMG_20141102_162300.jpg" height="320" width="236" /></a></div>
<br />
<br />
<br />
<b>Design</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaQAelkaOHNWjPl55k37cqJlSyNAO4AD0j67D8CPtZIIEzctUXjjqf7uB3gSvcFBvYemYbh8atMl4QR-yKbeUIRtcbSeAVwW-dUbBUOT__yAw-1UCpu4r2VM20XbrD8z8mLgRGfUWTrETY/s1600/case.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaQAelkaOHNWjPl55k37cqJlSyNAO4AD0j67D8CPtZIIEzctUXjjqf7uB3gSvcFBvYemYbh8atMl4QR-yKbeUIRtcbSeAVwW-dUbBUOT__yAw-1UCpu4r2VM20XbrD8z8mLgRGfUWTrETY/s1600/case.jpg" height="255" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The design was very simple, just 4 holes to allocate each led and a small side to slide on the top of the reflector.</div>
<div class="separator" style="clear: both; text-align: left;">
I had to drill manually the hole to hold the case.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="" style="clear: both; text-align: left;">
<b>Final result</b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOFJBFyHgKAzYNKu99HyOoXfLOBeBzKY4X7LcvpR0uWQNSMTJPvd6om17UNW0OC5F6CdTwY8lXdwyaMKTl4hSUH24JxCZzUGgmSGt__p6P_R-NhAlmT3BzSgysMKBOsYBg77huhfxW2MY/s1600/IMG_20141104_220241.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOFJBFyHgKAzYNKu99HyOoXfLOBeBzKY4X7LcvpR0uWQNSMTJPvd6om17UNW0OC5F6CdTwY8lXdwyaMKTl4hSUH24JxCZzUGgmSGt__p6P_R-NhAlmT3BzSgysMKBOsYBg77huhfxW2MY/s1600/IMG_20141104_220241.jpg" height="147" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6RQ-PWe-w3kS4o_y6tggTsU19bxHBLis6LD9-Gz-KeyuL84QIID2XvbW7oXB2rbq_Ncjzbe6OAguviKIq2r0vQO41h-ueQ-zSpj7e0RcmvQGxiBePdAsFZrFgcqmBo8dh4j5VnadY6uUw/s1600/IMG_20141023_171850.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6RQ-PWe-w3kS4o_y6tggTsU19bxHBLis6LD9-Gz-KeyuL84QIID2XvbW7oXB2rbq_Ncjzbe6OAguviKIq2r0vQO41h-ueQ-zSpj7e0RcmvQGxiBePdAsFZrFgcqmBo8dh4j5VnadY6uUw/s1600/IMG_20141023_171850.jpg" height="200" width="147" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzbjr9BDGZv7PuxmroWKw47l_1vmxkjBbk2KqdwtXQqaGJdW1rFG6d_2nJXfHGwadJ76Men4bS12qIq0bexPWfD0_VLtAEejkcw6eZbNKbc07zlqI9PB9YKK7JTCll9h4wcrAeTzVqlwtA/s1600/IMG_20141206_182728.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzbjr9BDGZv7PuxmroWKw47l_1vmxkjBbk2KqdwtXQqaGJdW1rFG6d_2nJXfHGwadJ76Men4bS12qIq0bexPWfD0_VLtAEejkcw6eZbNKbc07zlqI9PB9YKK7JTCll9h4wcrAeTzVqlwtA/s1600/IMG_20141206_182728.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiEfJSKuAlUcIYDrPoOe5yRCpxOGLBUkkc2nFga0SsPpQaPR2tRk_u7RQ0Ys4j_au_jZ8-lSoV_dRHqPFSR-Wfi0e15Qs8kY8LaqV5Fwo9M3a4c-o0tcdhA6rEGlQawIEkAfPQdWo-Qfc/s1600/IMG_20141206_182720.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiEfJSKuAlUcIYDrPoOe5yRCpxOGLBUkkc2nFga0SsPpQaPR2tRk_u7RQ0Ys4j_au_jZ8-lSoV_dRHqPFSR-Wfi0e15Qs8kY8LaqV5Fwo9M3a4c-o0tcdhA6rEGlQawIEkAfPQdWo-Qfc/s1600/IMG_20141206_182720.jpg" height="200" width="147" /></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-2230325721235276992014-11-02T07:30:00.004-08:002014-11-02T07:30:55.310-08:00Halloween ghost<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Description</u></b><br />
<b><u><br /></u></b>
Here we go, Halloween has arrived and I have to make something for it! Below you can find my first sketch that I have done in a pub ( and in the end of this post, something that should look like that).<br />
In few words, what I wanted to create was a simple ghost that will interact with people by walking close to it.<br />
The interaction should be an inflatable arms and flashing eyes & mouth.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1aGsuf0f9f0EivP1QoL-g4TCyH9SDkKSCRqudHDI6eIlzrUXA_HjwDstjkSK3lwgdqNvCQkF3mTbjg9pJAOb_kKWyoS53c3Zh824EnWcr12FvglCplrcdsd9NC6bolpQiOPBagSld6Yb_/s1600/media-20141005.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1aGsuf0f9f0EivP1QoL-g4TCyH9SDkKSCRqudHDI6eIlzrUXA_HjwDstjkSK3lwgdqNvCQkF3mTbjg9pJAOb_kKWyoS53c3Zh824EnWcr12FvglCplrcdsd9NC6bolpQiOPBagSld6Yb_/s1600/media-20141005.jpg" height="320" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u>Items</u></b><br />
- Few yellow leds<br />
- Few red leds<br />
- Few transistor<br />
- Ghost cover ( bought one from poundland shop )<br />
- Few shopping bags that match the color of your ghost<br />
- Two powerful fans<br />
- A lot of batteries :)<br />
<b><u><br /></u></b>
<b><u>Making arms</u></b><br />
<b><u><br /></u></b>
The inflating of arms was something tricky to achieve, because I had to find a good material and very light.<br />
By hot glueing a shopping bag around the fan and make a relative small tube, I managed to inflate two arms.<br />
I was using a very powerful fan with double prop and 6 batteries to get 9 volts.<br />
<b><u><br /></u></b>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAqhfKlwdd46DNPEAPfO1PZbl481Hp_PCI4brGO55HYQM34JW8nO_t_1hXYtE_cz3RWfSSZGi_InNBWYarQJyEAMF69b_7sUOkZ3ElcDh_VsNZe8DIObx-sBPE8NfeypbkcTTfA3dI8Qpt/s1600/IMG_20141025_210239.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAqhfKlwdd46DNPEAPfO1PZbl481Hp_PCI4brGO55HYQM34JW8nO_t_1hXYtE_cz3RWfSSZGi_InNBWYarQJyEAMF69b_7sUOkZ3ElcDh_VsNZe8DIObx-sBPE8NfeypbkcTTfA3dI8Qpt/s1600/IMG_20141025_210239.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-SoAj0z7o6T0hJ_BPkME_t1rK_f_cGOw2LrTO53Z41dk40-uhiPxEQLZnfwAJGcwVyKZKc3n3_0SRAidlQvwv7dBDzrxe5iHrUdI5mClKZyUEVMbGrcWDy36LdSky-ts4k0e4-d0uAVD/s1600/IMG_20141025_210249.jpg" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-SoAj0z7o6T0hJ_BPkME_t1rK_f_cGOw2LrTO53Z41dk40-uhiPxEQLZnfwAJGcwVyKZKc3n3_0SRAidlQvwv7dBDzrxe5iHrUdI5mClKZyUEVMbGrcWDy36LdSky-ts4k0e4-d0uAVD/s1600/IMG_20141025_210249.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzT4-0aYOSEFutyIwNUab6Zr52GfB9ijKetb3SbU_2tTokhZWXfbY08jfgJYKtjl4o7X4XRkM9wYCoLB0DlGKNsTiIB0JPE5kwX2jQ6WBfBuuuvFmZJNjLAaHSg0OyfjtNrSepLRIWsdFZ/s1600/IMG_20141025_210206.jpg" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzT4-0aYOSEFutyIwNUab6Zr52GfB9ijKetb3SbU_2tTokhZWXfbY08jfgJYKtjl4o7X4XRkM9wYCoLB0DlGKNsTiIB0JPE5kwX2jQ6WBfBuuuvFmZJNjLAaHSg0OyfjtNrSepLRIWsdFZ/s1600/IMG_20141025_210206.jpg" height="200" width="147" /></a><br />
<b><u><br /></u></b>
<br />
<b><u><br /></u></b>
<b><u>Flashing leds</u></b><br />
My flashing system was made with 2 transistor and few leds.<br />
I used one transistor to flash the eyes ( red leds ) and the second one to flash the mouth ( yellow leds ). I have avoided to use a 5 volt regulator and connected everything into the Arduino.<br />
You should be careful to use this method, because your Arduino might shut down due too much current drained from the leds. I was lucky and my Arduino didnt shut down :)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQic1eKzOLSI4Hpz6Gg5GmSq3QNUq12PmGsdoxxdLxDo3Uofb3NcZyEOIZvH90B5xaygb4l8c7UfDeeKnumsg2dD5Jsalh9I5-zq8cDx-kyGOsBiQ_nkFye_mBEPj427lhUXl4XlDF1xhJ/s1600/IMG_20141026_103930.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQic1eKzOLSI4Hpz6Gg5GmSq3QNUq12PmGsdoxxdLxDo3Uofb3NcZyEOIZvH90B5xaygb4l8c7UfDeeKnumsg2dD5Jsalh9I5-zq8cDx-kyGOsBiQ_nkFye_mBEPj427lhUXl4XlDF1xhJ/s1600/IMG_20141026_103930.jpg" height="200" width="147" /></a></div>
<b><u><br /></u></b>
<b><u>Issues:</u></b><br />
One issue that I found while the ghost was working at the party, was some interference with the IR sensor, probably due to colored lights or else.<br />
One solution would be to use a sonar sensor instead.<br />
<b><u><br /></u></b>
Arduino was shutting down after the fans were on. This happened because my fans were draining too much power and the arduino lost power and reset itself.<br />
One solution would be to solder a bigger capacitor, so the Arduino would run for the short drop of power.<br />
Second solution, the one that I chose because I had a spare battery hold, was to use another power source to power the Arduino. You could try with a 9V battery or just 4 batteries holder.<br />
<b><u><br /></u></b>
<b><u>Images and videos</u></b><br />
<b><u><br /></u></b>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5pRlzS-L6uN-_7yfomXVceHpm6w8omSWhASf1TMX0OaES4TCCDLqlFdIrjfg6GmkPKqdoXa_zZf-HHFotvDjhsVw7HfvKpETHZ4hRl8cY2s_Kc5Ypediqo0ezzouQk1JP9lY5v4kABEbP/s1600/IMG_20141101_162729.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5pRlzS-L6uN-_7yfomXVceHpm6w8omSWhASf1TMX0OaES4TCCDLqlFdIrjfg6GmkPKqdoXa_zZf-HHFotvDjhsVw7HfvKpETHZ4hRl8cY2s_Kc5Ypediqo0ezzouQk1JP9lY5v4kABEbP/s1600/IMG_20141101_162729.jpg" height="320" width="236" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleduIOdIfcqAjNIBtHCJmFA4M2-QhnQF5OTiEAJ0ka_zOaKBiaRzbqix3XF9QsWmRdhw6aTSurcejwlGuCsRnOpCq3rqBuJ4WNunGDLh7_-DiQlKPwJDMb67_qg-8tDfQ1WXBCzQL7Vof/s1600/VID_20141101_214517.mp4" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhleduIOdIfcqAjNIBtHCJmFA4M2-QhnQF5OTiEAJ0ka_zOaKBiaRzbqix3XF9QsWmRdhw6aTSurcejwlGuCsRnOpCq3rqBuJ4WNunGDLh7_-DiQlKPwJDMb67_qg-8tDfQ1WXBCzQL7Vof/s1600/VID_20141101_214517.mp4" height="320" width="180" /></a></div>
<b><u><br /></u></b>
<b><u><br /></u></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF3qtW0Ya59foHzABZrL6qmYExEyRzadfbaHou0KUVKXmNfzmx5BQrbhGrNk_Jv1dhzBg1Wu6igYEDdLopwT0qLesPEj77MPDEON7s3nJnXRzQxLn2S1nUh2WXfGgFclxwGAx4X2nxEfRT/s1600/IMG_20141026_101234.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF3qtW0Ya59foHzABZrL6qmYExEyRzadfbaHou0KUVKXmNfzmx5BQrbhGrNk_Jv1dhzBg1Wu6igYEDdLopwT0qLesPEj77MPDEON7s3nJnXRzQxLn2S1nUh2WXfGgFclxwGAx4X2nxEfRT/s1600/IMG_20141026_101234.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ9QwO51GcIG3T1dkuR8aOVyE57kQzKnWV8BOmQd-lwfczwYuAqILK7WxqjkTFt0tbcZfiapGuSowjIdGWR7cNBUXBEysX2RwVqoqYG6P0g6u0lsMcG55y9bf1Cw0YP-LXcrtgB1syGStB/s1600/IMG_20141026_095410.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ9QwO51GcIG3T1dkuR8aOVyE57kQzKnWV8BOmQd-lwfczwYuAqILK7WxqjkTFt0tbcZfiapGuSowjIdGWR7cNBUXBEysX2RwVqoqYG6P0g6u0lsMcG55y9bf1Cw0YP-LXcrtgB1syGStB/s1600/IMG_20141026_095410.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDFj9rcfzHHZOTP0vomOJrfXPLWaNPwYny7PmjFbutTXZ6NdKI4Hh-PRt5dYzzqlzEHnrOkShjAmbemHXXnILOAZuR8c8ID88ZV4orGDj9gS2tP8-U6sX47Y4y1cWuEbJezwAXCxBkh5e/s1600/IMG_20141025_204339.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDFj9rcfzHHZOTP0vomOJrfXPLWaNPwYny7PmjFbutTXZ6NdKI4Hh-PRt5dYzzqlzEHnrOkShjAmbemHXXnILOAZuR8c8ID88ZV4orGDj9gS2tP8-U6sX47Y4y1cWuEbJezwAXCxBkh5e/s1600/IMG_20141025_204339.jpg" height="200" width="147" /></a></div>
<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRiF0qs9swd6LbauTz7Utw-xAiTdXWYBof_33AzgErpwKu6JYvmPbUjNUjlxyGG8TkMGbfZhcOj7KQo0mBCPzLBMMRgTVkgd4Hh5DigLJSYGjC_0IBkkBUvromZTfWA7LMICDyryMz3ia/s1600/IMG_20141025_204319.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRiF0qs9swd6LbauTz7Utw-xAiTdXWYBof_33AzgErpwKu6JYvmPbUjNUjlxyGG8TkMGbfZhcOj7KQo0mBCPzLBMMRgTVkgd4Hh5DigLJSYGjC_0IBkkBUvromZTfWA7LMICDyryMz3ia/s1600/IMG_20141025_204319.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCdhNGdjuxGD3Fum0zAa-ZriZt2hHUe6tx4afFj4cijRJfeR3ScFD-sFG8iyPpjGWxAbpszo0zGAW2YeNL7hKONg2vOmIEWqUQCnmgoYOuSluom7NKO1Gw0_U-Z6G_RvWNUCopNqHGU8Bd/s1600/IMG_20141025_204312.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCdhNGdjuxGD3Fum0zAa-ZriZt2hHUe6tx4afFj4cijRJfeR3ScFD-sFG8iyPpjGWxAbpszo0zGAW2YeNL7hKONg2vOmIEWqUQCnmgoYOuSluom7NKO1Gw0_U-Z6G_RvWNUCopNqHGU8Bd/s1600/IMG_20141025_204312.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQic1eKzOLSI4Hpz6Gg5GmSq3QNUq12PmGsdoxxdLxDo3Uofb3NcZyEOIZvH90B5xaygb4l8c7UfDeeKnumsg2dD5Jsalh9I5-zq8cDx-kyGOsBiQ_nkFye_mBEPj427lhUXl4XlDF1xhJ/s1600/IMG_20141026_103930.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQic1eKzOLSI4Hpz6Gg5GmSq3QNUq12PmGsdoxxdLxDo3Uofb3NcZyEOIZvH90B5xaygb4l8c7UfDeeKnumsg2dD5Jsalh9I5-zq8cDx-kyGOsBiQ_nkFye_mBEPj427lhUXl4XlDF1xhJ/s1600/IMG_20141026_103930.jpg" height="200" width="147" /></a></div>
<br />
<br />
<b><u><br /></u></b>
<b><u><br /></u></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/dU3-T2m0olA" width="420"></iframe>
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/m1sSPT3ZkpI" width="560"></iframe>
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/UkJUHPFF1Qg" width="560"></iframe>
</div>
<b><u><br /></u></b></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-26478241936267358712014-10-29T12:29:00.000-07:002014-10-29T12:33:26.363-07:00Marble dispenser<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<b><u>Description</u></b><br />
This is another challenging project that took over all my free-time but it made me achieve something that I couldnt think that I was possible to do.<br />
The marble dispenser was a machine that interacts with Twitter and streaming a live feed from a webcam.<br />
<br />
<u>Watch the final result:</u><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2zCQz8f_2RGxe585HZrDhbVzuUufi0XeCkRFGwXTIH6psSNYoS8eCoh059lq6_eaZlF7mxnCqZpK5tuv3mmlGyww3clHVl-U1JA4RA3MSZxMtiA3jEP4192SViy8o8ngBA7sKr7ergYsZ/s1600/IMG_20141018_143945.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"></a><br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/fnbrrdZip5Y?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
<b><u>Problems</u></b><br />
The bigger problem was to make an automatic marble dispenser without any human interaction to make it works.<br />
The first idea was to make something like the candy vendor machine, with a rotator dispenser and hook it up with a motor<br />
<div style="text-align: center;">
<img src="http://www.lypcproducts.com/images/classic.jpg" height="200" width="183" /></div>
<div style="text-align: left;">
Of course, as every simple thing, this didnt work as I wanted. The problem was to make a container that wouldnt let marbles stuck in the container.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><u>Solution</u></b></div>
<div style="text-align: left;">
The solution came after few days, after a bit of brain storming and a good beer.</div>
<div style="text-align: left;">
The container solution couldnt have made in the short time that I had, but a pre-order columns with marbles placed in a row, this was the way to go.</div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc2d6UZdF-RwAZrzWFBR6Ksw5MqYIoSwMHTaFMAghIVzL0Gkaxogi_SmbdehShxjLYj3tGoZKCxMrLiTn9-a85e_3aXKKXF5okx5dt4TRPkFdb4-j6juM-kKpqYDQ_G1MRShyLxwRWN4h1/s1600/container.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc2d6UZdF-RwAZrzWFBR6Ksw5MqYIoSwMHTaFMAghIVzL0Gkaxogi_SmbdehShxjLYj3tGoZKCxMrLiTn9-a85e_3aXKKXF5okx5dt4TRPkFdb4-j6juM-kKpqYDQ_G1MRShyLxwRWN4h1/s1600/container.jpg" height="320" width="275" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
It might look odd but in the end, it worked and I had less trouble to make sure that one marble was released when the system needed.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Twitter integration</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
It might sounds strange to connect a marble dispenser with Twitter, but the reason is simple. The idea was to ask questions on Twitter and make a visual action from people's answers.</div>
<div class="separator" style="clear: both; text-align: left;">
The visual action was to position two marble dispensers and drop one single ball for each answer received. Here it comes the bottom part of the marble dispenser, where I made one simple system to release only one at the time.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirZrlZxc_-UP3q3nHAZipAPL4aYlWQ9-vWMqWmhTWv8henqI2AhqBAuizE-Y-IYh8WbExNjuO3Bxej90yo2BbDZvENsOPHC1RZjodvBiXoE9F5qmgh_DsivHQsSPIFw8eu1WWAZnEZr5eq/s1600/IMG_20141008_160334.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirZrlZxc_-UP3q3nHAZipAPL4aYlWQ9-vWMqWmhTWv8henqI2AhqBAuizE-Y-IYh8WbExNjuO3Bxej90yo2BbDZvENsOPHC1RZjodvBiXoE9F5qmgh_DsivHQsSPIFw8eu1WWAZnEZr5eq/s1600/IMG_20141008_160334.jpg" height="320" width="236" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Bottom part</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
The release mechanism is very simple, it has two main parts:</div>
<div class="separator" style="clear: both; text-align: left;">
- The little brick that drag only one marble at the time</div>
<div class="separator" style="clear: both; text-align: left;">
- One servo motor that moves the brick</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0kG2QxChO2-r4gXnS6BQGn_QcGDidj9d0L46LvOPY_pPxb61Ghcgwe9fh9G-0vHY86hfETWQGcXzR3FCAjakqhsWqQicg2mr0c-DDi81hYzrJCcHADKeCn9IxRD5PXWCm3hbOeH3SRIMI/s1600/bottom.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0kG2QxChO2-r4gXnS6BQGn_QcGDidj9d0L46LvOPY_pPxb61Ghcgwe9fh9G-0vHY86hfETWQGcXzR3FCAjakqhsWqQicg2mr0c-DDi81hYzrJCcHADKeCn9IxRD5PXWCm3hbOeH3SRIMI/s1600/bottom.jpg" height="197" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In the picture above, you can see that the brick ( in red ) has a small hole where you can fit a bracket ( in red ) and connected to the servo motor.</div>
<div class="separator" style="clear: both; text-align: left;">
The main enclosure ( in orange ) fits the servo and the brick, the motor rotates from 170 to 85 degrees to make sure that the marble is released.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>LCD count</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
To keep track of each answer and have visual reading, I used one of the 7 segments from AdaFruit.</div>
<div class="separator" style="clear: both; text-align: left;">
This little guy is super easy to use and the library save you hours of coding or understanding how to send the right number to the IC.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgELxbkCgWKb6oABKDbhO69NLDSGm1ely9M_smge_Cl0OPLQFnByFiZiv_yp054cs3BcXcrT8i428ScUWkOT73xb804wcOZ6WQD-8lhoBTy436XC0RU7E9uSh0gsUNz1YMXVYmDvfl2q810/s1600/IMG_20141008_191844.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgELxbkCgWKb6oABKDbhO69NLDSGm1ely9M_smge_Cl0OPLQFnByFiZiv_yp054cs3BcXcrT8i428ScUWkOT73xb804wcOZ6WQD-8lhoBTy436XC0RU7E9uSh0gsUNz1YMXVYmDvfl2q810/s1600/IMG_20141008_191844.jpg" height="320" width="236" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Streaming</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
I have used one low resolution webcam from Logitech, even because I was streaming a 640x480 because Raspberry pi can't handle a full hd streaming to Ustream.</div>
<div class="separator" style="clear: both; text-align: left;">
The resolution maybe let people down, but the cool feature was to have a visual access for people not physically at the installation.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Source code</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
I am sharing some of the code from the whole installation and STL files in case you would like to print the same thing.</div>
<div class="separator" style="clear: both; text-align: left;">
The code might be not the perfect one you have ever seen but it works, so please dont judge me.</div>
<div class="separator" style="clear: both; text-align: left;">
Also this was my first attempt to create something very sophisticated in 3D using TinkerCad.com ( web software ), so my models might be crappy and bad made.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://github.com/max246/decisionmachine">https://github.com/max246/decisionmachine</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Press</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<u><a href="http://www.rs-online.com/designspark/electronics/eng/blog/the-museum-of-the-shared-now-an-interactive-art-project">http://www.rs-online.com/designspark/electronics/eng/blog/the-museum-of-the-shared-now-an-interactive-art-project</a></u></div>
<div class="separator" style="clear: both; text-align: left;">
<u><a href="http://islingtonnow.co.uk/2014/10/24/futuristic-community-museum-comes-to-london-met/">http://islingtonnow.co.uk/2014/10/24/futuristic-community-museum-comes-to-london-met/</a></u></div>
<div class="separator" style="clear: both; text-align: left;">
<u><a href="http://vimeo.com/110130307">http://vimeo.com/110130307</a></u></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Pictures and Videos</u></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2zCQz8f_2RGxe585HZrDhbVzuUufi0XeCkRFGwXTIH6psSNYoS8eCoh059lq6_eaZlF7mxnCqZpK5tuv3mmlGyww3clHVl-U1JA4RA3MSZxMtiA3jEP4192SViy8o8ngBA7sKr7ergYsZ/s1600/IMG_20141018_143945.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2zCQz8f_2RGxe585HZrDhbVzuUufi0XeCkRFGwXTIH6psSNYoS8eCoh059lq6_eaZlF7mxnCqZpK5tuv3mmlGyww3clHVl-U1JA4RA3MSZxMtiA3jEP4192SViy8o8ngBA7sKr7ergYsZ/s1600/IMG_20141018_143945.jpg" height="236" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihEwRaJ3VMCgTXvFfxi6se-ZVK1eh3CQ7Btj-PG0c0rZsmuxWMq2Oj3fmFfgCys8HkBbIMNqWey6k88926_JQRUow0TsnFow_hk2N7j3_y-IsBvflXh5hktVzr1HAzRkY5oMnftaY95-H5/s1600/IMG_20141009_003033.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihEwRaJ3VMCgTXvFfxi6se-ZVK1eh3CQ7Btj-PG0c0rZsmuxWMq2Oj3fmFfgCys8HkBbIMNqWey6k88926_JQRUow0TsnFow_hk2N7j3_y-IsBvflXh5hktVzr1HAzRkY5oMnftaY95-H5/s1600/IMG_20141009_003033.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTuDMqDTymtpj2xkIluXuNfbXlDAY4vsdrW2xTXx2MNKF3CAROvCedJvGbprUfUBsvWXP5pRh7iVB9eNgprNadJ5I1H-2_SqSIgxP_m3sZFFsEfm1ad5de7fZpxf4DwNIU464TI5KOCJmk/s1600/IMG_20141022_200420.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTuDMqDTymtpj2xkIluXuNfbXlDAY4vsdrW2xTXx2MNKF3CAROvCedJvGbprUfUBsvWXP5pRh7iVB9eNgprNadJ5I1H-2_SqSIgxP_m3sZFFsEfm1ad5de7fZpxf4DwNIU464TI5KOCJmk/s1600/IMG_20141022_200420.jpg" height="200" width="150" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZdd5To66tt3xFfBBMoGNWEuthej-C_MsFyTq7O-DoCjWdqTArT0szIp737LV8iGdoVRLbLnbBCryjoeQcNmZEjz6BGKevVA3CFVITIVC48cLgebdbzPJouUyVKdP-056Zzw6fitGAxVwk/s1600/IMG_20140929_204848.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZdd5To66tt3xFfBBMoGNWEuthej-C_MsFyTq7O-DoCjWdqTArT0szIp737LV8iGdoVRLbLnbBCryjoeQcNmZEjz6BGKevVA3CFVITIVC48cLgebdbzPJouUyVKdP-056Zzw6fitGAxVwk/s1600/IMG_20140929_204848.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7yq_Q904IdBL0EPLdFzpSN9ltzNGQgZg1TQinQq1UJwg1TwoemU1rE06L_1fy_prmvq1Pd9YLdoIx65fdLjQkNCMukmXnOir1hUijvjjz0kRXx_Zg3nwMuNVLtr_CUY-x7PyJt-IGqq8N/s1600/IMG_20140927_202722.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7yq_Q904IdBL0EPLdFzpSN9ltzNGQgZg1TQinQq1UJwg1TwoemU1rE06L_1fy_prmvq1Pd9YLdoIx65fdLjQkNCMukmXnOir1hUijvjjz0kRXx_Zg3nwMuNVLtr_CUY-x7PyJt-IGqq8N/s1600/IMG_20140927_202722.jpg" height="200" width="147" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv1F1nbtPYZLm37Qx2aUQtRfm7puvACKnrztfn3ehmLJ7Rtu9Xc9ON4oSf1m9ViCI-b9UjR66HjOG5xqEgJC2NBCPwH42ilHPHkSbLCpyCRFr9CQsjc27qeD_jNVDU7sNbKRIYCAuHxtsV/s1600/IMG_20141002_103226.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv1F1nbtPYZLm37Qx2aUQtRfm7puvACKnrztfn3ehmLJ7Rtu9Xc9ON4oSf1m9ViCI-b9UjR66HjOG5xqEgJC2NBCPwH42ilHPHkSbLCpyCRFr9CQsjc27qeD_jNVDU7sNbKRIYCAuHxtsV/s1600/IMG_20141002_103226.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRFjoI40T-7HjhQcfoOureuFX_jOR3XyD6z2I1dy3eGBNG-vdXx_4xI-rz3qPRQ6_9HVtI2QA49hYvYllaG9CqiAkhiwxcGYFHKGrrHrMqgAOaBdwjMbm4iIM0R0XnE3d5jusHuimgggJX/s1600/IMG_20140930_190855.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRFjoI40T-7HjhQcfoOureuFX_jOR3XyD6z2I1dy3eGBNG-vdXx_4xI-rz3qPRQ6_9HVtI2QA49hYvYllaG9CqiAkhiwxcGYFHKGrrHrMqgAOaBdwjMbm4iIM0R0XnE3d5jusHuimgggJX/s1600/IMG_20140930_190855.jpg" height="200" width="147" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgON8WZiiLwSurcqi5ssdldYneg9m3FUYDpLhCIR0XrnNVnEkG1EywuffgjRngrPLDzWtX_rsUgXhYACeLj5I7yIr0QAhCwrguRjuzRUoYBwg-lec3NzUDUR33YK7PjBeCFwEMkTZxaTHzO/s1600/IMG_20141002_110949+(1).jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgON8WZiiLwSurcqi5ssdldYneg9m3FUYDpLhCIR0XrnNVnEkG1EywuffgjRngrPLDzWtX_rsUgXhYACeLj5I7yIr0QAhCwrguRjuzRUoYBwg-lec3NzUDUR33YK7PjBeCFwEMkTZxaTHzO/s1600/IMG_20141002_110949+(1).jpg" height="236" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-63654876194984178522014-08-09T10:03:00.003-07:002014-08-09T10:03:36.511-07:00Ampere meter DIY<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<b><u>Introduction</u></b><br />
I always wanted to test my devices and find out what was the real current of each item.<br />
The option was to buy a multi-meter that could do it, but because I bought an ampere meter display for 2 pounds on ebay, I wanted to make it easy to use.<br />
<br />
<b><u>Assembly</u></b><br />
I bought a small plastic box and fitted all the electronic inside, even the cable to connect the device to test.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDLcO3Id1pW1DU7vmg4A0dnruIv9f_PYZjcWMTxL-Q8QB2v-egifU6rjpIbZQJRKG-GerZo-xQ6mS4rRV0HEm9oQOlCJQA7EiprZXHQNbj_Tb3JqCZlywf8my0tfIylrIvmyGFXvRUj_98/s1600/IMG_20140809_174744.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDLcO3Id1pW1DU7vmg4A0dnruIv9f_PYZjcWMTxL-Q8QB2v-egifU6rjpIbZQJRKG-GerZo-xQ6mS4rRV0HEm9oQOlCJQA7EiprZXHQNbj_Tb3JqCZlywf8my0tfIylrIvmyGFXvRUj_98/s1600/IMG_20140809_174744.jpg" height="320" width="236" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaMbMxlY8KAY0mFSPDAzRrSLYc-ET1qRfFLHGbn6lxmUAJlTVa5vQHFF8_P3o7BqGJg0xQyv0odPiArnPSSJLXe1piYtPGtObr0GnBjOdQmb9GhBZNkeuZ4ryRC8rKrGW4dlXB6XqCrg_J/s1600/IMG_20140809_174721.jpg" imageanchor="1" style="clear: right; display: inline !important; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaMbMxlY8KAY0mFSPDAzRrSLYc-ET1qRfFLHGbn6lxmUAJlTVa5vQHFF8_P3o7BqGJg0xQyv0odPiArnPSSJLXe1piYtPGtObr0GnBjOdQmb9GhBZNkeuZ4ryRC8rKrGW4dlXB6XqCrg_J/s1600/IMG_20140809_174721.jpg" height="320" width="236" /></a><br /></div>
<div class="separator" style="clear: both; text-align: left;">
I have used:</div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul style="text-align: left;">
<li>2 crocodile clips to be able to clip any cable and measure the current.</li>
<li>1 female and 1 male audio jack, to remove the cable and put it back in the box when it's done.</li>
<li>1 ampere meter from ebay</li>
<li>1 switch to turn on the power</li>
<li>1 9V battery ( from the picture I used something else because I didnt have one )</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKEZlAOLzwbVWYFawshtHFvRENJtVp-panad5iDSYB0Kued0pCN_4qAAAf-pk73Y84wy87F6I2DisxMl8kiKN_-JC2OeNbuzqGIPR4Tjx7f6gUMGeOrTjiFeVNR03Ry3CyVlqUfcF0IiMk/s1600/IMG_20140809_174749.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKEZlAOLzwbVWYFawshtHFvRENJtVp-panad5iDSYB0Kued0pCN_4qAAAf-pk73Y84wy87F6I2DisxMl8kiKN_-JC2OeNbuzqGIPR4Tjx7f6gUMGeOrTjiFeVNR03Ry3CyVlqUfcF0IiMk/s1600/IMG_20140809_174749.jpg" height="320" width="236" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Usage</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
The usage is streight forward, turn on the device from the switch, connect the cable and clip your device.</div>
<div class="separator" style="clear: both; text-align: left;">
I have tested a DC motor to confirm that everything was working, and it worked!</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEircM48BH0QPnte2nF016lJQ01i-2cW-rLWLNmdLyM8H4VmVvgxI1ya1a_vBr8cyEiKO0u8ASN5YQGde6do-eTrbNM7n0QYG90qDwd1ju3aIeONPiQMcog9hjT0k7dYdcwtNJZ2b5LHnWLw/s1600/IMG_20140809_174834.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEircM48BH0QPnte2nF016lJQ01i-2cW-rLWLNmdLyM8H4VmVvgxI1ya1a_vBr8cyEiKO0u8ASN5YQGde6do-eTrbNM7n0QYG90qDwd1ju3aIeONPiQMcog9hjT0k7dYdcwtNJZ2b5LHnWLw/s1600/IMG_20140809_174834.jpg" height="236" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Of course, with a 9v battery the box would be closed and easy to read.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
When I have done with it, I just put the cable inside the box and put it somewhere.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3dAdgT5mUppdw7LSt8TiJCT20wkeXT5IWoN2ddFwDnRNa2smOZLjzwOXTsJsgT8vrPYGEqIvpqWG8aevrKqdZBuYYXDjfzFpp99ys54HD8eAltzbiTUCTfj8Ns57s7LUe2dJX0ZLYYD0V/s1600/IMG_20140809_175044.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3dAdgT5mUppdw7LSt8TiJCT20wkeXT5IWoN2ddFwDnRNa2smOZLjzwOXTsJsgT8vrPYGEqIvpqWG8aevrKqdZBuYYXDjfzFpp99ys54HD8eAltzbiTUCTfj8Ns57s7LUe2dJX0ZLYYD0V/s1600/IMG_20140809_175044.jpg" height="320" width="236" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-16440062962808621062014-07-05T15:03:00.001-07:002014-07-06T07:54:05.629-07:00Bike's lights<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Introduction</b><br />
Since I got my bike, I had to carry around two lights when I was going to cycle on late nights. These lights were small but I was worried to leave them somewhere and cycle without lights.<br />
I came up with a simple solution to make my own lights system and to install it on my bike.<br />
<br />
<br />
<b>Items</b><br />
The shopping list is very simple and small, also I could have bought less stuff:<br />
- 4x white leds with wide angle and brighter<br />
- 4x red leds with small angle and brighter<br />
- 8x transistor to switch on and off<br />
- 1x push button to change mode<br />
- 1x arduino pro mini to control flashing mode<br />
- 1x 3 AA battery holder<br />
<br />
<br />
<b>Lights</b><br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0s79_cirj0sK7D3RuucOF5BgzCDXbmMHtG-1QpZlyH_lzdeEJktnD0a-G9lLpqnauShpA4H5EzviSDqOdDpn1gmHFFJfei5umGntaGgneBH4CMSktGlTh17EbUoOyRhK6OWzYN2aJnn/s1600/IMG_20140517_221350.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP0s79_cirj0sK7D3RuucOF5BgzCDXbmMHtG-1QpZlyH_lzdeEJktnD0a-G9lLpqnauShpA4H5EzviSDqOdDpn1gmHFFJfei5umGntaGgneBH4CMSktGlTh17EbUoOyRhK6OWzYN2aJnn/s1600/IMG_20140517_221350.jpg" height="200" width="150" /></a>I wanted to get something very bright and have arduino to control these lights, but because it was using a lot of current I had to install some transistor.<br />
I am not a genius in electronic, but probably my transistor wouldn't handle the amount of current of 4 leds, so I put one on each led.<br />
<br />
An huge amount of hot glue was used to make it waterproof, I am sorry I made something very ugly, but the next version will be better!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdH9JHfps31-G20FViU0ak-Dcd2DeCmeapUl9C5fF855rB6Uc0Bjv9kGNW5-rxXpEmVh_sQJv6S41gxLORWFA2rNW2uEW0k2xtaojnnmoNJPEnKaJzYSbHufcANHmdNdd4m3AYxq3Mq7tT/s1600/IMG_20140614_121640.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdH9JHfps31-G20FViU0ak-Dcd2DeCmeapUl9C5fF855rB6Uc0Bjv9kGNW5-rxXpEmVh_sQJv6S41gxLORWFA2rNW2uEW0k2xtaojnnmoNJPEnKaJzYSbHufcANHmdNdd4m3AYxq3Mq7tT/s1600/IMG_20140614_121640.jpg" height="200" width="150" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbzy3Ov9bL1e6Wveqn_u1usyC0T6fPrsMsVJmheT1lc9BuhtBUrszZZ2p3HxUyuYDm0SbnTCrROc1wpQt3eIqCppJEFjgXn9CY02NRFC17OXQzCYL4wqTN8hL0-tyJt5hkW2vg70N203Pc/s1600/IMG_20140614_114005.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbzy3Ov9bL1e6Wveqn_u1usyC0T6fPrsMsVJmheT1lc9BuhtBUrszZZ2p3HxUyuYDm0SbnTCrROc1wpQt3eIqCppJEFjgXn9CY02NRFC17OXQzCYL4wqTN8hL0-tyJt5hkW2vg70N203Pc/s1600/IMG_20140614_114005.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhp-iWvBjXlBgcrGONd5ahnS8T1jm20qvtye46l1Ncgo2iIeltx_DT8JgRVijrndwSfkFB0Lmll4UGGtw_rtjseWyp9Ce9cvivjIFGwuZYX53tq0G7cOLwRcweUGSf1GDAzz8b7ueCeo9N/s1600/VID_20140517_221409.mp4" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhp-iWvBjXlBgcrGONd5ahnS8T1jm20qvtye46l1Ncgo2iIeltx_DT8JgRVijrndwSfkFB0Lmll4UGGtw_rtjseWyp9Ce9cvivjIFGwuZYX53tq0G7cOLwRcweUGSf1GDAzz8b7ueCeo9N/s1600/VID_20140517_221409.mp4" height="320" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Modes</b></div>
<div class="separator" style="clear: both; text-align: left;">
I have coded 3 modes for my bike: both solid, front solid and back flashing, both flashing.</div>
<div class="separator" style="clear: both; text-align: left;">
I could have used some small components and a 555 timer, but because I am very lazy and the arduino pro mini was very small, I decided to code it.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The whole electronics is fitted under the seat with some hot glue and good position in case I ride in a bumpy road.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEirSJQ6dxttMEWJpU5hhVs_4txsNkKrKgeB9sLkTFBBoKlox6itx1IuUwd6FqPxOUMHq5Wjt0KUb182jQK62d16J3pJi7O5U908ylUVs72I-2iRMtrSxmOh5EGIVENcdyBXCbMDuzdc7/s1600/IMG_20140705_200919.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMEirSJQ6dxttMEWJpU5hhVs_4txsNkKrKgeB9sLkTFBBoKlox6itx1IuUwd6FqPxOUMHq5Wjt0KUb182jQK62d16J3pJi7O5U908ylUVs72I-2iRMtrSxmOh5EGIVENcdyBXCbMDuzdc7/s1600/IMG_20140705_200919.jpg" height="240" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
The main switch, that you can reach with your hand, turn on the whole system and in few seconds I am ready to cycle.<br />
I have used heat shrink to cover the cable and to make it less "mobile-bomb", people could think that I just made something dangerous!<br />
<br />
The button to change the mode is located on the top bar, where you hands are.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5CxmlUQ7ekqNkemqpAx3Tr7ZD5lMCbDyb28MRCqAdYytd4nGUBiimfe5C06q61LrLL56wgT8OX9cMxzDtYXT5wohcWQCGS7bxX7hDijHHdVH-21nPnmXJFpdUfFPNxOuzkcWieWkDPKJ/s1600/IMG_20140705_185332.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5CxmlUQ7ekqNkemqpAx3Tr7ZD5lMCbDyb28MRCqAdYytd4nGUBiimfe5C06q61LrLL56wgT8OX9cMxzDtYXT5wohcWQCGS7bxX7hDijHHdVH-21nPnmXJFpdUfFPNxOuzkcWieWkDPKJ/s1600/IMG_20140705_185332.jpg" height="200" width="147" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJtpXeWewHsTuOSMU0EDXRWJEDGQNmXwKa0qQtqzaBFXTfbD29E2isRYu_Ffyb0xejLWXrNFClYUeuHeIlTaj4Xpu4QCzYvjRgAhyFyvbyB5Q4-6k2_FZssAIZ2PXjniXvutv1-NPsaOls/s1600/IMG_20140705_181946.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJtpXeWewHsTuOSMU0EDXRWJEDGQNmXwKa0qQtqzaBFXTfbD29E2isRYu_Ffyb0xejLWXrNFClYUeuHeIlTaj4Xpu4QCzYvjRgAhyFyvbyB5Q4-6k2_FZssAIZ2PXjniXvutv1-NPsaOls/s1600/IMG_20140705_181946.jpg" height="200" width="147" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
I used a piece of plastic to make sure that it will be "water-proof", but only the first few rains will tell me if I have done a good job.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b>Final result</b><br />
The big piece of glue is not good-looking stuff, I will try improve the whole system by using one single transistor and to drill 4 holes into the reflectors.<br />
It will become less ugly and more stable while I am cycling.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSqijq3IYZ7fqf6Np9IZx6SLXyH_fTiOSm7b4LsNCKh-2sopXsHK3jhsXKQD3AyqumAySK1SUxthOM6VsHZ581_D_TXKGEZu_wXpuONSgX11MAFSJM6B3CqECu75g6drOhBkCrc_BpIaTD/s1600/IMG_20140705_222337.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSqijq3IYZ7fqf6Np9IZx6SLXyH_fTiOSm7b4LsNCKh-2sopXsHK3jhsXKQD3AyqumAySK1SUxthOM6VsHZ581_D_TXKGEZu_wXpuONSgX11MAFSJM6B3CqECu75g6drOhBkCrc_BpIaTD/s1600/IMG_20140705_222337.jpg" height="320" width="240" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtVz3HCg45zcqskOibr5fFU9PX76_P6L2RRWJQwaWK0GhLJkCl8tBTXiqoAAnK1wiJALVNGM_zcNXyuQQiJeohu4YS4BhXMjmaVk4GXowiEBdJxeF6Z7QvhhyphenhyphenTx6GmxL60euMUXBiDyZnK/s1600/IMG_20140705_222811%253Anopm%253A.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtVz3HCg45zcqskOibr5fFU9PX76_P6L2RRWJQwaWK0GhLJkCl8tBTXiqoAAnK1wiJALVNGM_zcNXyuQQiJeohu4YS4BhXMjmaVk4GXowiEBdJxeF6Z7QvhhyphenhyphenTx6GmxL60euMUXBiDyZnK/s1600/IMG_20140705_222811%253Anopm%253A.jpg" height="240" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqTRGtYEUQxhixxHuifWIGzGx60mLzzLtxtiN6Hfy-sX31kL9aHuVzwRsfJB7zkr8u4fLtkdrIgR1p4ms5SlW0LVr3KsjgZHtQibT9McZGtQfAqpQPOv8ptKi5bVTPOP5zQ2TocvksZPW/s1600/IMG_20140705_200835.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqTRGtYEUQxhixxHuifWIGzGx60mLzzLtxtiN6Hfy-sX31kL9aHuVzwRsfJB7zkr8u4fLtkdrIgR1p4ms5SlW0LVr3KsjgZHtQibT9McZGtQfAqpQPOv8ptKi5bVTPOP5zQ2TocvksZPW/s1600/IMG_20140705_200835.jpg" height="320" width="236" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P7HD0resyizvt8VNose-Gf5BsdjvLbJWBFPvZ_4mecUB1qW33ph8NrvWu_77XnzRw3oh5RteISLTRC2a7IOuQXiN4m1IAMWHTplPjz1dxv51wGW5FhTbk3Qa_VTz3EgB1vZeWQZXJNeL/s1600/IMG_20140705_205154.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_P7HD0resyizvt8VNose-Gf5BsdjvLbJWBFPvZ_4mecUB1qW33ph8NrvWu_77XnzRw3oh5RteISLTRC2a7IOuQXiN4m1IAMWHTplPjz1dxv51wGW5FhTbk3Qa_VTz3EgB1vZeWQZXJNeL/s1600/IMG_20140705_205154.jpg" height="240" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7IzTARkO_Z-n33xUDLKTucPPJ2eIGHFmQO0AIT1utKqKmQenKJbu_NxgR2LHmcpz08PYxsghuioPjSFgrQEYzbNdFa-XtC0nfGOML6G5n7Igx8lbfCzTxNQWG3BwUO3AxNV2fgnOtZBUU/s1600/IMG_20140705_182011.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7IzTARkO_Z-n33xUDLKTucPPJ2eIGHFmQO0AIT1utKqKmQenKJbu_NxgR2LHmcpz08PYxsghuioPjSFgrQEYzbNdFa-XtC0nfGOML6G5n7Igx8lbfCzTxNQWG3BwUO3AxNV2fgnOtZBUU/s1600/IMG_20140705_182011.jpg" height="236" width="320" /></a></div>
<b><br /></b>
<br />
<br />
<br />
<br />
<br />
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-53069655183973554042014-05-06T09:36:00.000-07:002014-05-06T09:36:24.926-07:00Arduino caller<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Description</b><br />
I had a big problem in the last few months, and this problem made me spend a lot of money at the end of the month. This because I was too lazy to buy a "home card" and digit the aboard number.<br />
The solution came quickly after I decided to make my life easier and less expensive, and I came up with the Arduino Caller.<br />
<br />
<br />
<b>Arduino Caller</b><br />
The Arduino Caller is basically: one Arduino, two gsm shields and one Ethernet shield.<br />
My theory was:<br />
- One GSM shield with the same network as my current sim, in this case I have free calls<br />
- One GSM shield with one of the cheap sim card to call aboard<br />
- Connect these two shields to talk each others without using the GSM network<br />
<br />
After few research I found a cheap and good <a href="http://www.tinyosshop.com/index.php?route=product/product&product_id=464" target="_blank">GSM shield</a> that allowed me to make the "bridge connection" with two audio extensions.<br />
<b><br /></b>
<b><br /></b>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUsRIbzlf7zEszBjATrA2ye4vdB6ND0N5tskYnUt8RSpHvvVMjV6im409uME3exCmwhbJeUcpLPf0sw_OOcw_RSYCs1uWnZjSwgfxH1nz7OyJu8N0tMOgmnQTWxdWVXfiD5s78YFBGIpkG/s1600/IMG_20140505_200300.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUsRIbzlf7zEszBjATrA2ye4vdB6ND0N5tskYnUt8RSpHvvVMjV6im409uME3exCmwhbJeUcpLPf0sw_OOcw_RSYCs1uWnZjSwgfxH1nz7OyJu8N0tMOgmnQTWxdWVXfiD5s78YFBGIpkG/s1600/IMG_20140505_200300.jpg" height="236" width="320" /></a></div>
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b>Android</b><br />
I couldn't complete the whole project without a "nice" application that would help me to make the phone call within one tap.<br />
I made a simple Android app that retrieves all contact from my phone and I can call one of them by using my Arduino Caller.<br />
My theory was pretty forward:<br />
- Get the list of my contacts<br />
- When pressed the number, send it to the "http server"<br />
- Call the number from the GSM shield ( the free one from my network )<br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0txljJHcx9iBpx2EwOgPVBUE4EC9PIXwdJgV0aZaURk2c0LnaydVGf3Vlj79NtDxVMfq6TV4SbZrbVq-JWIKWbTPiXlmalsPtsY4AANBQgIv7-Dqam4AaC2C9F0TTUXZpy40BSh4iivgg/s1600/Screenshot_2014-05-05-20-37-51_framed.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0txljJHcx9iBpx2EwOgPVBUE4EC9PIXwdJgV0aZaURk2c0LnaydVGf3Vlj79NtDxVMfq6TV4SbZrbVq-JWIKWbTPiXlmalsPtsY4AANBQgIv7-Dqam4AaC2C9F0TTUXZpy40BSh4iivgg/s1600/Screenshot_2014-05-05-20-37-51_framed.png" height="200" width="118" /></a></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3hiwFycGpCPB1zhyphenhyphenH42CCfqWB75XsrOq1vnTpQVNs8FWDCXXbjTKYv91NsBox1wSRqYGLmMAiGysomyAlla3sblHWzzQ35gKQK_ZYmDUaG8Ij2IjVP2JMPJg5okZm__PzWIEZbAuxNkrt/s1600/Screenshot_2014-05-05-20-37-57_framed.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3hiwFycGpCPB1zhyphenhyphenH42CCfqWB75XsrOq1vnTpQVNs8FWDCXXbjTKYv91NsBox1wSRqYGLmMAiGysomyAlla3sblHWzzQ35gKQK_ZYmDUaG8Ij2IjVP2JMPJg5okZm__PzWIEZbAuxNkrt/s1600/Screenshot_2014-05-05-20-37-57_framed.png" height="200" width="118" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtR-XDAYyAxRKjV4w9UzqwpvhRAdUXKbuzN9Ib7Usmiy_xBpFnQRySQIrfF6mDlbkt03_GaiKYwTQIYAUsadotMwyCEdeNx6svCaiu9HyvN2r3Af_vy8ZU202vVz9foDB3xKkJKUeVvs22/s1600/Screenshot_2014-05-05-20-38-02_framed.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtR-XDAYyAxRKjV4w9UzqwpvhRAdUXKbuzN9Ib7Usmiy_xBpFnQRySQIrfF6mDlbkt03_GaiKYwTQIYAUsadotMwyCEdeNx6svCaiu9HyvN2r3Af_vy8ZU202vVz9foDB3xKkJKUeVvs22/s1600/Screenshot_2014-05-05-20-38-02_framed.png" height="200" width="118" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vUYXGlyst3X8DUzUguFxhTcbc95iaxvF6AnDGazkPMuJSmE6_029pEgf1BDg1o3GAtY2TWWuY7BBoAfqg58QCJH2_FSSeui55LM47I4XDAkGtkLpCb_shv7tHCgg7q9r6PQmDnPhqKSV/s1600/Screenshot_2014-05-05-20-38-08_framed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vUYXGlyst3X8DUzUguFxhTcbc95iaxvF6AnDGazkPMuJSmE6_029pEgf1BDg1o3GAtY2TWWuY7BBoAfqg58QCJH2_FSSeui55LM47I4XDAkGtkLpCb_shv7tHCgg7q9r6PQmDnPhqKSV/s1600/Screenshot_2014-05-05-20-38-08_framed.png" height="200" width="118" /></a><br />
<br />
<br />
<b>Conclusion</b><br />
I am still testing the whole system, but so far I managed to call few times my parents spending just 1-2 pounds.<br />
Also the quality is good, I tried some VOIP services that made my voice funny and some lags or jumps.<br />
<br />
I am sure that I need to add few more amends to make my software stable.<br />
<b><br /></b></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-18664153720571482192014-02-09T10:30:00.001-08:002014-04-29T06:39:39.110-07:00Compile any wallet for coins based on Scrypt<div dir="ltr" style="text-align: left;" trbidi="on">
Here a little tutorial how to compile for you linux the wallet, because I always found instructions for windows, at least a binary ready but nothing about how to compile it for linux.<br />
<br />
After hours and hours of googling, I ended up on <a href="http://pw999.wordpress.com/2013/09/29/compiling-memecoin-qt-on-xubuntu/">this website</a>, that explains step by step what to do.<br />
<br />
I am going to write the simple steps that always worked for me, in case you have trouble you might want to check the website.<br />
<b><br /></b>
<b>1)</b> <b>Get all needed software</b><br />
<div style="text-align: left;">
<b><br /></b>
sudo apt-get install build-essential libssl-dev \<br />
<br />
libdb-dev libdb++-dev libboost-all-dev \libqrencode-dev qt4-qmake libqtgui4 libqt4-dev<br />
<b><br /></b>
<b>2) Check out your wallet's source code</b></div>
<div>
<br /></div>
<div>
git clone <git source></div>
<div>
<br />
<div>
Dogecoin: https://github.com/dogecoin/dogecoin.git</div>
</div>
<div>
<br /></div>
<div>
<b>3) Compile the wallet</b></div>
<div>
<br /></div>
<div>
Enter the folder of your source code and type:<br />
qmake USE_UPNP=- USE_QRCODE=0 USE_IPV6=0<br />
<br />
then just type:<br />
make<br />
<br />
If everything goes well, you should have the binary on the current folder, for Dogecoin would be dogecoin-qt.<br />
<br /></div>
<div>
That's all, I hope that this little guide has been helpful and you won't google for hours and hours to find the solution.<br />
<br />
<br />
<br />
-------- Other problems --------------<br />
<br />
<br />
<ul style="text-align: left;">
<li><b>Permission Denied</b><br /><u>Example output of the error:</u><br />/bin/sh: 1: ./build_detect_platform: Permission denied<br /><br /><u>Solution:</u><br />chmod 755 src/leveldb/build_detect_platform</li>
<li><br /></li>
</ul>
<br />
<br /></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-45820478092255182512013-11-11T13:29:00.002-08:002013-11-11T13:29:57.574-08:00Strip leds at 5v<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Intro:</u></b><br />
Are you looking to implement some leds on your project? Do you want a strip leds that works at 5v? Are you interest about strip leds? I hope that one of these questions you have answered to YES otherwise this post will be useless for you =).<br />
<br />
I am going to describe what I got on Amazon for a few pounds, just to add on my project some strip leds that could work at 5V instead 12v as usual.<br />
<br />
<br />
<b><u>Items:</u></b><br />
<br />
<ul style="text-align: left;">
<li><a href="http://www.amazon.co.uk/Generic-5050RGB-strip-waterproof-controller/dp/B00FF2X758/ref=sr_1_1?ie=UTF8&qid=1384203236&sr=8-1&keywords=usb+strip+led">Strip leds</a></li>
<li>Arduino</li>
<li>Jumpers</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Teardown:</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
The strip leds came with a small controller with 3 functions:</div>
<div>
<ul style="text-align: left;">
<li>Light: you can change the colour of the leds with predefined colours</li>
<li>Speed/Bright: you can change the speed and brightness</li>
<li>Mode: you can change mode between: fading, strobe and solid</li>
</ul>
<div>
In the video you can see how bright they are and a small demo.</div>
</div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIL7xzP2NjpAENOlLV_W93rNo2XfcdUKbvBxutpMqIkEUS1N28zrNtI1rBV0rR44etz1h4nlkKti4J1-zNRLEyJrNc7agBy96QKR3drKi3QiApOldz15YpO6bq7bBnhC0VX3CMkykK8pX/s1600/IMG_20131111_205822.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIL7xzP2NjpAENOlLV_W93rNo2XfcdUKbvBxutpMqIkEUS1N28zrNtI1rBV0rR44etz1h4nlkKti4J1-zNRLEyJrNc7agBy96QKR3drKi3QiApOldz15YpO6bq7bBnhC0VX3CMkykK8pX/s320/IMG_20131111_205822.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Under the protective plastic you can find 3 buttons and on the back some components, nothing very interesting, the main chip doesn't have any info printed on it.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXv6pLsys5zkPmuPR4eZIdu32EsBOG-p2jdIfMf5lSGtzIiBoPLFHUBZjG0LHtYdltuihgU1-D9Xpgg-JgmV_-qqMpwrWyqXU8_ej_gTPi7Ffm3yVIkS_kMGubVOAP8UyHHmpLNc_e-GjJ/s1600/IMG_20131111_205952.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXv6pLsys5zkPmuPR4eZIdu32EsBOG-p2jdIfMf5lSGtzIiBoPLFHUBZjG0LHtYdltuihgU1-D9Xpgg-JgmV_-qqMpwrWyqXU8_ej_gTPi7Ffm3yVIkS_kMGubVOAP8UyHHmpLNc_e-GjJ/s320/IMG_20131111_205952.jpg" width="240" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMCZJQJUnlgknIdxo-TNAryjCEuw3USoa9dUb2W6EQnlLHMHuG_DAA7YBWd0ejBjhC0LmkJaqFzQr2p_IQokgDE7oOwUZFzESX8pxN_tgg3FisuLAWI6SrrXyHq2-wWpbczyL_VIQ25TcE/s1600/IMG_20131111_205937.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMCZJQJUnlgknIdxo-TNAryjCEuw3USoa9dUb2W6EQnlLHMHuG_DAA7YBWd0ejBjhC0LmkJaqFzQr2p_IQokgDE7oOwUZFzESX8pxN_tgg3FisuLAWI6SrrXyHq2-wWpbczyL_VIQ25TcE/s320/IMG_20131111_205937.jpg" width="240" /></a></div>
<br />
<br />
The strip leds is a normal RGB, you can see from the image below, it has 4 pins:<br />
<br />
<ul style="text-align: left;">
<li>5V</li>
<li>Green</li>
<li>Red</li>
<li>Blue</li>
</ul>
<div>
Great news that allows me to re-use this strip leds with my Arduino.</div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1iRCpezM8JYwcB7h33PJ9x6IbXIMh9yqWc8WtTukslA-xqOk24DC7BQnZS6EDh82gWiZ3HyTAww21tFkOv17pvSTju9bXgjDQuI2K9QKBOujgOXixI2uR9GP37ldEu6GEsTcejuTo8-7r/s1600/IMG_20131111_205810.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1iRCpezM8JYwcB7h33PJ9x6IbXIMh9yqWc8WtTukslA-xqOk24DC7BQnZS6EDh82gWiZ3HyTAww21tFkOv17pvSTju9bXgjDQuI2K9QKBOujgOXixI2uR9GP37ldEu6GEsTcejuTo8-7r/s320/IMG_20131111_205810.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
Testing leds: <a href="https://plus.google.com/109942855352172378594/posts/gSMY89jU1m7">Google plus</a> ( sorry I couldnt upload on youtube)</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b><u>Arduino Test:</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
The final conclusion, this simple and "cheap" ( well still 4 pounds but for prototyping is good enough ), is suitable to be connected on your Arduino.</div>
<div>
Below you can see that I tried to give 5v and the Ground to the pin Blue, I got the blue colour.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgNE9Iysi8rc2op7N50erS4wkMz0WWfZUeo6_HPsw0cHWJ-W5HL0GLSqvUczjJLt-EwJnvuUqGpDjIE5f66Vb5LGx3MXTyLW9cYpRFzp6VKkBejmvfaCoYVRHIEJ4f4qHmtgmosaEibnQ/s1600/IMG_20131111_210326.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgNE9Iysi8rc2op7N50erS4wkMz0WWfZUeo6_HPsw0cHWJ-W5HL0GLSqvUczjJLt-EwJnvuUqGpDjIE5f66Vb5LGx3MXTyLW9cYpRFzp6VKkBejmvfaCoYVRHIEJ4f4qHmtgmosaEibnQ/s320/IMG_20131111_210326.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
What you need to do is to connect the 3 pins on your 3 PWM output and try to send values from 0 to 255.</div>
<div class="separator" style="clear: both; text-align: left;">
The strip leds will change colour based on what you are going to send on each pins, it's easy, isn't it?</div>
<div>
<br /></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-11369216794133601132013-10-25T14:27:00.001-07:002013-10-25T14:27:25.245-07:00Photo resistor with inverter logic<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<b><u>Intro:</u></b><br />
I was looking for a system that allowed me to trigger a circuit when was getting dark, so I found out that with some testing, a photo resistor and a inverter logic I could achieve this goal.<br />
<br />
<b><u>Items:</u></b><br />
<br />
<ul style="text-align: left;">
<li>1x 74HC04N ( hex logic )</li>
<li>1x photo resistor</li>
<li>few resistors ( 10-22k )</li>
<li>1x transistor n-channel</li>
<li>1x led</li>
<li>1x battery 5v</li>
<li>few jumpers</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Wiring:</u></b></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwmBoBHsxcBXORcjd9C8gMugnHM2eWsg9HwZ3HfIpuECCwGDn5pzAq8QjWoq1NH0Sk615gX2VKe6LpLVGLjCRZ7AC3wFSsN428Mi3UAJFjPEKmD70M77E77Z9y2MdUPnihl-ZhU4B15QB2/s1600/photo+inverter.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwmBoBHsxcBXORcjd9C8gMugnHM2eWsg9HwZ3HfIpuECCwGDn5pzAq8QjWoq1NH0Sk615gX2VKe6LpLVGLjCRZ7AC3wFSsN428Mi3UAJFjPEKmD70M77E77Z9y2MdUPnihl-ZhU4B15QB2/s320/photo+inverter.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Connect the battery to the VCC and Ground of your Inverter logic.</div>
<div class="separator" style="clear: both; text-align: left;">
The photoresistor needs to be connect to 5v on one pin and the other needs a resistor 10-22k to the ground and a jumper to the Input 1 on your Inverter logic. The resistor has to be tested on the final circuit because based on it, the system trigger the transistor when is very dark or less dark.</div>
<div class="separator" style="clear: both; text-align: left;">
Connect the output 1 on the gate of your transistor, the drain to the led and the source on the ground. <u>Remember to bridge the gate and source with 10k!</u></div>
<div class="separator" style="clear: both; text-align: left;">
Complete everything by connecting the other pin of the led to the 5v, better to put a resistor if you dont want burn it.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
After all this is done, try to cover it or switch off your light, you should see the led lighting up, if it doesn't work, try with something less than 10k.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Video:</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div style="text-align: center;">
<b><u><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/195cg2gBzqQ?feature=player_embedded' frameborder='0'></iframe></u></b></div>
<br />
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-80301561738902986472013-10-21T00:48:00.002-07:002013-10-21T00:48:59.221-07:00Blinking leds with 555 timer<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Intro:</u></b><br />
I was looking for something that could make some leds blinking, but my head always ended up with some Arduino stuff.<br />
I had to move my challenge to the next level, forget about the helpful Arduino and move to the real electronic way!<br />
After few hours of research I came up with the 555 timer solution, simple, clean and cheap.<br />
<br />
<b><u>Items:</u></b><br />
<br />
<ul style="text-align: left;">
<li>555 Timer</li>
<li>Capacitor ( try to get a few from 10 to 100 uF )</li>
<li>Resistor </li>
<li>Leds</li>
<li>Battery</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Wiring:</u></b></div>
<div>
<b><u><br /></u></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.stormthecastle.com/diorama/firefly-diorama/led_flasher.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://www.stormthecastle.com/diorama/firefly-diorama/led_flasher.jpg" width="292" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The diagram above is the simplest one that I found in the internet, it shows how to connect the 3 resistors, capacitor and led.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Tweaking:</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
Here we go, now we have our flashing system but you have to tweak it a little bit because the flashing delay is too higher or lower for your project.</div>
<div class="separator" style="clear: both; text-align: left;">
Change the capacitor with something higher than 100 uF to increase the delay or something lower to decrease the delay. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Here an example:</div>
<div class="separator" style="clear: both; text-align: left;">
100 uF = 2 flash per seconds</div>
<div class="separator" style="clear: both; text-align: left;">
10 uF = 10 flash per seconds </div>
<div>
These are just "fake" information, but you can have an idea which capacitor you have to use for your project!</div>
<div>
<br /></div>
<div>
The brightness of the led can be changed by using the current resistor on R3, maybe 1K is too higher for your type of light.</div>
<div>
<u><span style="color: red;"><br /></span></u></div>
<div>
<u><span style="color: red;">The flashing delay can be adjust by changing the R1 and R2 with lowers values, but be careful, better have a look on the internet and calculate the right ones!</span></u></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-17921888718051389992013-10-20T09:46:00.003-07:002013-10-20T09:46:46.479-07:00Smoking Pumpkin<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<b><u>Items:</u></b><br />
<br />
<ul style="text-align: left;">
<li>Pumpkin</li>
<li>Tray ( the right size of your pumpkin )</li>
<li>Glycerin</li>
<li>Water de-ionized </li>
<li>Tea lights</li>
<li>Nails</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Construction:</u></b></div>
<div>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<ol style="text-align: left;">
<li>Get a Pumpkin and create your scary face and cut the top to have access to the inside<br /><br /><a href="http://2.bp.blogspot.com/-thgkXjxOlm0/UmLDePrWrwI/AAAAAAAA0U4/qhKTwO48lOg/s1600/IMG_20131019_183013.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="240" src="http://2.bp.blogspot.com/-thgkXjxOlm0/UmLDePrWrwI/AAAAAAAA0U4/qhKTwO48lOg/s320/IMG_20131019_183013.jpg" width="320" /></a><br /><br /></li>
<li>Put 4 nails on the inside of your Pumpkin, the position of each has to be good for your tray, so make sure that is not too far.</li>
<li>Put as many as tea lights you can fit, more there are, less time you have to wait to get some smoke</li>
<li>Get your Tray and put 60% Glycerin and 40% Water to have good and thick smoke.<br />If smoke is too thick, reduce the amount of Glycerin and add more water, you should try until you find out what is the best for you.<br />Better if you close the Pumpkin, so the heat doesn't go away.</li>
<li>Place your Pumpkin smoking outside in the dark and enjoy the smoke effect!</li>
</ol>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-gTX29heSjEo/UmQAJ9v8w2I/AAAAAAABVUg/f3wOEPREUX8/w868-h651-no/IMG_20131020_141303.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-gTX29heSjEo/UmQAJ9v8w2I/AAAAAAABVUg/f3wOEPREUX8/w868-h651-no/IMG_20131020_141303.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>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://plus.google.com/photos/112405028063674318518/albums/5936870374822621201/5936870380039864018?pid=5936870380039864018&oid=112405028063674318518" target="_blank">Video on Google plus</a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u>Reference:</u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><br /></u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><u><a href="http://www.instructables.com/id/Smokin-Pumpkin/#intro" target="_blank">Smokin' Pumkin</a></u></b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><a href="http://www.youtube.com/watch?v=e2izLHE0AWs" target="_blank">Smoking pumpkin - Youtube</a></b></div>
<div>
<br /></div>
</div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-88179869342192183382013-10-13T04:53:00.000-07:002015-01-11T08:48:57.148-08:00Happy Birthday Box<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Intro:</u></b><br />
I had to buy a present for a my friend but I didn't want to come up with something useless and out-fashion, so I thought to use my skills in electronic to build something different.<br />
My mind made some wired ideas and I ended up with a "Happy Birthday box".<br />
<br />
<b><u>What Does It Do?</u></b><br />
The Happy Birthday Box is a simple project where a small Arduino, LCD Screen, Buzzer and a battery are used to wish Happy Birthday with sound and text.<br />
I had to mount a little switch to turn on the whole system, nobody wants the infinite Happy Birthday song on his house :)<br />
<br />
<b><u>Hardware:</u></b><br />
I ordered these items:<br />
<br />
<ul style="text-align: left;">
<li>Arduino mini ( you can use any Arduino</li>
<li>LCD Screen ( 16x2 )</li>
<li>Buzzer</li>
<li>Booster battery ( from 3.7 to 5v )</li>
<li>Battery 3.7 850mah</li>
<li>Roller switch</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Wiring:</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
LCD:</div>
<div>
This is a pretty simple way to wiring the LCD screen, they are all the same, the only issue that I have seen so far is to choose the right resistor for the contrast.</div>
<div>
I have seen tutorials tell me to use 10 ohm but in my case I couldnt use this one, I had to increase to 600 ohm to actually read something on the screen. <u><span style="color: red;">So be careful, if you dont read what you are trying to display, is not always a wiring problems!</span></u> </div>
<div>
<br /></div>
<div>
I just redirect to this nice guide how to wiring your LCD: <a href="http://arduino.cc/en/Tutorial/LiquidCrystal">http://arduino.cc/en/Tutorial/LiquidCrystal</a></div>
<div>
If you want to get rid of the potentiometer, just put try to put some resistant from pin RS ( LCD ) to GND ( LCD ).</div>
<div>
Also to light up the back light of the screen, just solder the penultimate pin to 5V and the last pin to the ground with 100 ohm ( usually is written + and - in the back ).</div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqP9veJFbfVUvAL3d92KORE2OWTobvoxOXblNJK0avn6iauA4hTyU51Mjng33XzKcvEAk2LapSqnY5gxGKFDQzlPr3920A_y16ws6h5mc8mxk9dWVEsl5hN3iw0ftybN8-KHzdV45AYmEd/s1600/happy+birthday.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqP9veJFbfVUvAL3d92KORE2OWTobvoxOXblNJK0avn6iauA4hTyU51Mjng33XzKcvEAk2LapSqnY5gxGKFDQzlPr3920A_y16ws6h5mc8mxk9dWVEsl5hN3iw0ftybN8-KHzdV45AYmEd/s400/happy+birthday.jpg" height="260" width="400" /></a></div>
<div>
<b><u><br /></u></b></div>
<div>
Buzzer:</div>
<div>
Very simple, just attach the ground and the other cable to one of the pin.</div>
<div>
<br />
<b><u>Images:</u></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpo71X112I8RLWMpIB8UmQFAFqMKnxiUjbiuZK73F2HEBLTXPnfMKiYXPBvB17dUNCZTDtlobO_By2eHEbDULM625A8d72FFOZAbzfMR2lHrO0ghn7Jruhb34F6AVem9i78dzKirdgOt5f/s1600/download_20131006_111230.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpo71X112I8RLWMpIB8UmQFAFqMKnxiUjbiuZK73F2HEBLTXPnfMKiYXPBvB17dUNCZTDtlobO_By2eHEbDULM625A8d72FFOZAbzfMR2lHrO0ghn7Jruhb34F6AVem9i78dzKirdgOt5f/s320/download_20131006_111230.jpg" height="240" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG8iVXWbze1C5B1SyusWtBIMVoW1YLFpuC6EtJn7y_KQNLixSJpenTfdNhn7xtSB54Y2l2owfJ_CNzeaQMXJTD3i8TSPVcxPguvutjgVEp2rTYV0GvFX3dv6oQDAsogCTHz0TK_SC_00h0/s1600/IMG_20131008_110700.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG8iVXWbze1C5B1SyusWtBIMVoW1YLFpuC6EtJn7y_KQNLixSJpenTfdNhn7xtSB54Y2l2owfJ_CNzeaQMXJTD3i8TSPVcxPguvutjgVEp2rTYV0GvFX3dv6oQDAsogCTHz0TK_SC_00h0/s320/IMG_20131008_110700.jpg" height="240" width="320" /></a></div>
<b><u><br /></u></b>
<b><u><br /></u></b>
<b><u>Video:</u></b><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/w01WOk720A4?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://plus.google.com/109942855352172378594/posts/hX6zrAjH999" target="_blank">Finished version on Google Plus</a></div>
<b><u><br /></u></b></div>
<div>
<br /></div>
<div>
<b><u>Code:</u></b></div>
<div>
Very simple and "clean" ( I hope ), I haven't written the melody part, I just got from internet:</div>
<div>
<a href="https://github.com/max246/ArduinoBirthday" target="_blank">Visit GitHub</a>
</div>
<div>
<br /></div>
</div>d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-8652561177317781222013-10-08T09:43:00.002-07:002013-10-08T09:43:06.677-07:00Use Serial Port to access on your Raspberry Pi<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Intro:</u></b><br />
I was working on <a href="http://projectsmax246.blogspot.co.uk/2013/01/webcam-over-3g-with-raspberry-pi.html" target="_blank">my personal project </a> where I couldn't attach a Ethernet cable to check what was going on or just check the status of my Raspberry Pi.<br />
I knew that I could the pins TX and RX with a USB Serial port, so I got one and I started to use as debug system.<br />
<br />
<b><u>Hardware:</u></b><br />
You need a simple USB Serial port, you can get the cheap one <a href="http://dx.com/p/pl2303hx-converter-usb-to-ttl-usb-to-com-cable-module-black-1m-150928" target="_blank">here</a> or you can get something "branded" on your usual electronic shop.<br />
<br />
<b><u>Wiring:</u></b><br />
Connect the BLACK pin to the GROUND, the GREEN to the RX and the WHITE to TX.<br />
If this combination wont work, just swap the GREEN and WHITE, it might be different from my adapter.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.adafruit.com/adablog/wp-content/uploads/2012/08/window-2-83.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="http://www.adafruit.com/adablog/wp-content/uploads/2012/08/window-2-83.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<u><span style="color: red;">I never connect the red because your Raspberry is already powered from the usb port, so to avoid any problems, dont connect it!</span></u></div>
<br />
<b><u>Connection:</u></b><br />
Everything is ready to communicate with your Raspberry Pi via Serial port, what you need to start, is a Terminal software, you can use GTK Terminal, Putty or whatever you prefer.<br />
<br />
Open your software, select the right port, set the baud at 115200 and then you should see texts coming up on your terminal.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://codeandlife.com/wp-content/uploads/2012/07/screencap2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="201" src="http://codeandlife.com/wp-content/uploads/2012/07/screencap2.png" width="320" /></a></div>
<br />
<b><u><br /></u></b>
<br /></div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com0tag:blogger.com,1999:blog-2371426325171188287.post-85727894856555848642013-02-10T04:56:00.003-08:002013-02-11T16:24:16.828-08:00Raspberry Pi and Leds strip RGB<div dir="ltr" style="text-align: left;" trbidi="on">
<b><u>Description</u></b><br />
This project came up with my friend who wanted cover his room with leds strip and control all of them with a simple http request.<br />
The idea was to be able to change color and the brightness, so I had to buy just a few components to make the controller:<br />
<br />
<br />
<ul style="text-align: left;">
<li>4x MOSFET N-Channel <span style="background-color: #eeeeee; font-family: arial, sans-serif; font-size: 11px;">STP75NF75</span></li>
<li>1x Breakout Adafruit</li>
<li>1x 16 Channels servo Adafruit</li>
<li>1x PCB</li>
<li>some wires</li>
</ul>
<div>
<br /></div>
<div>
<b><u>Schema</u></b></div>
<div>
I just placed all my components on a PCB board, connected the 16 channels servo via I2C and each MOSFET to the leds strip.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikFv5jnhml-ZBwKe4jAPbIOJo_I2g5isUcLTXS8-sRZG-mowy-8fFH6dyjZniy0wnMhMn6bhMhXEypKFyHqE9wdDuR9mo7wTEM8aJBT2kWagSo_fioLvhqCsOK4yh-XTy_9lMGpdtGUFA0/s1600/led.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikFv5jnhml-ZBwKe4jAPbIOJo_I2g5isUcLTXS8-sRZG-mowy-8fFH6dyjZniy0wnMhMn6bhMhXEypKFyHqE9wdDuR9mo7wTEM8aJBT2kWagSo_fioLvhqCsOK4yh-XTy_9lMGpdtGUFA0/s320/led.png" style="cursor: move;" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b><u>Why MOSFET and 16 Channels?</u></b></div>
<div>
Someone is maybe asking why I am doing this total mess with MOSFET.</div>
<div>
The answer is that the 16 Channels couldn't give me the same result that I was expected. This means I couldn't pass the max power through this board, so I avoided the problem by using 4 MOSFET that are getting the main source power, 12V, and Raspberry is sending the right pulse to each ones.</div>
<div>
<br /></div>
<div>
<b><u>HTTP Request</u></b></div>
<div>
My friend made a little script in Python that is waiting for a POST request with Red, Green, Blu, Power as parameters and then it will send the new color through the 16 Channels.</div>
<div>
<br /></div>
<div>
<b><u>Code?!</u></b></div>
<div>
I don't really have so much code, I took the example from Adafruit to drive the 16 channels ( 3 lines ) and then parsed the 4 parameters to send the value between 0 and 4095.</div>
<div>
Obviously I can post something if someones needs a little guide how to parse these values =).</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b><u>Video</u></b><br />
<b><u><br /></u></b>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/YFY9UpUT1iY?feature=player_embedded' frameborder='0'></iframe></div>
<b><u><br /></u></b></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com4tag:blogger.com,1999:blog-2371426325171188287.post-13816085142717585662013-01-26T13:17:00.000-08:002013-01-26T13:17:47.059-08:00Leds Strip Fading system<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<b><u><span style="font-size: large;"><br /></span></u></b></div>
<div style="text-align: left;">
<b><u>Description</u></b></div>
<div style="text-align: left;">
I made a little test with some components to find out how to control the brightness of this leds strip, I couldn't find a good answer on Google so I came up with a solution.</div>
<div style="text-align: left;">
Keep in mind that I am not an electronic so this solution could be not the best one, it worked and tested. </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><u>Items</u></b></div>
<div style="text-align: left;">
</div>
<ul style="text-align: left;">
<li>Leds strip</li>
<li>Arduino</li>
<li>N-Channel MOSFET, my was 2N7000</li>
<li>200 ohm resistor</li>
</ul>
<div>
<b><u>Schema</u></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGoTWbxSJOry0vDpUW6kpvQ0_xH1Xzau05fVOR4Nt4eBaFPaEvqjcUNvfrG_bdoYGSvCZnIxBgePq5sOtO5PaxY1sXZPP_vaHv0zN-vi-acApJ4hvkgwXQN775suWI1Ja51R7kpNVIIwYH/s1600/schema.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGoTWbxSJOry0vDpUW6kpvQ0_xH1Xzau05fVOR4Nt4eBaFPaEvqjcUNvfrG_bdoYGSvCZnIxBgePq5sOtO5PaxY1sXZPP_vaHv0zN-vi-acApJ4hvkgwXQN775suWI1Ja51R7kpNVIIwYH/s320/schema.jpg" width="320" /></a></div>
<div>
<b><u><br /></u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
<b><u>Code</u></b></div>
<div>
<b><u><br /></u></b></div>
<div>
void setup() {</div>
pinMode(5,OUTPUT);<br />
pinMode(6,OUTPUT);<br />
<div>
}</div>
<div>
<br /></div>
<div>
void loop() {</div>
<div>
analogWrite(5,0);</div>
<div>
<div>
for (int i = 0;i < 260;i++) {</div>
<div>
analogWrite(6,i);</div>
<div>
delay(10);</div>
<div>
}</div>
</div>
<div>
}</div>
<div>
<br /></div>
</div>
d9frre09ds0dshttp://www.blogger.com/profile/13188996899579956421noreply@blogger.com3