Skip to content

Commit df0bc65

Browse files
committed
updated info
1 parent a381857 commit df0bc65

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

learning.html

+16-13
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h5 class="mb-0">
6767
</div>
6868
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
6969
<div class="card-body">
70-
<p>This is the new guide which you can follow if you have a new Raspberry Pi with Raspbian installed.
70+
<p>This is the new guide which you can follow if you have a new Raspberry Pi with Raspbian / Raspberry Pi OS installed.
7171
It's really easy and the recommended way. Attach the IR-Receiver to the GPIO18 (PIN12) pin, to 3.3V (PIN1), if
7272
unreliable try 5V (PIN2), and any GND (e.g. PIN 14) The pin-out varies by IR-Receiver, read the documentation or
7373
datasheet of your receiver. Make sure to wire everything correctly as doing an error on this step might kill your Raspberry! The following image shows some examples of pin-outs.</p>
@@ -101,14 +101,14 @@ <h5 class="mb-0">
101101
<div class="alert alert-dark" role="alert">
102102
<samp>sudo nano /boot/config.txt </samp>
103103
</div>
104-
<p>Change...</p>
105-
<div class="alert alert-dark" role="alert">
106-
<samp>#dtoverlay=lirc-rpi</samp>
107-
</div>
108-
<p>to...</p>
104+
<p>Uncomment (remove #)</p>
109105
<div class="alert alert-dark" role="alert">
110-
<samp>dtoverlay=lirc-rpi</samp>
106+
<samp>#dtoverlay=lirc-rpi</samp><br><br>
107+
<p>On the latest Raspberry OS it is different: </p>
108+
<samp>#dtoverlay=gpio-ir,gpio_pin=17</samp><br>
109+
<samp>#dtoverlay=gpio-ir-tx,gpio_pin=18</samp>
111110
</div>
111+
112112
<p>Edit lirc default driver:</p>
113113
<div class="alert alert-dark" role="alert">
114114
<samp>sudo nano /etc/lirc/lirc_options.conf</samp>
@@ -121,29 +121,30 @@ <h5 class="mb-0">
121121
<div class="alert alert-dark" role="alert">
122122
<samp>driver = default</samp>
123123
</div>
124-
<p>Reboot Raspbian...</p>
124+
<p>Reboot...</p>
125125
<div class="alert alert-dark" role="alert">
126126
<samp>sudo reboot</samp>
127127
</div>
128-
<p>Disable and stop lirc daemon in order to free /dev/lirc0</p>
128+
<p>Disable and stop lirc daemon in order to free /dev/lirc0 (or lirc1)</p>
129129
<div class="alert alert-dark" role="alert">
130130
<samp>sudo systemctl disable lircd</samp><br>
131131
<samp>sudo systemctl stop lircd</samp>
132132
</div>
133133

134134
<p>Check if lirc is working by trying to receive data...</p>
135135
<div class="alert alert-dark" role="alert">
136-
<samp>mode2 -d /dev/lirc0</samp>
136+
<samp>mode2 -d /dev/lirc0 (or lirc1)</samp>
137137
</div>
138138
<p>
139139
Mode2 Usage: <a href="http://www.lirc.org/html/mode2.html" target="_blank">http://www.lirc.org/html/mode2.html</a>
140140
</p>
141141
<p>Create lirc config file (-f raw when first way fails)</p>
142142
<div class="alert alert-dark" role="alert">
143-
<samp>irrecord -n -d /dev/lirc0 </samp><br>
144-
<samp>irrecord -n -f -d /dev/lirc0 </samp><br>
143+
<samp>irrecord -n -d /dev/lirc0 (or lirc1) </samp><br>
144+
<samp>irrecord -n -f -d /dev/lirc0 (or lirc1) </samp><br>
145145
</div>
146146
<p>Now you can import the lirc file into irplus. Also send it to me via mail please to improve the database!</p>
147+
<p>Suggestion: You can also use <a href="https://github.com/bengtmartensson/IrScrutinizer/tags" target="_blank">IRScrutinizer by Bengt Martensson</a> to record the codes with a GUI and directly export to *.irplus format!</p>
147148

148149

149150
</div>
@@ -281,7 +282,9 @@ <h5 class="mb-0">
281282
</div>
282283
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordion">
283284
<div class="card-body">
284-
<p>Some Smartphones can record codes (HTC M7,M8,M9+, LG G3, G4). In that case you can use irplus to record the codes.
285+
<p>Some Smartphones can record codes (HTC M7,M8,M9+, LG G3, G4). In that case you can use irplus to record the codes.
286+
</p>
287+
<p>Additonal Note: LG phones can record, but only in a proprietary way. So the codes can't be shared to other devices. If you plan to share the codes you need to use HTC!
285288
</p>
286289
<div class="embed-responsive embed-responsive-16by9">
287290
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/yfIZSbl1Iqg?autoplay=0" allowfullscreen></iframe>

wifi.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</thead>
4545
<tbody>
4646
<tr>
47-
<td>Raspbian for Raspberry (Personal preference)</td>
47+
<td>Raspbian / Raspberry Pi OS for Raspberry (Personal preference)</td>
4848
</tr>
4949
<tr>
5050
<td>

0 commit comments

Comments
 (0)