<?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>andremiller.net &#187; Electronics</title>
	<atom:link href="http://www.andremiller.net/category/electronics/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andremiller.net</link>
	<description>Andre Miller</description>
	<lastBuildDate>Tue, 24 Mar 2009 13:08:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling telnet on Netgear EVA8000 Digital Entertainer</title>
		<link>http://www.andremiller.net/content/enabling-telnet-netgear-eva8000-digital-entertainer</link>
		<comments>http://www.andremiller.net/content/enabling-telnet-netgear-eva8000-digital-entertainer#comments</comments>
		<pubDate>Wed, 06 Feb 2008 13:58:30 +0000</pubDate>
		<dc:creator>andre</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[EVA8000]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[Netgear]]></category>
		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The Netgear EVA8000 Digital Entertainer has a telnet daemon installed, but by default it is disabled. During bootup the startup script for the telnet daemon examines the contents of /etc/utelnetd.conf and starts the telnet daemon if the contents is set to "ENABLE 1"

Once telnet is enabled you can log into the system with the username "EVA8000" and the password "Netgear".

There are two ways to do this depending on which firmware version you are running.

]]></description>
			<content:encoded><![CDATA[<p>The Netgear EVA8000 Digital Entertainer has a telnet daemon installed, but by default it is disabled. During bootup the startup script for the telnet daemon examines the contents of /etc/utelnetd.conf and starts the telnet daemon if the contents is set to &#8220;ENABLE 1&#8243;</p>
<p>Once telnet is enabled you can log into the system with the username &#8220;EVA8000&#8243; and the password &#8220;Netgear&#8221;.</p>
<p>There are two ways to do this depending on which firmware version you are running.</p>
<p>If you&#8217;re still using the 1.2.x series of firmware you can use the built-in menu options that allows saving and restoring settings to modify this file.</p>
<p>The steps to accomplish this is documented by flusk on <a href="http://mpcclub.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=13503">http://mpcclub.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=13503</a></p>
<ol>
<li>Create a trial settings backup, using the Supervisor-&gt;Advanced Setup-&gt;Backup settings option</li>
<li>Confirm that a file was created in the location you&#8217;ve set for the EVA to store its library on. The file will be in the backup directory</li>
<li>Create a new file, called utelnetd.conf, in a directory called etc in a temporary location</li>
<li>Change the contents of this file to contain a single line &#8220;ENABLE 1&#8243; (without the quotes)</li>
<li>Create a tar archive of this file including the etc directory</li>
<li>Copy the tar file to the EVA Backup directory</li>
<li>On the EVA8000, restore the settings from this file.</li>
<li>Once the EVA has restarted telnet will be enabled and you can log in with username &#8220;EVA8000&#8243; password &#8220;Netgear&#8221;</li>
</ol>
<p>If, however, you are using one of the later beta firmware versions then the Backup settings option has been removed and you can no longer use this method to enable telnet.</p>
<p>To enable telnet on the newer firmware versions involve editing the firmware image to make the same change as above, changing ENABLE 0 to ENABLE 1 in the utelnetd.conf file.</p>
<p>I posted this same method on the Netgear Beta forums and it has been confirmed to work by others. (<a href="http://forum1.netgear.com/showthread.php?t=20991&amp;page=2&amp;p=95783">http://forum1.netgear.com/showthread.php?t=20991&amp;page=2&amp;p=95783</a>)</p>
<ol>
<li>Split the FW image into three parts. A 32 byte md5 header, the bootloader+kernel and finally the jffs2 image. If you&#8217;re using the same FW as me (V2.1.16IS.IMG):</li>
<pre>FW=EVA8000_V2.1.16IS.IMG
dd if=$FW of=crc bs=1 count=32
dd if=$FW of=bootkernel bs=1 skip=32 count=$((0x210000))
dd if=$FW of=jffsroot bs=1 skip=$((0x210020))</pre>
<li>Edit the jffs2 image with bvi and change the &#8216;ENABLE 0&#8242; to &#8216;ENABLE 1&#8242; inside the inode for dirent utelnetd.conf (Near offset 0&#215;5cfd8 of the jffs2 image).</li>
<li>Re-run jffs2dump -c on the new image. This will complain and say that the block now has an invalid CRC.</li>
<li>Luckily it also prints out what the expected CRC should be.. so, make a note of this and update the crc (77 C7 E9 3E should be changed to 36 F6 F2 27 at offset 0&#215;5CFD0 in the jffs2 image).</li>
<li>Re-run jffs2dump again to make sure its consistent</li>
<li>Combine the extracted bootloader+kernel with the new image and calculate the new md5sum:</li>
<pre>cat bootkernel jffsroot_mod &gt; tempimage
md5sum tempimage</pre>
<li>Create a new file with the ASCII portion of the md5sum in it, making sure it is exactly 32 bytes long (no newline)</li>
<li>Stitch everything back together:</li>
<pre>cat newcrc bootkernel jffsroot_mod &gt; telnet_enabled.img</pre>
</ol>
<p>Note that some of these steps can be skipped because the CRC of the JFFS2 inode will usually be the same across image versions because the contents doesn&#8217;t change. The steps are only provided for completeness. In reality all you would have to do is edit the original image, change ENABLE 0 to ENABLE 1, change the JFFS2 CRC (which will be the same values as above), strip off the first 32 bytes of the new images, re-calculate the md5sum and insert it at the start of the file.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.andremiller.net%2Fcontent%2Fenabling-telnet-netgear-eva8000-digital-entertainer&amp;linkname=Enabling%20telnet%20on%20Netgear%20EVA8000%20Digital%20Entertainer"><img src="http://www.andremiller.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.andremiller.net/content/enabling-telnet-netgear-eva8000-digital-entertainer/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nokia 3310 LCD Driver JAL PIC Library</title>
		<link>http://www.andremiller.net/content/nokia-3310-lcd-driver-jal-pic-library</link>
		<comments>http://www.andremiller.net/content/nokia-3310-lcd-driver-jal-pic-library#comments</comments>
		<pubDate>Sun, 28 Mar 2004 22:25:01 +0000</pubDate>
		<dc:creator>andre</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[JAL]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Nokia 3310]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://www.andremiller.net/?p=42</guid>
		<description><![CDATA[[An old project I moved from my previous website]
This JAL library includes functions for controlling the Nokia 3310 LCD (PCD8544          controller) and also a 5&#215;7 font.
Currently the table used only works on 16F, but should not take much to        [...]]]></description>
			<content:encoded><![CDATA[<p>[An old project I moved from my previous website]</p>
<p>This JAL library includes functions for controlling the Nokia 3310 LCD (PCD8544          controller) and also a 5&#215;7 font.</p>
<p>Currently the table used only works on 16F, but should not take much to          modify it to work with 18F PICs.</p>
<p>It only uses 5 IO pins, so a smaller PIC could be used. The font however          takes up a lot of ROM (the example program&#8217;s code size is 1305). If the          text print functions (and the font) is not used it is of course much smaller,          but also much less useful <img src='http://www.andremiller.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>Download: <a href='http://www.andremiller.net/download/nokia_3310lcd_jal_2004-03-29.zip' title='Downloaded 5561 times'>Nokia 3310 LCD JAL Driver</a> - A JAL Library to drive the Nokia 3310 LCD with a PIC.
    * example_lcd.jal - An example program, the output of which you can see in the photo below
    * nokia_lcd_p.jal - Include this first, and modify it with the pins you are using to connect
    * nokia_lcd.jal - The main jal library
    * font_5x7.jal - The 5x7 font, include after nokia_lcd.jal since it uses functions in there</p>
<p>Sorry for the quality of these photos. I&#8217;m blaming my digital camera,          but it is most likely due to a bad photographer.</p>
<div id="attachment_43" class="wp-caption alignnone" style="width: 310px"><a href="http://www.andremiller.net/wp-content/uploads/2009/03/nokia3310lcd_connected.jpg"><img class="size-medium wp-image-43" title="LCD connected to an 16F877 PIC" src="http://www.andremiller.net/wp-content/uploads/2009/03/nokia3310lcd_connected-300x225.jpg" alt="LCD connected to an 16F877 PIC" width="300" height="225" /></a><p class="wp-caption-text">LCD connected to an 16F877 PIC</p></div>
<p>On the right is my DIY Wisp628.          The interface board between the LCD and the PIC consists of two caps (required          for the LCD controller), a few 1K resistors in series with the datalines,          and a LM317 to regulate the 5V down to 3V which the LCD requires.</p>
<div id="attachment_44" class="wp-caption alignnone" style="width: 310px"><a href="http://www.andremiller.net/wp-content/uploads/2009/03/nokia3310lcd_display.jpg"><img class="size-medium wp-image-44" title="Closeup view of the font" src="http://www.andremiller.net/wp-content/uploads/2009/03/nokia3310lcd_display-300x225.jpg" alt="Closeup view of the font" width="300" height="225" /></a><p class="wp-caption-text">Closeup view of the font</p></div>
<p>Both normal and &#8216;inverted&#8217; printing functions          are available. The clips and tape holds all the pieces of the LCD together.          In my haste to see how the connections are made I broke all the plastic          holding pins.</p>
<p>For further reading about the display and microcontrollers, please visit the following sites:</p>
<ul>
<li><a href="http://www.techdesign.be/projects.htm">Electronic Projects            &lt;for you&gt;</a> &#8211; Various PIC based projects using a Nokida 3310            LCD with HI-TEC PICC and CCS source</li>
<li><a href="http://www.microsyl.com/nokialcd/nokialcd.html">Microsyl            Nokia LCD Library</a> &#8211; An LCD Library for the AVR microcontroller written            in C</li>
<li><a href="http://sandiding.tripod.com/Bertys.html">Berty&#8217;s Page</a> &#8211; Information about lots of types of phone LCD&#8217;s including Nokia and            Ericsson with sample PIC code for PIC16F84A in ASM</li>
<li><a href="http://serdisplib.sourceforge.net/ser/pcd8544.html">serdisplib            pcd8544 based displays</a> &#8211; Connecting a PCD8544 based display to a            PC Parallel port including connection diagrams</li>
<li><a href="http://www.neko.ne.jp/~freewing/cpu/arm_olimex/">Olimex            LPH7366 Project</a> &#8211; A Nokia LCD project for ARM processor with ASM            source</li>
<li><a href="http://www.myplace.nu/mp3/nokialcd.htm">Nokida 3310 LCD</a> &#8211; A Photo showing the dimensions of the display and a link to download            the datasheet</li>
<li><a href="http://www.nxp.com/acrobat_download/datasheets/PCD8544_1.pdf">PCD8544; 48 x 84 pixels matrix LCD controller/driver datasheet </a>-            The LCD controller used in the Nokida 3310 Display</li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.andremiller.net%2Fcontent%2Fnokia-3310-lcd-driver-jal-pic-library&amp;linkname=Nokia%203310%20LCD%20Driver%20JAL%20PIC%20Library"><img src="http://www.andremiller.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.andremiller.net/content/nokia-3310-lcd-driver-jal-pic-library/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>LM75 Temperature Sensor with 7 segment display output</title>
		<link>http://www.andremiller.net/content/lm75-temperature-sensor-with-7-segment-display-output</link>
		<comments>http://www.andremiller.net/content/lm75-temperature-sensor-with-7-segment-display-output#comments</comments>
		<pubDate>Wed, 24 Mar 2004 12:46:12 +0000</pubDate>
		<dc:creator>andre</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[JAL]]></category>
		<category><![CDATA[LM75]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Seven Segment Display]]></category>
		<category><![CDATA[Temperature Sensor]]></category>

		<guid isPermaLink="false">http://www.andremiller.net/?p=30</guid>
		<description><![CDATA[[An old project I moved from my previous website]
This is a test project built hastily on a solder less breadboard. It uses          a LM75 to read the current temperature via I2C and displays the result          on three [...]]]></description>
			<content:encoded><![CDATA[<p>[An old project I moved from my previous website]</p>
<p>This is a test project built hastily on a solder less breadboard. It uses          a LM75 to read the current temperature via I2C and displays the result          on three 7 segment displays. It uses a PIC16F628 with an internal 4 Mhz          clock.</p>
<p>The program was created using JAL</p>
<p>Note the LM75 is a surface mount device, so I had to solder wires onto            it to use it on the solderless breadboard.</p>
<div id="attachment_31" class="wp-caption alignnone" style="width: 610px"><img class="size-full wp-image-31" title="LM75 Temperature Sensor on breadboard" src="http://www.andremiller.net/wp-content/uploads/2009/03/lm75_temp_sens_breadboard.jpg" alt="LM75 Temperature Sensor on breadboard" width="600" height="335" /><p class="wp-caption-text">LM75 Temperature Sensor on breadboard</p></div>
<p>Sorry for the bad quality photo. The stuff on the left is a 5V voltage            regulator and not shown on the schematic below.</p>
<div id="attachment_32" class="wp-caption alignnone" style="width: 310px"><a href="http://www.andremiller.net/wp-content/uploads/2009/03/lm75_temp_sens_schematic.png"><img class="size-medium wp-image-32" title="LM75 Temperature Sensor Schematic" src="http://www.andremiller.net/wp-content/uploads/2009/03/lm75_temp_sens_schematic-300x206.png" alt="LM75 Temperature Sensor Schematic" width="300" height="206" /></a><p class="wp-caption-text">LM75 Temperature Sensor Schematic</p></div>
<h3>Component List</h3>
<pre>Part     Value          Device      Package  Library        Sheet

D1                      7SEG-CA     7SEG-13  special        1
D2                      7SEG-CA     7SEG-13  special        1
D3                      7SEG-CA     7SEG-13  special        1
IC1      PIC16F628      PIC16F628   DIL18    microchip      1
IC2      LM75           LM75        SOP-8    andre_lm75     1
Q1       BC557C         BC557C      TO92-EBC transistor-pnp 1
Q2       BC557C         BC557C      TO92-EBC transistor-pnp 1
Q3       BC557C         BC557C      TO92-EBC transistor-pnp 1
R1       12K            R-EU_0207/7 0207/7   rcl            1
R2       12K            R-EU_0207/7 0207/7   rcl            1
R3       1K             R-EU_0207/7 0207/7   rcl            1
R4       1K             R-EU_0207/7 0207/7   rcl            1
R5       1K             R-EU_0207/7 0207/7   rcl            1
R7       220            R-EU_0207/7 0207/7   rcl            1
R8       220            R-EU_0207/7 0207/7   rcl            1
R9       220            R-EU_0207/7 0207/7   rcl            1
R10      220            R-EU_0207/7 0207/7   rcl            1
R11      220            R-EU_0207/7 0207/7   rcl            1
R12      220            R-EU_0207/7 0207/7   rcl            1
R13      220            R-EU_0207/7 0207/7   rcl            1
R14      220            R-EU_0207/7 0207/7   rcl            1</pre>
<p>In case you are like me and couldn&#8217;t find the pinouts for the sevent segment display, here they are:</p>
<div id="attachment_35" class="wp-caption alignnone" style="width: 238px"><a href="http://www.andremiller.net/wp-content/uploads/2006/03/7seg_pinouts.png"><img class="size-full wp-image-35" title="7 Segment Display Pinout" src="http://www.andremiller.net/wp-content/uploads/2006/03/7seg_pinouts.png" alt="7 Segment Display Pinout" width="228" height="335" /></a><p class="wp-caption-text">7 Segment Display Pinout</p></div>
<p>Download the project here: <a href='http://www.andremiller.net/download/lm75_temp_sens_2004_03_29.zip' title='Downloaded 6176 times'>LM75 Temperature Sensor Project</a> - LM75 Temperature Sensor with 7 segment display output. Uses a PIC Controller. This project includes the JAL source code, a compiled hex file and a schematic.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.andremiller.net%2Fcontent%2Flm75-temperature-sensor-with-7-segment-display-output&amp;linkname=LM75%20Temperature%20Sensor%20with%207%20segment%20display%20output"><img src="http://www.andremiller.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.andremiller.net/content/lm75-temperature-sensor-with-7-segment-display-output/feed</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>PIC Binary Counter &#8211; A JAL Test</title>
		<link>http://www.andremiller.net/content/pic-binary-counter-a-jal-test</link>
		<comments>http://www.andremiller.net/content/pic-binary-counter-a-jal-test#comments</comments>
		<pubDate>Fri, 19 Mar 2004 22:51:36 +0000</pubDate>
		<dc:creator>andre</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[JAL]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://www.andremiller.net/?p=48</guid>
		<description><![CDATA[This sample project uses a PIC16F628 and 8 LED&#8217;s to count in binary. Four switches are used to change the direction and speed of the counter.
The program was created using JAL.
The project is available for download here:
]]></description>
			<content:encoded><![CDATA[<p>This sample project uses a PIC16F628 and 8 LED&#8217;s to count in binary. Four switches are used to change the direction and speed of the counter.</p>
<p>The program was created using JAL.</p>
<div id="attachment_49" class="wp-caption alignnone" style="width: 610px"><a href="http://www.andremiller.net/wp-content/uploads/2009/03/jal_counter_breadboard.jpg"><img class="size-full wp-image-49" title="JAL Binary Counter on breadboard" src="http://www.andremiller.net/wp-content/uploads/2009/03/jal_counter_breadboard.jpg" alt="JAL Binary Counter on breadboard" width="600" height="258" /></a><p class="wp-caption-text">JAL Binary Counter on breadboard</p></div>
<div id="attachment_50" class="wp-caption alignnone" style="width: 537px"><a href="http://www.andremiller.net/wp-content/uploads/2009/03/jal_counter_schematic.png"><img class="size-full wp-image-50" title="Eagle schematic of counter" src="http://www.andremiller.net/wp-content/uploads/2009/03/jal_counter_schematic.png" alt="Eagle schematic of counter" width="527" height="550" /></a><p class="wp-caption-text">Eagle schematic of counter</p></div>
<p>The project is available for download here: <a href='http://www.andremiller.net/download/jal_counter-2004-03-20.zip' title='Downloaded 631 times'>JAL Binary PIC Counter</a> - A JAL Project to count in binary on 8 LED's and 4 switches to change the counting behavour. Project includes JAL source, compiled HEX file and schematic</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.andremiller.net%2Fcontent%2Fpic-binary-counter-a-jal-test&amp;linkname=PIC%20Binary%20Counter%20%26%238211%3B%20A%20JAL%20Test"><img src="http://www.andremiller.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.andremiller.net/content/pic-binary-counter-a-jal-test/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

