Building a WIFI radio based on a Raspberry Pi
AMP is a TDA7492. It delivers 50 Watt. USB-Klinke Interface is: Sabrent USB Externe Soundkarte - C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Links:
https://de.aliexpress.com/item/32949282762.html?spm=a2g0s.9042311.0.0.26e74c4dSrLkVM
Oled 3.12"
Controller: SSD1322
OLED Pin | Name | Function | BCM Pin | Board Pin |
---|---|---|---|---|
1 | GND | Ground | GND | 6 |
2 | VCC | 3.3 V | VCC | 1 |
4 | D0 | Clock | 11 SCLK | 23 |
5 | D1 | MOSI | 10 MOSI | 19 |
15 | RST | Reset | 25 | 22 |
14 | DC | Data Common | 24 | 18 |
16 | CS | Chip Select | 8 CE0 | 24 |
Links:
IR code should get rewritten with more recent lib: https://github.com/adafruit/Adafruit_CircuitPython_IRRemote
VS1838B Pinout seen from front of sensor: | 1 | 2 | 3 |
---|---|---|---|
Data | GND | VCC (2.7 - 5 V) |
Data goes on GPIO18 (Board12, see /boot/config.txt)
When install of linux package lirc
fails do: sudo mv /etc/lirc/lirc_options.conf.dist /etc/lirc/lirc_options.conf
then install again
Config database: http://lirc-remotes.sourceforge.net/remotes-table.html
Add line to /boot/config.txt
: dtoverlay=gpio-ir,gpio_out_pin=17,gpio_in_pin=18,gpio_in_pull=up
Edit: /etc/lirc/lirc_options.conf
Set Driver to default
and device to /dev/lirc0
sudo nano /etc/lirc/lircrc
Example lircrc mapping for Philips AZ1565 is inside ir
directory.
Links: https://www.ebay.de/itm/Drehregler-Drehgeber-Rotary-Encoder-Arduino-KY-040-Potentiometer-Poti-Raspberry/252713917550 https://tutorials-raspberrypi.de/raspberry-pi-ky040-drehregler-lautstaerkeregler/
KY-040 digital encoder with push button. Coverered maybe by the original Sony plastic knob.
The knob should control the system audio, or the player audio, if the player takes the audio from the last player, when it's active.
CLK = Pin 29 DT = Pin 31 SW = Pin 33
Links: https://codingworld.io/project/rfid-grundlagen
Function | BCM Pin | Board Pin |
---|---|---|
RST | 16 | 36 |
IRQ | 26 | 37 |
MISO | 9 MISO | 21 |
MOSI | 10 MOSI | 19 |
SCK | 11 SCLK | 23 |
SDA | 7 CE1 | 26 |
Links: https://circuitdigest.com/microcontroller-projects/diy-raspberry-pi-bluetooth-speaker https://www.raspberrypi.org/forums/viewtopic.php?t=235519 https://www.raspberrypi.org/forums/viewtopic.php?t=164400
USB-Bluetooth interface: Sabrent Bluetooth-Adapter USB Bluetooth 4.0 - Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
When Error: Sap driver initialization failed appears
:
sudo nano /etc/systemd/system/bluetooth.target.wants/bluetooth.service
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap
sudo systemctl daemon-reload sudo service bluetooth restart
Both via I2C, outdoor Bosch BME680 on custom breakout. Indoor Bosch BME280 and standard breakout.
Links: https://hobbytischlerei.de/leistungen-hobbytischlerei.php
Final size will be 520 x 180 x 170
Links:
Input is Kaltgerätestecker at 230 V
Three powerdomains are needed: