Hot answers tagged

3

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 ...


2

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: import pygatt import time adapter = pygatt.GATTToolBackend() try: adapter.start() device = adapter.connect('C4:4F:33:16:58:37') while True: value = device.char_read( "...


2

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: ...


2

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 ~$ ...


2

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


1

Going by the options on this link Roblox is not available for the Pi. The corporate site states it’s only for PC, Mac, iOS, Android, Amazon Devices, Xbox One, Oculus Rift, and HTC Vive.


1

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 ...


1

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 ...


1

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. Installation 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 ...


1

Don't continually call the dutycycle function. You are probably resetting its function many times per second. Try something like ... import time ... if len(sys.argv) > 3: # converteer de waarde 255 tot max 100 voor PWM. roodwaarde = (int(sys.argv[1]) * 100) / 255 groenwaarde = (int(sys.argv[2]) * 100) / 255 blauwwaarde = (int(sys.argv[3]) * ...


1

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.


1

This is a little weird but happened to me: just verify that there is a wpa_supplicant.conf file in /etc/wpa_supplicant/, I had deleted it and it was causing the problem.


Only top voted, non community-wiki answers of a minimum length are eligible