Project blog breadboard build

posted Jan 22, 2016, 8:05 AM by Nicholas Leesam   [ updated Jan 22, 2016, 8:22 AM ]

Recently I watched this talk on Vector retrogaming from the 32c3. I've had a vectrex collecting dust for the past few years and thought it'd be cool to try to get some non-vectrex games running on it as seen in the talk.

I've followed a schematic i found posted in the issues of the github for the project. I made some comments as i went through the build, trying to get everything running. I've got it connected to a retropie built on an RPi2. I exited emulationstation compiled and ran a modified MAME as seen here.


It was fun getting this running. It's working great most of the time, i have a slight issue with the screen blanking when the drawn image takes up less than the whole screen. I think the Vectrex power board is blanking things to prevent burn in when the beam isn't experiencing a certain level of (vertical?) deflection.

Kodi Controller Support on Retropie

posted May 3, 2015, 5:40 PM by Nicholas Leesam

I'm in the process of putting together a few retropies as gifts. I installed kodi and setup menu art just as described here. I then installed Plexbmc following this guide. If you're going the manual route, be sure to grab the latest zips off GitHub. They're available here and here.

The video was great, i caused a bit of a headache a couple times while copy pasting by inserting carriage returns where they didn't belong. dos2unix cleared that up. I don't remember 100% because it's been about a week since i completed this, but i also had an issue with conflicting xboxdrv startups.

The retropie setup script places a line in rc.local to load the service on boot. The video has you setup a full initscript so the service can be cleanly killed and restarted later on. I had to comment out that line in rc.local to let the video's initscript to run cleanly.

After that was sorted out, i was still left with only two options for controlling kodi. One was a random XBMC remote app, the other was an xbox controller which the video left kodi configured to use. I bought five of these usb snes gamepads to use with the gift retropies and i didn't want to have to instruct a bunch of people on how to get the xbmc remote apps connected and working, so i went looking for more options.

In the arch wiki, i found this. That provides some basic instructions on how to setup xboxdrv to mimic a 360 gamepad with any input device. Firing up evtest, i wrote down the events created with each button press and changed the kodi.ini file from the video above to mimic an 360 pad, so the driver could then emulate keyboard presses for kodi. I've attached my kodi.ini to this post. I also made an edit to the script to select an input source for the mimic to get it's button presses from. Below is the whole line, i only added " --evdev /dev/input/event0":

sudo /usr/bin/xboxdrv --evdev /dev/input/event0 --config /home/pi/kodi.ini --silent --autofire RT=25 --autofire LT=25 --autofire du=200 --autofire dd=200 --autofire dl=500 --autofire dr=500 &

Fan controller

posted May 4, 2011, 5:50 PM by Nicholas Leesam   [ updated May 5, 2011, 6:34 PM ]

Had some time to breadboard tonight.

Current issue:
When pwm is fully off the mosfet doesn't switch fully off. Disconnecting MCU allows full off but high freq (32kHz if i'm reading that correctly) switching 90% off only seems to drop the voltage to 10-ish volts (12v source). The Off voltage stayed the same even under heavier load. It's now running four fans at .6 amps each.

I think i may be switching too fast. I had cranked the pwm frequency to get it out of hearing range. I've got to see what i can lower it to.

Scope reading while MCU outputs below signal.

Scope reading at lowest knob setting.

Keep having to look these up.

posted May 18, 2010, 10:35 AM by Nicholas Leesam   [ updated May 4, 2011, 6:07 PM ]

None of these were created my me, I'm just placing them here for ease of access.

Let there be SITE!

posted Dec 3, 2009, 7:48 AM by Nicholas Leesam   [ updated Dec 3, 2009, 7:57 AM ]

So at least the site exists and the domain is working. I'll dump more into the site as often as i have time to do so.

1-5 of 5