1. Yasen

    B4R Question ESP8266 How to read the ADC value?

    Please help. I am trying to read the Analog value from AD0 of the ESP8266. So far not working must be? ADC.Initialize(6,ADC.MODE_INPUT) test=ADC.AnalogRead Tryed ESP.getVcc - gives strange result (native) Tryed system_adc_read() (native)
  2. B

    B4R Question ESP8266 RSSI for particular AP

    Anyone know if there is a way to get the RSSI value for a given link between the ESP8266 and some access point to which it is connected without having to do a whole network scan process? For example to be able to regularly check the connection strength to the router in a non onerous way
  3. Chris160179

    B4R Question ESP8266 connect to mySQL and copy to global variable

    Hello everybody, i need a little bit help. I know it is not the best idea to connect a ESP/Arduino to a SQL Database but i need this to reduce the complexity of my project. There are better and faster Solutions like this...
  4. james_sgp

    Android Question Multiple ESPs connecting to single Phone

    Hi, Im looking for some advice, i have an idea for a project where i will need to connect a number (let say 10, for now) ESP8266 modules to a B4A app running on an Android device? Ive been browsing the forum, n seeing alot of looking for opinions on best method. Data sent will be...
  5. Siam

    B4R Library rAdafruitNeoPixel (based on neopixel lib V1.3.1)

    Hello, i Have modified the rAdafruit Neopixel Library and added some new features (@Erel hope this is ok for you?) This Library is Based on V. 1.3.1 I Have test this Library with the ESP 8266 and i Hope it will work on other Platforms too! See the...
  6. Chris160179

    Wish ESP-07 Board in Board Selector

    Hello Erel, could you import the ESP8266 ESP-07 Board to the "Board Selector"? At this time there are ESP-12 an ESP-13 Boards an many other but no ESP-07. ESP8266 ESP-07: I have problems by setting up the "Generic ESP8266 Board" to use this with my ESP-07 board. THX
  7. janderkan

    B4R Question ESP8266 Reset WiFi settings

    There are a lot of post about it:
  8. M

    Wish MQTT Enhancement - Include BeginPublish,EndPublish,Write methods

    The B4R rMQTT library is based on the well known Arduino PubSubClient library written by Nick O'Leary. It's a subset of this library - with the most important/used methods wrapped. I do have a scenario that requires some of the additional methods to be wrapped as well. Specifically: boolean...
  9. M

    FreeRTOS - the small OS for ESP32 and ESP8266

    Having been away from micro-controllers for much of the year (my have things changed!), I will admit that I was puzzled by references to FreeRTOS and ESP32. I never payed much attention to it as when you compile a sketch in Arduino or a B4R program - *it just works*. I originally got started...
  10. santook

    B4R Library Watch Dog Timer For ESP8266

    For the ESP8266 watchdog, can be very simple to use. #Region Project Attributes #AutoFlushLogs: True #CheckArrayBounds: True #StackBufferSize: 300 #End Region Sub Process_Globals 'These global variables will be declared once when the application starts. 'Public variables can...
  11. E

    Share My Creation ESP Configurator Through Andriod App

    This is based on EREL Project ESP Configurator... Just I port the whole code into An App...You can download the Apk file from here or Download from PlayStore. It does not contain ad.Freely available...
  12. D

    B4R Question How to convert this code to read Serial.readString();

    Hi All, i have problem to convert this native arduino codes as shown below. my board based on wemos D1 R1 Thanks void loop() { if (Serial.available() > 0) { String incoming = Serial.readString(); if (incoming.indexOf("{")>=0 && incoming.indexOf("}")>=0) { Serial.flush()...
  13. rtek1000

    Android Question App 'Service Browser' finds the IP of ESP8266, how to do this with b4a?

    The Arduino IDE can find the IP address of the ESP8266 (mDNS:arduino) when it is programmed with OTA, but we also have ESP-LINK software, which allows the ESP8266 to work in transparent (TCP / IP-Serial) mode allowing reprogramming of microcontrollers like Atmega328 (Arduino UNO / Nano / Pro...
  14. E


    I have running a timer every second for making a stopwatch. Three variables sec, minute and hour are taken. Sec is incremented with every timer tick and minute is incremented when sec value reaches 60. Everything is working fine. Now I want to broadcast the value of time in 00:00:00...
  15. mare1980k1

    Android Question Constantly disconnecting from ESP8266 WiFi

    I can connect to my ESP8266 just fine. But quite often after just a few seconds (2,3,4,5 seconds), it randomly disconnects. Sometimes it takes a bit longer to disconnect randomly, after a minute or so. And it does so on LG Nexus 5X. On the other phone the app is working just fine and can...
  16. A

    Share My Creation [B4X] Server Room Environment solution using Wemos / ESP8266

    A client asked us to research environment monitoring options for their server room. The servers themselves have that built-in but they needed something for the room in general. The following is a proof-of-concept (POC) that I came up with using several of the B4X tools to fulfill their...
  17. L

    B4R Question esp8266 Wifi Timeout

    Hi, I have an esp 8266 (Wemos mini) and I'm connect on wifi with wifi.connect2(ssid,pass). Sometimes, the board can't connect to the wifi and my sub stop and wait the response. But on my DHCP Server, I see the board and the server send a ip address. 2 questions : - Why the board wait even the...
  18. johnf2013

    Android Question WiFi configuration

    I have an app which consists of an Android device that processes real time data sent in large packets to it by an esp8266 over wifi. The app also send a few simple commands to the esp from time to time. This all works very well. It has been easy to get the wifi working in various forms using the...
  19. M

    B4R Question Connecting two Arduinos via WiFi

    Hi everybody, I'm trying to connect two Arduinos devices (1 NodeMCU ESP 12E + 1 ESPDuino) making use of a dedicated WiFi Network. I programmed the Espduino in "AccessPoint mode" to act as a "server" listening on Port "12345", by the following code: And I made use of this additional code on...
  20. M

    B4R Question Issues with the ESP8266 FileSystem

    Hi, I'm new to the platform so I apologize upfront in case this turns out to be a stupid question. I have an ESP01 (ESP8266) module and I want to store some data that will survive restarts of the ESP01. If I understood well, one of the options to achieve this is to use the ESP8266 file system...