Страница 10 из 143

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 28 мар 2022, 18:39
Binns
Попробуйте установить другую версию платы ESP32 в менеджере плат

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 28 мар 2022, 22:56
IU4ALH
Hi Bernard Binn ... just now I have received the email to activate my account on this forum.
I have been following your beautiful work for some time in relation to sketch V_4.0 .... I renew my congratulations, which I had already given you on Youtube.
I had already added the complete FM - RDS services (station name - news and info - timetable) to your sketch, as you already know my dear friend Alex YO2LDK reported it to you in a previous post on this discussion, and now I learn that you have inserted it in your new sketch V_4.1, in a much, much more beautiful and functional way ..!
I think we are all looking forward to this new version of yours .... hurry up ..! We are waiting for you !!
Greetings Binn from IU4ALH Antonino

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 00:05
Binns
IU4ALH, Hi! Work on the firmware is proceeding as far as possible. I want to add more features, but now in the next version. Otherwise, the release of firmware 4.1 may be delayed. Soon, I will announce the release of the firmware.

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 08:36
yo2ldk
Binns писал(а):
29 мар 2022, 00:05
IU4ALH, Hi! Work on the firmware is proceeding as far as possible. I want to add more features, but now in the next version. Otherwise, the release of firmware 4.1 may be delayed. Soon, I will announce the release of the firmware.
Hello, Binns, can I suggest for screen saver, when radio is active, is good to have frequency in use; and when radio is off, it can be added on display an NTP radio clock (UTC maybe, or local time) ?

Код: Выделить всё

 
 //just for example..

#include <WiFi.h>
#include <NTPClient.h>
#include <WiFiUdp.h>

// Replace with your network credentials
const char* ssid     = "REPLACE_WITH_YOUR_SSID";
const char* password = "REPLACE_WITH_YOUR_PASSWORD";

// Define NTP Client to get time
WiFiUDP ntpUDP;
NTPClient timeClient(ntpUDP);

// Variables to save date and time
String formattedDate;
String dayStamp;
String timeStamp;

void setup() {
  // Initialize Serial Monitor
  Serial.begin(115200);
  Serial.print("Connecting to ");
  Serial.println(ssid);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  // Print local IP address and start web server
  Serial.println("");
  Serial.println("WiFi connected.");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

// Initialize a NTPClient to get time
  timeClient.begin();
  // Set offset time in seconds to adjust for your timezone, for example:
  // GMT +1 = 3600
  // GMT +8 = 28800
  // GMT -1 = -3600
  // GMT 0 = 0
  timeClient.setTimeOffset(3600);
}
void loop() {
  while(!timeClient.update()) {
    timeClient.forceUpdate();
  }
  // The formattedDate comes with the following format:
  // 2018-05-28T16:00:13Z
  // We need to extract date and time
  formattedDate = timeClient.getFormattedDate();
  Serial.println(formattedDate);

  // Extract date
  int splitT = formattedDate.indexOf("T");
  dayStamp = formattedDate.substring(0, splitT);
  Serial.print("DATE: ");
  Serial.println(dayStamp);
  // Extract time
  timeStamp = formattedDate.substring(splitT+1, formattedDate.length()-1);
  Serial.print("HOUR: ");
  Serial.println(timeStamp);
  delay(1000);
}

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 09:13
Binns
yo2ldk писал(а):
29 мар 2022, 08:36
and when radio is off, it can be added on display an NTP radio clock
I didn't understand what does it mean that the radio is off?

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 14:38
yo2ldk
a button / command ON /OFF for the Si473x, then display come into screen saver and show clock
(ESP32 KaRadio internet have that function)
but is not so important..

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 15:39
GenaRostov
Прошился прошивкой уважаемого Binns.Прошивка замечательная.Есть один вопрос,у меня почему то неправильно отображаются данные батареи(пин установлен правильный,35.В приемнике включил индикацию батареи).Причем заметил что хоть и значения напряжения неправильные,но по мере разряда они уменьшаются.Сделал фото экрана и на всякий случай платы.В чем может быть проблема? :(
IMG_20220329_152126.jpg
IMG_20220329_152203.jpg
IMG_20220329_145314.jpg
IMG_20220329_145350.jpg
IMG_20220329_160457.jpg

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 20:11
Binns
К сожалению не нашел на Ваших платах делителя напряжения. В Вашем случае, придется паять схему дополнительно, что бы отображался заряд батареи

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 20:54
GenaRostov
Binns писал(а):
29 мар 2022, 20:11
К сожалению не нашел на Ваших платах делителя напряжения. В Вашем случае, придется паять схему дополнительно, что бы отображался заряд батареи
Понятно.Жаль.Схема которую вы приводили ранее?К какому пину ее паять,25 или 35?

Прошивка Binns MOD для ATS-25 и подобных приемников на базе SI473X

Добавлено: 29 мар 2022, 21:07
IU4ALH
Binns писал(а):
29 мар 2022, 00:05
IU4ALH, Hi! Work on the firmware is proceeding as far as possible. I want to add more features, but now in the next version. Otherwise, the release of firmware 4.1 may be delayed. Soon, I will announce the release of the firmware.
Ok...Great..!! have you also foreseen the resolution for 4-inch screens? ...
as YO2ldk had previously suggested ....