Monday, April 2, 2012
instructables update March 31
I went to radio shack and picked up the connector for the battery this morning.
So, I was telling the LeBlancs, a family that is a close friend of mine, about this project friday night when I was picking up my kids from them after work. Megan, the oldest child mentioned that her dad is good with electronics and that he might be able to help. When I told him what I was trying to do, throwing out words like arduino, servo, wireless nunchuk and code, he had a blank look on his face like he had no idea what I was talking about but he agreed to try to help. On Saturday we went over to their house and I showed him the two working codes. He rigged the big remote control car battery to the breadboard for a power source for the servo so that we didnt keep draining 9 volts in minutes. After only copying a pasting a short bit of code from one to the other and changing the baud rate from 19200 to 115200, we have working code for a wireless chuk!!! I was soooooo excited!! The servo was moving soooo fast and I wanted to try to slow it down, so he changed the baud rate back to 19200 and it stopped working. We changed it back and it still wouldnt work! Why? That's all that was changed but it wont work. Why didn't I get a video???? Why? Darn!
After dinner, we got back to work. We tried all kinds of things to get it working again. We were looking at sections of each of the 2 codes, comparing them. We noticed that the read delay was different and I suggested changing the read delay to match. So we changed it from 10 to 30 and it worked!!! YES!!!!!! I got the video first thing and we didnt try to tweak code again for fear of it stopping again.
I got the video on my phone and saved it to my computer. Just tried to play it and it wont play all the way through. I dont know what happened, maybe it didnt save right but i already deleted it from my phone so I dont have a video after all. it will play a few seconds before it messes up so I will try to upload it so at least a little proof is there.
So, I was telling the LeBlancs, a family that is a close friend of mine, about this project friday night when I was picking up my kids from them after work. Megan, the oldest child mentioned that her dad is good with electronics and that he might be able to help. When I told him what I was trying to do, throwing out words like arduino, servo, wireless nunchuk and code, he had a blank look on his face like he had no idea what I was talking about but he agreed to try to help. On Saturday we went over to their house and I showed him the two working codes. He rigged the big remote control car battery to the breadboard for a power source for the servo so that we didnt keep draining 9 volts in minutes. After only copying a pasting a short bit of code from one to the other and changing the baud rate from 19200 to 115200, we have working code for a wireless chuk!!! I was soooooo excited!! The servo was moving soooo fast and I wanted to try to slow it down, so he changed the baud rate back to 19200 and it stopped working. We changed it back and it still wouldnt work! Why? That's all that was changed but it wont work. Why didn't I get a video???? Why? Darn!
After dinner, we got back to work. We tried all kinds of things to get it working again. We were looking at sections of each of the 2 codes, comparing them. We noticed that the read delay was different and I suggested changing the read delay to match. So we changed it from 10 to 30 and it worked!!! YES!!!!!! I got the video first thing and we didnt try to tweak code again for fear of it stopping again.
I got the video on my phone and saved it to my computer. Just tried to play it and it wont play all the way through. I dont know what happened, maybe it didnt save right but i already deleted it from my phone so I dont have a video after all. it will play a few seconds before it messes up so I will try to upload it so at least a little proof is there.
instructables update March 30
I went to the advanced auto parts store on the way to work to get a connector for the battery but they didnt have one. Going to radio shack tomorrow.
instructables catch up blog March 29
March 29th
Thanks to Thomas for giving me the code from his shoulder cam project. Now I at least have a working code for a wired nunchuk.
Thanks to Thomas for giving me the code from his shoulder cam project. Now I at least have a working code for a wired nunchuk.
We, Thomas and I, also found out that one of the codes I found is a working code, it just isnt written to control a servo. I could stop here now that I have a working code, but if I am going to use a wired chuck I want to slow it down. With this code the nunchuk moves so fast and is very sensitive and jittery. I want to slow it down and I'd like to make it so that holding the c button allows you to control just the y axis and holding the Z button controls just the x axis so that you can move left and right independently from up and down. I would still rather have a wireless chuk instead of a wired one for the plan I have for this project. Since I now have a working wired and a working wireless code, if I can somehow combine the two I might get what I want.
instructables catch up blog March 22
March 22
I've been trying and trying to get the wireless nunchuk to work. I found several more versions of code, some of which are written just for the Nyco Kama chuk which is the brand I have. I've read the forum discussions on this topic and have discovered that not only is there a different code for a wired than for a wireless, but there is also a different code for each brand of wireless chuk. Luckily the main 2 brands discussed are the madcatz and the Nyco Kama, so at least I have the right nunchuk.
After trying all these codes with no success I decided to try to at least get it working with a wired chuk because, after all, it will get the job done, just not how I'd like it. I loaded the code that Willie used in his project and tried it with a wired chuk. No luck.
I've been trying and trying to get the wireless nunchuk to work. I found several more versions of code, some of which are written just for the Nyco Kama chuk which is the brand I have. I've read the forum discussions on this topic and have discovered that not only is there a different code for a wired than for a wireless, but there is also a different code for each brand of wireless chuk. Luckily the main 2 brands discussed are the madcatz and the Nyco Kama, so at least I have the right nunchuk.
After trying all these codes with no success I decided to try to at least get it working with a wired chuk because, after all, it will get the job done, just not how I'd like it. I loaded the code that Willie used in his project and tried it with a wired chuk. No luck.
instructables catch up blogs March 8
March 8th
Found out that at least the nunchuk extender cable wires are plugged in to the correct places on the arduino. I loaded up the sweep sketch from the arduino program and connected a wired nunchuk to test it since the wireless one isnt working.
Found out that at least the nunchuk extender cable wires are plugged in to the correct places on the arduino. I loaded up the sweep sketch from the arduino program and connected a wired nunchuk to test it since the wireless one isnt working.
instructables catch up blogs March 4th
I'm behind on posting so I'm going to post a series of entries by date of occurance to catch up to my current progress.
This is the video I got my 5 year old to help me do to show how to use the multimeter to find out which wires in the extender cable are which.
and here are some photos as well
This is the video I got my 5 year old to help me do to show how to use the multimeter to find out which wires in the extender cable are which.
and here are some photos as well
Subscribe to:
Posts (Atom)