B4R Tutorials

ESP8266 OTA updates


Maybe useful for somebody. It's not my tutorial!
 

Custom character creation for LCD

I just found this and it looks very promissing:

 

sub for Date Time adding

Hello;
I needed date time functions; And some write codes.
it is first sharing with B4R

use this variables for date &time
Public Time_HH As Int
Public Time_MM As Int
...
 
Last edited:

B4A, B4i, B4J and B4r API documentation - B4X Object Browser

AES256 encrypted BLE (ESP32 & B4A) example

I took Erel's BLE example and added (as on the ESP32 side) AES256 encryption. For some reasons I wasn't able to use SPIFFS and/or WiFi parallel to BLE on the ESP32 side. Maybe you find a...
 

Attachments

  • B4a-Provisioning.zip
    14.9 KB · Views: 217
  • B4R-Provisioning.zip
    3 KB · Views: 207

Beginner's PCB Design Guide Using EasyEda

 

MAX7219 7-Segment Driver

this is a very simple example shows how to drive 4-digits 7-segment display with MAX7219 and rLedControl library, this code example displays 'HoLA' word, you can add more digits and MAX7219...
 

Example of use of the joystick module

Looking in the tutorial section of B4R I noticed that there was no example of how to connect and use the joystick module. So here is an example
Wiki:
Joystick Module MH / pin

 green : GND
   Red ...
 

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

  • ESPNowTwoMaster.zip
    3.2 KB · Views: 379
  • B4JReceiver.zip
    4 KB · Views: 319
  • ESPNowTwoWaySlave.zip
    2.5 KB · Views: 351

SSD1306 Progress Bars

Based on SSD1306 module, we can implement horizontal and vertical progress bars. These bars could be drawn at X1-Y1 to X2-Y2 like drawing rectangles, also we need to pass the full scale...
 

Correct this misconseption - "Call B4R subs from InLine c code" - see post #2

Having had my work flow cut down in the middle by vicious "circumstances" I decided to let it all go and "go fishing" as mr. Miyaghi (Karate kid) would say. So I did some things I couldn't do...
 
Last edited:

DATE to Uint / Unit to Date Converter

I using this code, Because Board has a problem for records size capacity of epprom.
B4X:
'For date >> 2015/ 08 / 04 (y/m/d)
Log("Date number:",DateTime.DateToUint(15,8,4)))
'returned >>
'Date...
 
Last edited:

Big/Large Alphanumeric Characters(LCD1602)

The attached project comes from here. Used Inline C to create and display the big/large alphanumeric characters.

I am sure you will figure out how to make use of it (i.e calling and...
 

Attachments

  • b4rLargeAlphaNumeric.zip
    2 KB · Views: 389
Last edited:

Adafruit MPR121 capacitive Keypad

Hi All,

The attached zip files have the Arduino libraries and the B4R libraries together with a small B4R app showing how to use the Adafruit MPR121 capacitive touch 12 key keypad.

Big thanks to...
 

Attachments

  • rMPR121.zip
    1.2 KB · Views: 456
  • rMPR121-Libraries.zip
    4.6 KB · Views: 393
  • MPR121keypad.jpg
    MPR121keypad.jpg
    71.1 KB · Views: 605

MQTT Broker scalability

Here is an interesting article for MQTT Broker scalability:

 

Serial oscilloscope

Last edited:

Tutorial vs Creation : Clarification

Hi Guys

EREL is a very busy guy, and sometimes he prefers to give us some freedom on some emplacements for our Posts.

Since the advent of B4R many tutorials have been posted portraying the usage...
 

Pull up resistors and buttons

Understanding why you might need a pull up resistor...

Not exactly a tutorial from directly within this forum, but nevertheless I'm more than sure that this will help a few new B4R users...
 
Last edited:

Reading remote sensor data with B4J, Python and Node.js

Last edited:

RSA Encryption: Create keys, en-/decrypt, hash, sign/verify signature (clean code)

This example replaces my previous examples with cleaner inline C coding (I'm getting better :))using almost all variables from Globals. You can define the keysizes (eg. 2048 or 4096). It's fully...
 

Attachments

  • RSAOnly.zip
    3.4 KB · Views: 199
Top