B4R Tutorials

u-blox ThingStream - Nina W106 - blog

Weather Station using MQTT, UDP and Thingspeak

This is my humble effort to produce a weather station (based on this project). You will need:

1 x Wemos D1 Mini
1 x BME280 Sensor
1 x TP4056 Li-Ion Charging board
1 x 3.7V Li-Ion Battery
1...
 
Last edited:

Use Rasberry Pi Pico with the Arduino IDE and thus with B4R

 

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

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

Last edited:

ESP32 Mesh example

ESP32 NOW Example (inline C)

Serial oscilloscope

Last edited:

SSD1306 Animated Image

Based on SSD1306 module, we can display animated images the same as displaying animated GIF on PC. The animated image is a byte array contains (n) number of frames(bitmap images) they all...
 

Attachments

  • bt_frames.zip
    793 bytes · Views: 326

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...
 

SSD1306 Module

I've been working with SSD1306 OLED for long time, in some projects I was in need to add some special fonts and add some graphics or icons like blue tooth symbols. I thought to put all these...
 

Attachments

  • SSD_module.zip
    24.5 KB · Views: 588
Last edited:

[Tool]LCD Display Designer

Tool to design LCD Display Layouts for 20x4 or 16x2 displays connected to Arduino, Raspberry Pi or other.

1613395535658.png

Screenshot application with generated B4R code and an Arduino UNO with...
 

Attachments

  • rLiquidCrystal_I2C-110.zip
    23.3 KB · Views: 503
  • lcddisplaydesigner.zip
    6.6 KB · Views: 501
Last edited:

PS4 F1 2020 Interfacing using ESP8266

1 - INTRODUCTION

Hi Guys,

My wife's eldest son is addicted to PS4 F1 2020 game, even bought himself a Rig for a Steering Wheel and Pedals.
He works alongside with me and on one of...
 
Last edited:

Controlling DSTV decoder from Android device via Nano and HC-05 bluetooth module

Just for the fun of it. Can now control my Digital Satellite TV decoder from anywhere in my house....
Nano connected to the HC-05 module
B4A app connects to the HC-05 and sends the B4A "button...
 

Attachments

  • b4aHC-05.zip
    31.2 KB · Views: 423
  • b4rHC05.zip
    2.9 KB · Views: 402

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...
 

MQTT Broker scalability

Here is an interesting article for MQTT Broker scalability:

 

Beginner's PCB Design Guide Using EasyEda

 

Check the solderings of a WeMos D1 Mini

When you buy a WeMos it doesn't come assembled with the pins soldered. You will have to solder the pins. In the following schematic and code you will find a way to check the solderings of GPIO...
 
Last edited:

Stepper Motor with swing and rotate

Here is some code to demonstrate using a single stepper motor, an Uno, the Adafruit Motor Shield and a three-way switch. The middle position of the switch is OFF. One side rotates the motor until...
 

Adafruit Motor Shield - Microstepping

This is not really a tutorial, just a small piece of information regarding the microstepping.

With respect to the library from Erel...
 
Top