Raspberry 3B for Flightradar24

Post Reply
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Raspberry 3B for Flightradar24

Post by admin »

Code: Select all

--------------------------------.
| oooooooooooooooooooo J8     +====
| 1ooooooooooooooooooo        | USB
|                             +====
|      Pi Model 3B  V1.2         |
|      +----+                 +====
| |D|  |SoC |                 | USB
| |S|  |    |                 +====
| |I|  +----+                    |
|                   |C|     +======
|                   |S|     |   Net
| pwr        |HDMI| |I||A|  +======
`-| |--------|    |----|V|-------'

Revision           : a02082
SoC                : BCM2837
RAM                : 1024Mb
Storage            : MicroSD
USB ports          : 4 (excluding power)
Ethernet ports     : 1
Wi-fi              : True
Bluetooth          : True
Camera ports (CSI) : 1
Display ports (DSI): 1

J8:
   3V3  (1) (2)  5V
 GPIO2  (3) (4)  5V
 GPIO3  (5) (6)  GND
 GPIO4  (7) (8)  GPIO14
   GND  (9) (10) GPIO15
GPIO17 (11) (12) GPIO18
GPIO27 (13) (14) GND
GPIO22 (15) (16) GPIO23
   3V3 (17) (18) GPIO24
GPIO10 (19) (20) GND
 GPIO9 (21) (22) GPIO25
GPIO11 (23) (24) GPIO8
   GND (25) (26) GPIO7
 GPIO0 (27) (28) GPIO1
 GPIO5 (29) (30) GND
 GPIO6 (31) (32) GPIO12
GPIO13 (33) (34) GND
GPIO19 (35) (36) GPIO16
GPIO26 (37) (38) GPIO20
   GND (39) (40) GPIO21

For further information, please refer to https://pinout.xyz/
This raspberry has a RTL-SDR receiver for Flightradar24, but lately it is not functioning the way it should:

Bought at: https://www.elektor.de/
No longer available.
Even not in kit: https://www.elektor.de/elektor-raspberr ... sdr-bundle

https://www.rtl-sdr.com/wp-content/uplo ... asheet.pdf

Device ID: 0bda:2838

Errors within dmesg:

Code: Select all

[117501.230009] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.5' successfully deinitialized and disconnected
[332120.644811] usb 1-1.5: USB disconnect, device number 9
[332120.957570] usb 1-1.5: new high-speed USB device number 10 using dwc_otg
[332121.099208] usb 1-1.5: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[332121.099224] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[332121.099234] usb 1-1.5: Product: RTL2838UHIDIR
[332121.099243] usb 1-1.5: Manufacturer: Realtek
[332121.099252] usb 1-1.5: SerialNumber: 00000001
[332121.106661] usb 1-1.5: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[332121.146442] dvb_usb_rtl28xxu: probe of 1-1.5:1.0 failed with error -71
[332121.156871] usb 1-1.5: USB disconnect, device number 10
[332121.467599] usb 1-1.5: new high-speed USB device number 11 using dwc_otg
[332121.608973] usb 1-1.5: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[332121.608990] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[332121.608996] usb 1-1.5: Product: RTL2838UHIDIR
[332121.609000] usb 1-1.5: Manufacturer: Realtek
[332121.609479] usb 1-1.5: can't set config #1, error -71
[332121.668779] usb 1-1.5: USB disconnect, device number 11
[332121.967659] usb 1-1.5: new high-speed USB device number 12 using dwc_otg
[332122.101719] usb 1-1.5: unable to read config index 0 descriptor/all
[332122.101729] usb 1-1.5: can't read configurations, error -71
[332122.417538] usb 1-1.5: new high-speed USB device number 13 using dwc_otg
[332122.549730] usb 1-1.5: unable to read config index 0 descriptor/start: -71
[332122.549740] usb 1-1.5: can't read configurations, error -71
[332122.549789] usb 1-1-port5: attempt power cycle
[332123.207577] usb 1-1.5: new high-speed USB device number 14 using dwc_otg
[332123.241834] usb 1-1.5: unable to read config index 0 descriptor/start: -71
[332123.241848] usb 1-1.5: can't read configurations, error -71
[332123.557577] usb 1-1.5: new high-speed USB device number 15 using dwc_otg
[332123.589709] usb 1-1.5: device descriptor read/all, error -71
[332123.589787] usb 1-1-port5: unable to enumerate USB device
[332123.937576] usb 1-1.5: new high-speed USB device number 16 using dwc_otg
[332124.069829] usb 1-1.5: unable to read config index 0 descriptor/start: -71
[332124.069844] usb 1-1.5: can't read configurations, error -71
[332124.387571] usb 1-1.5: new high-speed USB device number 17 using dwc_otg
[332124.518829] usb 1-1.5: device descriptor read/all, error -71
[332124.518913] usb 1-1-port5: attempt power cycle
[332125.177578] usb 1-1.5: new high-speed USB device number 18 using dwc_otg
[332125.209833] usb 1-1.5: device descriptor read/all, error -71
[332125.527599] usb 1-1.5: new high-speed USB device number 19 using dwc_otg
[332125.559331] usb 1-1.5: device descriptor read/8, error -71
[332125.707973] usb 1-1.5: device descriptor read/8, error -71
[332125.827645] usb 1-1-port5: unable to enumerate USB device
[332126.137574] usb 1-1.5: new high-speed USB device number 20 using dwc_otg
[332126.489826] usb 1-1.5: unable to read config index 0 descriptor/start: -71
[332126.489842] usb 1-1.5: can't read configurations, error -71
[332126.807578] usb 1-1.5: new high-speed USB device number 21 using dwc_otg
[332127.127579] usb 1-1.5: device descriptor read/64, error -71
[332127.787578] usb 1-1.5: device not accepting address 21, error -71
[332127.787671] usb 1-1-port5: attempt power cycle
[332128.447581] usb 1-1.5: new high-speed USB device number 22 using dwc_otg
[332128.477839] usb 1-1.5: device descriptor read/8, error -71
[332128.627889] usb 1-1.5: device descriptor read/8, error -71
[332129.067593] usb 1-1.5: new high-speed USB device number 23 using dwc_otg
[332129.507589] usb 1-1.5: device not accepting address 23, error -71
[332129.507692] usb 1-1-port5: unable to enumerate USB device
[332129.807592] usb 1-1.5: new high-speed USB device number 24 using dwc_otg
[332130.127588] usb 1-1.5: device descriptor read/64, error -71
[332130.567593] usb 1-1.5: device descriptor read/64, error -71
[332130.787585] usb 1-1.5: new high-speed USB device number 25 using dwc_otg
[332131.107586] usb 1-1.5: device descriptor read/64, error -71
[332131.547588] usb 1-1.5: device descriptor read/64, error -71
[332131.667678] usb 1-1-port5: attempt power cycle
[332132.327681] usb 1-1.5: new high-speed USB device number 26 using dwc_otg
[332132.359478] usb 1-1.5: device descriptor read/8, error -71
[332132.507886] usb 1-1.5: device descriptor read/8, error -71
[332132.947652] usb 1-1.5: new high-speed USB device number 27 using dwc_otg
[332132.990948] usb 1-1.5: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[332132.990958] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[332132.990963] usb 1-1.5: Product: RTL2838UHIDIR
[332132.990968] usb 1-1.5: Manufacturer: Realtek
[332132.990972] usb 1-1.5: SerialNumber: 00000001
[332132.998053] usb 1-1.5: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[332133.051901] usb 1-1.5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[332133.051927] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
[332133.056083] i2c i2c-3: Added multiplexed i2c bus 4
[332133.056093] rtl2832 3-0010: Realtek RTL2832 successfully attached
[332133.056132] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[332133.056255] r820t 4-001a: creating new instance
[332133.063095] r820t 4-001a: Rafael Micro r820t successfully identified
[332133.075929] Registered IR keymap rc-empty
[332133.076044] rc rc0: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0
[332133.076156] input: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0/input10
[332133.076376] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
[332133.076534] usb 1-1.5: dvb_usb_v2: schedule remote query interval to 200 msecs
[332133.088936] usb 1-1.5: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected
[332135.679562] r820t 4-001a: destroying instance
[332135.680804] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.5' successfully deinitialized and disconnected
[332140.680823] dvb_usb_rtl28xxu 1-1.5:1.0: chip type detection failed -71
[332140.680858] dvb_usb_rtl28xxu: probe of 1-1.5:1.0 failed with error -71
[332140.868807] usb 1-1.5: USB disconnect, device number 27
[332141.167607] usb 1-1.5: new high-speed USB device number 28 using dwc_otg
[332141.309253] usb 1-1.5: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[332141.309270] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[332141.309280] usb 1-1.5: Product: RTL2838UHIDIR
[332141.309289] usb 1-1.5: Manufacturer: Realtek
[332141.309298] usb 1-1.5: SerialNumber: 00000001
[332141.316694] usb 1-1.5: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[332141.370836] usb 1-1.5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[332141.370875] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
[332141.380045] i2c i2c-3: Added multiplexed i2c bus 4
[332141.380062] rtl2832 3-0010: Realtek RTL2832 successfully attached
[332141.380241] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[332141.381183] r820t 4-001a: creating new instance
[332141.388125] r820t 4-001a: Rafael Micro r820t successfully identified
[332141.400548] Registered IR keymap rc-empty
[332141.401317] rc rc0: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0
[332141.402343] input: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0/input11
[332141.403806] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
[332141.404007] usb 1-1.5: dvb_usb_v2: schedule remote query interval to 200 msecs
[332141.416295] usb 1-1.5: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected
[332145.846857] r820t 4-001a: destroying instance
[332145.849071] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.5' successfully deinitialized and disconnected
[332146.025537] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.025646] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.025750] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.025925] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.026028] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.026203] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.026303] usb 1-1.5: usbfs: usb_submit_urb returned -121
[332146.026407] usb 1-1.5: usbfs: usb_submit_urb returned -121

When working properly, lsusb shows:

Code: Select all

pi@DGPI3:~ $ lsusb -vv

Bus 001 Device 005: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x2838 RTL2838 DVB-T
  bcdDevice            1.00
  iManufacturer           1 Realtek
  iProduct                2 RTL2838UHIDIR
  iSerial                 3 00000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB2.0-Bulk&Iso
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)
As the receiver does get 'warm', we goingto test with A-meter in between usb connection.
Also have to measure the impedance of the home-made antenna.
Maybe use the rpi-fan also for receiver?
The fan does spin also on blink GPIO ;)

DG.
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Re: Raspberry 3B

Post by admin »

Found the Linux version on it's microSD (32GB) way behind:
Linux DGPI3 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
Now the RTL-SDR receiver takes about 250mA which is normal behavior.
The self-made antenna needs some adjustment, but for now testing to see if the receiver gets 'warm' again after 24 hours.
Have to make new OS version for this rpi and test again.

For the laser printer (rpi3B+) I have 1 microSD 32GB Linux Debian PREEMPT version (due to timing issues & http://linuxcnc.org/).
Which I keep apart, as the Rpi that drives the laser-printer is now working as RF-transceiver 4 indoor light on/off & doorbell with its own 32GB microSD.
Linux DGrpi2 5.15.84-v7+ #1613 SMP Thu Jan 5 11:59:48 GMT 2023 armv7l GNU/Linux
(DGrpi2 = most probably the old rpi2 SD card -BMC2835-, the rpi3B(+) however is BMC2837.)
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Re: Raspberry 3B for Flightradar24

Post by admin »

After over 150 days of working without issues it seems the Flightradar24 Raspberry is out of business.
Checked on xy-mon monitor, it has been down since yesterday around 1900h.

Onsite found that the original raspberry adapter (5V & 2,5A) has died.
As we have enough 5 Volt with 3 A adapters, we created a new one for the Flightradar24 Raspberry.

Also updated the Raspberry, as there were over 80 updates available.
Still need to upgrade to Debian OS, but that is done later.

For now: Linux RpiDG3B-FR24 6.1.21-v8+ #1642 SMP PREEMPT

DG.
Post Reply