tag:blogger.com,1999:blog-86049949793899724572024-03-16T22:50:15.597-07:00My DIY Hardware Racing SimAlex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-8604994979389972457.post-23826992077589552902013-01-10T07:52:00.001-08:002013-01-10T07:52:31.386-08:00Finally AssembledAfter almost two years of keeping the dashboard around, I've finally taken the time to assemble it:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudmgF7urETYbQz86725BHzm2DbyqJsfoQjK_7vKjc8QH_2f8ljKvuqkCznxpyFYWPQ3wUZACSx1TCVEM6CkU_YO4c8f5X2v_FIElGNoaLsD3LZt7dENjHcKPQIXBmEfpMX4iS1MbI44Y/s1600/741220_462612337107210_1703177342_o.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiudmgF7urETYbQz86725BHzm2DbyqJsfoQjK_7vKjc8QH_2f8ljKvuqkCznxpyFYWPQ3wUZACSx1TCVEM6CkU_YO4c8f5X2v_FIElGNoaLsD3LZt7dENjHcKPQIXBmEfpMX4iS1MbI44Y/s400/741220_462612337107210_1703177342_o.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiMJpxNQhB2bZWoCpXqNYKsVi-8Wvk1NbtEvV_oLDlijobibrylYoIpIAV4qBMaG-ixajd7pi7IinL9BAuRntvqjIg-tWQOv8XK5y90znN05DHRVbGgVVqIwL0SDB4BclE97pLfX8mxec/s1600/737891_462612313773879_285969611_o.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiMJpxNQhB2bZWoCpXqNYKsVi-8Wvk1NbtEvV_oLDlijobibrylYoIpIAV4qBMaG-ixajd7pi7IinL9BAuRntvqjIg-tWQOv8XK5y90znN05DHRVbGgVVqIwL0SDB4BclE97pLfX8mxec/s400/737891_462612313773879_285969611_o.jpg" width="400" /></a></div>
<br />Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com10tag:blogger.com,1999:blog-8604994979389972457.post-90670782794900642262010-04-12T14:19:00.000-07:002010-04-12T14:19:35.756-07:00Joystick CrueltyIt all began with a brand new, unsuspecting force feedback joystick, completely unaware of what was going to happen to it. Little did it know, it was going to meet its destiny.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZSV78kwZ7pzWDpHgB8wQyrwxXMSeMbKviydr9wXCiFV6ZoFu6hmq6tJB2o-blHter2GdSAJW9G1pHBsBxuXba_9hx2zri1-SKn4_612TSr0iw3sS8a_4-_GcSv-mZuI4j7-83n3lH7Wc/s1600/1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZSV78kwZ7pzWDpHgB8wQyrwxXMSeMbKviydr9wXCiFV6ZoFu6hmq6tJB2o-blHter2GdSAJW9G1pHBsBxuXba_9hx2zri1-SKn4_612TSr0iw3sS8a_4-_GcSv-mZuI4j7-83n3lH7Wc/s400/1.jpg" width="400" /></a></div><br />
So, the torture began...<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGc0iIcXco43GE17QS2NH2tQN7awon9mAZweFtYBWCyTjFy43ZDPB0I9MBw-gxrAuuCAzsYvqCly4HgMKqkPMMviP2SrRfm9gLtHBMQlqKjNezwL3nTZFEvw_vChhzEjnQNnmfesUlno/s1600/2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjGc0iIcXco43GE17QS2NH2tQN7awon9mAZweFtYBWCyTjFy43ZDPB0I9MBw-gxrAuuCAzsYvqCly4HgMKqkPMMviP2SrRfm9gLtHBMQlqKjNezwL3nTZFEvw_vChhzEjnQNnmfesUlno/s400/2.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div>... and it carried on for about 10 whole minutes. You can see the tormenting tool at the bottom of the picture below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw6Xq6ji_dslbdrjOtS0Cg8c9L1prhOGgauMJ8t0eOmo4QwKrMzWbUjr-uzxfdc5uN617OmrytKmIsWNbwecqxjWSkfklRxm-oUq3FDhZf3yXmYJ1OzJTqMRmFbdVHiro7xGgp-c9azlg/s1600/3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw6Xq6ji_dslbdrjOtS0Cg8c9L1prhOGgauMJ8t0eOmo4QwKrMzWbUjr-uzxfdc5uN617OmrytKmIsWNbwecqxjWSkfklRxm-oUq3FDhZf3yXmYJ1OzJTqMRmFbdVHiro7xGgp-c9azlg/s400/3.jpg" width="400" /></a></div><br />
However, it was all for a good cause. After some cutting and drilling, the old joystick became an H-Shifter, mounted right in the place of the actual gear shifter in the BMW E36 center console.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEFlxHU1oRFVnciVDFlv5TO61PexJbJCdYj4wapXmfUHl8l01LPQIuPi6On6v7M5-Uw44Rf5Trq9QxPvYE5sArOMR_ZqiQXR0RFCo-z1NA835mkGVFCcxKLQ9oz9KrbMsGJ45mLQ3GWM/s1600/4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEFlxHU1oRFVnciVDFlv5TO61PexJbJCdYj4wapXmfUHl8l01LPQIuPi6On6v7M5-Uw44Rf5Trq9QxPvYE5sArOMR_ZqiQXR0RFCo-z1NA835mkGVFCcxKLQ9oz9KrbMsGJ45mLQ3GWM/s400/4.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5yWgePd2uK5YWzaURH9erhIZhqWygxouRStinCB0vAzkvH-hbc3Rivw3dsmzfAVZePXt-MSHe-i0mLvwRvHsbyr5DQPcat1KPH4mi5AS30gRWgckaESR_F3WgJ5YwfS5qWVXEyz8ZzI/s1600/5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5yWgePd2uK5YWzaURH9erhIZhqWygxouRStinCB0vAzkvH-hbc3Rivw3dsmzfAVZePXt-MSHe-i0mLvwRvHsbyr5DQPcat1KPH4mi5AS30gRWgckaESR_F3WgJ5YwfS5qWVXEyz8ZzI/s400/5.jpg" width="400" /></a></div><br />
In case you're wondering how the joystick is going to act as a H-shifter, it's all thanks to a great and simple software called FFShifter.<br />
<br />
Note. No hardware was harmed while making this blog post. Except for a Logitech 3D Pro joystick.Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com6tag:blogger.com,1999:blog-8604994979389972457.post-32302285549574669952010-04-08T12:01:00.000-07:002010-04-08T12:01:25.725-07:00Getting RealI've just made one more step towards building my simulator, by getting a complete BMW E36 dashboard from the scrapyard.<br />
<br />
I will probably cut off the passenger side, and keep only the driver side and the center console, where I'm planning to accommodate a H-shifter, which I'm going to build off a force feedback joystick. I have already bought a Logitech 3D Pro which I'm planning to take apart... but more about that in a future post, so stay tuned.<br />
<br />
Here's how the dash looks like.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2fAdaWk2ERieyetgN_0uF_C97p-fUzknOAA6BCvgFqDAc2XmDavQqWip7VT1UikFdG5jnraq72H7Fw-ciXfbREcyvaayx8v7tbPu8c33ueT4bVxkRQf2r-p3PMvJu3J9D8_CZKfR_Qr0/s1600/IMG_0040_resized.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2fAdaWk2ERieyetgN_0uF_C97p-fUzknOAA6BCvgFqDAc2XmDavQqWip7VT1UikFdG5jnraq72H7Fw-ciXfbREcyvaayx8v7tbPu8c33ueT4bVxkRQf2r-p3PMvJu3J9D8_CZKfR_Qr0/s400/IMG_0040_resized.jpg" width="400" /></a></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com4tag:blogger.com,1999:blog-8604994979389972457.post-60348482647397355822010-04-06T03:03:00.000-07:002010-04-06T04:36:00.840-07:00Going LiveBoth the Arduino and the PC side software are now updated to process the speed and RPM signals coming from Live For Speed.<br />
<br />
What's interesting, is that the Arduino (ATMega1280) being single-theaded, I had to write all the code in one function. So, there is only one thread which reads data from the serial port, and as soon as a complete package is received, it updates the control lights and speed / RPM signals.<br />
The speedometer and rev counter are fed with clock signals, whose frequencies vary according to the speed / RPM to be displayed on the dial (the actual speed and RPM sensors on the real car read their values from the rotating wheels/engine crankshaft, thus sending clock-like signals to the instrument cluster). These signals are generated by means of two dedicated timers, also implemented in the same single thread.<br />
<br />
Here's a video of the real thing working in LFS.<br />
<br />
<div style="text-align: center;"><object height="238" width="350"><param name="movie" value="http://www.youtube.com/v/bDhWUjw0pA0&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/bDhWUjw0pA0&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="238"></embed></object></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com16tag:blogger.com,1999:blog-8604994979389972457.post-30774838499391698412010-04-06T02:52:00.000-07:002010-04-06T02:55:39.875-07:00Moving the NeedlesI've finally succeeded in moving the RPM and Speed dials! It took some months, some burned integrated circuits, a useless H-Bridge and two 2N2222 transistors to get them working.<br />
<br />
Here's a video showing a test program.<br />
<br />
<div style="text-align: center;"><object width="350" height="238"><param name="movie" value="http://www.youtube.com/v/Zp5kMITWiu0&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Zp5kMITWiu0&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="238"></embed></object></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com11tag:blogger.com,1999:blog-8604994979389972457.post-53238879454412936972010-03-20T00:18:00.000-07:002010-03-20T00:24:14.832-07:00Connected and Alive<div style="text-align: center;"><div style="text-align: justify;">This is probably one of the most important moments in my project's life so far.</div></div><br />
<div style="text-align: justify;">In a few words, the dashboard now reflects the exact state of the simulation in <a href="http://www.lfs.net/">Live For Speed</a>, covering for the moment only the control lights.</div><br />
<div style="text-align: justify;">So, this is what I've done recently.</div><div style="text-align: justify;">First, I've ported the original software to the Arduino language and flashed it to the new board. Hooked it up to the dash interface, and voila! The lights were flashing in sequence just as before.</div><div style="text-align: justify;">This encouraged me to go to the next step, so I modified a C# code that I had previously found on the web, which connects to LFS using OutGauge, to acquire live data on a UDP connection. I modified this program to send all the data through a serial port to the Arduino board.</div><div style="text-align: justify;">The updated Arduino software continously reads data from the serial port (simulated over USB), interprets it, and sends the corresponding signals to the dash interface in order to light up whichever control lights are on in the game.</div><div style="text-align: justify;">All of the lights are working, such as turn signals, hazard lights, full beam, traction control, parking brake, shift light, and red line.</div><br />
Here's the thing in action.<br />
<br />
<div style="text-align: center;"><object height="238" width="350"><param name="movie" value="http://www.youtube.com/v/Rp-KMuI1xLA&hl=en_US&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Rp-KMuI1xLA&hl=en_US&fs=1&rel=0&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="350" height="238"></embed></object></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com8tag:blogger.com,1999:blog-8604994979389972457.post-76770954790778800712010-03-20T00:05:00.000-07:002010-03-20T00:24:44.951-07:00New Grounds<div style="text-align: justify;">Browsing around the www, I came across this simple, easy to use development board, which seemed just right for my project. As I've said in an earlier post, I want to reduce my efforts as much as possible, so this Arduino MEGA board was just what I was looking for, as it is built around a powerful enough microcontroller, the ATMega1280, it exposes all I/O pins (analog, digital, PWM etc), and has a simple, open-source programming language, as well as a pretty bare IDE which also allows you to upload the software via USB.</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCvmigNMAhIx0FMHCaUDiNKeuYCkX1zISCAA8brVXCB_O48xmH7qnuadHb6xn7Wi61Zpi9br-DLRoPwaoL5gAs_7FXYtEL2KotYCI_FKuiIwrWyPn53kZlxEVKgTSkCs37yQbNLZJBniQ/s1600-h/ArduinoMega.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCvmigNMAhIx0FMHCaUDiNKeuYCkX1zISCAA8brVXCB_O48xmH7qnuadHb6xn7Wi61Zpi9br-DLRoPwaoL5gAs_7FXYtEL2KotYCI_FKuiIwrWyPn53kZlxEVKgTSkCs37yQbNLZJBniQ/s400/ArduinoMega.jpg" width="400" /></a></div><br />
<div style="text-align: justify;">Could I ask for more?</div><div style="text-align: justify;">Yes. I could wish for ready-made libraries for working with the serial port, PWM and such, but they are already there. And, as an open-source project, it benefits from continuous improvement from all over the world.</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">I forgot to mention that it's pretty cheap, too.</div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com9tag:blogger.com,1999:blog-8604994979389972457.post-81568425189887062872010-03-19T23:41:00.000-07:002010-03-20T00:33:36.048-07:00It's Working!!! (ish)<div style="text-align: justify;">I've just written a basic software to be flashed to the ATMega chip, which lights up the control lights in the dashboard, one by one.</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">After some struggling and debugging, I got it working just fine. Except for the needles, which for some reason won't budge.</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDkg4OWV3KZmWOlM463M94KAJ70W9swNsIElQnK7cLQ9W7kBEryC-Bc302wE-ru36ebXf8xq21uijwMGyQ2sh4-JIGWQjYWjQgKhzb9i1cBnQyV1XH3T9-7jMCxQizmcDlUB2hOrA4kZ0/s1600-h/software.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDkg4OWV3KZmWOlM463M94KAJ70W9swNsIElQnK7cLQ9W7kBEryC-Bc302wE-ru36ebXf8xq21uijwMGyQ2sh4-JIGWQjYWjQgKhzb9i1cBnQyV1XH3T9-7jMCxQizmcDlUB2hOrA4kZ0/s400/software.jpg" width="400" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com8tag:blogger.com,1999:blog-8604994979389972457.post-32264649971564162172010-03-19T10:49:00.000-07:002010-03-20T00:25:22.462-07:00Interfaces, Interfaces...<div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;">Once I figured out the inputs this instrument cluster needs in order to light up control lights and move needles, I started working on the interface board between the ATMega board and the cluster itself.</span></span></div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4GexLQi1B6XdsIzecvBzFFiVQDs8zijSAMB5M-UiZSKDzFUhrNFhXdIfM3k5l_DzGUl1gDtEiiQySGR_Cxl2ShtdptgpAzIXuOIF35ng-Wc_azXFpM6juLT2z74iDX0qculO7fDss2g/s1600-h/IMG_0370.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4GexLQi1B6XdsIzecvBzFFiVQDs8zijSAMB5M-UiZSKDzFUhrNFhXdIfM3k5l_DzGUl1gDtEiiQySGR_Cxl2ShtdptgpAzIXuOIF35ng-Wc_azXFpM6juLT2z74iDX0qculO7fDss2g/s400/IMG_0370.JPG" width="400" /></a></div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span><br />
<div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span></div><div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;">I need this interface board for the following purposes.</span></span></div></div><div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;">1. Converting the 5V TTL signals coming from the microcontroller, to 12V as expected by the instrument cluster.</span></span></div></div><div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;">2. Because some of the lights come on when their corresponding pin is high (12V), while others when it's low (Ground), I had to provide "source" of current for the first ones, and "sinks" for the others. This meant using two different kinds of buffers (integrated circuits outputting 12V when 5V are being input): the ULN2803 and the UDN2981.</span></span></div></div><div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span></div></div><div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;">The board features 2 connectors to hook up the ATMega board, and 3 to connect to the dash. A power connector was also installed to bring 12V and 5V voltages from the ATX source.</span></span></div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaA42cRMXPrTzhBZYoIBu9YJU8_dg-05IdUJXiwzZo67HjfYRdVRpTx8gjxfTaq2WG0s1ZkTooTEdcHcF0-_OODbf5rv5ewhMHGjvTeM96JnwUMIkKm3LjxUSmzM00yjg9gSFSGN8_KD4/s1600-h/IMG_0371.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaA42cRMXPrTzhBZYoIBu9YJU8_dg-05IdUJXiwzZo67HjfYRdVRpTx8gjxfTaq2WG0s1ZkTooTEdcHcF0-_OODbf5rv5ewhMHGjvTeM96JnwUMIkKm3LjxUSmzM00yjg9gSFSGN8_KD4/s400/IMG_0371.JPG" width="400" /></a></div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><br />
</span></span></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com4tag:blogger.com,1999:blog-8604994979389972457.post-44440896766471260522010-03-19T10:27:00.000-07:002010-03-20T00:25:44.299-07:00Controlling Things<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlCVX0zao_cZ909Kie7hyphenhyphenoBHiAUKOdP5tKHfblO47fTDbBUZkrWHhevFcK34Ficge8sgS2Ms3mw5_KU5_qcbn-W2bBlHyr2oe8hHg_Mdr6zZrrg3pCSEmJmPGkhNuDRf_htM_O6OBhr8M/s1600-h/robot_0028_frame.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlCVX0zao_cZ909Kie7hyphenhyphenoBHiAUKOdP5tKHfblO47fTDbBUZkrWHhevFcK34Ficge8sgS2Ms3mw5_KU5_qcbn-W2bBlHyr2oe8hHg_Mdr6zZrrg3pCSEmJmPGkhNuDRf_htM_O6OBhr8M/s400/robot_0028_frame.jpg" width="400" /></a></div><br />
<div style="text-align: justify;">I have some experience with AVR microcontrollers, having built an autonomous robot from scratch in my university years, but I've come to a point where I got lazy enough to search for ready-made things rather than building them myself, if it wasn't essential to the "fun factor".</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">So I got this development board, the "AVR-MT-128" from <a href="http://www.olimex.com/">OLIMEX</a>, built around the ATMega128 chip. It has a LCD display and serial port, which I am going to use to acquire data from the computer. It also appears to have just enough pins to connect it to the dashboard (of course, I'm going to build an interface board).</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfViq78_wAFcKKwsA507_H96QAIVk0eZnA0p6g-rKj8z1VBDTrSvfnH8_FfKjd6vH0wVx8NpymrBl6vR_fc8hLm-S1pv_P-cZtvaDQDhrA9WeC_BQUCVxu8g5SPFYaxWyJ4srQ1y7__Cs/s1600-h/AVR-MT-128-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfViq78_wAFcKKwsA507_H96QAIVk0eZnA0p6g-rKj8z1VBDTrSvfnH8_FfKjd6vH0wVx8NpymrBl6vR_fc8hLm-S1pv_P-cZtvaDQDhrA9WeC_BQUCVxu8g5SPFYaxWyJ4srQ1y7__Cs/s400/AVR-MT-128-1.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbgTkA5ncjsOKOKoUGyIn6QpjVvb90eHKRlK4vWDTTL_qoeaGp4UZWiSGJN1ieGtYBlupA36KWKYsrG8DGmaOOB_A41H_aV4j1HsewGukPDZwHAuhFCBPBpNeFysha_g_3P1J9IQhmLLg/s1600-h/AVR-MT-128-3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbgTkA5ncjsOKOKoUGyIn6QpjVvb90eHKRlK4vWDTTL_qoeaGp4UZWiSGJN1ieGtYBlupA36KWKYsrG8DGmaOOB_A41H_aV4j1HsewGukPDZwHAuhFCBPBpNeFysha_g_3P1J9IQhmLLg/s400/AVR-MT-128-3.jpg" width="400" /></a></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com0tag:blogger.com,1999:blog-8604994979389972457.post-21584169899897657652010-03-19T10:17:00.000-07:002010-03-20T00:26:49.558-07:00The Beginning<div style="text-align: justify;">The saga begins...</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">... with this instrument cluster which I've just bought, stripped right down from a '92 BMW 325i (E36 model).<br />
<br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_Afh3Ua_l5zgM9QzVA6eQl4MxyazlLvzNUCGEjdpIkha7kQRookaJ-VN_6Tvm5Sh1BKOAGfITS86YZk7aYiwyguUCO708zHj5dl6jZqO92g9TndCDLp931dyg4J6uwWGscGiReeaoYco/s1600-h/IMG_0234.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_Afh3Ua_l5zgM9QzVA6eQl4MxyazlLvzNUCGEjdpIkha7kQRookaJ-VN_6Tvm5Sh1BKOAGfITS86YZk7aYiwyguUCO708zHj5dl6jZqO92g9TndCDLp931dyg4J6uwWGscGiReeaoYco/s400/IMG_0234.JPG" width="400" /></a></div><br />
<div style="text-align: justify;">I have already figured out the pinout (thanks to some googling), and hardwired it to an ATX power source donated by my late PC.<br />
<br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9IYSAKC65REjVwFwbe3teJ37fZGIASaZ_L7GHY_JpEH4rP9vja9b0hKuOVmb073mm_b1Yqie5HCF_ECsf89nh-nENCFeiF-cJZxoP9qfOWWxuvYTTm9xkwKV9PD6IWsbO4jcGmArj6Hw/s1600-h/IMG_0240.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9IYSAKC65REjVwFwbe3teJ37fZGIASaZ_L7GHY_JpEH4rP9vja9b0hKuOVmb073mm_b1Yqie5HCF_ECsf89nh-nENCFeiF-cJZxoP9qfOWWxuvYTTm9xkwKV9PD6IWsbO4jcGmArj6Hw/s400/IMG_0240.JPG" width="400" /></a></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com3tag:blogger.com,1999:blog-8604994979389972457.post-24988910273773360022010-03-19T10:12:00.000-07:002010-03-20T00:26:10.600-07:00The Idea<div style="text-align: justify;">It was one of my childhood dreams to build a hardware racing simulator.</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">In my dreams it was of course, all high-tech and stuff, just like the ones I could see on TV built by NASA to train their astronauts... but who knows what may come out. All I know is, it's going to be something really challenging and relaxing to work on, no strings attached.</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://img696.imageshack.us/img696/1158/flightsafetyhawker900xp.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="http://img696.imageshack.us/img696/1158/flightsafetyhawker900xp.jpg" width="400" /></a></div>Alex Rosiuhttp://www.blogger.com/profile/01830031377394931035noreply@blogger.com1