Not completely, still small problems such as irritating noise on FM module sound output when other I2C equipment is used when radio is on.
Sweet open source programmers you can be useful here to solve this problem, all help is welcome .
WiFi Connection ;
Change .
char ssid[] = "--------";
char pass[] = "--------";
For correct time, change time zone :
Change .
timeClient.setTimeOffset(7200);
You can also change the NTP server in this line :
NTPClient timeClient(ntpUDP, "be.pool.ntp.org");
Forecast coordinates :
Change latitude, longitude in (First check on open-meteo coordinates .) .
client.println("GET /v1/forecast?latitude=50.6337&longitude=5.5675¤t=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,rain,showers,snowfall,weather_code,cloud_cover,pressure_msl,surface_pressure,wind_speed_10m,wind_direction_10m,wind_gusts_10m&timezone=Europe%2FBerlin&forecast_days=1 HTTP/1.1");
Name city of forecast chosen coordinates, (4 times to change) :
Change .
u8g2.print("-Liege-");
English version of jokes :
Change .
clientssl.println("GET /joke/Any?lang=fr&format=xml&type=twopart HTTP/1.1");
To .
clientssl.println("GET /joke/Any?lang=en&format=xml&type=twopart HTTP/1.1");
install libraries :
U8g2lib.h, Wire.h, WiFiS3.h, WiFiSSLClient.h, IPAddress.h, ArduinoJson.h, assert.h,
ArduinoGraphics.h, Arduino_LED_Matrix.h, FastLED.h, NTPClient.h, WiFiUdp.h,
RTC.h, Adafruit_BMP085_U.h, Adafruit_Sensor.h, MQSpaceData.h, DHT.h, TEA5767.h .
TEA5767 libraries :
https://github.com/big12boy/TEA5767/tree/master
All files in one compressed version(zip, 29 items) .
Latest update :
20/09/2024
https://drive.google.com/file/d/1S__Qmd_y47v3lb4cqiBwSW4AUmgg2gyx/view
Last update is again a major update with many changes.
System now runs mainly on RTC clock and when network, sync every 30 minutes the RTC with pool.
Offline, RTC is used and you can change this RTC time manually.
All internet applications: jokes, open-meteo and internet date/time are offline blocked.
Fm Radio Module start arduino setup the frequency that is stored on the Eeprom and puts Fm Radio Module in muted mode .
To get out of this muted mode, you just have to select the FM Radio in button Menu.
All games are now together in a vertical menu that is called up with Joystick Button.
Joystick Button is also used for selection in games menu and games.
Joystick Button is also used to rise flappy in play.
Other buttons (From left to right) :
Button 1: Fm Radio and humidity.
Button 2: UV index and air pressure.
Button 3: Air Quality and Open-Meteo.com .
Button 4: Internet date/time and manual RTC set .
.Selected button is also used in menu to perform menu selection.
MQ sensors menu is vertical, use joystick up/down to choose the right sensor that is plugged in.
Manual RTC setting buttons:
Button 4;Selection hour, minutes, seconds.
Button 1: Change value of hour, minutes or set the seconds to zero.
Button 2: Saving set time on RTC.
Button 3: Leave manual time settings without saving on RTC.
Fm Radio settings buttons :
Button 1: 0.1 Frequency lower.
Button 2: 1.0 frequency lower.
Button 3: 0.1 Frequency higher.
(The Frequincy in settings automatically jump from 88.0 to 108.0 and vice versa.)
Button 4: Put FM Radio Module in muted mode and goes out FM Radio Settings.
Joystick to the left + Joystick button: goes out FM Radio Settings and writes chosen Frequency on the Eeprom.
Joystick to the right + Joystick button: goes out FM Radio Settings.