<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
	<title><![CDATA[Cooking Hacks Blog]]></title>
	<atom:link href="http://www.cooking-hacks.com/index.php/blog/feed" rel="self" type="application/rss+xml" />
	<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/]]></link>
	<description><![CDATA[Cooking Hacks Blog]]></description>
	<lastBuildDate>Fri, 18 May 2012 02:30:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator><![CDATA[http://fishpig.co.uk/wordpress-integration/]]></generator>
			<item>
		<title><![CDATA[DIY Alarm with 3G/GPRS Shield for Arduino, Camera, Ultrasound Sensor, Keypad & RGB Led]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/diy-alarm-with-3g-gprs-shield-for-arduino-camera-ultrasound-sensor-keypad-rgb-led]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/diy-alarm-with-3g-gprs-shield-for-arduino-camera-ultrasound-sensor-keypad-rgb-led#respond]]></comments>
		<pubDate>Wed, 16 May 2012 13:13:11 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1329]]></guid>
			<description><![CDATA[<div style="border: 3px solid rgb(204, 204, 204); width: 486px; height: 300px; margin: 0pt auto;"><center><object width="486" height="300" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/JfW0Ua4Ame4?version=3&amp;feature=player_detailpage" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><embed width="486" height="300" type="application/x-shockwave-flash" src="http://www.youtube.com/v/JfW0Ua4Ame4?version=3&amp;feature=player_detailpage" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" allowscriptaccess="always" /></object></center></div>
<p><a href="http://www.arduinoacademy.com" target="_blank"><strong>Arduteka</strong></a> launches its new<a href="http://www.arduinoacademy.com/2012/05/09/tutorial-arduino-0010-modulo-3g-ultrasonidos-teclado-matricial-led-rgb/" target="_blank"> tutorial</a>!</p>
<p><span id="result_box" lang="en"><span class="hps">It</span> <span class="hps">reveals</span> <span class="hps">the new</span> <a title="" href="http://www.cooking-hacks.com/index.php/3g-gprs-shield-for-arduino-3g-gps-audio-video-kit.html" target="_blank"><span class="hps">3G/GPRS Shield</span> <span class="hps">for Arduino (3G+GPS)</span></a> from <a title="" href="http://www.cooking-hacks.com/" target="_blank">Cooking <span class="hps">Hacks</span></a>. W<span class="hps">e are going to </span><span class="hps">build</span> <span class="hps">a fun</span> <span class="hps">alarm that</span> <span class="hps">will send us</span> <span class="hps">a photo</span> <span class="hps">of</span> <span class="hps">our intruder</span> <span class="hps">directly to our</span> <span class="hps">mail, and</span> <span class="hps">let us know</span> <span class="hps">by</span> <span class="hps">a SMS</span> <span class="hps">to</span> <span class="hps">our mobile phone</span> <span class="hps">without a constant connection to the internet</span><span class="hps">.</span></span></p>
<blockquote><p><span id="result_box" lang="en"><span class="hps">Let's</span> <span class="hps">build </span><span class="hps">a homemade alarm</span><span>. We will scan </span><span class="hps">continuously</span> <span class="hps">the space</span> <span class="hps">in front of you</span> </span><span id="result_box" lang="en"><span> through the</span> <span class="hps">ultrasonic sensor</span><span>, </span></span><span id="result_box" lang="en"><span class="hps">with</span> <span class="hps">a radius of approximately</span> <span class="hps">30 °.</span> <span class="hps">When an object</span> <span class="hps">or person</span> <span class="hps">is in the</span> <span class="hps">field of action</span> <span class="hps">at a distance</span> <span class="hps">less than the</span><span class="hps"> established, it</span> <span class="hps">will</span> <span class="hps">sound an alarm,</span> <span class="hps">take</span> <span class="hps">a photograph,</span> turn the RGB Led from green to blue (it <span class="hps">will</span> <span class="hps">give you 10</span> <span class="hps">seconds to</span> <span class="hps">deactivate the alarm</span> <span class="hps">through our</span> <span class="hps">matrix keyboard).</span><span> If</span> it is <span class="hps">deactivated</span><span>,</span> <span class="hps">it will turn again to</span> <span class="hps">scan the</span> <span class="hps">field. </span><span class="hps">If</span> <span class="hps">not, </span><span class="hps">it will play a loud sound</span><span class="hps"> and it will </span><span class="hps">send</span> <span class="hps">a SMS</span> <span class="hps">to</span> <span class="hps">our mobile phone</span> <span class="hps">and a photography</span> <span class="hps">to</span> <span class="hps">our email.</span></span></p></blockquote>
<p>Read the full article <a title="" href="http://www.arduinoacademy.com/2012/05/09/tutorial-arduino-0010-modulo-3g-ultrasonidos-teclado-matricial-led-rgb/" target="_blank">here</a>. (Spanish)</p>
<p>Via: <a title="" href="http://www.arduinoacademy.com/2012/05/09/tutorial-arduino-0010-modulo-3g-ultrasonidos-teclado-matricial-led-rgb/" target="_blank">Arduino Blog</a>, Source: <a href="http://www.arduinoacademy.com" target="_blank">Arduteka</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Tutorial: Bluetooth module PRO for Arduino.]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/tutorial-bluetooth-module-pro-for-arduino]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/tutorial-bluetooth-module-pro-for-arduino#respond]]></comments>
		<pubDate>Tue, 15 May 2012 10:08:48 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1297]]></guid>
			<description><![CDATA[<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/bluetooth_for_device_discovery_arduino_1.jpg"><img class="aligncenter size-medium wp-image-1300" title="bluetooth_for_device_discovery_arduino_1" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/bluetooth_for_device_discovery_arduino_1-213x300.jpg" alt="" width="213" height="300" /></a></center></p>
<h3><strong>Introduction</strong></h3>
<p>This tutorial describes some features of <strong><a href="http://www.cooking-hacks.com/index.php/bluetooth-module-pro-for-arduino.html" target="_blank">Bluetooth module PRO for Arduino</a></strong> which has been mainly designed to discover high amount of bluetooth devices in a variable area. Besides that, connection processes between two bluetooth modules are shown.<br />
It has to be mentioned that inquiry processes of bluetooth module are anonymous due to only MAC address is obtained from the bluetooth remote device. No account or phone numbers are obtained. These facts allows saving privacy of bluetooth users.</p>
<p><strong>Ingredients:</strong></p>
<ul>
<li>2 x <a href="http://www.cooking-hacks.com/index.php/shop/arduino/arduino-uno.html" target="_blank">Arduino UNO</a></li>
<li>2 x <a href="http://www.cooking-hacks.com/index.php/shop/arduino/wireless/communication-shield-xb-bt-rfid.html" target="_blank">Communication Shield</a></li>
<li>2 x <a href="http://www.cooking-hacks.com/index.php/bluetooth-module-pro-for-arduino.html" target="_blank">Bluetooth module PRO for Arduino</a></li>
<li>2 x <a href="http://www.cooking-hacks.com/index.php/usb-cable.html" target="_blank">USB cable</a></li>
<li>1 x PC</li>
</ul>
<p>Difficulty: Medium -<img src="http://www.cooking-hacks.com/skin/frontend/default/cooking/images/medium.png" alt="medium" /><br />
Preparation Time: 20 minutes</p>
<h3><strong>Steps Index</strong></h3>
<h4><strong>Step 1: Bluetooth module PRO:</strong></h4>
<p>Bluetooth module can be connected in a Xbee shield for Arduino.</p>
<p><strong>Technical characteristics:</strong></p>
<ul>
<li>Chip: Bluegiga WT12</li>
<li>Bluetooth v2.1 + EDR. Class 2</li>
<li>TX Power: 7 Power levels [-27dBm, +3dBm]</li>
<li>RX sensitivity: -90 dBm</li>
<li>Antenna: 2dBi</li>
<li>Range: from 10 to 50 meters depending tx power and environment conditions.</li>
<li>Received Strength Signal Indicator (RSSI) for each scanned device</li>
<li>Class of Device (CoD) for each scanned device</li>
</ul>
<p><strong>Special features:</strong><br />
Bluetooth module integrates a firmware called Iwrap, developed by manufacturer which offers many possibilities. Refer to link &amp; documentation section for more information.<br />
Moreover, Libelium has developed a specific API to allow using this module with Waspmote. There are many useful functions which can be used as a guideline for other designs. Refer to <a href="http://www.libelium.com" target="_blank">Libelium</a> web site for more information.</p>
<p><strong>Power consumption</strong><br />
Bluetooth module has different power consumption according its operating state. Next table shows information about it.</p>
<p><center><br />
<table border="1">
<tbody>
<tr>
<td><strong>Estate</strong></td>
<td><strong>Power consumption</strong></td>
</tr>
<tr>
<td>OFF</td>
<td>0</td>
</tr>
<tr>
<td>Sleep</td>
<td>&lt; 0.5 mA</td>
</tr>
<tr>
<td>ON (IDLE state)</td>
<td>2 mA</td>
</tr>
<tr>
<td>Inquiry at minimum power</td>
<td>33.5 mA</td>
</tr>
<tr>
<td>Inquiry at maximum power</td>
<td>36.5 mA</td>
</tr>
</tbody>
</table>
<p></center><br />
<br></p>
<h4><strong>Step 2 : Device discovery:</strong></h4>
<p>For a device discovery example connect bluetooth module PRO in Gateway mode. An Arduino and a Xbee shield will be needed. Microcontroller (Atmega328) must be removed from Arduino to use it in gateway mode and also jumpers must be set to USB position.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/bluetooth_for_device_discovery_arduino_2.jpg"><img class="aligncenter size-medium wp-image-1301" title="bluetooth_for_device_discovery_arduino_2" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/bluetooth_for_device_discovery_arduino_2-242x300.jpg" alt="" width="242" height="300" /></a></center></p>
<p>Using gateway mode, commands can be sent from our PC to bluetooth module. The module has and integrated firmware called IWRAP which allows several possibilities. See links &amp; documentation section to see where you can find a description of all supported commands of bluetooth module and IWRAP firmware. Commands are not case sensitive.<br />
Once gateway is ready let's open a serial monitor (Cutecom in this case) and open serial port with parameters 38400 bps, 8 data bits,parity none and 1 stop bit. To test communication you can simply type <strong>“AT”</strong> command and <strong>“OK”</strong> will be returned.<br />
The command used to carry out a device discovery is <strong>“INQUIRY {timeout}”</strong>. Timeout can be a number between 1 and 48 and it will determine time spent searching for devices. The module will answer with a list of discovered devices as in shown in picture below.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/1-DEVICE_INQUIRY_SIMPLE_2.jpeg"><img class="aligncenter size-medium wp-image-1312" title="1 - DEVICE_INQUIRY_SIMPLE_2" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/1-DEVICE_INQUIRY_SIMPLE_2-300x283.jpg" alt="" width="300" height="283" /></a></center></p>
<p>In this case, module has discovered three devices, showing each one in a different line with next data fields:</p>
<ul>
<li><strong>MAC</strong> address, which is a unique identification number of a bluetooth device. It has 12 hexadecimal digits separated by “:”. One example could be “12:34:56:aa:bb”.</li>
<li><strong>CoD</strong> (Class of Device): Bluetooth devices are classified according to the device which they are integrated. Therefore a vehicle hands free device will belong to a different class than a pedestrian mobile phone. This parameter has 6 hexadecimal digit and it allows distinguish if detected bluetooth device is a vehicle, a pedestrian, and so on.</li>
<li><strong>RSSI</strong> (Received Signal Strength Indicator): This parameters shows quality of the radio link. It can be used to know distance between bluetooth module and inquired device. It is shown as a negative value rounding -40 dBm (close devices) and -90 dBm (far devices)</li>
</ul>
<p>By default, bluetooth module PRO is in visible mode, so you are able to discover it with other bluetooth modules. If you want to change to NOT visible mode use command <strong>“SET BT PAGEMODE 0”</strong> and if you want to make it visible again just use <strong>“SET BT PAGEMODE 4”</strong>.<br />
If the user wants to know also “friendly name” of remote devices, the inquiry command must include <strong>“NAME”</strong> flag following timeout parameter, for instance <strong>“INQUIRY 5 NAME”</strong>, and name will be shown at the end of module response. Next image shows an example of it.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/2-inquiry_name.jpeg"><img class="aligncenter size-medium wp-image-1313" title="2 -inquiry_name" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/2-inquiry_name-230x300.jpg" alt="" width="230" height="300" /></a></center></p>
<p>It could be that a bluetooth device has friendly name property disabled, in this case bluetooth module will answer with an event like <strong>“NAME ERROR 0x104 {MAC} HCI_ERROR_PAGE_TIMEOUT”</strong>.<br />
If the user wants to stop inquiry processes in a certain moment, <strong>IC</strong> should be used (Inquiry Cancel). It can be useful for example to limit number of discovered devices. However, this command has to be used before summary is given by module, and name resolution processes can not be canceled.<br />
Furthermore, <strong>“SLEEP”</strong> command can be used to reduce power consumption of bluetooth module. It has to be taken into account that awaking module by UART will produce the lost of first byte sent, which is used to wake up the module. Other useful commands are <strong>“INFO”</strong> and <strong>“SET”</strong> which show information about module.<br />
There is another command which uses the internal temperature sensor of bluetooth module. It has no relevance in bluetooth actions but it can be used as a reference of the approximated temperature surrounded module. Just type <strong>“TEMP”</strong> command and temperature will be answered in Celsius degrees. Take into account that refresh rate of temperature sensor is not very high.</p>
<p><strong>Note:</strong> Pay attention when using configuration commands and always be sure of what you are doing. Otherwise bluetooth module can become unresponsive and blocked.</p>
<h4><strong>Step 3 : Connecting Arduino to another Arduino without security.</strong></h4>
<p>If the user wants to make a basic transparent link between two bluetooth modules, CALL command should be used. Destination address must be also included. Just connect the two bluetooth modules in gateway mode and open both serial monitors. Type on module 1 next command, with address of module 2:</p>
<p><center><strong>CALL 00:07:80:4b:2b:c4 1101 RFCOMM</strong></center><br />
After sending this command you will see <strong>“CALL”</strong> event followed to link_ID of the call and <strong>“CONNECT”</strong> event on module 1 side and <strong>“RING”</strong> event on module 2 side. Next picture shows all this process carried out, whit module 1 serial monitor on the right and module 2 serial monitor on the left.<br />
After this events all data sent through each serial monitor will be sent to the other one. If the user want to send a command to module, escape sequence of <strong>“+++”</strong> must be sent (without end of line characters) and then module will be listening for commands. At the end, the call can be ended using <strong>“CLOSE”</strong> command followed with link_ID, and events NO CARRIER 0 and ERROR 0 will be received if everything is OK.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/3-CALL_WITOUT_SEC_2.jpeg"><img class="aligncenter size-medium wp-image-1314" title="3 -CALL_WITOUT_SEC_2" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/3-CALL_WITOUT_SEC_2-300x284.jpg" alt="" width="300" height="284" /></a></center></p>
<p>(example code of an Arduino connecting with a bluetooth module in gateway mode and sending “hello word”)<br />
<br></p>
<h4><strong>Step 4 : Connecting Arduino to another Arduino with security:</strong></h4>
<p>Connecting with security means that a PIN code will be necessary to open a connection. If the user wants to connect two Arduino with bluetooth module PRO, next steps should be followed.<br />
First of all, <strong>same PIN code must be set in each module</strong> (in this example “1234”) using the command <strong>“SET BT AUTH * 1234”</strong>. This command saves PIN code into non-volatile memory of bluetooth module and enables security for all connections. PIN code length is configurable from 0 to 16 digit. If PIN code is set OK, same command will be returned. Also PIN code can be read using <strong>“SET”</strong> command. If the user wants to delete PIN code, it can be done with <strong>“SET BT AUTH * ”</strong> (with no pin code).<br />
After setting same PIN code on both sides, process is equal to previous section “connecting without security” except for one detail. Devices will be paired automatically if their connection is successful. This can be checked also using <strong>”SET”</strong> command and reading line <strong>“SET BT PAIR ...”</strong>.<br />
However, pairing process can be done manually using <strong>“PAIR {MAC ADDR}”</strong> and the paired device will become into a trusted device (if bluetooth devices has same PIN code, or both have no pin code set). Next image shows how to set PIN code, enabling security and also how to pair a trusted device.<br />
After setting PIN code and pairing devices, just use <strong>“CALL”</strong> command as in previous section to open a transparent connection.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/4-call_with_sec.jpeg"><img title="4 - call_with_sec" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/4-call_with_sec-198x300.jpg" alt="" width="198" height="300" /></a></center><br></p>
<h4><strong>Step 5 : Connecting Arduino to a PC without security:</strong></h4>
<p>In this case, an standard bluetooth USB dongle will be connected with bluetooth module PRO inserted in Arduino (gateway mode). The PC runs under Linux.<br />
First of all, connect USB dongle to PC, open a terminal window and use “hcitool” to scan for bluetooth module PRO typing <strong>“hcitool scan”</strong>. All discovered devices will be listed with MAC address and friendly name. In this point can be seen if USB dongle is able to detect Arduino with bluetooth PRO module.<br />
After that, use “sdptool” to discover remote device services and channel used for RFCOMM, typing <strong>“sdptool search sp”</strong>. Search lines corresponding to Bluetooth PRO module and see rfcomm channel like in next picture.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/5-TERMINAL.jpeg"><img class="aligncenter size-medium wp-image-1316" title="5 - TERMINAL" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/5-TERMINAL-300x293.jpg" alt="" width="300" height="293" /></a><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/4-call_with_sec.jpeg"><br />
</a></center><br></p>
<p>Then, open a connection with Bluetooth module typing command <strong>“rfcomm connect 0 {MAC_ADDR} {Channel}”</strong> and answer will show rfcomm port where USB is connected (rfcomm0 in this case).<br />
Finally, just go to a serial monitor and open port <strong>“\dev\rfcomm0”</strong>. Now there is a transparent connection between two bluetooth modules, as is shown below.</p>
<p><center><a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/6-CUTE_PC_BT.jpeg"><img class="aligncenter size-medium wp-image-1317" title="6 - CUTE_PC_BT" src="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/6-CUTE_PC_BT-300x247.jpg" alt="" width="300" height="247" /></a></center></p>
<p>Other useful hcitool commands are:</p>
<ul>
<li><strong>hcitool dev</strong>: shows hci devices connected to PC.</li>
<li><strong>hcitool name {mac_addr}</strong>: shows name of given mac address.</li>
</ul>
<p>Moreover, “hciconfig” is also useful to configure some features of bluetooth modules. Some useful commands are:</p>
<ul>
<li><strong>hciconfig</strong>: show each hci device with its main features.</li>
<li><strong>hciconfig hciX name Bluetooth_PRO</strong>: Set local device “X” name as bluetooth_PRO.</li>
<li><strong>hciconfig hciX piscan</strong>: Makes device “X” visible for inquiries.</li>
</ul>
<p>Instead of using Arduino in gateway mode, you can upload a code like next one and see how to make a transparent connection.<br></p>
<h4><strong>Step 6 : Connecting Arduino to a PC with security:</strong></h4>
<p>This step can be carried out in same way as step 5 processes. The only difference is that bluetooth module Pro should have set a PIN code (using <strong>SET BT AUTH * {PIN_CODE}</strong>), and this code will be prompted when <strong>“sdptool search sd”</strong> is typed into a terminal. Just enter same PIN code and both devices will be paired automatically and you can continue as in step 5 to open a transparent connection.<br></p>
<h4><strong>Links and documentation:</strong></h4>
<ul>
<li>For specific documentation of Bluetooth chip and IWRAP firmware you should visit <a href="http://www.bluegiga.com/WT12_Class_2_Bluetooth_Module" target="_blank">BLUEGIGA</a> website.</li>
<li>Bluetooth module <a href="http://cooking-hacks.com/wp/wp-content/uploads/2012/05/Bluetooth-module-PRO-schematic.pdf" target="_blank">schematic</a></li>
<li>Further information of bluetooth module and a specific API can be found on <a href="http://www.libelium.com/documentation/waspmote/bluetooth-device-networking_guide.pdf" target="_blank">Bluetooth for Device discovery networking guide</a>, developed to be used with Waspmote.</li>
</ul>
<p><center></center><strong>NOTE:</strong> If you are searching for <a href="http://www.sensor-networks.org/" target="_blank">Wireless Sensor Networks</a> devices (motes) you may be interested in our <em>ready to market</em> sensor platform: <strong><a href="http://www.libelium.com/waspmote" target="_blank">Waspmote</a></strong> which counts with more than 50 sensors available to use.</p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Transistor tester powered from 2 AA batteries]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/transistor-tester-powered-from-2-aa-batteries]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/transistor-tester-powered-from-2-aa-batteries#respond]]></comments>
		<pubDate>Mon, 14 May 2012 19:11:29 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1303]]></guid>
			<description><![CDATA[<p><center><a href="http://www.electronics-lab.com/blog/wp-content/uploads/2012/05/IMG_0039-1600.jpg"><img class="aligncenter size-full wp-image-18344" title="IMG_0039-1600" src="http://www.electronics-lab.com/blog/wp-content/uploads/2012/05/IMG_0039-1600.jpg" alt="" width="398" height="301" /></a></center></p>
<p><a href="http://dangerousprototypes.com/forum/viewtopic.php?f=19&amp;t=3260&amp;p=39780#p39780">Ferdinand added a dc/dc converter circuit</a> to the <a href="http://www.mikrocontroller.net/articles/AVR-Transistortester">transistor tester</a>, allowing it to be powered from 2 AA batteries instead of a single 9volt. This project is similar to our <a href="http://dangerousprototypes.com/docs/Part_Ninja">Part Ninja</a>, it’s designed to test various electronic components like transistors, diodes, resistors, etc, and display their pin out and basic specifications. [<a href="http://dangerousprototypes.com/2012/05/03/transistor-tester-powerd-from-2-aa-batteries/" target="_blank">via</a>]</p>
<blockquote><p>I built my own version of this handy tool last weekend. I replaced the linear regulator with a small boost-converter. Now the circuit can be powered with two AA batteries.</p>
<p>The PCB is sandwiched between the battery holder and <a title="" href="http://www.cooking-hacks.com/index.php/shop/displays/lcds.html" target="_blank">LCD</a>, so to provide a handy device without need for a case. I had a lot of fun designing and building the circuit, so thank you DP for highlighting this project.</p></blockquote>
<p>Get your NPN Transistors in our <a title="" href="http://www.cooking-hacks.com/indexa.php/shop/arduino/starter-kits/cooking-hacks-components-kit-beginner-edition.html" target="_blank">Components Kit</a>.</p>
<p>Via: <a title="" href="http://www.electronics-lab.com/blog/?p=18343" target="_blank">Electronics-Lab</a>, Source: <a title="" href="http://dangerousprototypes.com/forum/viewtopic.php?f=19&amp;t=3260&amp;p=39780#p39780" target="_blank">Dangerous Prototypes</a></p>
<p><a href="http://feedads.g.doubleclick.net/%7Ea/MVYAfFQhljUR2PNjObN7dBIgsLc/0/da"><img src="http://feedads.g.doubleclick.net/%7Ea/MVYAfFQhljUR2PNjObN7dBIgsLc/0/di" alt="" ismap="ismap" border="0" /></a></p>
<p><a href="http://feedads.g.doubleclick.net/%7Ea/MVYAfFQhljUR2PNjObN7dBIgsLc/1/da"><img src="http://feedads.g.doubleclick.net/%7Ea/MVYAfFQhljUR2PNjObN7dBIgsLc/1/di" alt="" ismap="ismap" border="0" /></a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[High-tech geeky chocolate box (Arduino Powered)]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/high-tech-geeky-chocolate-box-arduino-powered]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/high-tech-geeky-chocolate-box-arduino-powered#respond]]></comments>
		<pubDate>Sun, 13 May 2012 12:55:50 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1292]]></guid>
			<description><![CDATA[<div style="border: 3px solid #cccccc; width: 486px; height: 300px; margin: 0pt auto;"><center><object width="486" height="300" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/1EBQu4aEzgc?version=3&amp;feature=player_embedded" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><embed width="486" height="300" type="application/x-shockwave-flash" src="http://www.youtube.com/v/1EBQu4aEzgc?version=3&amp;feature=player_embedded" allowFullScreen="true" allowScriptAccess="always" allowfullscreen="true" allowscriptaccess="always" /></object></center></div>
<p>So you want to gift your Mother a box of chocolates for Mother’s day today. Spice it up with <a title="" href="http://www.cooking-hacks.com/index.php/shop/arduino.html" target="_blank">Arduino</a>. A hack by Dmitriy Abaimov which originally uses an <a title="" href="http://www.cooking-hacks.com/index.php/avr-8-pin-10mhz-1k-4a-d-attiny13.html" target="_blank">ATTiny13</a>, a very tiny microcontroller, along with 10 LEDS tucked into the heart-shaped Ferrero Rocher box to flash lights inside the plastic. It’s a nice touch that will stand out among the flowers, chocolates and cards.</p>
<p><center><img class="alignnone" title="chocolatebox" src="http://cdn.walyou.com/wp-content/uploads//2012/05/led_chocolate_box.jpg" alt="" width="397" height="300" /></center>Get making! The code and instructions can be found <a title="" href="http://elabz.com/pimp-your-chocolates-with-arduino-ide-and-attiny13/" target="_blank">here</a>.</p>
<p>Via: <a title="" href="http://arduino.cc/blog/2012/05/11/high-tech-geeky-chocolate-box/" target="_blank">Arduino Blog</a>, Source: <a title="" href="http://elabz.com/pimp-your-chocolates-with-arduino-ide-and-attiny13/" target="_blank">elabz</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Serial four digit 7-segment LED display module controlled by Arduino]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/serial-four-digit-7-segment-led-display-module-controlled-by-arduino]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/serial-four-digit-7-segment-led-display-module-controlled-by-arduino#respond]]></comments>
		<pubDate>Sat, 12 May 2012 10:41:44 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1289]]></guid>
			<description><![CDATA[<p><center><img class="aligncenter size-full wp-image-18410" title="ArduinoSPILED2" src="http://www.electronics-lab.com/blog/wp-content/uploads/2012/05/ArduinoSPILED2.jpg" alt="" width="376" height="300" /></center><a href="http://embedded-lab.com/blog/?p=4935" target="_blank">embedded-lab.com</a> writes:</p>
<blockquote><p><a title="" href="http://www.cooking-hacks.com/index.php/catalogsearch/result/?q=-segment" target="_blank">Seven segment LED displays</a> are a very popular mean of displaying numerical information and finds application in front panel display boards of microwave ovens, washers and dryers, digital clocks, frequency counters, and many other gadgets. Compared to the LCD displays, the seven segment LED displays are brighter and provide a far viewing distance and a wide viewing angle. However, the downside is they are resource-hungry. It requires at least 12 I/O pins of a microcontroller to drive a standard 4-digit seven segment LED module. Consequently, their use with low pin-count microcontrollers (such as PIC12F series) is not practically feasible. Here’s a solution for that. The following 4-digit seven segment LED module features a serial interface that requires only 3 I/O pins of a <a title="" href="http://www.cooking-hacks.com/index.php/shop/arduino/arduino-uno.html" target="_blank">microcontroller</a> and provides full control of all digits and decimal points .</p></blockquote>
<p><strong>Arduino</strong> is this microcontroller that allows to work with this kind of 7-segment easily. Read the full tutorial <strong><a href="http://embedded-lab.com/blog/?p=4935" target="_blank">here</a></strong></p>
<p>Via and Source: <a title="" href="http://embedded-lab.com/blog/?p=4935" target="_blank">Embedded-Lab</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Automatic cat feeder made with recycled laminator parts and Arduino Nano]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/automatic-cat-feeder-made-with-recycled-laminator-parts-and-arduino-nano]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/automatic-cat-feeder-made-with-recycled-laminator-parts-and-arduino-nano#respond]]></comments>
		<pubDate>Fri, 11 May 2012 15:22:26 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1287]]></guid>
			<description><![CDATA[<div style="border: 3px solid rgb(204, 204, 204); width: 524px; height: 300px; margin: 0pt auto;"><center><iframe src="http://www.youtube.com/embed/B8Jxw-xC9Vg?feature=player_embedded" frameborder="0" width="524" height="300"></iframe></center></div>
<p>When [Antoine] and his family leave home for a few days, they usually have to find a neighbor who is willing to care for their cats while they are away. Instead of bothering the people who live next door, he decided it would be best to <a href="http://lafamillecreative.blogspot.fr/2012/02/un-distributeur-automatique-de.html" target="_blank">build an automatic cat feeder</a> (<a href="http://translate.google.com/translate?sl=fr&amp;tl=en&amp;js=n&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=2&amp;eotf=1&amp;u=http://lafamillecreative.blogspot.fr/2012/02/un-distributeur-automatique-de.html" target="_blank">Translation</a>) instead.</p>
<p>[Antoine] originally tried building an auger to distribute the food, but it didn’t work as well as he had hoped. He opted to build a dispenser out of wood instead, driving the feeding wheel with an old microwave platter motor. The motor did not have enough torque to do the job, so he dismantled an old laminator, which had a more suitable motor inside.</p>
<p>He <a href="http://lafamillecreative.blogspot.fr/2012/05/un-distributeur-automatique-de.html" target="_blank">built a large hopper</a> (<a href="http://translate.google.com/translate?sl=fr&amp;tl=en&amp;js=n&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=2&amp;eotf=1&amp;u=http://lafamillecreative.blogspot.fr/2012/05/un-distributeur-automatique-de.html" target="_blank">Translation</a>) out of wood and left over acrylic sheeting, which stores the cat food and houses all of the electronics used in the feeder. He controls the amount of food and feeding intervals using a pair of buttons and a small LCD display, all of which are controlled by an <a title="" href="http://www.cooking-hacks.com/index.php/shop/arduino/arduino-nano.html" target="_blank">Arduino Nano</a>.</p>
<p>While [Antoine] has not yet shared the source code that drives the feeder, he does have a demo video which you can watch below.</p>
<p>Via: <a title="" href="http://hackaday.com/2012/05/06/automatic-cat-feeder-made-with-recycled-laminator-parts/" target="_blank">Hack a Day</a>, Source: <a title="" href="http://lafamillecreative.blogspot.fr/2012/02/un-distributeur-automatique-de.html" target="_blank">La Famille Creative</a></p>
<p>&nbsp;</p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Text-Enabled Espresso Machine Prints Your Phone Number on the Foam (Arduino project)]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/text-enabled-espresso-machine-prints-your-phone-number-on-the-foam-arduino-project]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/text-enabled-espresso-machine-prints-your-phone-number-on-the-foam-arduino-project#respond]]></comments>
		<pubDate>Wed, 09 May 2012 19:12:06 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1283]]></guid>
			<description><![CDATA[<div style="border: 3px solid rgb(204, 204, 204); width: 524px; height: 300px; margin: 0pt auto;"><center><iframe src="http://www.youtube.com/embed/kx9D74t7GD8?feature=player_embedded" frameborder="0" width="524" height="300"></iframe></center></div>
<p>Kelsey Klevenberg of the cloud texting service <a href="http://zipwhip.com/">Zipwhip</a> says:</p>
<blockquote><p>We made the Textspresso machine to show off our cloud texting technology. It’s a robotic coffee machine. It utilized java script, 3 <a title="" href="http://www.cooking-hacks.com/indexa.php/shop/arduino.html?utm_source=blog&utm_medium=expresso-machine&utm_campaign=may" target="_blank">arduino</a> microcontrollers, a couple <a title="" href="http://www.cooking-hacks.com/index.php/shop/robotics/servos.html?utm_source=blog&utm_medium=expresso-machine&utm_campaign=may" target="_blank">servos</a>, an ikea cupboard, and about 100 other pieces. We think it’s great. We’re open sourcing the plans in the coming weeks.</p></blockquote>
<p>Via and Source: <a title="" href="http://blog.makezine.com/2012/05/06/text-enabled-espresso-machine-prints-your-phone-number-on-the-foam/" target="_blank">Make</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Arduino PIC programmer writes to 18F family]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/arduino-pic-programmer-writes-to-18f-family]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/arduino-pic-programmer-writes-to-18f-family#respond]]></comments>
		<pubDate>Tue, 08 May 2012 19:13:03 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1280]]></guid>
			<description><![CDATA[<p><center><img class="alignnone size-full wp-image-73329" title="pic18p" src="http://hackadaycom.files.wordpress.com/2012/05/pic18p-e1336062247577.jpg" alt="" width="476" height="204" /></center>[Kirill] wrote in to share <a title="" href="https://sites.google.com/site/thehighspark/arduino-pic18f" target="_blank">his Arduino-based PIC programmer</a>. It is capable of writing to the <a title="" href="http://www.cooking-hacks.com/index.php/catalogsearch/result/?q=18F" target="_blank">18F family of chips</a>, including 18F2XXX and 18F4XXX. We think that’s pretty exciting because this line of chips has USB functionality and there are bootloaders out there that let you program them via USB. So if you wanted to build your own PIC dev-board (<a title="" href="http://hackaday.com/2010/04/13/picman-a-diy-prototyping-setup/" target="_blank">like this one</a>) you can use your <a title="" href="http://www.cooking-hacks.com/index.php/shop/arduino.html" target="_blank">Arduino</a> to flash the bootloader.</p>
<p>This post comes hot on the heels of <a title="" href="http://hackaday.com/2012/05/02/arduino-can-program-pic-too/" target="_blank">the Arduino being used as a PIC 16F programmer</a>. That hack has a rudimentary programming GUI, something that [Kirill] admits his lacks but has no plans to implement himself. Perhaps someone will do a little porting work to merge the projects, adding to the range of chips supported by this programming technique.</p>
<p>Read the <a title="" href="https://sites.google.com/site/thehighspark/arduino-pic18f" target="_blank">full article</a></p>
<p>Via: <a title="" href="http://hackaday.com/2012/05/04/arduino-pic-programmer-writes-to-18f-family/" target="_blank">Hack a Day</a>, Source: <a title="" href="https://sites.google.com/site/thehighspark/arduino-pic18f" target="_blank">High Spark</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[A simple project to get you started with the Android ADK]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/a-simple-project-to-get-you-started-with-the-android-adk]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/a-simple-project-to-get-you-started-with-the-android-adk#respond]]></comments>
		<pubDate>Mon, 07 May 2012 15:07:54 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1277]]></guid>
			<description><![CDATA[<div style="border: 3px solid #cccccc; width: 524px; height: 300px; margin: 0pt auto;"><center><iframe src="http://www.youtube.com/embed/0Eu3c4dQP8c?feature=player_embedded" frameborder="0" width="524" height="300"></iframe></center></div>
<p>If you just got your hands on a shiny new Android phone and are looking for a fun project to try out, you might want to check out <a href="http://mitchtech.net/android-arduino-usb-host-temperature-light/" target="_blank">this simple Arduino exercise</a> that [Mike Mitchel] put together. Everyone needs a starting off point for hacking, and [Mike] thought that combining and Arduino and Android handset together for the purpose of temperature sensing and light metering would be a great place to begin.</p>
<p>The prerequisites for this project are a bit beyond a simple breadboard and a few ICs, requiring an $80 Android ADK board to go along with your phone and <a title="" href="http://www.cooking-hacks.com/indexa.php/shop/arduino.html" target="_blank">Arduino</a>. If your focus is going to be on interfacing your phone with microcontrollers however, it’s purchase you’ll make sooner than later anyhow.</p>
<p>The setup is pretty simple as you might expect. A <a title="" href="http://www.cooking-hacks.com/index.php/mini-photocell.html" target="_blank">photocell</a> and TMP36 temperature sensor are connected to the Arduino, then with a bit of code and <a title="" href="http://www.cooking-hacks.com/index.php/usb-host-shield.html" target="_blank">USB host</a> magic, the Android app shows the temp and amount ambient light present in the room.</p>
<p>[Mike] has made all of his easy to read and well commented code available online, so be sure to check it out if you have been thinking about (but putting off) playing around with the Android ADK.</p>
<p>Read the full article <a title="" href="http://mitchtech.net/android-arduino-usb-host-temperature-light/" target="_blank">here</a>.</p>
<p>Via: <a title="" href="http://hackaday.com/2012/04/06/a-simple-project-to-get-you-started-with-the-android-adk/" target="_blank">Hack a Day</a>, Source: <a title="" href="http://mitchtech.net/android-arduino-usb-host-temperature-light/" target="_blank">Mitchtech</a></p>
]]></description>
			</item>
		<item>
		<title><![CDATA[Arduino BASIC interpreter using LCD, keyboard, and SD]]></title>
		<link><![CDATA[http://www.cooking-hacks.com/index.php/blog/arduino-basic-interpreter-using-lcd-keyboard-and-sd]]></link>
		<comments><![CDATA[http://www.cooking-hacks.com/index.php/blog/arduino-basic-interpreter-using-lcd-keyboard-and-sd#respond]]></comments>
		<pubDate>Sun, 06 May 2012 18:54:34 +0000</pubDate>
		<dc:creator></dc:creator>
			<guid isPermaLink="false"><![CDATA[http://www.cooking-hacks.com/index.php/blog/?p=1275]]></guid>
			<description><![CDATA[<div style="border: 3px solid #cccccc; width: 524px; height: 300px; margin: 0pt auto;"><center><iframe src="http://www.youtube.com/embed/8m8IKQNJNZY?feature=player_embedded" frameborder="0" width="524" height="300"></iframe></center></div>
<p>This <a href="http://amigojapan.github.com/Arduino-Retro-Computer-with-SD-card-and-LCD-display-and-Keyboard-input-with-BASIC-interpreter/">Arduino BASIC interpreter</a> will make a really fun one-day project if you’ve already got the parts on hand. [Usmar A. Padow] put together an <a title="" href="http://www.cooking-hacks.com/index.php/arduino-uno.html" target="_blank">Arduino Uno</a>, SD card, four line character <a title="" href="http://www.cooking-hacks.com/indexa.php/shop/displays/lcds.html" target="_blank">LCD</a>, and PS/2 keyboard. but he’s also included alternative options to go without an LCD screen by using a computer terminal, or without the SD card by using only the Uno’s RAM. As you can see in his demo after the break, this simple input/output is all you need to experiment with some ancient computing.</p>
<p>It’s hard for us to watch this and not think back to an orange or green monochrome display. Just like decades past, this implementation of BASIC has you start each line of code with a line number, and doesn’t allow for character editing once the line has been input. The example programs that [Usmar] shows off are simple to understand but cover enough to get you started if you’ve never worked with BASIC before.</p>
<p>Last August we saw another hack which <a href="http://hackaday.com/2011/08/28/basic-programming-on-an-arduino/">ported Tiny BASIC to the Arduino</a>. You may want to take a gander at that one as well.</p>
<p>Via: <a title="" href="http://hackaday.com/2012/05/01/arduino-basic-interpreter-using-lcd-keyboard-and-sd/" target="_blank">Hack a Day</a>, Source: <a title="" href="http://amigojapan.github.com/Arduino-Retro-Computer-with-SD-card-and-LCD-display-and-Keyboard-input-with-BASIC-interpreter/" target="_blank">GitHub</a></p>
]]></description>
			</item>
	</channel>
</rss>
