Close
0%
0%

Botje, Interactive Arduino R4 WiFi Companion

R4 WiFi collection of what I found on the net throwed together with some stuff from me in an interactive companion.

Similar projects worth following
147 views
0 followers
Botje, Interactive Arduino R4 WiFi Desktop Companion

Bill Gates way, so all programmers of Flappy, Snake, ... you recognize something from you, I don't deny it and I am grateful for your....
Story:

R4 WiFi collection of what I found on the net throwed together with some stuff from me in an interactive companion with the following skills :

Online and offline, blocked all internet applications when no WiFi network connection .

Funny animation & images .

Old scool retro sounds .

Fm Radio + Possibility of saving favorite frequency on Eeprom.

Time bound atmosphere mood 16x16 LED Matrix .

8x16 LED matrix RTC time animation

RTC Manual Time Configuration.

Animated R4 LED Matrix Face .(Sleeps from midnight to 8 am morning.)

Local measurements of temperature, humidity, pressure, air particles, UV index.

Online time/date & weather information .

50 questions Trivia, Snake & Flappy Game .

Online question, answer jokes .

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.

skynet.h

x-chdr - 12.29 kB - 09/21/2024 at 22:05

Download

over2.h

x-chdr - 12.42 kB - 09/21/2024 at 22:04

Download

over.h

x-chdr - 12.42 kB - 09/21/2024 at 22:03

Download

image9.h

x-chdr - 12.42 kB - 09/21/2024 at 22:03

Download

image8.h

x-chdr - 12.42 kB - 09/21/2024 at 22:03

Download

View all 29 files

  • 1 × Arduino UNO R4 WiFi
  • 1 × GUVA-S12SD
  • 1 × MQ-8
  • 1 × MQ-7 Electronic Components / Misc. Electronic Components
  • 1 × MQ-6

View all 29 components

View all 4 project logs

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates