Maker Workshop - Personal Flight Recorder on Make: television
Recent Entries
- Cigar box music player
- The 'bike tree', an automatic storage system for cycles, can hold up to 6,000 bikes
- Building a folding table
- Maker Shed weekly wrap-up
- The Chumby has landed!
- Brainwave sofa by Unfold & Lucas Maassen
- Full MIDI drumset with Guitar Hero and Rock Band drums
- Hole punched art
- Portable induction accelerator
- Make: Halloween Contest 2009 - WINNERS!
Comments
Oldest comments listed first.
Leave a comment
Subscribe to MAKE Magazine!
Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.
$34.95 / 1 year
(4 Quarterly Issues)































I thought I read somewhere, a long time ago, that amusement parks frowned on g-force measuring equipment because they felt the measurements were "secret"...
Reply to this comment
ok so now we need a way to capture this data then a Make project that covers bulign a "chair on hydraulics" that mimics the movements from the captured data
Combine that with the camera footage you recorded and hey presto Coaster-Sim !
:-)
Reply to this comment
Glen, awesome! We actually did make a second version that captures the data to a SD card, along with GPS data. You build the chair, I'll send you the data. Deal?!
Reply to this comment
Is this the episode that JEP's ears and eyelids start flapping because of the shear speed of the ride?
----I love this episode!...
Reply to this comment
RB, that wouldn't surprise me, but they can't frown at that which they cannot see, right? :) If wear it around your waist and tie a sweatshirt around it you ought to be fine. Not that I'm endorsing this should they decide to haul you off to the amusement park prison...
Reply to this comment
Awesome stuff John! (and everyone else involved) I can't get enough of this show. I wish it was on free to air TV in Australia. Or even cable for that matter! This show just keeps getting better and better! Well done.
Reply to this comment
In the video it says that the lcd has three wires. Most have many pins. The Vss pin goes to ground (black wire) the Vdd pin goes to the +5V (red wire). Where does the Yellow Wore go?
Reply to this comment
That's an excellent question -- you're right, most common 16x2 LCD screens (like this $14 one: http://www.sparkfun.com/commerce/product_info.php?products_id=255) are parallel and have seventeen thousand wires coming off of them (or ~11 to 14). The most esteemed Ladyada Limor Fried has a nice tutorial on hooking one up here: http://www.ladyada.net/learn/arduino/lcd.html
I didn't want to eat up that many pins on the Arduino because I wasn't sure how many would be needed for everything else when I started, so I took the easy route and ordered a serial LCD that sends all the data over a single wire for $25: http://www.sparkfun.com/commerce/product_info.php?products_id=461
This was plugged into pin 7 on our project, but any digital pin would work depending on your sketch.
I look for these types of shortcuts a lot these days because my time is so limited. If I can cheat a little and make things go quicker for an $11 premium I'm all for it!
Reply to this comment
That's an excellent question -- you're right, most common 16x2 LCD screens (like this $14 one: http://www.sparkfun.com/commerce/product_info.php?products_id=255) are parallel and have seventeen thousand wires coming off of them (or ~11 to 14). The most esteemed Ladyada Limor Fried has a nice tutorial on hooking one up here: http://www.ladyada.net/learn/arduino/lcd.html
I didn't want to eat up that many pins on the Arduino because I wasn't sure how many would be needed for everything else when I started, so I took the easy route and ordered a serial LCD that sends all the data over a single wire for $25: http://www.sparkfun.com/commerce/product_info.php?products_id=461
This was plugged into pin 7 on our project, but any digital pin would work depending on your sketch.
I look for these types of shortcuts a lot these days because my time is so limited. If I can cheat a little and make things go quicker for an $11 premium I'm all for it!
Reply to this comment
ok i have all the parts, but two things lie in my way... a LCD screen i dont know how to wire it has 14 holes for wires, three of wich are squares, i bought it from fungizmos.com and the WiiCosterUI when ever i try to upload the program it gives me an error code as seen below
23: error: LCDSerial.h: No such file or directory In function 'void setup()':
In function 'void loop()':
exactly as you see it above is what i get in the black box in the IDE window. the ardunio is not broken, i tried some exapmle sketches and they work. any help any one can offer would be great!
-Zack
Reply to this comment
@zack, the estimable John Park has already answered your first question. If you scroll up a comment or two, you'll find this link (http://www.ladyada.net/learn/arduino/lcd.html) to a nice tutorial on how to hook up your LCD screen.
To answer your second question, I suspect that the error could be caused by having incorrectly hooked up your LCD screen. But I've notified John of your comment, and he'll have a better idea than I do about how to fix that.
Reply to this comment
Hi Zack,
Here's the steps I use to get WiiCoasterUI working:
1. Download WiiCoasterUI.zip from the link at http://blog.makezine.com/archive/2009/02/personal_flight_recorder_program_fo.html
2. Unzip WiiCoasterUI.zip to a directory (don't use Window's ability to double-click into a zipfile like a folder, actually extract all the files)
3. Go into the WiiCoasterUI folder. You should five files, one of which is "WiiCoasterUI.pde".
4. Open up WiiCoasterUI.pde using Arduino software, version 0015 or above. If you have an older version of the Arduino software, get the latest from http://arduino.cc/
5. Press the "Verify" button (looks like a play button)
6. The Arduino software should say "Binary sketch size: 6026 bytes" or similar.
7. Press the "Upload" button to upload to your Arduino board.
Now until you have the Sparkfun Serial LCD, this Arduino sketch won't be of much use to you.
(Aside: this sketch does some kind of advanced tricks with I2C to talk to the Wii Nunchuck. It doesn't use the standard "Wire" library to talk I2C. This was because it was part of a larger project that needed to be as small as possible)
Reply to this comment
Ok so your telling me that I have to use the sparkfun LCD and only the sparkfun LCD for the code to work? Why? By the way i have pressed the verift button, i got the same message.
-Thanks
Reply to this comment
Your serial LCD might work. You'd have to compare the command set used by it and that used by the Sparkfun LCD. If they are similar enough, the WiiCoasterUI sketch will work. Otherwise, you'll have to change it in a few places to make it match your LCD's command set. These are probably pretty small changes, just setting a different command byte for things like "go to position x,y".
As for why the sketch isn't compiling for you, it's hard to debug your situation without knowing more of your setup. What operating system are you on? What version of the Arduino software are you using? What kind of Arduino board are you using? Are you working from a fresh, fully unzipped version of the WiiCoasterUI sketch? Do you have all 5 files in the WiiCoasterUI directory? Have you gotten any other Arduino sketches to work?
Reply to this comment
Here is a data sheet for my LCD screen, all I need to know is what pin holes to use. I have never worked with a LCD screen before.
http://www.newhavendisplay.com/specs/NHD-0216K3Z-FL-GBW.pdf
Reply to this comment
I am using the Windows version. I am using the Arduino - 0015 Programming Enviroment; with the Ardunio Duemilanove with the ATmega328 chip. I have the WiiCosterUI fully unziped and have the folowing items inside:
-applet folder
-Ardunio software
-WiiCosterUI.pde
And yes I have tried other sketches and they work fine. Could you possibly tell me what I should change in the code to make this work?
Thanks
-Zack
Reply to this comment
Hi Zack,
Ah, there's your problem. Somehow you only have the one file (WiiCoasterUI.pde) where you should have a folder called WiiCoasterUI with 5 files inside of it. Did you download this zip file:
http://cachefly.oreilly.com/make/television/09/WiiCoasterUI.zip
Unzip it and you should have a folder called WiiCoasterUI with 5 files in it:
- WiiCoasterUI.pde
- wiichuck_funcs.h
- twi_funcs.h
- LCDSerial.h
- LCDSerial.cpp
Reply to this comment
Ok, I have those files now...so whay do I do? Copy and paste into the WiiCoasterUI.pde on the Ardunio software?
Reply to this comment
Just run the Arduino software, and from within it, open the WiiCoasterUI.pde file. The software should open it and the other 4 files too.
Reply to this comment
I am sorry to be such a pain, but the links supplied by all these comments and videos/web pages dont work anymore. I click download, it downloads fine, but once i try to extract the files... nothing. No files. Not a single thing. It may be just my computer, but now I cannot do anything.
Reply to this comment
@ Zack, Sorry, I'm not able to replicate your problem. All of the links are live and the zip file should contain all of the files you need.
Reply to this comment
I am not quite sure what is happening here. I am following all the directions correctly, except I am not using the ThingM adapter just the I2C bus wires. I can get valid data over the console, so I know my WiiChuck data transfer is functioning correctly.
Where I get the problem is on the LCD (a serial LCD from Sparkfun). When I re-power the board using a 5V supply all I get is invalid character streams on the LCD. I can press the WiiChuck buttons and move the joystick and this stream changes, but it is still an invalid data stream.
Any thoughts?
Reply to this comment
i got it to work again, the link that is. but i am still having trouble with the code.
Reply to this comment
i cant get it to work either. code is broken.
Reply to this comment
Zack, are your code troubles with changing things to work with your particular serial LCD?
Reply to this comment
Great tutorial! Just out of curiosity, what program did you use to display the output of the wii nunchuck when you demo'd it in the video? (It showed a graph of the G-force output)
Thanks
Reply to this comment
Thanks, glad you liked it! I used the excellent, open source Darwin Remote software to do the visualizations on my trusty 12" G4 PowerMac. You can download it here: http://sourceforge.net/projects/darwiin-remote/
Reply to this comment
I dont know; I have had problems galore on this project....it seems to be one error code after another. Plus I cant even wire my LCD screen as directed by ladyada mainly because I never did anything like this before. The main error code I get now when I try to verify the code is as follows:
C;\DOCUME~1\Zack\LOCALS~1\build12989.tmp\/wiichuck_funcs.h: In function 'void wiichuck_setpowerpins()':
C;\DOCUME~1\Zack\LOCALS~1\build12989.tmp\/wiichuck_funcs.h:60: error: 'PC3' was not declared in this scope
C;\DOCUME~1\Zack\LOCALS~1\build12989.tmp\/wiichuck_funcs.h:60: error: 'PC3' was not declared in this scope
Reply to this comment