Re: LIRC using with directly wiring the RPI3-1 (GPIO18) and (GPIO17) on RPI3-2.

Rajendra Panchal via LIRC-list <[email protected]> Wed, 1 Nov 2017 16:11:45 +0000 (UTC)
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
 >Can you drive the input pin on the receiving thing low? And high? Just >replacing a IR receiver, connected both to GND and Vcc with a wire does 
>not guarantee that. Possibly you can use pull-up or pull-down resistor?


You mean programmatically in python script, right? Or physical resister?
    On Wednesday, November 1, 2017, 10:30:22 AM CDT, Bengt Martensson <[email protected]> wrote:  
 
 On 11/01/17 15:48, Rajendra Panchal wrote:
> Hi All:
> 
>  >I would stop lircd on the receiving side, and use mode2 instead; command
>  >line
>  >    mode2 --driver=default
> 
> Screenshot 
> https://www.dropbox.com/s/mlmii82rpx9kcgl/5.Screenshot%20after%20rebooting%20RPI3-2%20and%20using%20mode2.png?dl=0
> shows nothing is received when running mode2 after reboot and killing lircd

It is not -driver=default, it is (as I wrote) --driver=default (two 
hyphens). (Unfortunately, the driver with the name "default" is not the 
default driver...) You can also use IrScrutinizer with  /dev/lirc0 as 
"capturing device".

>  >If that does not give any output, you likely have a hardware problem.
> 
> I don't think HW is a problem. 

Can you drive the input pin on the receiving thing low? And high? Just 
replacing a IR receiver, connected both to GND and Vcc with a wire does 
not guarantee that. Possibly you can use pull-up or pull-down resistor?

> Here are the screen shot of before & after:
> 
> 1.Screenshot using IR HW after a fresh reboot  : 
> https://www.dropbox.com/s/t7ocme1ygspyrgc/1.Screenshot%20using%20IR%20HW.png?dl=0
> 
> 2.Screenshot after IR HW bypassed:
> 
> (Simply removed GPIO18 of  RPI3-1 from the  IR TX,
> removed GPIO17 of RPI3-2  from the IR sensor and
> then directly connecting the GPIO18-RPI3-1----->GPIO17-RPI3-2.
> Other wires untouched)
> 
> https://www.dropbox.com/s/t7ocme1ygspyrgc/1.Screenshot%20using%20IR%20HW.png?dl=0

Appears identical??!!
> 
> 3.Screenshot of same as 2 above after reboot
> https://www.dropbox.com/s/kfthz6tck963k8f/3.Screenshot%20after%20reboot.png?dl=0

See above

> 4.Screenshot making sure modules are same on both the RPIs.
> https://www.dropbox.com/s/0cb7fh1k4h6e2b4/4.Screenshot%20making%20sure%20modules%20are%20same.png?dl=0

??? Covfefe?

Greetz,

Bengt

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot