<?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/"
	xmlns:georss="http://www.georss.org/georss">

<channel>
	<title>www.ni-c.de &#187; Robotics</title>
	<atom:link href="http://www.ni-c.de/tag/robotics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ni-c.de</link>
	<description>Music, Movies and Computer Science</description>
	<lastBuildDate>Mon, 07 Jun 2010 22:41:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Autonomer Hexapod &#8220;hal0&#8243;</title>
		<link>http://www.ni-c.de/2008/09/autonomer-hexapod-hal0/</link>
		<comments>http://www.ni-c.de/2008/09/autonomer-hexapod-hal0/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 09:25:09 +0000</pubDate>
		<dc:creator>ni.c</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[a.l.i.c.e]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[hal0]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Private]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://www.ni-c.de/?p=402</guid>
		<description><![CDATA[
Heute habe ich einige Fotos von meinem aktuellen Roboterprojekt &#8220;hal0&#8243; hochgeladen. &#8220;hal0&#8243; soll ein autonomer Hexapod werden, des sich anhand seiner 6 Beine vollautomatisch fortbewegen kann. Angefangen habe ich mit dem Projekt im Sommer des letzten Jahres und arbeite seit dem ab und an daran weiter. Bei gutem Wetter weniger, bei schlechtem Wetter dafür umso [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ni-c.de/wp-content/uploads/2008/09/hal0.jpg" alt="hal0" title="hal0" width="500" height="247" class="alignnone size-full wp-image-1294" /><br />
Heute habe ich einige Fotos von meinem aktuellen Roboterprojekt &#8220;hal0&#8243; hochgeladen. &#8220;hal0&#8243; soll ein autonomer <a href="http://www.roboternetz.de/wissen/index.php/Spinnenbeine_(Hexapods)" target="_blank">Hexapod</a> werden, des sich anhand seiner 6 Beine vollautomatisch fortbewegen kann. Angefangen habe ich mit dem Projekt im Sommer des letzten Jahres und arbeite seit dem ab und an daran weiter. Bei gutem Wetter weniger, bei schlechtem Wetter dafür umso mehr. Da es nun auf den Winter zugeht, werde ich jetzt wieder mehr Zeit für mein Hobby haben und die Entwicklung des Roboters fortsetzen.</p>
<p>Auf den Fotos am Ende dieses Beitrags ist die Mechanik des Hexapods zu sehen, die ich im Frühling dieses Jahres fertiggestellt habe. Als Material für das Chassis habe ich <em>Dibond</em> benutzt, ein Verbund aus Aluminium und Polyethylen, weil es ein sehr gutes Gewichts/Biegsteifigkeits-Verhältnis hat. Die komplette Mechanik bringt mit den <a href="http://de.wikipedia.org/wiki/Servo" target="_blank">Servos</a> nur 900g auf die Waage.</p>
<p>Auf zweien der Fotos kann man auch mein erstes Roboterprojekt, den <a href="http://www.ctbot.de" target="_blank">c&#8217;t-Bot</a> &#8220;A.L.I.C.E.&#8221; erkennen.</p>
<p>Zur Zeit bin ich an der Elektronik für &#8220;hal0&#8243; am arbeiten, die ersten &#8220;Module&#8221; sind fast fertig gestellt. Ich werde nach und nach an dieser Stelle über meinen Fortschritt berichten und weitere Fotos veröffentlichen.</p>
<div class="flickr-photos"><a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2849748771/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2849748771" title="project hal0 - Größenvergleich mit Zigarettenschachtel"><img src="http://farm3.static.flickr.com/2041/2849748771_c7b59d1a35_s.jpg" width="75" height="75" alt="project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2850579864/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2850579864" title="project hal0 - Die Mechanik des Hexapod Hal0"><img src="http://farm4.static.flickr.com/3255/2850579864_7e384d38fc_s.jpg" width="75" height="75" alt="project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2850580470/hal0-mechanics-alice-project-hal0.html" rel="album-72157607241200496" id="photo-2850580470" title="a.l.i.c.e. &amp; project hal0 - Hexapod Hal0 und c't-Bot Alice"><img src="http://farm4.static.flickr.com/3187/2850580470_478897c7cf_s.jpg" width="75" height="75" alt="a.l.i.c.e. &amp; project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2849749545/hal0-mechanics-alice-project-hal0.html" rel="album-72157607241200496" id="photo-2849749545" title="a.l.i.c.e. &amp; project hal0 - Hexapod Hal0 und c't-Bot Alice"><img src="http://farm4.static.flickr.com/3168/2849749545_45c652dacf_s.jpg" width="75" height="75" alt="a.l.i.c.e. &amp; project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2849749015/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2849749015" title="project hal0 - Die Mechanik des Hexapod Hal0 von oben"><img src="http://farm4.static.flickr.com/3087/2849749015_af5944a9e6_s.jpg" width="75" height="75" alt="project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2849749227/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2849749227" title="project hal0 - Die Mechanik des Hexapod Hal0 mit ausgestreckten &quot;Beinen&quot;."><img src="http://farm4.static.flickr.com/3054/2849749227_235b0145e5_s.jpg" width="75" height="75" alt="project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2850580358/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2850580358" title="project hal0 - Die Mechanik des Hexapod Hal0 mit angezogenen &quot;Beinen&quot;."><img src="http://farm4.static.flickr.com/3239/2850580358_84f764dd87_s.jpg" width="75" height="75" alt="project hal0" /></a> <a class="tt-flickr tt-flickr-Square" href="http://www.ni-c.de/photos/photo/2849749119/hal0-mechanics-project-hal0.html" rel="album-72157607241200496" id="photo-2849749119" title="project hal0 - Die Mechanik des Hexapod Hal0 mit &quot;Beinen&quot; nach oben."><img src="http://farm4.static.flickr.com/3131/2849749119_fc01ecb3a1_s.jpg" width="75" height="75" alt="project hal0" /></a> </div>
 <img src="http://www.ni-c.de/wp-content/plugins/feed-statistics.php?view=1&post_id=402" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.ni-c.de/2008/09/autonomer-hexapod-hal0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATTiny 24/44/84 Testboard</title>
		<link>http://www.ni-c.de/2008/09/attiny-244484-testboard/</link>
		<comments>http://www.ni-c.de/2008/09/attiny-244484-testboard/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 16:16:23 +0000</pubDate>
		<dc:creator>ni.c</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://www.ni-c.de/?p=312</guid>
		<description><![CDATA[
Der Herbst fängt an und das Wetter zeigt sich von seiner weniger guten Seite. Was aber nicht unbedingt schlecht sein muss, denn ich habe die Gelegenheit genutzt um mich wieder meinem Hobby, den Embedded Systems zu widmen.
Vor einiger Zeit habe ich ein Entwicklungs-Board für die Atmel-AVR-Mikrocontroller ATTiny24, ATTiny44 und ATTiny84 zusammen gelötet, um Schaltungen sowie [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ni-c.de/wp-content/uploads/2008/09/attiny_testboard.jpg" alt="ATTiny Testboard" title="ATTiny Testboard" width="500" class="alignnone size-full wp-image-1301" /></p>
<p>Der Herbst fängt an und das Wetter zeigt sich von seiner weniger guten Seite. Was aber nicht unbedingt schlecht sein muss, denn ich habe die Gelegenheit genutzt um mich wieder meinem Hobby, den Embedded Systems zu widmen.</p>
<p>Vor einiger Zeit habe ich ein Entwicklungs-Board für die <a href="http://www.atmel.com" target="_blank">Atmel</a>-<a href="http://www.mikrocontroller.net/articles/AVR" target="_blank">AVR</a>-Mikrocontroller <a href="http://www.roboternetz.de/wissen/index.php/AT90S2313" target="_blank">ATTiny24, ATTiny44 und ATTiny84</a> zusammen gelötet, um Schaltungen sowie Quelltext für diesen Mikrocontroller zu entwickeln. Heute habe ich die Dokumentation für dieses Projekt fertig gestellt um Sie an dieser Stelle zu veröffentlichen.</p>
<p>Ich habe mich damals dazu entschieden die Schaltung auf Lochraster aufzubauen, da sich noch einige Lochrasterplatinenreste in meiner Elektronik-Restekiste tummelten. Außerdem lohnt es sich nicht, eine solch simple Testschaltung zu ätzen bzw. ätzen zu lassen.</p>
<p>Zum Visualisieren des Schaltplans habe ich das penSource-Programm <a href="http://de.wikipedia.org/wiki/Kicad" target="_blank">KiCad</a> benutzt, welches man auch zum Layouten für geätzte Platinen verwenden kann. Zum Übertragen des Schaltplanes auf Lochraster habe ich das Programm <a href="http://de.wrs.yahoo.com/_ylt=A1f4cfXT8MNIQO8AfFUzCQx.;_ylu=X3oDMTByNGxmazk4BHNlYwNzcgRwb3MDMQRjb2xvA2lyZAR2dGlkAw--/SIG=1249niji2/EXP=1220887123/**http%3A//www.abacom-online.de/html/lochmaster.html" target="_blank">Lochmaster</a> zur Hilfe genommen, allerdings würden Papier und Bleistift es auch tun.</p>
<p><strong>Die Schaltung zum ATTinyX4-Testboard sieht folgendermaßen aus:</strong></p>
<p><img src="http://www.ni-c.de/wp-content/uploads/2008/09/attiny_testboard_schematics.png" alt="ATTiny Testboard Schematics" title="ATTiny Testboard Schematics" width="390" height="353" class="alignnone size-full wp-image-1302" /></p>
<ul>
<li>C1 dient zur Stabilisierung der Eingangspannung und sollte eine Kapazität von etwa 100nF haben.</li>
<li>R1 ist der <a href="http://en.wikipedia.org/wiki/Pull-up_resistor" target="_blank">Pull-Up-Widerstand</a>, um den Reset-Port des Mikrocontrollers auf Versorgungsspannung zu halten und so einen ständigen Reset des Mikrocontrollers zu vermeiden.</li>
</ul>
<p><strong>Übertragen auf Lochraster ergibt sich folgendes:</strong></p>
<p><img src="http://www.ni-c.de/wp-content/uploads/2008/09/attiny_testboard_layout.png" alt="ATTiny Testboard Layout" title="ATTiny Testboard Layout" width="390" height="346" class="alignnone size-full wp-image-1304" /></p>
<p><strong>Abschliessend noch ein Template-Quellcode, der nichts weiteres macht als den Microcontroller zu initialisieren und in eine Endlosschleife zu schicken:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*!
 *
 * Template for the ATTiny 24/44/84 Testboard
 *
 * @file      main.c
 * @brief     Template for the ATTiny 24/44/84 Testboard
 * @author    Ni.c (http://www.ni-c.de | ni-c@ni-c.de)
 * @date      07.09.2008
 * @version   0.1
 */</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* General Constants*/</span>
&nbsp;
<span style="color: #339933;">#define MCU ATTINY24   /* Used Microcontroller is ATTiny 24 */</span>
<span style="color: #666666; font-style: italic;">//#define MCU ATTINY44 /* Used Microcontroller is ATTiny 44 */</span>
<span style="color: #666666; font-style: italic;">//#define MCU ATTINY84 /* Used Microcontroller is ATTiny 84 */</span>
&nbsp;
<span style="color: #339933;">#define F_CPU 1000000UL /*! Microcontroller-Frequency in Hz  */</span>
&nbsp;
<span style="color: #339933;">#include avr/io.h</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*
 * Initialize the MCU
 */</span>
<span style="color: #993333;">void</span> init<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/* Initialize PORT A */</span>
	<span style="color: #808080; font-style: italic;">/* All Ports LOW */</span>
	PORTA <span style="color: #339933;">=</span> <span style="color: #208080;">0x00</span><span style="color: #339933;">;</span>
	<span style="color: #808080; font-style: italic;">/* All Ports input */</span>
	DDRA <span style="color: #339933;">=</span> <span style="color: #208080;">0x00</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* Initialize PORT B */</span>
	<span style="color: #808080; font-style: italic;">/* All Ports LOW */</span>
	PORTB <span style="color: #339933;">=</span> <span style="color: #208080;">0x00</span><span style="color: #339933;">;</span>
	<span style="color: #808080; font-style: italic;">/* All Ports input */</span>
	DDRB <span style="color: #339933;">=</span> <span style="color: #208080;">0x00</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*
 * Main
 */</span>
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* Initialize */</span>
	init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* The &quot;Mainloop&quot; of the MCU*/</span>
	<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #808080; font-style: italic;">/* Our microcontroller-code should begin here */</span>
		<span style="color: #808080; font-style: italic;">/* In this template we just do &quot;nop&quot; (No Operation) */</span>
		asm<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;nop&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #808080; font-style: italic;">/* We should never get to this point */</span>
   <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><strong>Alle Quelldateien zu diesem Projekt kann man hier als ZIP herunterladen:</strong></p>
<p><table style="background-color:#F9F9F9; border:1px solid silver; color:#110000; margin-bottom:10px" cellpadding="3" width="100%">
  <tr>
    <td width="35">
      <img src="http://www.ni-c.de/wp-content/plugins/downloads-manager/img/icons/winzip.gif" alt="http://www.ni-c.de/wp-content/plugins/downloads-manager/img/icons/winzip.gif">
    </td>
    <td style="font-size: 9px">
      <b>download:</b> <a href="http://www.ni-c.de/?file_id=2">ATTinyX4 Testboard</a> (773.44KB)<br />
      <b>added:</b> 07/09/2008 <br />
      <b>clicks:</b> 450 <br />
      <b>description:</b> All source files for the ATTinyX4 Testboard Project. <br />
    </td>
  </tr>
</table></p>
<p>Weitere Informationen und Tutorials zum Thema Robotik und Embedded Systems kann man unter <a href="http://www.roboternetz.de" target="_blank">www.roboternetz.de</a> und <a href="http://www.mikrocontroller.net" target="_blank">www.mikrocontroller.net</a> finden.</p>
 <img src="http://www.ni-c.de/wp-content/plugins/feed-statistics.php?view=1&post_id=312" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.ni-c.de/2008/09/attiny-244484-testboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
