B4R Tutorials

How to get and parse Json from an Http server, inline C code

Hello,

Since a while i searched to do the same thing i did on an ESP01, but with B4R.
I did it 1st time in Arduino IDE o_O, see the video at bottom, that works well :)

I searched long time to...
 

Attachments

  • parseJson_InlineC_Domoticz.zip
    4.8 KB · Views: 501

Check blue tooth communication of your creations

Hi everyone,

Watching tutorials on YouTube I came across this application which allows you to check blue tooth communications. I suppose it will be handy to all of you...
 

Shrink your arduino project to the minimum

Hi everyone,

Last night I found this guy who explains everything simply and very detailed. Here he explains how to load our Arduino sketch directly (or indirectly) in an ATMega328P-PU...
 
Last edited:

Car parking position detector

Hi everyone,

This project is a parking detector. It is not my idea and it exists already in Stavros Niarchos Foundation Parking already materialized but it has been a great pleasure analyzing it...
 

Attachments

  • upload_2019-8-17_12-36-45.png
    upload_2019-8-17_12-36-45.png
    187.6 KB · Views: 453
Last edited:

Electronic components pinouts application

Hi everybody,

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

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

Resistance color specs reading - Billy Brown habits

Hi everyone,

Yesterday I watched a video and I would like to share the knowledge accomplished with you. Do you know Billy Brown? Well "Billy Brown Revives On Your Gin But Values Good Whiskey...
 
Last edited:

Circuit analysis to the maximum

This is a very detailed analysis on circuit analysis comprising of two videos. They are huge videos (1,5 hours almost each) but believe me it worth it seeing them. I faced all these subjects in...
 

XOR operation for Boolean

Do you have more good solitions; Please share it on my article.
thanks sharings.

B4X:
'    ----XOR-------
'    A B Output
'    -----------
'    0 0    0
'    0 1    1
'    1 0    1
'    1 1    0...
 

SevSeg with inline C

This B4R project uses the SevSeg library via inline C to display characters on a 4 digit x 7 segment LED display (I am using a SMA420364L) - hard wired.

The inline C code via the...
 

Attachments

  • SevSeg.zip
    5.5 KB · Views: 481
  • b4rSevSegInline.zip
    2.5 KB · Views: 463
Last edited:

IR Control for DSTV Explora Model 2A

This is a sample project for the IR control of the DSTV Explora Model 2A decoder (Digital Satellite TV). The hex codes comes from the B4A project that I have posted here. The B4A...
 

Attachments

  • b4rDSTVexplora.zip
    1.9 KB · Views: 464
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: 471
Last edited:

LCD Bar Graph

The attached project mimics this posting. Have added the basic functionality with inline C. It uses the rCore and rLiquidCrystal libraries.

Wiring diagram:
lcdbargraph_bb.png


Result...
 

Attachments

  • b4rLiquidCrystalDisplay.zip
    1.5 KB · Views: 526

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

8x8 LED Matrix with 788BS

It is based on this Arduino project with the following wiring diagram:

matrix_connections_s9OJ43nrTc.png


It uses the 788BS 8x8 LED matrix (red) to display numbers/characters/other stuff (without making...
 

Attachments

  • b4rMakeSenseOf8x8LEDmatrix.zip
    1.9 KB · Views: 601
Last edited:

Using RSA on a ESP32 via Inline C

[B4x]: Exchange AES-256 encrypted messages between ESP32 and B4x

This is about how to exchange AES256 encrypted messages incl. generated IV (initialization vector) between a ESP32 and B4x.

Notes:

- the ESP uses AES/CBC/NoPadding. The data must be padded (must...
 

Attachments

  • B4J_ESP32_AES.zip
    4.5 KB · Views: 596

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:

[ESP8266] Requesting time from a server

Hi guys...

The equipment's I install all get the "current clock" from the server on first connection...
I wonder if this is possible to implement with such boards... like requesting the correct...
 
Last edited:

GPS data parsing from raw NMEA format

Hello All,
Here I will show, how to parse the Latitude and Longitude from raw nmea data.
I am using gps module, Arduino Uno and additional softwareSerial.
B4X:
Sub Process_Globals
    Public Serial1...
 
Top