tag:blogger.com,1999:blog-2137743283716015909.post6380582500020122137..comments2024-03-03T21:03:39.924+08:00Comments on shinajaran: Interfacing Arduino with wiimote (and later the nunchuck)sjteohttp://www.blogger.com/profile/09436569281310042987noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2137743283716015909.post-57115537269210070492010-08-18T10:18:19.713+08:002010-08-18T10:18:19.713+08:001.
arduino<-wire->wiimote<-bluetooth->...1. <br />arduino<-wire->wiimote<-bluetooth->PC<br />arduino is slave mode.<br /><br />2. Are you referring on getting 3.3v on Aref of arduino for ADC that is equivalent on PIC?<br /><br />different pic have a different resolution. the pic18 i have got a 10bit resolution.<br /><br />below are the methods i tried to put 3.3v on PIC18 for ADC<br />a. use voltage divider method. POT with 5v source. Tune the POT to get 3.3v<br /><br />b. TTL logic converter from sparkfun. USD1.95 each. This one gives a steady 3.3v.<br /><br />you need code below to make portA on PIC as an input<br /><br />'Set PORTA to all input<br />TRISA = %11111111 <br /><br />'Set up ADCON1<br />ADCON1 = %10000010sjteohttps://www.blogger.com/profile/09436569281310042987noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-31356950876175372862010-08-12T23:25:44.947+08:002010-08-12T23:25:44.947+08:00Some questions:
1. Are you running the Arduino in ...Some questions:<br />1. Are you running the Arduino in slave or master mode?<br /><br />2. Do you know the equivalent of the AREF pin for PIC?Kaiser Sodrohuhttps://www.blogger.com/profile/06188802004697904942noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-18397090383725207512010-07-29T18:46:37.565+08:002010-07-29T18:46:37.565+08:00entaro tassadar executor Sodrohu
how is the new la...entaro tassadar executor Sodrohu<br />how is the new land after aiur.<br /><br />I am exploring a simpler device for a 3axis data acquisition. Thats y i choose to use a nun chuck. <br /><br />I have not tried to use a PIC. The particular reason is i wanted to build on a board with 6 analog in, 4 pwm and some (no need too many) Digital I/O.<br /><br />when it comes to extend with other analog data source reading it will be a breeze. Same as applied to the output for controlling dc or servo motors.sjteohttps://www.blogger.com/profile/09436569281310042987noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-38262059414150768252010-07-21T14:34:36.285+08:002010-07-21T14:34:36.285+08:00Have you considered using PIC? My FYP is the same ...Have you considered using PIC? My FYP is the same thing and I'm using Microchip PIC instead of Arduino. So far, I got the data sent, but the Driver WiimoteLib reads it as Wiimote acceleration values instead of Nunchuk's.Kaiser Sodrohuhttps://www.blogger.com/profile/06188802004697904942noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-24089599929426217972010-05-11T12:35:25.429+08:002010-05-11T12:35:25.429+08:00http://dsap0920472.blogspot.com/2010/05/classtempl...http://dsap0920472.blogspot.com/2010/05/classtemplate.htmlFiiehttps://www.blogger.com/profile/11102786660459361911noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-48375062773119904342010-05-03T12:58:28.374+08:002010-05-03T12:58:28.374+08:00@yen yu
the x,y,z axis data is a float but can be ...@yen yu<br />the x,y,z axis data is a float but can be scaled to 0-255. <br /><br />the joystick button gives -x x +x and -y y +y. <br /><br />the other 2 button is just booleansjteohttps://www.blogger.com/profile/09436569281310042987noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-19382526577889238272010-04-29T23:31:03.238+08:002010-04-29T23:31:03.238+08:00Huh, so much data contained in the nunchuck ah? So...Huh, so much data contained in the nunchuck ah? So every angle has an individual address?! Waliew, lol.YEN YUnoreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-34266212443495798972010-04-28T11:23:52.737+08:002010-04-28T11:23:52.737+08:00my best shot is at the I2C master and slave pairin...my best shot is at the I2C master and slave pairing of <br /><br />Arduino<->wiimote<->PC<br /><br />Look at wiimote as if it is relaying data for both ends and I need to figure out what went wrong actually with my setup.<br /><br />Because I only need the <br />Arduino<->wiimote<br />part<br /><br />the fats can be trimmedsjteohttps://www.blogger.com/profile/09436569281310042987noreply@blogger.comtag:blogger.com,1999:blog-2137743283716015909.post-51945569793895474852010-04-28T08:54:03.589+08:002010-04-28T08:54:03.589+08:00sir you never fail to amaze me. any idea why the w...sir you never fail to amaze me. any idea why the wiimote doesnt work while the nunchuck works?nigelhttps://www.blogger.com/profile/00164713462008751059noreply@blogger.com