<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8376499505495806334</id><updated>2011-04-21T15:39:28.559-04:00</updated><title type='text'>The FreePunch Project</title><subtitle type='html'>The FreePunch project, hosted on sourceforge.net is aiming to create a set of free and open source tools that can handle SportIdent devices used in Orienteering. This blog here is a diary of my efforts getting it done.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-6307550231552057875</id><published>2008-12-27T16:00:00.000-05:00</published><updated>2008-12-27T16:02:15.835-05:00</updated><title type='text'>New release</title><content type='html'>New client release available here:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://sourceforge.net/project/showfiles.php?group_id=209352&amp;amp;package_id=251216&amp;amp;release_id=584596"&gt;https://sourceforge.net/project/showfiles.php?group_id=209352&amp;amp;package_id=251216&amp;amp;release_id=584596&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;can handle both SI5 and SI6 cards. SI6 decoding was done by new project delevoper, smellyfis. Thanks man!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-6307550231552057875?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/6307550231552057875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=6307550231552057875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6307550231552057875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6307550231552057875'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/12/new-release.html' title='New release'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-4908479531604579044</id><published>2008-03-28T16:43:00.000-04:00</published><updated>2008-09-18T16:44:22.071-04:00</updated><title type='text'>Perl client released</title><content type='html'>Today I updated the &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=209352"&gt;perl client&lt;/a&gt; with all the features and options the Win32 client has.&lt;br /&gt;&lt;br /&gt;I badly need an SI 6 card to see how the raw binary data coming from the serial port can be cracked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-4908479531604579044?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/4908479531604579044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=4908479531604579044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/4908479531604579044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/4908479531604579044'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/03/perl-client-released.html' title='Perl client released'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-6787090312756205371</id><published>2008-03-27T16:43:00.000-04:00</published><updated>2008-09-18T16:43:34.975-04:00</updated><title type='text'>Win32 client released</title><content type='html'>Thanks to MSVC++ Express I was able to write a reliable Win32 client, &lt;a href="http://downloads.sourceforge.net/freepunch/si_reader.exe?modtime=1206659575&amp;big_mirror=0"&gt;si_reader.exe&lt;/a&gt; with the following features:&lt;br /&gt;&lt;br /&gt;- Read data from serial port ( serial main station or USB station with &lt;a href="http://www.sportident-run.de/media/public/ZIP/SI-USB-V3.zip"&gt;USB-Serial bridge driver for Win32&lt;/a&gt; )&lt;br /&gt;- Alternatively read data from input file created by client&lt;br /&gt;- Save data to file (later to be used by client to send data to FreePunch server)&lt;br /&gt;- Send data to FreePunch server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-6787090312756205371?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/6787090312756205371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=6787090312756205371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6787090312756205371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6787090312756205371'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/03/win32-client-released.html' title='Win32 client released'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-3151417841975331648</id><published>2008-03-04T16:41:00.000-05:00</published><updated>2008-09-18T16:42:44.972-04:00</updated><title type='text'>Linux kernel support for BSM7-D-USB</title><content type='html'>Just realized yesterday, that recent kernel versions (2.6.24.x) support BSM7-D-USB main stations. It took a while to update the kernel, mainly following the instructions on &lt;a href="http://www.howtoforge.com/kernel_compilation_ubuntu"&gt;this page&lt;/a&gt;, but it was worth waiting:&lt;br /&gt;&lt;br /&gt;The USB main station immediately showed up as /dev/ttyUSB0 and was able to use the perl script posted earier to get the serial data. Note that the USB station was put is Autosend mode. I also set the baud rate to 4800 using the SiConfig Win32 application, but surprisingly the speed was 38400 regardless. Make sure speed is set to 38400 in the script below.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;br /&gt;=&gt;perl si_reader.pl /dev/ttyUSB0 &lt;br /&gt;Perl version: 5.008008&lt;br /&gt;OS   version: linux&lt;br /&gt;Loading Unix modules&lt;br /&gt;&lt;br /&gt;opened serial port /dev/ttyUSB0 as /dev/ttyUSB0&lt;br /&gt;Len: 187&lt;br /&gt;023110053f561000100140a410021000100010001000100010001000100010006540a4eeeeeeee100556eeee281002e6&lt;br /&gt;000eeee1000eeee1000eeee1000eeee1000eeee10001000eeee1000eeee1000eeee1000eeee1000eeee10001000eeee1&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;How cool is that, now this really settles the USB driver part and time to start on the web application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-3151417841975331648?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/3151417841975331648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=3151417841975331648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/3151417841975331648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/3151417841975331648'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/03/linux-kernel-support-for-bsm7-d-usb.html' title='Linux kernel support for BSM7-D-USB'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-6256127275282647562</id><published>2008-02-25T16:40:00.001-05:00</published><updated>2008-09-21T17:16:18.586-04:00</updated><title type='text'>LCD proto shield for Arduino</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.nuelectronics.com/image_docs/lcd_shield_top_on.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px;" src="http://www.nuelectronics.com/image_docs/lcd_shield_top_on.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have bought &lt;a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;amp;ssPageName=STRK:MEWNX:IT&amp;amp;item=200193486278&amp;amp;_trksid=p3984.cWON.m313.lVI"&gt;this&lt;/a&gt; great proto shield on eBay for my arduinos. It is great for debugging and it was really a steal.&lt;br /&gt;&lt;br /&gt;Working on the arduino serial reader right now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-6256127275282647562?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/6256127275282647562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=6256127275282647562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6256127275282647562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6256127275282647562'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/02/lcd-proto-shield-for-arduino.html' title='LCD proto shield for Arduino'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-6420908814396472471</id><published>2007-12-31T16:39:00.000-05:00</published><updated>2008-09-18T16:40:23.812-04:00</updated><title type='text'>Win32 client to read serial data</title><content type='html'>After trying the perl client on Win32 I realized it is not going to work (will not work easily). First of all installing all perl accessories was a pain in the neck on windows ( &lt;a href="http://www.activestate.com/Products/activeperl/"&gt;ActivePerl&lt;/a&gt; + Win32::API + Win32::SerialPort ) and most probably no user will venture into that. I did and soon realized that the Win32::SerialPort library is not working the same way as Device::SerialPort on linux. Instead of finding out why this is happening, I wrote a standalone Win32 executable that is not dependent on complicated installations.&lt;br /&gt;&lt;br /&gt;I was looking for a free C/C++ compiler for Windows and I found that &lt;a href="http://www.microsoft.com/express/vc/"&gt;a version of VC++ was free&lt;/a&gt;. After some googling I wrote a client that reads the serial port and dumps the data on the console. As with the perl client my TODO list includes logging and sending data to a web server. Current code is available in the projects &lt;a href="http://freepunch.cvs.sourceforge.net/freepunch/client/MSVC/"&gt;CVS repository&lt;/a&gt;. Usage example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;si_reader.exe com4&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The si_reader.exe client reads both the serial and USB inputs (from a virtual com port), although they are different for the same SI card (both main stations are in autosend mode). Hope this mystery will be revealed soon, for now I am in urgent need of some web/database application that receives and understand raw data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-6420908814396472471?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/6420908814396472471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=6420908814396472471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6420908814396472471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/6420908814396472471'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2007/12/win32-client-to-read-serial-data.html' title='Win32 client to read serial data'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-5412095876350073699</id><published>2007-11-20T16:36:00.001-05:00</published><updated>2008-09-21T17:12:30.533-04:00</updated><title type='text'>The BSF7-RS232 main station has arrived</title><content type='html'>Thanks to &lt;a href="http://www.orienteer.com" title="orienteer.com" target="_blank"&gt;Joe Scarborough&lt;/a&gt;, the local SportIdent dealer I got a really good price on this little hardware, that arrived yesterday evening.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/lh/photo/w5y_X9ecLFw4f1ZbINMNiQ"&gt;&lt;img src="http://lh6.ggpht.com/freepunch.pics/SNa1ekGVugI/AAAAAAAAAFA/7iu9yED3xFo/s144/bsf7-rs232.jpg" title="BSF7-RS232" alt="BSF7-RS232" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First, I used the &lt;a href="http://sportident.com/sportident/download/siman.zip" title="SIManager" target="_blank"&gt;SI Manger&lt;/a&gt; software on Windows to make sure the station is set up to read SI cards and the Autosend box is checked.  This makes things somewhat simple as the station just sends card data out to the serial port without any input from the computer.&lt;br /&gt;&lt;br /&gt;All I needed now is a client on the PC, that reads the binary input from the serial port. Perl makes a lot of sense for a lot of reasons, most of all portability. I am a beginner in perl at best, but after hours of googling I came up with the following script that does the job:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;b&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;use strict;&lt;br /&gt;use vars qw($OS_win);&lt;br /&gt;&lt;br /&gt;BEGIN {&lt;br /&gt;  $OS_win = ($^O eq "MSWin32") ? 1 : 0;&lt;br /&gt;  print "Perl version: $]\\n";&lt;br /&gt;  print "OS   version: $^O\\n";&lt;br /&gt;&lt;br /&gt;  if ($OS_win) {&lt;br /&gt;    print "Loading Windows modules\\n";&lt;br /&gt;    eval "use Win32::SerialPort";&lt;br /&gt;    die "$@n" if ($@);&lt;br /&gt;  }&lt;br /&gt;  else {&lt;br /&gt;    print "Loading Unix modules\\n";&lt;br /&gt;    eval "use Device::SerialPort";&lt;br /&gt;    die "$@\\n" if ($@);&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;die "\\n\\nno port specified\\n" unless (@ARGV);&lt;br /&gt;my $port = shift @ARGV;&lt;br /&gt;&lt;br /&gt;my $serial_port;&lt;br /&gt;if ($OS_win) {&lt;br /&gt;  $serial_port = new Win32::SerialPort ($port,1);&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;  $serial_port = Device::SerialPort-&amp;gt;new ($port );&lt;br /&gt;}&lt;br /&gt;die "Can't open serial port $port: $^E\\n" unless ($serial_port);&lt;br /&gt;&lt;br /&gt;my $name = $serial_port-&amp;gt;alias;&lt;br /&gt;print "\\nopened serial port $port as $name\\n";&lt;br /&gt;&lt;br /&gt;$serial_port-&amp;gt;databits(8);&lt;br /&gt;$serial_port-&amp;gt;baudrate(4800); # or 38400 depending on the station setup&lt;br /&gt;$serial_port-&amp;gt;parity("none");&lt;br /&gt;$serial_port-&amp;gt;stopbits(1);&lt;br /&gt;&lt;br /&gt;my $count = 0;&lt;br /&gt;my $hexa = "";&lt;br /&gt;my $timeout;&lt;br /&gt;my $time_on = 0;&lt;br /&gt;while (1) {&lt;br /&gt;&lt;br /&gt;  my $char = $serial_port-&amp;gt;input;&lt;br /&gt;&lt;br /&gt;  if ($char) {&lt;br /&gt;    $time_on = 0;&lt;br /&gt;    my $len = length $char;&lt;br /&gt;&lt;br /&gt;    $count += $len;&lt;br /&gt;&lt;br /&gt;    $hexa .=  unpack("H$($len*2)",$char);&lt;br /&gt;&lt;br /&gt;    if($count &amp;gt;= 1000) {&lt;br /&gt;      print "Len: $count\\n".$hexa."\\n";&lt;br /&gt;      $hexa = "";&lt;br /&gt;      $count = 0;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;  } else {&lt;br /&gt;    if($time_on) {&lt;br /&gt;      if($timeout &amp;lt; time) {&lt;br /&gt;        $time_on = 0;&lt;br /&gt;        if($count) {&lt;br /&gt;          print "Len: $count\\n".$hexa."\\n";&lt;br /&gt;          $hexa = "";&lt;br /&gt;          $count = 0;&lt;br /&gt;        }&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      $time_on = 1;&lt;br /&gt;      $timeout = time + 2;&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  select(undef, undef, undef, 0.1);&lt;br /&gt;}&lt;br /&gt;&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I named it si_client.pl, so it starts like this:&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;b&gt;&lt;br /&gt;$ si_client.pl /dev/ttyS0&lt;br /&gt;&lt;/b&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Yes, /dev/ttyS0 is the serial port on my linux box the device is connected to. Although I never tried, the script should work on Win32 as well (use COM1, etc. for the portname). Note, that your perl installation might not have the SerialPort library, in which case do this on Ubuntu:&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;b&gt;&lt;br /&gt;$ sudo apt-get install libdevice-serialport-perl&lt;br /&gt;&lt;/b&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;or something similar on a different platform.&lt;br /&gt;&lt;br /&gt;Note, that this client needs some more work as we want to send the raw card data to a webserver.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-5412095876350073699?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/5412095876350073699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=5412095876350073699' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/5412095876350073699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/5412095876350073699'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2007/11/bsf7-rs232-main-station-has-arrived.html' title='The BSF7-RS232 main station has arrived'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/freepunch.pics/SNa1ekGVugI/AAAAAAAAAFA/7iu9yED3xFo/s72-c/bsf7-rs232.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8376499505495806334.post-296406047175091935</id><published>2007-11-19T15:15:00.002-05:00</published><updated>2008-09-21T17:07:53.560-04:00</updated><title type='text'>Make an Arduino on the cheap</title><content type='html'>&lt;a href="http://arduino.cc"&gt;Arduino&lt;/a&gt; boards are fun to play with and they will likely have a major role in this project. &lt;a href="http://www.sparkfun.com/commerce/product_info.php?products_id=666"&gt;USB based boards&lt;/a&gt; start at about $35 if one buys an original. Fortunately, there are a number of other hardware options, that work with the ingenious &lt;a href="http://arduino.cc/en/Main/Software"&gt;Arduino software&lt;/a&gt;, such as:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://www.adafruit.com/index.php?main_page=product_info&amp;amp;cPath=19&amp;amp;products_id=72&amp;amp;zenid=24dd7c521c3e08b8c935df388b18b2f7" title="Boarduino" target="_blank"&gt;Boarduino&lt;/a&gt; for $17.50&lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;a href="http://moderndevice.com" title="BBB and RBBB" target="_blank"&gt;Bare Bones Board and Really Bare Bones Board&lt;/a&gt; for $15 and $11&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;These all require the &lt;a href="http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm" title="FTDI Cable"&gt;FTDI USB to TTL cable&lt;/a&gt; (only once for about $20) and some soldering.&lt;br /&gt;&lt;br /&gt;If you don't mind the RS232 interface, you can go with the &lt;a href="http://www.arduino.cc/en/Main/ArduinoBoardSerial" title="Arduino Board - Serial Interface" target="_blank"&gt;serial Diecimila&lt;/a&gt; board or build your own Arduino compatible board. This is what I did, as I already had an &lt;a href="http://olimex.com/dev/avr-p28.html" title="avr-p28" target="_blank"&gt;AVR-P28 from Olimex&lt;/a&gt; and an ATMega168-20PU chip, plus a 16MHZ crystal.&lt;br /&gt;&lt;br /&gt;Simply connected pin 2 and 3 of the chip to TX and RX on the board so the microcontroller is connected to the serial port.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/lh/photo/gfIpitD8UgrqoBCuuy2bNQ"&gt;&lt;img src="http://lh4.ggpht.com/freepunch.pics/SNa1ev_H23I/AAAAAAAAAFQ/C1eQPLFQwrs/s144/DSC03340.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/lh/photo/7uTSQXvKQaSn0IWnjxPhgg"&gt;&lt;img src="http://lh4.ggpht.com/freepunch.pics/SNa1egvf-WI/AAAAAAAAAFI/1_lRRxphCOs/s144/DSC03338.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The board is really helpful in &lt;a href="http://www.arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader" title="Arduino bootloader"&gt;writing the Arduino bootloader on the chip&lt;/a&gt;. Once it is done, the board can accept code from the Arduino software. I found, that in is less seamless then the factory USB arduino. The upload and the reset button on the board must be pressed almost simultanously to get a successful upload.&lt;br /&gt;&lt;br /&gt;I have also added 2 female header boards, that can be seen on the above pictures.  Those are optional of course.&lt;br /&gt;&lt;br /&gt;The RS232 port already on the board will come handy when interfacing with the &lt;a href="http://sportident.com/sportident-english/english/p_main_sportident_main_stations_bsm7-d-rs232.htm" title="bsm7-d-rs232" target="_blank"&gt;SportIdent serial main station&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8376499505495806334-296406047175091935?l=freepunch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freepunch.blogspot.com/feeds/296406047175091935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8376499505495806334&amp;postID=296406047175091935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/296406047175091935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8376499505495806334/posts/default/296406047175091935'/><link rel='alternate' type='text/html' href='http://freepunch.blogspot.com/2008/09/make-arduino-on-cheap.html' title='Make an Arduino on the cheap'/><author><name>Gabor</name><uri>http://www.blogger.com/profile/03821117714542437878</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/freepunch.pics/SNa1ev_H23I/AAAAAAAAAFQ/C1eQPLFQwrs/s72-c/DSC03340.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
