Go to advanced search

by mba
Wed Jun 08, 2016 12:28 pm
Forum: Media centres
Topic: Amote - Android based universal remote
Replies: 10
Views: 13320

Re: Amote - Android based universal remote

Hi, From my old notes i did this: I added listen to: LIRCD_ARGS="--uinput --listen" in /etc/lirc/hardware.conf I don't know if this still holds true as it is more than a year since I tried it last time. Are you using the default port 8765 and have you checked that the port the port is open on your n...
by mba
Wed Feb 19, 2014 8:11 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 138491

Re: Controlling 433MHz RF outlets with Android devices

Looking for some help I have lirc installed and running but having some problems with the irexec deamon. When I run irexec at the command line irexec runs the lircrc as written. When started at the command line as a deamon the lircrc commands don't execute. I have done the lircrc file both in the/e...
by mba
Mon Feb 17, 2014 6:47 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 138491

Re: Controlling 433MHz RF outlets with Android devices

Hi very nice! How much range are You getting with those 433MHz TX&RX? Did You solder an antenna? Thank you! Best regards, Camillo I have succesfully tested it with a socket placed about 6-8m away through two closed doors. Its vital to have an antenna with the right length soldered to the transmitte...
by mba
Mon Feb 17, 2014 6:42 pm
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 138491

Re: Controlling 433MHz RF outlets with Android devices

Looking for some help I have lirc installed and running but having some problems with the irexec deamon. When I run irexec at the command line irexec runs the lircrc as written. When started at the command line as a deamon the lircrc commands don't execute. I have done the lircrc file both in the/e...
by mba
Mon Jan 20, 2014 11:39 am
Forum: General discussion
Topic: TellStick Tutorial
Replies: 6
Views: 1445

Re: TellStick Tutorial

The only thing you need to solder is the antenna cable to the small hole on the transmitter board. When connecting the board to your Raspberry Pi I would recommend using a set of female jumper cables. You can get them on ebay here . It would be a shame to solder something directly to the pins of the...
by mba
Mon Jan 20, 2014 10:53 am
Forum: General discussion
Topic: TellStick Tutorial
Replies: 6
Views: 1445

Re: TellStick Tutorial

The tutorial has instructions on how to connect it to your gpio pins. The module itself has very limited range <1m, but if you solder an antenna of 17.3cm to the hole labeled antenna on the transmitter I have no problem controlling an outlet in our bedroom from our Livingroom >8m through two closed ...
by mba
Mon Jan 20, 2014 9:46 am
Forum: General discussion
Topic: TellStick Tutorial
Replies: 6
Views: 1445

Re: TellStick Tutorial

Hi,

maybe you don't need a TellStick to achieve your goal? I Just succeeded in using a very cheap RF tranmistter <$2 from ebay to control some 433MHz RF outlets using rcswitch-pi. I wrote a small tutorial here.

Best regards
Martin
by mba
Sun Jan 19, 2014 9:58 am
Forum: Automation, sensing and robotics
Topic: Controlling 433MHz RF outlets with Android devices
Replies: 19
Views: 138491

Controlling 433MHz RF outlets with Android devices

Hi, This tutorial will show you how to control your lighting and other devices with some cheap 433MHz RF based power outlets. The setup uses wiringPi for accessing the necessary GPIO pin, rcswitch-pi for sending the commands out of the 433MHz module and LIRC for controlling the whole thing when it r...
by mba
Sat Jan 11, 2014 1:21 pm
Forum: Off topic discussion
Topic: IR emitters
Replies: 22
Views: 4086

Re: IR emitters

Hi Yonu, You need a driver to supply the IR leds with enough current and to prevent straining your GPIO pins ultimately frying your Pi. I have put a schematic for a very simple scalable driver on my website here http://www.datscharf.dk/amote/hardware/diy-transmitter/. Just increase the supply voltag...
by mba
Sun Dec 29, 2013 6:33 pm
Forum: Cases
Topic: Funky DIY case
Replies: 3
Views: 3809

Re: Funky DIY case

@Douglas6: Thanks! It was really fun making stuff with beads again, it must have been like 30 years since I did that last time. @DougieLawson: Great that you have picked up the challenge :-), but I think you are going to have a hard time locking the parts together, unless you just glue it together o...
by mba
Sun Dec 29, 2013 10:28 am
Forum: Cases
Topic: Funky DIY case
Replies: 3
Views: 3809

Funky DIY case

Hi all kids and crafsters :-), Spending the holidays with the kids playing with their new toys and otherwise enjoying spending time together I found myself creating fusible bead boards with my five year old son the other day. These versatile little plastic beads are great for improving motor skills ...
by mba
Sat Oct 26, 2013 6:33 am
Forum: Beginners
Topic: LIRC use IR-Remote in Shell
Replies: 1
Views: 4366

Re: LIRC use IR-Remote in Shell

Hi Thomas, that is very much possible :-) Using a builtin function of lirc it is possible to execute commands of your choice. First you need a lircrc file either in your home folder called .lircrc or in /etc/lirc/ called lircrc without the '.' Try with putting this into the file: begin prog = irexec...
by mba
Sun Oct 06, 2013 11:09 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

I don't think I can help you more than I already did. Either write your own raw command addition to lircd or look at the CCF patch from Bengt
by mba
Sun Oct 06, 2013 7:56 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

I am still not sure what you are after. Do you need to dynamically change the command you are sending based on the parameters and values listed in the excel sheet, making it impossible to create every command statically in lircd.conf? If so I guess theres no easy way other than implementing the raw ...
by mba
Sun Oct 06, 2013 7:24 am
Forum: Troubleshooting
Topic: LIRC: Sending IR commands
Replies: 6
Views: 4889

Re: LIRC: Sending IR commands

You specify which pins you use when loading the driver. Look in /etc/modules. In my modules I have the following line: lirc_rpi gpio_out_pin=17 gpio_in_pin=18 These numbers correspond to the gpio numbers on the pin header . Make sure you know which revision of the Raspberry Pi you are using because ...
by mba
Sat Oct 05, 2013 7:08 pm
Forum: Troubleshooting
Topic: LIRC: Sending IR commands
Replies: 6
Views: 4889

Re: LIRC: Sending IR commands

Hi, I don't like looks of that circuit you linked to. First of all there is no resistor on he base of the transistor possibly straining the output from the RPi too much. Secondly there is no current limiting resistor in the path of the IR leds possible frying the transistor and/or the LEDs. Take a l...
by mba
Fri Oct 04, 2013 10:01 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

I am a bit unsure why you need to send the command in raw format every time and why its not possible to store the raw commands your AC knows in your lircd.conf? Or maybe I don't understand what you are actually trying to achieve altogether.

Could you try to explain your project in more general terms?
by mba
Mon Sep 30, 2013 7:33 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Hi Mahendra, I just went through the installation myself. This is how you can compile and install lirc. 1. installed 2013-09-25-wheezy-raspbian.zip, expanded fs and enabled ssh 2. Edit modules and insert the following two lines at the end of the file. Replace gpio numbers with numbers that makes sen...
by mba
Sun Sep 29, 2013 7:03 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

What is the problem? Do you have any output from when lircd starts? Can you post your hardware.conf file. Have you setup lircd to start automatically? See my instructions around step 23. which describes how to make lircd start.
by mba
Sun Sep 29, 2013 2:17 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Hi Mahendra, I have been thinking about your goal. You want to send raw codes from irsend right? As you know irsend doesn't support raw codes from the commandline, you can put raw code sections in your lircd.conf file and use irsend to send these commands using the remote and key name but I guess yo...
by mba
Sat Sep 28, 2013 6:33 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Hi Mahendra, Try take a look at my original instructions here http://www.raspberrypi.org/phpBB3/viewtopic.php?p=146427#p146427 they might still work if you get the right kernel version. Ps. please don't contact me for help through personal messages, facebook, google+ and other places. Helping you he...
by mba
Thu Sep 26, 2013 7:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Infrared and irexec
Replies: 11
Views: 6003

Re: Infrared and irexec

Hi, irexec is part of the LIRC package. Did you install it by calling: sudo apt-get install lirc Using irexec you need to create an .lircrc file and place it in your home folder like ~/.lircrc. Or you can create a lircrc and put it in /etc/lirc/ You should take a look at the fileformat of lircrc her...
by mba
Wed Sep 11, 2013 11:31 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Great! :-)
Just a quick question: is the SET_TRANSMITTER sticky meaning for how long is a transmitter (or transmitters) selected? Only for the next command you send or is it selected until you issue another SET_TRANSMITTERS?
by mba
Sun Sep 08, 2013 10:15 am
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Hi elmicha, that sounds pretty cool, I am planning on using LIRC for both IR and RF controlling some 433MHz remote controlled power outlets. This way I can control which hardware gets which commands. Thanks for sharing this info. You don't happen to know if this will make it into the main repository...
by mba
Wed Sep 04, 2013 7:25 pm
Forum: Add-ons
Topic: LIRC GPIO driver for homebrew adapter
Replies: 236
Views: 156399

Re: LIRC GPIO driver for homebrew adapter

Hi, If you specify the path to the .ko's then they should load. On my system: sudo insmod lirc_dev.ko Error: could not load module lirc_dev.ko: No such file or directory sudo insmod /lib/modules/3.6.11+/kernel/drivers/media/rc/lirc_dev.ko Error: could not insert module /lib/modules/3.6.11+/kernel/dr...

Go to advanced search