New answers tagged

0

One advantage of VNC is that you do not need to open any ports in the firewall to control the Pi. A lot of companies are loathe for Pi boards to be installed on the LAN for this reason and often restrict access to the VNC cloud services because fo this (see NASA for why using a PI like this is a very bad idea). With the free version of VNC the only way ...


0

You could also set up the USB port for networking if you have a Mac or PC you can use - that would give you access via SSH to set up the Wifi using raspi-config. Many tutorials on the net - e.g. one from a random Google


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

Everything seems to to be all right. The only possibility I see so far is to login to the RasPi and analyze what's wrong with the WiFi connection. So you should purchase a keyboard/mouse. You can also use a simple USB cable to connect the RasPi to your Linux computer and use the OTG gadget connection. Then you can ssh into the raspi. You may also consider to ...


2

A few thoughts: Is you SSID hidden? If so, add scan_ssid=1 one a new line just after the SSID line Make sure the file has only line feeds at the end - no carriage returns You may have a keyboard / language issue. From memory the default until reset is UK English and any other characters used to generate the SSID or pass phrase can give issues. Spaces ...


0

Just be aware that low cost devices MAY have the same address hardwired in them... If in doubt - buy from reputable sellers (the temp readings are also more consistent I find).


1

The post you link explains pretty well, but it does not explain how they selected the 2K resistor. They do explain why, though. At the end of the question: Since the Raspberry Pi GPIO PINs work with 3.3V, I had to build a voltage divider to convert the 5V output of the sensor to 3.3V. Assuming the left-most resistor on the breadboard is 2K ohm and the ...


5

Each individual DS18B20 has its own unique ID # assigned at the factory. That device will have the same ID for its entire life and will never change. So if you unplug it from one host computer and plug into another, the ID will remain the same. As I recall from reading the spec. sheet for the device, the ID is stored in non-volatile bits in the device and ...


5

No, the device id does not change, it is hardwired into the DS18B20.


1

This looks like a mistake, or perhaps the part is no longer available. Note that other Raspberries have 10103594-0001LF from Amphenol: Micro USB 2.0 B Receptacle STD, SMT+DIP


1

The problem is that command line architecture flags change the behavior of the compiler, but they don't change the precompiled runtime support code that is linked in to every executable. So when you try to build armv6 binaries with a toolchain that is built for armv7, they don't work.


2

If you need to build static binaries without any dependencies, you can use the toolchains at https://musl.cc/. I've managed to successfully build (on WSL, Ubuntu 18.04) with this toolchain: https://more.musl.cc/9.2.1/x86_64-linux-musl/ with settings -march=armv6zk -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfpu=vfp


1

As Dougie has commented the ports are joined together. It is extremely inadvisable to connect the outputs of 2 switch mode power supplies together. The results are unpredictable. It is unlikely to damage the Pi and in the best case power will only be drawn from a single supply - the higher voltage causing the other to ramp down. Normal USB gadgets are ...


1

Very late reply, but I have done even more testing and found out more information. The RPi4 cannot be set up to be an ethernet gadget itself. Originally, I had a chain set up where the RPiZ was plugged into the RPi4, and the RPi4 was plugged into my laptop. The USB cables must be very good. A cable that successfully creates an ethernet gadget on my laptop ...


Top 50 recent answers are included