Go to advanced search

by with ice cream
Mon May 25, 2015 8:29 pm
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 745
Views: 563249

Re: Kodi 15.0-beta Debian package for Raspbian on RPi 2

Thanks for publishing the bleeding edge version. I am afraid that for me as a user of Mediaportal it isn't working. The add-on isn't compatible (it gets disabled and the following message appears in the log: "PVR - Add-on 'MediaPortal PVR Client' is using an incompatible API version. XBMC minimum AP...
by with ice cream
Fri Mar 06, 2015 3:04 pm
Forum: General programming discussion
Topic: Seeking recommendations for code management
Replies: 0
Views: 399

Seeking recommendations for code management

I have six Raspberry Pis, some running 24/7, and some to experiment. I dabble in bash, Python, JavaScript, and some perl. Usually before every firmware update or bigger changes I create images (on Windows) of my SD cards. I think I have a lot of unused ballast and unused scripts in my old installati...
by with ice cream
Wed Mar 04, 2015 7:40 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

For those still following: I found the cause of the LED flickering. It is an (unwanted) feedback loop. I started a new topic here.
by with ice cream
Wed Mar 04, 2015 7:36 pm
Forum: Troubleshooting
Topic: Issues with LIRC sending/receiving
Replies: 0
Views: 544

Issues with LIRC sending/receiving

[This started in a different thread but I started a new topic since I found the source of the issue.] In my setup (RPI2 with 3.18.8-v7+ #764) an LED flashes once when an IR sequence is received . Now when I send a sequence it gets at the same time picked up by the receiver and the LED starts flashin...
by with ice cream
Wed Mar 04, 2015 7:32 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 936

Re: RPI2 and GPIO issues

I found the reason for the issue what I am observing. In my setup an LED flashes once when an IR sequence is received . Now when I send a sequence it gets at the same time picked up by the receiver and the LED starts flashing. It seems the sent sequence repeats several times which leads to multiple ...
by with ice cream
Tue Mar 03, 2015 9:35 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 936

Re: RPI2 and GPIO issues

I checked all connections, everything is as it should be. I checked with piscope what happenes when I send an IR sequence (through BCM pin 24). As is to be expected the same sequence appears on the pin where the IR receiver is connected (pin 18). The pin (13) where the flickering LED is connected do...
by with ice cream
Tue Mar 03, 2015 1:56 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 936

Re: RPI2 and GPIO issues

Thank you joan for the suggestion. Since the same setup didn't show this behavior when it was connected to a B+ I am not sure if a picture would help. When I ran into issues related to IR emitters it required a bug fix and now I am wondering if I am in a similar situation. I will try your piscope to...
by with ice cream
Tue Mar 03, 2015 12:46 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 936

RPI2 and GPIO issues [solved/explained]

I encounter strange GPIO behavior on my RPI2. I use a PIR module and activity is detected when there isn't actually any (quite annoying for a motion controlled light source). An LED flickers when a IR emitter (connected to a different pin, of course) sends out pulses. I already switched the LED pins...
by with ice cream
Sat Feb 28, 2015 10:56 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

To come back to the topic: sending works but I have this weird behavior that when I send a sequence with irsend an LED which is connected to totally different GPIO pin flickers for the duration of the sequence. I tried it with different pins and it still happens. How can this happen?
by with ice cream
Wed Feb 18, 2015 11:05 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

Just for completeness sake: yep, it is working again.
by with ice cream
Wed Feb 18, 2015 8:43 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

Thanks, elmicha, for the analysis. Look at issue 827, it might be solved. I am currently cloning my SD card and will report back.
by with ice cream
Fri Feb 13, 2015 8:33 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

OK. I can now confirm elmicha's observations. I hooked up a voltmeter and noticed very weak activity. A less demanding LED also showed a weak flicker. It might be the sluggishness of my cheap voltmeter but the flicker seems to be in the microvolt area. If I turn the pin on via command line I can see...
by with ice cream
Thu Feb 12, 2015 6:51 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

Thank you PhilE for your observations. I tried this in the past and just tried again without a test LED turning on.

/boot/options.txt:

Code: Select all

dtoverlay=lirc-rpi,gpio_out_pin=25,gpio_in_pin=18
Receiver on GPIO 1 (BCM 18) is working. "GPIO write 6 on" turns the LED on BCM pin 18 on. irsend does nothing.
by with ice cream
Thu Feb 12, 2015 1:22 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24474

Re: lirc-rpi on the RPi2

For me IR out is also failing. I tried it with the assumed default out pin and with specifically assigning another one.

Edit:

Code: Select all

$ uname -a
Linux berry 3.18.6-v7+ #753 SMP PREEMPT Sun Feb 8 14:53:56 GMT 2015 armv7l GNU/Linux
by with ice cream
Sun Feb 08, 2015 4:45 pm
Forum: General discussion
Topic: The Raspberry Pi 2 Q&A thread
Replies: 442
Views: 111150

Sudden freeze

I am experiencing sudden freezes (and there is no camera flashes that could cause this). There are no suspicious syslog entries. Firmware was second to current, updated on Friday, Feb. 6. I am updating now again as I type. Also, the screen (connected via HDSM-to-VGA adaptor) only has the proper reso...
by with ice cream
Fri Feb 06, 2015 3:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1319

Re: Possible timing issue (433 MHz transmitter, Pi2)?

with ice cream wrote:The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.
Roll-back was quicker than I thought. It is indeed working! Mille grazie, pattagghiu!
by with ice cream
Fri Feb 06, 2015 3:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1319

Re: Possible timing issue (433 MHz transmitter, Pi2)?

pattagghiu wrote:let us know :)
The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.
by with ice cream
Fri Feb 06, 2015 2:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1319

Re: Possible timing issue (433 MHz transmitter, Pi2)?

There's a usleep problem with pi2, it's described in the Q&A thread and it seems solved with last upgrade. Take a look there, maybe it's the source of your problem That makes sense, thank you for pointing this out. I am rpi-updating now and will see if it helps. The download is actually rather slow...
by with ice cream
Fri Feb 06, 2015 2:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1319

Re: Possible timing issue (433 MHz transmitter, Pi2)?

You might need to compile rcswitch against the new wiringPi library, but unfortunately that doesnt seem to work either on my end at least. I got it to compile and I know there is an actual transmission (I can see/hear it using my SDR setup), it is just not right. It seems to be stretched. I tried e...
by with ice cream
Fri Feb 06, 2015 11:00 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1319

Possible timing issue (433 MHz transmitter, Pi2)? [Solved]

I use a 433 MHz transmitter to control electric outlets. It worked quite well with the old kernel and a B+ (source: https://github.com/r10r/rcswitch-pi). Now I changed the model to a Pi 2 B and also updated everything (including Wiring Pi). It now seems as if I am running into a timing issue. When a...
by with ice cream
Fri Dec 12, 2014 4:02 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 826

Re: "Fridge door sound" - GPIO: ignore interference

Thank you for the help. I will observe if it helped and mark it as solved later.
by with ice cream
Fri Dec 12, 2014 3:58 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 826

Re: "Fridge door sound" - GPIO: ignore interference

Absolutely. This is more or less exactly what I did now: def edge(channel): if GPIO.input(REED): time.sleep(0.2) if GPIO.input(REED) == False: return p.stdin.write('\npausing_keep pause\n') pass else: time.sleep(0.2) if GPIO.input(REED): return p.stdin.write('\npausing_keep pause\n')
by with ice cream
Fri Dec 12, 2014 2:59 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 826

Re: "Fridge door sound" - GPIO: ignore interference

Gordon, thank you. That makes sense. Would it work if I added a short delay at the beginning of the if/else clauses and exit processing if the state was different?
by with ice cream
Fri Dec 12, 2014 2:46 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 826

"Fridge door sound" - GPIO: ignore interference

In my setup a sound is played when a reed switch at my fridge door is opened. For an instant reaction I start mplayer in slave mode and pause it. I resume playback when the switch is opened and pause playback again when the switch is closed. Regrettably there seems to be a (magnetic?) spike when the...
by with ice cream
Fri Sep 05, 2014 3:48 pm
Forum: Python
Topic: Web radio player, push info text to desktop?
Replies: 1
Views: 636

Web radio player, push info text to desktop?

I am currently struggling with displaying web radio info text (ICY Info) on the desktop. I have some stations that change the text during the stream and I would like to have a windows on the screen that gets updated as the stream text is updated. In the end the window should actually be without bord...

Go to advanced search