Using a Wemos D1 R2 and stepper motor - control over wifi By Mark Read Apr 11, 2018 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... Click to expand...
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...
Using Firebase to send notifications to iOS and Android devices By Erel Sep 29, 2016 Inspired by this example: https://dzone.com/articles/iot-push-notifications-arduino I've created a similar solution in B4X. When the button is clicked, two http requests... Attachments ESP8266_Push.zip ESP8266_Push.zip 1.5 KB · Views: 2,973 Click to expand...
Inspired by this example: https://dzone.com/articles/iot-push-notifications-arduino I've created a similar solution in B4X. When the button is clicked, two http requests...
How to connect a 7 pin OLED display, (NOT 4 pin)... By Peter Simpson Mar 5, 2017 Here is how to connect a 7 pin OLED display to an Arduino. If you are anything like me, you previously owned a Raspberry Pi and did absolutely nothing with it. Well before I ever owned any... Last edited: Mar 7, 2017 Click to expand...
Here is how to connect a 7 pin OLED display to an Arduino. If you are anything like me, you previously owned a Raspberry Pi and did absolutely nothing with it. Well before I ever owned any...
Connecting to Arduino with BLE (Bluetooth Low Energy) By Erel Apr 14, 2016 In the previous example we broadcasted a single byte as part of the advertising data: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/ In this... Attachments B4i_BLE.zip B4i_BLE.zip 3.1 KB · Views: 1,999 B4A_BLE.zip B4A_BLE.zip 8.5 KB · Views: 2,847 Last edited: Jan 17, 2018 Click to expand...
In the previous example we broadcasted a single byte as part of the advertising data: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/ In this...
GSM / GPRS - Control the Arduino with SMS messages By Erel May 11, 2016 The GSM shield allows the Arduino to connect to cellular networks. This opens the door for many interesting outdoor... Attachments GSM_Example.zip GSM_Example.zip 2.3 KB · Views: 2,264 Last edited: Oct 8, 2017 Click to expand...
The GSM shield allows the Arduino to connect to cellular networks. This opens the door for many interesting outdoor...
Arduino - PC File Transfer By Erel Jun 8, 2016 In this example the Arduino board acts as a server. Clients can list the available files and can download files stored on the SD card, which is part of the Ethernet shield... Attachments B4J_FileTransfer.zip B4J_FileTransfer.zip 3.2 KB · Views: 1,589 B4R_FileTransfer.zip B4R_FileTransfer.zip 1.6 KB · Views: 1,677 Last edited: Aug 14, 2018 Click to expand...
In this example the Arduino board acts as a server. Clients can list the available files and can download files stored on the SD card, which is part of the Ethernet shield...
Downloading a Web page with ESP8266 By Erel Sep 1, 2016 Edit: use rHttpUtils2 instead: https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content As a general rule, I recommend to use Raspberry Pi with B4J to... Last edited: Dec 21, 2017 Click to expand...
Edit: use rHttpUtils2 instead: https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content As a general rule, I recommend to use Raspberry Pi with B4J to...
RTC DS1302 Example By rwblinn Jun 2, 2016 Hi, this is an example of using the Real Time Clock DS1302 (from sunfounder). There are two versions: 1. Manual: Set the time manual befor uploading. After uploading the time is... Attachments B4RHowToRTCDS1302.zip B4RHowToRTCDS1302.zip 347.2 KB · Views: 1,691 Last edited: Jun 3, 2016 Click to expand...
Hi, this is an example of using the Real Time Clock DS1302 (from sunfounder). There are two versions: 1. Manual: Set the time manual befor uploading. After uploading the time is...
Traffic Light Example By Erel Apr 11, 2016 Example of implementing a "traffic light" with 3 leds. There are four states: red, red + yellow, green and yellow. It uses CallSubPlus to switch to the next state after the current state... Click to expand...
Example of implementing a "traffic light" with 3 leds. There are four states: red, red + yellow, green and yellow. It uses CallSubPlus to switch to the next state after the current state...
How to Implement STM32 into B4R By Starchild Jun 17, 2016 If you want more FLASH memory space (say 128K flash), need more RAM (how about 20K), would like your program to run a little faster, or simply want to play around with a different micro-controller... Attachments How to Implement STM32 to B4R.pdf How to Implement STM32 to B4R.pdf 207.7 KB · Views: 1,115 Last edited: Aug 11, 2020 Click to expand...
If you want more FLASH memory space (say 128K flash), need more RAM (how about 20K), would like your program to run a little faster, or simply want to play around with a different micro-controller...
ESP8266 + UDP + BMP180 = Simple weather station By Erel Aug 22, 2016 This is an example of how UDP can be used to broadcast the current temperature and pressure to one or more clients. The nice thing about it is that there is no server involved. The ESP8266 just... Attachments B4A_Weather.zip B4A_Weather.zip 7.8 KB · Views: 2,537 B4J_Weather.zip B4J_Weather.zip 981 bytes · Views: 1,848 B4R_Weather.zip B4R_Weather.zip 1.1 KB · Views: 2,557 B4i_Weather.zip B4i_Weather.zip 2.3 KB · Views: 1,618 Click to expand...
This is an example of how UDP can be used to broadcast the current temperature and pressure to one or more clients. The nice thing about it is that there is no server involved. The ESP8266 just...
Simple example of how to have a TCP Server and make HTTP Client calls in same project By miker2069 Sep 24, 2017 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... Click to expand...
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 By BaGRoS Sep 3, 2017 Maybe useful for somebody. It's not my tutorial! Click to expand...
Control servo and relays using Nextion lcd display By ilias Aug 30, 2017 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 Nextion.zip 417 KB · Views: 1,453 Click to expand...
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...
Some code to write into and read from EEPROM on ESP8266 By JMB Aug 5, 2017 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. Code: Copy ... Click to expand...
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. Code: Copy ...
OLED displaying data from a USB to Serial com port using AsyncStreams - B4R, B4J and VB.Net By Peter Simpson Jul 14, 2017 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: Jul 6, 2019 Click to expand...
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...
Show-Off your IoT boards ( uControler/shields )!! By Cableguy Apr 11, 2016 There seem to be quite a few variants of the Arduino's Boards, So I thought, let's Show-Off our Boards and create a Listing, similar to the B4A devices Listing, so that when problems arises, we... Click to expand...
There seem to be quite a few variants of the Arduino's Boards, So I thought, let's Show-Off our Boards and create a Listing, similar to the B4A devices Listing, so that when problems arises, we...
ESP8266 - WiFi Remote Configuration By Erel Jul 3, 2016 Edit: A simpler and more powerful tool is available: https://www.b4x.com/android/forum/threads/esp-configurator-based-on-b4rserializator.81452/ The attached project allows the user to... Attachments ESP8266WiFiRemote.zip ESP8266WiFiRemote.zip 2.6 KB · Views: 6,032 Last edited: Jul 9, 2017 Click to expand...
Edit: A simpler and more powerful tool is available: https://www.b4x.com/android/forum/threads/esp-configurator-based-on-b4rserializator.81452/ The attached project allows the user to...
Big-endian and Little-endian By Peter Simpson Jun 28, 2017 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: Jun 29, 2017 Click to expand...
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...
What is SPIFFS (SPI Flash File System)? By Peter Simpson Jun 28, 2017 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: Jun 29, 2017 Click to expand...
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...