Go to advanced search

by marktbaldridge
Thu Aug 08, 2013 8:31 pm
Forum: Python
Topic: SMBus communication with LCD Backlight
Replies: 2
Views: 721

Re: SMBus communication with LCD Backlight

But anyway, here's the datasheet for the dimmer chip. http://www.analog.com/static/imported-f ... DD5201.pdf
A register description is on page 14.
by marktbaldridge
Thu Aug 08, 2013 8:17 pm
Forum: Python
Topic: SMBus communication with LCD Backlight
Replies: 2
Views: 721

Re: SMBus communication with LCD Backlight

Dude... how did you get video from the Pi to this display? I have one, and it looks like a rather complicated interface! :D
by marktbaldridge
Tue Dec 04, 2012 2:23 am
Forum: Python
Topic: Run Pygame without Starting X?
Replies: 15
Views: 5963

Run Pygame without Starting X?

Hi, everyone!

Is it possible to run graphics direct from PyGame without having to start X and declare a full-screen window? Sort of like they used to do in the microcomputer days. :)

Thanks!

~Mark
by marktbaldridge
Wed Sep 19, 2012 12:42 pm
Forum: Automation, sensing and robotics
Topic: An IO expander library.
Replies: 0
Views: 794

An IO expander library.

Hello, all! If you were wanting to expand your GPIO to easily 112 pins, I've got a solution. :) The MCP23017 chip is really easy to use, and since it's i2C, and has three address pins, you can have up to seven chips on one bus. Furthermore, each chip has 16 GPIO pins on it. Thus, that's 112 GPIO pin...
by marktbaldridge
Tue Sep 18, 2012 1:15 pm
Forum: Beginners
Topic: Widescreen Composite?
Replies: 1
Views: 871

Widescreen Composite?

Hi all! I have a widescreen display that only accepts composite input. It can be set to streatch the picture to a 16:9 aspect ratio, or it can be set to just keep the 4:3, and then you have the black bars on both sides. My question is, is there a way to set the composite output on the RasPi to squis...
by marktbaldridge
Wed Sep 12, 2012 1:22 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi Alarm Clock
Replies: 1
Views: 1526

Raspberry Pi Alarm Clock

So, a few quick questions here: First off, I want to build an alarm clock. Now, I know that a cron job can do it, and all, but I'm thinking more low-level. For example, often smart phones have an alarm feature that allows the phone to wake from a sleep mode at a set time, and then play an mp3 or som...
by marktbaldridge
Tue Jul 17, 2012 12:06 pm
Forum: Other projects
Topic: Useful Screen, or Useless Garbage? RePicyling?
Replies: 10
Views: 3746

Re: Useful Screen, or Useless Garbage? RePicyling?

I took apart a DVD player once that didn't have a composite in, but the screen was a simple composite signal. If you have an osciliscope, hook it to your raspberry pi, get it tuned up to see NTSC signals, and then poke around on the header pins on your DVD player's main board that the LCD plugs into...
by marktbaldridge
Mon Jun 25, 2012 5:38 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

FeersumEndjinn wrote:Interestingly enough, this works perfectly fine on wheezy with mplayer - I'm not even using omxplayer?

Interesting. Are you running an X session? And are you sure you're getting hardware acceleration?
by marktbaldridge
Fri Jun 15, 2012 6:49 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Ok, i'm in ;) Let's do a repo (which one, hosted where ? on a pi ? :D). I already have a quick fix for the quality. Yay! It really should be hosted on a pi! :P A Pi Server. or should it be a Pi Waiter? ;) For now, let's fork yt on github. And what do you think about putting the youtube-dl script ri...
by marktbaldridge
Fri Jun 15, 2012 6:22 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Given that youtube -F allows to list the available formats for the video it would be useful to allow the user to choose the desired format (for decoding or for bandwith reasons) in the ncurses interface, but I'm good enough with python to do that ;) Hey! You want to make a little project out of thi...
by marktbaldridge
Tue Jun 12, 2012 7:18 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

I think what you see down there on the command bar is what you get. I have a feeling that it's going to be a while before we see flash on the RP, and in-browser html5 video will probably be a while too. So, aside from XBMC, this might be the only practical youtube interface. If yt is pretty much dea...
by marktbaldridge
Tue Jun 12, 2012 4:45 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Okay, yeah. Humm...

If you or somebody else figures it out, please be sure to share the fix. :)
by marktbaldridge
Tue Jun 12, 2012 4:26 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Not sure if that would matter...

To be honest, I'm a bit stumped right about now... :|

Can you give a full error dump?

And... does anybody else have any input for robotfunk?
by marktbaldridge
Tue Jun 12, 2012 4:07 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Hum... one other thing that might throw errors. When you have this bit: mplayer = subprocess.Popen( ['omxplayer', url.decode('UTF-8').strip()], stdout = subprocess.PIPE, stderr = subprocess.PIPE) Should that be tabbed over? (python stakes it's life on white-space) mplayer = subprocess.Popen( ['omxpl...
by marktbaldridge
Tue Jun 12, 2012 3:22 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Okay, after a bit of googling, I think it's actually a bug in the yt program itself. Evidently, the curs_set() changes the visibility of the console cursor. It seems that there's an incompatibility with that command and some terminals. Is this through SSH? or did you set the RP to use vt100 or somet...
by marktbaldridge
Tue Jun 12, 2012 2:41 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

When I run yt I get Traceback (most recent call last): File "/usr/local/bin/yt", line 9, in <module> load_entry_point('whitey==0.1', 'console_scripts', 'yt')() File "/usr/local/lib/python2.7/dist-packages/whitey-0.1-py2.7.egg/yt/__init__.py", line 16, in main ui.run() File "/usr/local/lib/python2.7...
by marktbaldridge
Tue Jun 12, 2012 2:24 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

I guess you can't edit. Oh well. :P
by marktbaldridge
Tue Jun 12, 2012 2:22 pm
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

Okay, yeah. I was using composite and analog when I did this hack. I've heard about having to pass that argument to omxplayer if you want sound over HDMI.

I'll edit the HOWTO.

Thanks for the tip!
by marktbaldridge
Tue Jun 12, 2012 12:54 am
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

Re: HOWTO: YouTube on the Raspberry Pi - sans X B-)

RussIT wrote:very cool just tried it on wheezy, are there play and stop/pause keys?
I think so.
Play/Pause = Space
Skip = Arrow keys
Quit = q

There's probably more, but that's the most basic stuff.
by marktbaldridge
Tue Jun 12, 2012 12:18 am
Forum: Media centres
Topic: HOWTO: YouTube on the Raspberry Pi - sans X B-)
Replies: 178
Views: 235642

HOWTO: YouTube on the Raspberry Pi - sans X B-)

So guys, this is my first Raspberry Pi howto, so as the saying goes, bear with me. :) I love the terminal. And to quote one guy on another forum (I don't remember where) "Chicks dig guys with terminals." B-) Also, the terminal is significantly more RP friendly than X (differ if you must, but I reall...
by marktbaldridge
Fri Jun 08, 2012 7:18 pm
Forum: Python
Topic: How do you "poll" the keyboard?
Replies: 23
Views: 8011

How do you "poll" the keyboard?

Well, my Raspberry Pi came!!! I feel sort of like I've joined an elite class of geeks. :P But (happily! :D ) that elite class is growing, and becoming less and less elite. :P I got it up and running, and first thing out of the box I felt like porting an old ASCII Apple II Basic game to Python. Sort ...
by marktbaldridge
Wed Mar 28, 2012 3:01 pm
Forum: Other projects
Topic: QEMU on Raspberry Pi? (Yo Dawg, I heard you like Raspberry Pi...)
Replies: 5
Views: 1458

Re: QEMU on Raspberry Pi? (Yo Dawg, I heard you like Raspberry Pi...)



This is the first thing I'm going to do once I get mine.

I'm really curious as to how well it'll run QEMU for example.
by marktbaldridge
Tue Feb 21, 2012 5:05 am
Forum: General discussion
Topic: A name for the RasPi Case
Replies: 16
Views: 4279

Re: A name for the RasPi Case

Hello everyone!

I have an idea for a name for the Raspberry Pi case when it's finally in production.

And it is... ::drumroll::

PiCrust!

Just an idea!

Go to advanced search