It is easy to select the frequencies you want to use. wpa_supplicant knows an option freq_list. Just add this line to your /etc/wpa_supplicant/wpa_supplicant.conf:
freq_list=2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
Then your WiFi will only connect to this frequencies. For some more information and other frequencies you can look at ...
Use BLE (Bluetooth Low Energy) it's easy to use through pip's pygatt library on the RPi.
First pip3 install pygatt
Example of reading from the RPi shown below:
adapter = pygatt.GATTToolBackend()
device = adapter.connect('C4:4F:33:16:58:37')
value = device.char_read(
If you are using the full resolution and a high frame rate, it is very likely that the processor and/or memory is getting exhausted (depending on what kind of processing you are doing). So, yes, lowering the camera resolution may solve the problem.
You do not say what programming language you are using. In python you can change the resolution like this:
Which system log(s) do I check to see what the problem might be?
It is difficult to answer the question without knowing what operating system you are using. But most modern distributions use systemd, also Raspbian since version Jessie. So you may find the journal. Just have a look at it with:
rpi ~$ journalctl --pager-end
Or more detailed
rpi ~$ ...
Try this before running your access point :
sudo kill -9 $(pidof hostapd dnsmasq dhclient wpa_supplicant)
or before your commands try only
echo $(pidof hostapd dnsmasq dhclient wpa_supplicant)
for showing any already running process able to interfere.
The echo command must return nothing if all is good for starting your AP
Two ways I can think of:
First way does not need the Pendrive but is a bit of a clat:
I would set the Pi up to be an access point using WiFi Connect from Balena.
Then when you power on the Pi you can use anything to connect to its access point and give it the locations WiFi details. Just before you leave, reset the Pi to use the WiFi connect at the next ...
If i understand you correctly,
you can click on the raspberry Icon in the upper left of your screen.
a menu should drop down, move your mouse cursor down to "Preferances".
a screen should open to the right of your mouse cursor and you need to
re-position the cursor into this secondary menu.
in this secondary menu, move your cursor down until "Recommended ...
You can host an Angular web app by apache package. You need to export the project then copy data on the default path of apache.
Install the apache:
sudo apt-get install apache2
Enable/Start the service:
sudo systemctl start apache2
sudo systemctl enable apache2
Now, you can check the default page of apache by opening 127.0.0.1 or the ...
Don't continually call the dutycycle function. You are probably resetting its function many times per second.
Try something like
if len(sys.argv) > 3:
# converteer de waarde 255 tot max 100 voor PWM.
roodwaarde = (int(sys.argv) * 100) / 255
groenwaarde = (int(sys.argv) * 100) / 255
blauwwaarde = (int(sys.argv) * ...
Run shutdown command each 104h.
0 */104 * * * /sbin/shutdown
It will run the command every 104h.
When you turn it on, the counter is 0h.
Wait for 104 hours.
Then the counter gonna be 104h.
Finally, it will shutdown the raspberry pi.
After you turns the raspberry pi on, the counter would be 0h. Again will follow step 1 to 4.