Go to advanced search

by mmoller2k
Mon Aug 26, 2013 12:36 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Nice one Dave. That's what open source is all about. I like your old-school solution.
by mmoller2k
Wed May 22, 2013 7:43 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Airburn, all I can think is that you need to check your power supply, and confirm that your pull-up resistors are indeed between 1k and 100k - anything in that range should work.
by mmoller2k
Mon May 20, 2013 10:37 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Airburn and Bushrat; yes, the pull-up resistors are not optional. Either on the keys themselves, when connecting directly, or on the interrupt pin when connecting through an expander.
Thanks for the diagram Bushrat.
by mmoller2k
Fri May 17, 2013 10:08 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Thanks bushrat for pointing out a bug when connecting buttons via an I2C expander. I think it should be fixed now, but I can't test it. Let us know if the key-repeat problem is solved.
by mmoller2k
Tue Mar 12, 2013 12:17 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Try the wiki: http://elinux.org/Rpi_Low-level_peripherals According to this, the pins I/Os are 0, 1, 4, 7, 8, 9, 10, 11, 14, 15, 17, 18, 21, 22, 23, 24, 25 for rev 1, and "on the Revision2.0 RaspberryPis, this list changes to: 2, 3, 4, 7, 8, 9, 10, 11, 14, 15, 17, 18, 22, 23, 24, 25, 27, with 28, 29...
by mmoller2k
Tue Mar 12, 2013 10:19 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Apparently there is still some confusion as to how to wire multiple switches to the GPIOs. I thought I'd drop this here for reference:
swcon.png
swcon.png (4.9 KiB) Viewed 4583 times
by mmoller2k
Tue Mar 12, 2013 9:57 am
Forum: Gaming
Topic: MAME Button Circuit
Replies: 5
Views: 1559

Re: MAME Button Circuit

bushrat, that expanded circuit of yours is not quite right. If you look closely you'll see that all your GPIO pins are simply wired together at your common pull-up line. One switch will pull all the pins low. Each switch/pin pair needs its own pull-up resistor. You cannot use only one pull-up resist...
by mmoller2k
Sun Feb 17, 2013 2:48 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

I'm not sure I understand. What are you trying to do with the ^C? Are you trying to have pikeyd generate a ^C, or are you trying to interrupt it using a ^C? Are you running it with the -d switch to run it in the background? The ^C only works for stopping the program if it is running in the foreground.
by mmoller2k
Fri Feb 15, 2013 9:03 am
Forum: General discussion
Topic: Unhappy with RS
Replies: 61
Views: 7017

Re: Unhappy with RS

I couldn't agree more. I feel that once they take your money, they should at least be obligated to inform you promptly of any problems they encounter delivering your order. This at least is true for all the other non-Pi orders I ever placed with RS. In the mean time I still haven't received the Pis ...
by mmoller2k
Tue Feb 12, 2013 5:59 am
Forum: Gaming
Topic: Arcade stick Conversion project finished!
Replies: 10
Views: 4983

Re: Arcade stick Conversion project finished!

Don't you just love it when a plan comes together?
Nice job, and thanks for the pictures.
I love how the Raspberry Pi is inspiring all this creativeness.
by mmoller2k
Thu Feb 07, 2013 10:11 am
Forum: C/C++
Topic: I2C LCD using C
Replies: 53
Views: 41212

Re: I2C LCD using C

Thanks Gordon I gave it a try and got it working in no time. While bit-banging the bits through an I2C interface is far from optimum, it sure was easy to implement. Here's my little mod of your lcd.c demo. #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <errno.h> #include <wiring...
by mmoller2k
Thu Feb 07, 2013 5:49 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Thank you atvdude01 for all your patience. Together we found and squashed some bugs in my code, and all seems to be working now.
I've merged the I2C I/O expander support into the main branch at https://github.com/mmoller2k/pikeyd
by mmoller2k
Mon Feb 04, 2013 12:36 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Due to popular demand I've added I2C polling for MCP23008 and MCP23017 I/O expanders. This is in a new branch here: https://github.com/mmoller2k/pikeyd/tree/iic Consider it a beta release. Once I get independent confirmation that it works, I'll merge it with the master branch. The interrupt output p...
by mmoller2k
Wed Jan 30, 2013 1:34 pm
Forum: Gaming
Topic: FOR BEGINNER: Adding Joysticks and buttons
Replies: 3
Views: 1397

Re: FOR BEGINNER: Adding Joysticks and buttons

I was also inspired by the coffee table Pi, but only had 7in screen.
I have built exactly what you propose. see http://www.raspberrypi.org/phpBB3/viewt ... 78&t=29962
by mmoller2k
Wed Jan 30, 2013 9:41 am
Forum: Automation, sensing and robotics
Topic: Building a robot, from a robot?!
Replies: 29
Views: 6914

Re: Building a robot, from a robot?!

I'm considering a project along these lines as well. I've had in mind a long-term low-budget hobby-style project. I thought I'd start with a simple wheeled base (like this one: https://www.sparkfun.com/products/10825 ) Use an arduino for the real-time stuff and the Pi for the higher level stuff. Sta...
by mmoller2k
Wed Jan 30, 2013 9:09 am
Forum: General programming discussion
Topic: New guy needing some direction
Replies: 11
Views: 2319

Re: New guy needing some direction

It sounds like the Pi is a complete overkill for your analog data capture and display project. It sounds to me like an Arduino, with one of many 'intelligent' display options would be better suited.
by mmoller2k
Wed Jan 30, 2013 8:55 am
Forum: General discussion
Topic: bad experience
Replies: 4
Views: 1077

Re: bad experience

Agreed. RS still works just as well as ever with everything except the RPi. Somehow they managed to drop the whole Raspberry Pi distribution exercise on the floor. They've at least promised me a refund for the order placed in October and a replacement sometime in May...
by mmoller2k
Tue Jan 29, 2013 6:23 am
Forum: General discussion
Topic: RS and Allied Update #6
Replies: 324
Views: 54185

Re: RS and Allied Update #6

Thanks for explaining how the postal system works. I always wondered.
The problem is that RS decided to mail the parcel without tracking. There is no tracking number and no way to track the parcel. There is no way to find out where it was last seen. It is missing. Gone. Purloined. Re-appropriated.
by mmoller2k
Mon Jan 28, 2013 10:23 am
Forum: General discussion
Topic: RS and Allied Update #6
Replies: 324
Views: 54185

Re: RS and Allied Update #6

Can I file an order cancellation after I received a dispatch notice?
The Pis never arrived, and RS cannot tell me what happened to the parcel.
by mmoller2k
Mon Jan 28, 2013 7:56 am
Forum: General discussion
Topic: Waiting 25 weeks now - still no raspberry pi
Replies: 9
Views: 2553

Re: Waiting 25 weeks now - still no raspberry pi

I've always had really good service from RS. Over the years I've ordered everything from plumbing fittings to electronics from them, both for personal and business use, and never had any issues. For some reason they decided not to use their normal distribution channels for the Raspberry Pi, and that...
by mmoller2k
Thu Jan 24, 2013 7:49 am
Forum: General discussion
Topic: 21 Weeks Waiting for order from RS
Replies: 9
Views: 1666

Re: 21 Weeks Waiting for order from RS

I'm in South Africa too and I've only been waiting 15 weeks. Does that mean I'm too impatient?
My order was dispatched over 6 weeks ago and I'm still waiting. Should I wait some more or cancel the order? The only shipping that takes longer is by swimmer.
by mmoller2k
Tue Jan 22, 2013 10:19 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Ascii version :-) I was going to post this first, but didn't know I could mono-space the font. ______ _______ GPIO >----|__1K__|--+--|__10K__|----< +3V3 | | o | |=# o | | | GND >--------------+
by mmoller2k
Tue Jan 22, 2013 8:06 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

Like this:
gpio.png
gpio.png (9.16 KiB) Viewed 34553 times
by mmoller2k
Sun Jan 20, 2013 7:07 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

I'm using advmenu and advmame from PiMAME with no issues. Advmame is configured in /home/pi/.advance/advmame.rc
It contains a number of input_map lines. Mine are all set to 'auto'. Maybe you changed these to something else?
by mmoller2k
Sat Jan 19, 2013 6:10 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 64977

Re: Universal GPIO keyboard daemon

That's a good point. Don't configure pins in pikeyd.conf that you are not using. Floating inputs are never a good a idea. It is strange that you can get keys in the console which don't work in the application. I really have no idea what might cause that. Did you compile natively or use the cross-com...

Go to advanced search