B4R Tutorials

ESP32: detailed OTA/Update via WebServer from SPIFFS file system

Last edited:

ESP32: AES256 encrypted & Base64 encoded post message to and from PHP

Example:

- AES256 encrypt a message with IV and Salt
- Base64 encode it
- send a http post request to a php script
- decrypt in php
- send back a AES256 encrypted and Base64 encoded message to...
 

Attachments

  • httpaes256.zip
    3.2 KB · Views: 207

ESP32: AES-256 with IV (CBC, PKCSNoPadding) example via Inline C

Finally I got it working. Maybe the Inline C code is not that elegant :) I was too lazy to add a Salt (which I will update later). Hardest part (for me as I don't like C since the 90ies) was to...
 
Last edited:

ESP32 WITH LCD (20x4) Interface Using I2C

ESP32 WITH 20X4 LCD USING I2C:
#Region Project Attributes
    #AutoFlushLogs: True
    #CheckArrayBounds: True
    #StackBufferSize: 600
#End Region
'Ctrl+Click to open the C code folder...
 

Attachments

  • WhatsApp Image 2023-05-15 at 18.44.23.jpeg
    WhatsApp Image 2023-05-15 at 18.44.23.jpeg
    174.3 KB · Views: 261

ESP32 WITH LCD (16*2) WITH 4 LINE INTERFACE (WITHOUT I2C)

ESP32 WITH LCD (16X2) 4 LINES INTERFACE:
Sub Process_Globals
    Public Serial1 As Serial
    Private wifi As ESP8266WiFi
    Public mylcd As LiquidCrystal
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)...
 

Attachments

  • WhatsApp Image 2023-05-10 at 09.28.39.jpeg
    WhatsApp Image 2023-05-10 at 09.28.39.jpeg
    125.7 KB · Views: 207
  • WhatsApp Image 2023-05-10 at 09.31.55.jpeg
    WhatsApp Image 2023-05-10 at 09.31.55.jpeg
    176.2 KB · Views: 181

ESP32 Now with encryption, master and automatically added slaves

Here's an advanced ESP32 Now example. The Inlince C code is from several sources (see the inline remarks).

Note: Sometimes there are issues with the Wifi channel (WiFi and ESP Now must use the...
 

Attachments

  • B4JReceiver.zip
    4 KB · Views: 315
  • ESPNowTwoMaster.zip
    3.2 KB · Views: 373
  • ESPNowTwoWaySlave.zip
    2.5 KB · Views: 346

ESP32 NOW Example (inline C)

ESP32 Mesh example

ESP32 Camera Picture Capture and Video Streaming! (Updated with code!)

Hello!

Last December I made a request for support for the ESP32 Camera support. Well, I finally found the time to work on it myself and here's my initial attempt at implementing this with...
 
Last edited:

ESP32 - Fix uploading sketch error problem

Temporary solution:
After you start compiling and compiling log reachs uploading sketch stage, you should continuously press BOOT button on ESP32 board until uploading complete...
 

ESP Configurator based on B4RSerializator

SS-2017-07-09_16.48.51.png


This tool replaces the browser based solution...
 

Attachments

  • B4R_ESPConfigurator.zip
    2 KB · Views: 2,569
  • B4J_ESPConfigurator.zip
    46.1 KB · Views: 2,305
Last edited:

Erels B4R Oveview from Walt's B4xGoodies - created with B4xgoodies Explorer using BVAD3

Electronic components pinouts application

Hi everybody,

I found this application on Play Store and it is very useful for prototyping using components...
 

EEPROM Utility

Excuse my English, it's not my native language
I am not an arduino expert, I want to contribute with this code.

one of the main problems is to save information, one of this is in the EEPROM...
 

Attachments

  • uEEPROM_v1.2.zip
    3.5 KB · Views: 519
Last edited:

EasyEDA - PCB Design CAD

Hi everybody,

looking for free PCB design software I came accross the EasyEDA. It is one of the best I have seen since you get to design multilayered PCBs and see the designed PCB in 3d view...
 
Last edited:

E-Paper (probably suitable for battery powered projects)

Here is a nice tutorial by the guy in DronebotWorkshop. What surprised me (and I did not know that) is that with e-paper you only have power consumption while writing to it and no more. Even if...
 
Last edited:

Dronebot workshop - Seeeduino Xiao

Here is a very interesting video by the guy in Dronebot Workshop. This board seems amazing. I suppose since it is Arduino compatible it can also work with B4R with the exception of the commands...
 

DroneBot Workshop - A great dissection of the new Arduino IDE

 

Downloading a Web page with ESP8266

Last edited:

Digital Clock and Alarm without using a RTC

A digital clock and alarm without making use of a RTC. It uses:
Uno R3
LCD 1602 (to display the clock and the alarm)
Piezo Buzzer (to sound the preset alarm)
10K Pot (adjust the contrast of the...
 

Attachments

  • JHS_CLOCK.zip
    2.2 KB · Views: 766
Last edited:
Top