B4R Tutorials

Internal Thermometer and Hall Effect Sensor of ESP32

Here I share some examples of how to use the thermometer and the Hall effect sensor in an ESP32. I hope and it will be useful
 

Attachments

  • ESP32internalHall.zip
    868 bytes · Views: 507
  • Temperature.zip
    977 bytes · Views: 499

Getting local date & time (easy and free)

I saw a post or two about how to get the local date & time with no easy answers. I need this myself for my first Arduino project so I had a look around and found a free API that does just this...
 

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: 516
Last edited:

Using a Wemos D1 R2 and stepper motor - control over wifi

This may be of interest to someone. I am using a Wemos D1 R2 in AP mode to serve a webpage to a client. The Wemos creates a server called "Wemos_Server" using the IP 192.168.4.1.

When the browser...
 

Connecting two ESP8266 boards

In this example one of the boards acts as an access point and a server and the other board connects to the server wifi network and to the server socket.

Note that for the client to be able to...
 

Simple example of how to have a TCP Server and make HTTP Client calls in same project

I thought I'd share this super simple example of creating a TCP Server and making very simple HTTP Client calls in same project. Typically most projects do one or the other and not both. Here...
 

ESP8266 OTA updates


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

Control servo and relays using Nextion lcd display

I'm new in b4r but thanks to the help of the forum i made some progress.
So i decided to share my project with all, especialy the newbies like me.
My project is a simple example on how to control...
 

Attachments

  • Nextion.zip
    417 KB · Views: 965

Some code to write into and read from EEPROM on ESP8266

Hi,

My first tutorial.

I've been playing with code to do what the title says and I have come up with this.

It should be self explanatory.

It relies on the use of B4Rserializator.

B4X:
...
 

OLED displaying data from a USB to Serial com port using AsyncStreams - B4R, B4J and VB.Net

Here is a really simple tutorial with source code on how to send data through a computer com port or laptop USB to Serial com port to receive data on your Arduino based microcontroller board. I...
 
Last edited:

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,562
  • B4J_ESPConfigurator.zip
    46.1 KB · Views: 2,298
Last edited:

Http requests with GSM shield

This example shows how to send http requests with a GSM shield. I've tested it on a shield with SIM900 module. This can be very interesting for outdoor IoT solutions where there is no local...
 

Attachments

  • GSMPushMessages.zip
    3.3 KB · Views: 1,223
Last edited:

Big-endian and Little-endian

I didn't know what was the difference was between Big-endian and Little-endian, so I just looked up about it on the internet as I needed to know the difference for a sketch I was converting. I...
 
Last edited:

What is SPIFFS (SPI Flash File System)?

I didn't really know what SPIFFS stood for. I knew the basics of what it was but still I should have known more about it, so here is some information about SPIFFS.

Please note: I didn't...
 
Last edited:

MQTT controlling 8 relays, WeMos D1 mini WiFi, Android 4G

Here is a short tutorial on how to control an 8 channel relay module via MQTT. Below you will find both the WeMos and Android source codes needed to get started. The relay module is connected to a...
 
Last edited:

Connecting an actual building\house alarm PIR sensor

This is a tutorial on how to connect an actual building\house alarm PIR sensor to an Arduino and how to interpret 5 alert states (the resistance results). The advantages of using the PIR sensor in...
 
Last edited:

Using an incremental rotary encoder

This is a quick tutorial on what an incremental rotary encoder (or rotary encoder for short) is and what it can be used for.

A rotary encoder is an electromechanical device that generates an...
 
Last edited:

Programming an ESP8266 (ESP-12x) via a USB to Serial adaptor

Programming an ESP-12x module directly is not too difficult. If you purchase an ESP8266 with a built-in USB port like a WeMos D1 Mini or a NodeMCU etc, then you do not need to do this as the...
 
Last edited:

Solder ESP8266 ESP-12F to an adapter plate

So you have an ESP-12F and want to use it in a project, well I find that the best way for my home projects is to use an 12x adaptor plate. I have a number of ESP-12F projects running throughout my...
 

How I2C communications works - Video...

Not exactly a tutorial, but still education for those not in the know...

 
Top