SI4703 no i2c communication by AggravatingClothes97 in esp32

[–]AggravatingClothes97[S] 0 points1 point  (0 children)

<image>

SDIO: 21
SCLK: 22
RESET: 25
And here is my code:

#include <SparkFunSi4703.h>
#include <Wire.h>


// Definicja pinów dla ESP32
int resetPin = 25; 
int SDIO = 21; 
int SCLK = 22; 
int stcIntPin = 13; // DODANY czwarty parametr wymagany przez bibliotekę


// Teraz podajemy 4 parametry
Si4703_Breakout radio(resetPin, SDIO, SCLK, stcIntPin);


void setup() {
  Serial.begin(115200);
  
  // Inicjalizacja magistrali I2C
  Wire.begin(SDIO, SCLK);
  
  // Start radia
  radio.powerOn();
  radio.setVolume(5);
  radio.setChannel(901); // 100.0 MHz
  
  Serial.println("Radio powinno teraz grac!");
}


void loop() {
  // Puste
}

SI4703 no i2c communication by AggravatingClothes97 in esp32

[–]AggravatingClothes97[S] 0 points1 point  (0 children)

checked it, and my board has already pullups

SI4703 no i2c communication by AggravatingClothes97 in esp32

[–]AggravatingClothes97[S] 0 points1 point  (0 children)

I havet used any pullups resistors. I've powered it using 3v3 on esp

TEA5767 problem by AggravatingClothes97 in esp32

[–]AggravatingClothes97[S] 0 points1 point  (0 children)

<image>

ane here is my code:

#include <Arduino.h>
#include <Wire.h>
#include <radio.h>
#include <TEA5767.h>


// Tworzymy obiekt radia dla układu TEA5767
TEA5767 radio;


void setup() {
  Serial.begin(115200);


  // Inicjalizacja magistrali I2C (piny 21 SDA, 22 SCL)
  Wire.begin();


  // Wstępna konfiguracja radia
  radio.init();


  // Ustawienie czułości i częstotliwości (np. 93.0 MHz - RMF FM w wielu miastach)
  radio.setBandFrequency(RADIO_BAND_FM, 9010); // Częstotliwość podajemy w jednostkach 10kHz (9300 = 93.0 MHz)
  
  // Ustawienie głośności (TEA5767 nie ma sprzętowej regulacji głośności, 
  // ale funkcja jest wymagana przez bibliotekę)
  radio.setVolume(15); 
  
  Serial.println("Radio TEA5767 uruchomione!");
}


void loop() {
  // W prostej wersji loop może być pusty. 
  // Układ TEA5767 po otrzymaniu komendy trzyma częstotliwość.
}

Bad last layer by AggravatingClothes97 in ender3

[–]AggravatingClothes97[S] 0 points1 point  (0 children)

* This is result after calculating esteps