Go to advanced search

by Tenocticatl
Sat Nov 15, 2014 12:09 pm
Forum: Bare metal, Assembly language
Topic: native GBA games
Replies: 8
Views: 2881

Re: native GBA games

Thanks for the reply, this at least gives me new search terms to expand my knowledge with :D I think there's a lot of value in studying Nintendo's approach to handhelds. Using older, thoroughly understood hardware that is only just powerful enough to achieve the desired functionality is a lot like w...
by Tenocticatl
Fri Nov 14, 2014 7:02 pm
Forum: Bare metal, Assembly language
Topic: native GBA games
Replies: 8
Views: 2881

native GBA games

If this is the wrong place to bring this up, sorry!

The GameBoy Advance had an ARM CPU, an ARM7TDMI running the ARMv4 instruction set. Does that mean that the Pi could be made to run GBA roms without needing emulation?
by Tenocticatl
Tue Jun 25, 2013 8:42 pm
Forum: Media centres
Topic: XBMC OpenELEC and LCD HD44780 via GPIO
Replies: 108
Views: 81056

Re: XBMC OpenELEC and LCD HD44780 via GPIO

Bit late to the party. I was running RaspBMC, but openelec performs way better for me. I used the tutorial on Techfruit to get my LCD working on RaspBMC. Is there any word on using the methods outlined in this thread to get a 20x4 screen working in OpenElec (patch, compile etc.)? Someone mentioned o...
by Tenocticatl
Tue Jun 25, 2013 11:39 am
Forum: Beginners
Topic: SD card troubles
Replies: 13
Views: 1251

Re: SD card troubles

I could maybe try an old ATX supply for reference, but I don't really feel like hooking it up. I don't know if those things can stabilise their output with such a small load anyway.
by Tenocticatl
Tue Jun 25, 2013 11:26 am
Forum: Beginners
Topic: SD card troubles
Replies: 13
Views: 1251

Re: SD card troubles

Okay, wow. The lables indeed mean nothing. So I tested at the GPIO pins 2 and 9, I don't have convenient probes to get at the test points but it seemed to give the same result. The multimeter I used I know to be accurate, but the way I've got it hooked up might give lower-than-actual reads, so I'm j...
by Tenocticatl
Tue Jun 25, 2013 9:58 am
Forum: Beginners
Topic: SD card troubles
Replies: 13
Views: 1251

Re: SD card troubles

The supply is rated at 5V. It might go a little lower, but not that much I think. Besides, wouldn't the pi just switch off if the voltage dropped too much? I'll check anyway, thanks.
by Tenocticatl
Tue Jun 25, 2013 9:48 am
Forum: Beginners
Topic: SD card troubles
Replies: 13
Views: 1251

Re: SD card troubles

Power supply is a 3 amp one, so that shouldn't be the problem. I've been using the same supply for the other pi with no problems. Same goes for the hdmi, keyboard.
by Tenocticatl
Mon Jun 24, 2013 6:34 pm
Forum: Beginners
Topic: SD card troubles
Replies: 13
Views: 1251

SD card troubles

My roommate and I recently bought Pis (my second). Mine seems to be busted though; we have tried the following SD cards, installing the 25-5-2013 Raspbian Wheezy image (each several times, these results seem fairly consistent): SanDisk extreme pro cl. 10, 32 GB... image never makes it into the first...
by Tenocticatl
Sun Apr 14, 2013 4:16 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

I'm confused, ErikH. Did you do this already, or was it a suggestion I might try?

I've moved to using a teensy, a microcontroller that can emulate a USB keyboard. Works quite well, but it is extra hardware.
by Tenocticatl
Thu Jan 31, 2013 8:26 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

So that the python app will notify the xbmc script when a button is pressed, basically? Yeah that might be the way to go.
by Tenocticatl
Thu Jan 31, 2013 2:26 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

Looks like my problem has to do with what permissions xbmc has; it hasn't got root permission, which means it can't access the gpio. On the openelec forum, someone used this as a solution: I have one script called pwroff.py: import subprocess import xbmc xbmc.executebuiltin( "SetVolume(1,True)" ) xb...
by Tenocticatl
Fri Jan 25, 2013 10:53 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

Yeah, their forum hasn't been any help so far. Python version seems to be okay; all 2.x. I think the problem is that XBMC wants you to install additional Python modules in a specific folder (i.e., ~/.xbmc/scripts/python/Lib). If you install the RPi.GPIO module (with apt-get or 'python setup.py insta...
by Tenocticatl
Fri Jan 25, 2013 11:11 am
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

No, I'm not sure. I don't know about IDLE. There's very little info about what xbmc actually uses to do python, and there isn't anything I can do from within the XBMC gui except see what addons are installed. On their wiki, it says that its python interpreter is based on Python 2.4, which is definit...
by Tenocticatl
Fri Jan 25, 2013 12:37 am
Forum: Media centres
Topic: How to install raspi-config on rasbmc?
Replies: 1
Views: 2097

Re: How to install raspi-config on rasbmc?

You can install character sets from within XBMC settings, or in the command line the first time you run a command line or ssh shell in raspbmc. I tried to install raspi-config on raspbmc and it broke the system. It seemed like it created conflicts between different configuration apps.
by Tenocticatl
Fri Jan 25, 2013 12:29 am
Forum: Media centres
Topic: The Ultimate Raspbmc Performance Options?
Replies: 2
Views: 5130

Re: The Ultimate Raspbmc Performance Options?

Can't really help you with the NAS stuff, but I've been doing a little overclocking while having raspbmc on there. These are the highest settings I could get without stability issues or corrupting the SD card (16GB samsung class 10 BTW, YMMV) (my pi is a 512MB with samsung RAM, which some say is bet...
by Tenocticatl
Thu Jan 24, 2013 11:51 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

Thanks, good advice. The GPIO part works fine (from the ssh command line), like this: import RPi.GPIO as GPIO import time GPIO.setmode(BCM) GPIO.setup(22, GPIO.IN) while True: if ( GPIO.input(22) == False ) print("Button pressed") time.sleep(0.2); #so I don't have to keep it pressed for too long. Wa...
by Tenocticatl
Wed Jan 23, 2013 10:53 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

Re: turning gpio buttons into keys

Thanks for the replies, the info might be useful. I'm using raspbmc. XBMC has its own python interpreter as it turns out, and the whole system seems to be rather particular about how you add functionality. I'm still not entirely sure what is easier; trying to use the xbmc stuff, or trying to work ar...
by Tenocticatl
Sat Jan 12, 2013 3:18 pm
Forum: General discussion
Topic: What's the simple and safe way to do a "shutdown" button?
Replies: 60
Views: 65693

Re: What's the simple and safe way to do a "shutdown" button

I've been looking to do something similar; I want to use gpio buttons to navigate through raspbmc. Any ideas on how to do that?
by Tenocticatl
Fri Jan 11, 2013 11:24 pm
Forum: Python
Topic: turning gpio buttons into keys
Replies: 31
Views: 14208

turning gpio buttons into keys

Hello, I'm a complete newb to programming, and I think I've bitten off more than I can chew. I'm using my Pi as a media center, and I wanted to install some basic hardware controls on the casing. Now, from various tutorials I've gotten as far as this: #!/usr/bin/env python from time import sleep imp...

Go to advanced search