Go to advanced search

by elmicha
Sat Feb 24, 2018 7:03 pm
Forum: Camera board
Topic: Toggling Waveshare LED boards
Replies: 2
Views: 414

Re: Toggling Waveshare LED boards

I guess the transistor "eats" 0.7V, and then the voltage is not enough for the IR LED with its circuit (LDR etc.). Maybe a MOSFET would work.
by elmicha
Fri Jan 12, 2018 9:40 pm
Forum: Troubleshooting
Topic: [Solved] WiFi on Pi3 killed after upgrade to Stretch
Replies: 6
Views: 4098

Re: [Solved] WiFi on Pi3 killed after upgrade to Stretch

Thank you, schallee!

I did have the latest version of firmware-brcm80211 installed, but wlan0 still didn't show up.

Code: Select all

sudo apt remove firmware-brcm80211
sudo apt install firmware-brcm80211
and it worked.
by elmicha
Tue Mar 17, 2015 7:45 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

XM381.com wrote: Pi 2 that fails: 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
That's too old. If you look at the "it works" messages above, it worked with the development kernel on Feb 18. You can install rpi-update and run it to get a development kernel.
by elmicha
Wed Feb 18, 2015 10:10 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

with ice cream wrote:Look at issue 827, it might be solved.
Yes, thank you, I can also confirm it works fine now after a "sudo rpi-update"!
by elmicha
Wed Feb 18, 2015 9:47 pm
Forum: Troubleshooting
Topic: RPI 2, LIRC -> Sending KEYS
Replies: 4
Views: 1292

Re: RPI 2, LIRC -> Sending KEYS

Ah yes, thank you, you are correct, now it works!

The output of "uname -a" now has "3.18.7-v7+ #756".
by elmicha
Wed Feb 18, 2015 8:34 pm
Forum: Troubleshooting
Topic: RPI 2, LIRC -> Sending KEYS
Replies: 4
Views: 1292

Re: RPI 2, LIRC -> Sending KEYS

You are not alone!

Here is another thread where a few people (including me) have the same problem: receiving works, sending does not. It worked on the RPi1, and it still works on the RPi1 with the latest kernel and the device tree.
by elmicha
Wed Feb 18, 2015 8:23 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

I got a little logic analyzer (Saleae) and looked at the output of an "irsend send_once ...", with the analyzer's input directly at the GPIO port and no LED. See these screenshots . The first image shows the output of the RPi1. It looks like it contains some information; the big "blocks" also contai...
by elmicha
Thu Feb 12, 2015 8:57 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

Thanks for testing, PhilE, but it seems to work here, too, if I use a blue LED and look at it. But the receiving devices don't see the IR LED. And "mode2" on another computer also doesn't see anything of "irsend send_start Eizo KEY_POWER" ("mode2" does show the pulses/spaces of the original remote)....
by elmicha
Mon Feb 09, 2015 9:05 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

I tried it with the new MicroSD card and a new Noobs/Raspbian install, and it didn't work. I also made sure that the LED gets about 20 mA when it's on (exported gpio17 and echoed "out" into direction and "1" into value), because there's a ULN2803A between the RPi's GPIO port and the LEDs. So now I'm...
by elmicha
Sun Feb 08, 2015 10:27 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

I installed current Noobs/Raspbian on an SD card for my RPi1, and it works (with dtoverlay=lirc-rpi, and with my lircd.conf and hardware.conf). So the new kernel 3.18 or the device tree are not the culprit. I'll get a new MicroSD card tomorrow and install a plain Raspbian on the RPi2. My current car...
by elmicha
Sun Feb 08, 2015 3:34 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

No, the directory is not empty: pi@rpi ~ $ ll /lib/modules/3.18.5+/kernel/drivers/media/rc/ insgesamt 336 drwxrwxr-x 3 root root 4096 Feb 5 19:40 . drwxrwxr-x 13 root root 4096 Feb 5 19:40 .. -rw-rw-r-- 1 root root 19398 Feb 5 19:40 ati_remote.ko -rw-rw-r-- 1 root root 9718 Feb 5 19:40 gpio-ir-recv....
by elmicha
Sun Feb 08, 2015 10:09 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 21575

Re: lirc-rpi on the RPi2

I have the same problem, apparently. The receiver works, but transmitting doesn't work. I wired a blue LED in parallel to the IR LEDs, and I can see it when I use irsend. I can also see the IR LEDs are working when I look at them with a phone camera. But the devices that should be remote controlled ...
by elmicha
Tue Nov 18, 2014 10:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Sharing my use of I2C GPIOs
Replies: 26
Views: 7101

Re: Sharing my use of I2C GPIOs

I think that someone should write modules for things like the MPC23017, MCP23S17, PCF8591,PCA9544. It might help the beginner with modest I2C based projects. It looks like somebody already has done it for the MCP23*, see https://www.kernel.org/doc/Documentation/devicetree/bindings/gpio/gpio-mcp23s0...
by elmicha
Sun Jun 01, 2014 6:05 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

However, after changing my LIRC configuration in /etc/modules, I'm still not seeing anything out of the LED when using the IRSEND commands. Is /etc/modules not the wrong file? Normally you would have a new file in /etc/modprobe.d and add an options line there, wouldn't you? You can see the effectiv...
by elmicha
Tue Feb 04, 2014 8:18 pm
Forum: Debian
Topic: Installing Nginx 1.4.x on Raspberry Pi
Replies: 7
Views: 9628

Re: Installing Nginx 1.4.x on Raspberry Pi

Although this thread is a bit old, I'll add how I compiled nginx-1.4.4 on Raspbian (in a chroot with qemu on my "big" PC, but that shouldn't matter here). I started with this guide and needed only minor changes: Only add the deb-src line to the apt sources, because there are no armhf binary packages...
by elmicha
Sun Feb 02, 2014 5:08 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

BCM, like the original.
by elmicha
Sun Feb 02, 2014 1:32 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

You can use the RPi Kernel Compilation Guide from the Wiki. Or see if the attached kernel module for 3.10.28+ works.
by elmicha
Fri Jan 17, 2014 5:36 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

yonubear wrote:is it possible to have say 2 it emitters on 2 GPO pins and send them seperate codes?
Yes, it's possible, search for "Bengt Martensson" in this thread. The last time I checked you still had to compile his version of the module on your own.
by elmicha
Mon Jan 06, 2014 11:18 pm
Forum: General discussion
Topic: Bluetooth GPIO control
Replies: 1
Views: 4917

Re: Bluetooth GPIO control

There is an example how to scan for a Bluetooth device that doesn't need to be discoverable. I tried it on the RPi and it takes less than a second to find if the device is there, and about 5 seconds if it's not there (or Bluetooth is turned off). Probably that time depends mostly on the Bluetooth d...
by elmicha
Sun Sep 29, 2013 10:41 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

AlmightyTech wrote:

Code: Select all

./configure \
--prefix=/usr \
--with-transmitter \
--with-driver=lirc_rpi \
--with-kerneldir=/user/src/linux
There's a typo in this line: it should be /usr/src/linux, not /user/...
by elmicha
Wed Sep 11, 2013 5:46 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

The set_transmitters is sticky: it keeps its value until you send the next set_transmitters, or until lircd is restarted.
by elmicha
Tue Sep 10, 2013 9:26 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

mba wrote:You don't happen to know if this will make it into the main repository or not?
Yes, Bengt and the original author, Aron, wrote about it, and hopefully Aron can integrate the enhancements (but it takes a bit time, of course).

Regards...
Michael
by elmicha
Sat Sep 07, 2013 9:08 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 158162

Re: LIRC GPIO driver for homebrew adapter

For the people who need multiple transmitters: Bengt Martensson enhanced the lirc_rpi module to support up to 8 transmitters. The source can be downloaded at http://harctoolbox.org/downloads/lirc_rpi.c . The module parameters changed a bit: it's now gpio_out_pins (plural) instead of gpio_out_pin. Yo...
by elmicha
Thu Jul 11, 2013 7:33 pm
Forum: Python
Topic: Tutorial: Elro remote power switch without root
Replies: 9
Views: 28734

Re: Tutorial: Elro remote power switch without root

Thank you for your great tutorial and the script! It works great with my Elro AB440 outlets.
by elmicha
Wed Jul 04, 2012 9:54 pm
Forum: Networking and servers
Topic: Bluetooth for control and wlan?!
Replies: 2
Views: 2390

Re: Bluetooth for control and wlan?!

If your phone supports the PAN/NAP or DUN Bluetooth profiles it might work. To see if your phone has PAN/NAP or DUN, make it discoverable and use: apt-get install bluez hcitool scan You should see a line of text with a "BD address" (some hex numbers) and the Bluetooth name of your phone. Now you can...

Go to advanced search