Go to advanced search

by SFR75
Tue Sep 13, 2016 9:21 am
Forum: Graphics, sound and multimedia
Topic: audio question: connecting old touchphone to raspberry
Replies: 3
Views: 620

Re: audio question: connecting old touchphone to raspberry

Do you mean "aplay" instead of "aplayer" ? What format is the wav file in ? I have a feeling you might need to set correct format with aplay. yes, it's aplay... and changing format doesn't change the sound quality. I spent some time reading internet on the subject, and it seems that the problem is ...
by SFR75
Mon Sep 12, 2016 1:36 pm
Forum: Graphics, sound and multimedia
Topic: audio question: connecting old touchphone to raspberry
Replies: 3
Views: 620

audio question: connecting old touchphone to raspberry

Hello, I'm building an art installation and I connect an old touchphone to raspberry. Everything works fine - I can detect reciever being picked up, put down and keypad pressed and releases signals. My server is written in C++ and for audio playback I use 'aplay' (ALSA) that I run, fork and kill. Fo...
by SFR75
Tue Apr 12, 2016 10:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Connect 10 buttons. How ?
Replies: 6
Views: 1303

Re: Connect 10 buttons. How ?

Ah! Very nice - thanks.

So I just need MCP23017 and that's it....
by SFR75
Tue Apr 12, 2016 9:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Connect 10 buttons. How ?
Replies: 6
Views: 1303

Connect 10 buttons. How ?

Hello, I have an old touchphone with keys 0 to 10, which I need to connect to raspberry at certain distance. So it's as if there are 10 pushbuttons. However I don't want to use a 10-wire cable, but would rather use 4 (or 2.. serial?) I wonder what kind of circuit can combile 10 bits and pack them in...
by SFR75
Mon May 04, 2015 4:32 pm
Forum: General discussion
Topic: proper shutdown / wakeup with SINGLE button
Replies: 8
Views: 2884

Re: proper shutdown / wakeup with SINGLE button

thanks
I found that as well, but it's a bit beyong my level of knowledge ... ;-)
by SFR75
Mon May 04, 2015 4:31 pm
Forum: General discussion
Topic: proper shutdown / wakeup with SINGLE button
Replies: 8
Views: 2884

Re: proper shutdown / wakeup with SINGLE button

Jednorozec wrote:How about using a relay that's controlled by your script to change what the button is connected to.
yep.. good idea.. but I wondered if I can get away with no new components (other than the button itself)
by SFR75
Mon May 04, 2015 4:30 pm
Forum: General discussion
Topic: proper shutdown / wakeup with SINGLE button
Replies: 8
Views: 2884

Re: proper shutdown / wakeup with SINGLE button

ame wrote:This any good?
viewtopic.php?p=733677#p733677
Looks very interesting! pretty much exactly what I was looking for.. it's strange though, that it works
to wake up the RPI.. I wonder why it works...
by SFR75
Mon May 04, 2015 12:37 am
Forum: General discussion
Topic: proper shutdown / wakeup with SINGLE button
Replies: 8
Views: 2884

proper shutdown / wakeup with SINGLE button

Hello, I've been searching internet for hours trying to find out if it's possible or not to use a single pushbutton make raspberry - go to halt (using shutdown command) if it's running - wake up and boot if it's in halted state I can shutdown the system using button connected to GPIO (for example 9)...
by SFR75
Mon Jan 26, 2015 1:03 pm
Forum: Graphics programming
Topic: processing alpha channel at descent framerate
Replies: 1
Views: 1245

processing alpha channel at descent framerate

Hello ! I'm working on a real-time project, where I need to progressively build up an image from frames of video, that are played on the screen. There is a set of pre-calculated video sequences of simple or 3d objects moving across the screen. Video sequences are about 20 seconds long and are in 160...
by SFR75
Mon Mar 17, 2014 9:16 am
Forum: C/C++
Topic: SOS : reading serial data
Replies: 3
Views: 1008

Re: SOS : reading serial data

Hello,

Thanks for a good lead! I compared stty settings before and after running minicom.
Indeed my program is not setting port the same way.
So as an intermediate solution (which works!) I just set parameters in shell script
before running my program.

Thanks you again!
M.
by SFR75
Mon Mar 17, 2014 12:30 am
Forum: C/C++
Topic: SOS : reading serial data
Replies: 3
Views: 1008

SOS : reading serial data

Hello, I have a device connected to USB, which emulates serial port. Device recieves some wireless data and sends into formatted packets. Everything seems to be fine. Device appears as /dev/ttyUSB0. However when I read data from serial port using my program - I get some unaligned garbage.... BUT... ...
by SFR75
Thu Feb 20, 2014 2:13 am
Forum: Graphics programming
Topic: interactive omxplayer - many attempts, anyone done ?
Replies: 6
Views: 4709

done

So I answer myself here. After a week of work and playing with omxplayer code I finally have an interactive solution. 1) Fixed a bug with fastforward/rewind. Now it goes back and forth without any delay and black screen. 2) Added new ability to play any time segment of videostream and it goes to pau...
by SFR75
Fri Feb 14, 2014 4:24 pm
Forum: Graphics programming
Topic: interactive omxplayer - many attempts, anyone done ?
Replies: 6
Views: 4709

interactive omxplayer - many attempts, anyone done ?

Hello, Like many others I'm building an interactive installation using Rapsberry PI. I see many posts where people try to use omxplayer and write some sort of wrapper around it, but has anyone actually finished writing it ? I need to load videos based on user input. Basically I need to control omxpl...
by SFR75
Thu Dec 19, 2013 10:10 pm
Forum: General discussion
Topic: Can Raspberry PI can do that ?
Replies: 3
Views: 1130

Re: Can Raspberry PI can do that ?

up! anyone ?
by SFR75
Tue Dec 17, 2013 6:07 pm
Forum: General discussion
Topic: Can Raspberry PI can do that ?
Replies: 3
Views: 1130

Can Raspberry PI can do that ?

Hello, I'm looking to upgrade my art installation, which currently uses PC running WindowsXP. I wonder if I can use Rapberry PI to do the same job. Currently I have the following confugration: A small USB dongle, which recieves wireless data is connected to the PC using virtual com port. Based on re...

Go to advanced search