New answers tagged

0

There is a lot ill-informed opinion about Pi. See Raspberry Pi Power Limitations. This has links to Typical Power Requirements which shows Typical bare-board active current consumption 150mA. If you are using WiFi it will certainly be more, but a stand alone (i.e. no peripherals) Pi Zero W should run on 500mA. Whether your Fritz!Box can supply this is ...


2

Did you try display_hdmi_rotate=2 ? put it in config.txt


0

Although I haven't tried it, this should work, since CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y is in the default kernel config, at least for the 64-bit 5.10.52 I checked.1 Another clue would be the existence of /sys/class/graphics/fbcon/rotate and rotate_all, which is how the rotation can be changed -- eg. from sudo bash (because sudo does not apply to a ...


2

I have tested the Python code you posted in your question on my system and it also didn't work. Looking at it more closely, and running some experiments, I noticed that you were not making the server discoverable so I added the following lines to make it discoverable if it was not already: adapter = dbus.Interface(bus.get_object('org.bluez', ...


1

This answer only relates to the UUID question in the comments. See section 5.1 in https://github.com/petzval/btferret documentation for a discussion of serial UUIDs. The specification of a service as a serial RFCOMM channel is in the aid=0004 SDP entry rather than the UUID, so any number can be used as the UUID. However, by convention serial services have ...


0

I am continually amazed by the things people put into /etc/network/interfaces. It hasn't been used by Raspberry Pi OS for 7 years, and what you have would not have been correct even then! Your /etc/network/interfaces will disable the default dhcpcd networking. Either delete your changes or just delete /etc/network/interfaces (which by default does NOTHING). ...


3

I am assuming it is a Serial Port Profile (SPP) connection that you are trying to establish between the two machines. The Linux Bluetooth stack uses BlueZ which has an API for setting up classic Profiles such as SPP. This is documented at: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/profile-api.txt This has the option to set ...


0

It is solved now. The issue was that the step-up converter was unable to provide enough current. So I used another device for powering it and it works. Peace!


1

Try checking /sys/class/udc/<udc>/state: Indicates current state of the USB Device Controller. Valid states are: 'not-attached', 'attached', 'powered', 'reconnecting', 'unauthenticated', 'default', 'addressed', 'configured', and 'suspended'; however not all USB Device Controllers support reporting all states. Apparently, this only changes to ...


1

This should work: simulate this circuit – Schematic created using CircuitLab The value of R1 is X Ohms. The value of X depends on the input voltage you use, and may be calculated as follows: R1 = ( Vin - 3.3 ) / 10 mA For example: if Vin = 6V: R1 = ( 6 - 3.3 ) / .01A = 270 Ohms; or if you want to use 5mA for the Zener current: R1 = ( 6 - 3.3 ) / .005 ...


Top 50 recent answers are included