Address

Author Topic: R.O.B NES Pi Project  (Read 3553 times)

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
R.O.B NES Pi Project
« on: July 17, 2013, 06:03:32 PM »
The aim of this project is insert a Pi into a Nintendo R.O.B. to automate his robotic functions and have him working as NES Emulator using first party controllers wirelessly using the IR sensor built into the R.O.B. head.

The features I want him to have,

1. A usable Pi Case Mod dedicated to NES emulation. with all ports accessible on outside of R.O.B. in visually pleasing manner
2. Working functionality of all motorized aspects of R.o.B and the L.E.D.S in his eyes.
3. Functionality of IR sensor build into R.o.B., for use with control of emulator and physical movement of rob via standard nes controllers using the first party NES Satellite accessory pictured below.


I want to thank Ted for his collaboration on this project. Being very new to the Maker community and Linux, this would only be a dream in my head without his help. 

The ingredients go something like this Raspberry Pi +

 




I have some resources to go from on this.

A French guy has some Arduino code for manual control using a NES controller. The Github code comments are in English. Some other info on his own site is translated to be..

"To control ROB must extract the microcontroller NINTENDO stamped on the printed robot circuit.
Once the offline you can not use ROB to play on your favorite console.

3 marked chips: IR2C25 used to control the motors (they are bridges H).
Sending 5V or less in the pin 1 or 4 of the chip, the motor rotates in one direction or the other.

The downloadable code below is the video of the first page, with the difference that I programmed it to the theoretical limits (ROB startup must be in a particular position) as well as new features and animations of different LEDs .


This code requires NESpad library if you choose to check with a NES controller"

His links are here.

[url=http://cargocollective.com/kik/Arduino-R-O-B]http://cargocollective.com/kik/Arduino-R-O-B
[/url]
https://github.com/AntoineKiK/Arduino/blob/master/Robot%20R.O.B%20automatic


More links on general repair
http://www.bureauvoorgamers.nl/?p=2407
http://www.racketboy.com/forum/viewtopic.php?p=330494


I also found R.O.B sound effects from the super smash brothers wii game to incorporate at

ROB ? Kyutwo.com

It's still up on the air on which Pi distro / image to use on this, but so far the likely candidates are.

blog ? karmanebula

RetroPie and the Raspberry Pi ? Tx0Rx0


________


If anyone has any ideas to enhance the awesome-ness of this project please comment!

I have more pictures to post on the guts of the rob, but need to find a web server to post them to first. Will post those soon.

« Last Edit: July 18, 2013, 05:33:36 PM by Gnarls_Marley »

digitalman2112

  • Lab Dad (ex-treasurer)
  • FamiLAB Member
  • Hero Member
  • *
  • Posts: 1096
  • Work Hard, Play Hard!
    • View Profile
    • Raising Geeks
Re: R.O.B NES Pi Project
« Reply #1 on: July 17, 2013, 06:07:28 PM »
Awesome project, can't wait to see it in action!

Waterbury

  • FamiLAB Member
  • Sr. Member
  • *
  • Posts: 347
  • You can do it. We can help!
    • View Profile
Re: R.O.B NES Pi Project
« Reply #2 on: July 17, 2013, 06:58:50 PM »
GLINT seems like a good OS choice.
"The American, by nature, is optimistic. He is experimental, an inventor and a builder who builds best when called upon to build greatly." ~ John F. Kennedy

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #3 on: July 17, 2013, 09:07:15 PM »
I agree, I like that it is designed purely as a NES emulator. I will install it on an extra sd card and get familiar with it tomorrow afternoon.

The NES Satellite I bought from Amazon shows an shipment date of July 24th - August 8th. Really hoping it doesn't take that long.


GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #4 on: July 17, 2013, 09:10:22 PM »
Ted, you may have found this nestled in one of the above links but figured I'd point it out.

The wiring for most functions are used with the following wires

"Easy ones
 Battery - Red and Black
 Spin - Yellow and White

Separate plug
Claws - Red and Brown
Up/Down - Orange and Yellow

I attempted to power the LED, but would only work in one polarity, half the movements. Oh well, save on the battery a little."
« Last Edit: July 17, 2013, 09:37:00 PM by Gnarls_Marley »

Panda

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: R.O.B NES Pi Project
« Reply #5 on: July 18, 2013, 04:35:47 PM »
Wouldn't it be better to not rely on batteries? Couldn't it just solder it to an AC plug? I'm just not a fan of batteries personally.

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #6 on: July 18, 2013, 05:54:06 PM »
Your right, we likely will have it wall powered. There is basically no room left in it for batteries after squeezing in the Pi. The NES satellite will still use batteries for using controllers wirelessly, though using the Satellite accessory is just an excuse for us to incorporate the IR sensor in the robot. ;)

Waterbury

  • FamiLAB Member
  • Sr. Member
  • *
  • Posts: 347
  • You can do it. We can help!
    • View Profile
Re: R.O.B NES Pi Project
« Reply #7 on: July 18, 2013, 05:58:05 PM »
using the Satellite accessory is just an excuse for us to incorporate the IR sensor in the robot. ;)

Yes, for keeping the aesthetics, and for communicating with it through it's f'ing eyes, yo!
"The American, by nature, is optimistic. He is experimental, an inventor and a builder who builds best when called upon to build greatly." ~ John F. Kennedy

Waterbury

  • FamiLAB Member
  • Sr. Member
  • *
  • Posts: 347
  • You can do it. We can help!
    • View Profile
Re: R.O.B NES Pi Project
« Reply #8 on: July 18, 2013, 06:00:49 PM »
I think having a mini wifi dongle in it would help keep it clean. Then we could break out power, HDMI, and maybe audio/composite video in a single 1/8" headphone jack. We could figure out something for USB later.
"The American, by nature, is optimistic. He is experimental, an inventor and a builder who builds best when called upon to build greatly." ~ John F. Kennedy

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #9 on: July 19, 2013, 10:04:06 AM »
I have a wifi dongle I dedicate to this pi already so that's no problem.

I would like to see the composite A/V out on it, mainly because its true to the 80's-nes of the project. But also because the 46" TV and projector at the labs lounge room all require it. And even my main home tv require it. USB would be great for using a keyboard/mouse to connect to a new wifi network.

the NES Satellite has shipped! Today I will order the slimline sd card from adafruit and probably a nes controller. the controller will be a knock-off controller though. Because my budget is slim.

I have been working on ideas on theming the glint-nes image a bit different than standard. I found a sweet R.O.B. picture for its background and will replace the font it uses for a 80's nintendo style font.

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #10 on: July 19, 2013, 10:15:24 AM »
I was thinking to install a web server on it, this way a qrcode could point to its server and make it controllable from any phone on the local network. For when the Satellite controller setup isn't in use.

GnarlsMarley

  • FamiLAB Member
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: R.O.B NES Pi Project
« Reply #11 on: July 19, 2013, 03:25:58 PM »
Another article I had been trying to get my hands on. This article shows someones instructions on getting r.o.b working with a parallel port and some c code. He disabled the IR sensor on his version, not exactly clear why. Linked on Make magazine back in 2006, but that link was inactive. Luckily i found it on archive.org's waybackmachine!

http://web.archive.org/web/20070220234056/http://veget.dynu.com/test/index.html

Waterbury

  • FamiLAB Member
  • Sr. Member
  • *
  • Posts: 347
  • You can do it. We can help!
    • View Profile
Re: R.O.B NES Pi Project
« Reply #12 on: July 19, 2013, 03:45:32 PM »
It's possible that the IR sensor was causing the R.O.B. to ignore the parallel port while it was waiting for an IR stream. My idea would be to interface the IR sensor directly to the Pi's IO, and ignore the R.O.B.'s IR code.
"The American, by nature, is optimistic. He is experimental, an inventor and a builder who builds best when called upon to build greatly." ~ John F. Kennedy