esp32

  1. janderkan

    B4R Question Error after updating ESP32 boards

    My code is working fine using ESP32 boards version 1.0.6, but after upgrading to version 2.0.0 I get the following error when initializing second hardware serial port, E (64) uart: uart_set_pin(595): tx_io_num error ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008ba60 file...
  2. thetahsk

    B4R Library ESP32 Ping

    This is a B4R-ESP32 portation from https://github.com/marian-craciunescu/ESP32Ping Rename to rar and use winrar for decompression because rar attachment are not allowed. Sub Process_Globals Public Serial1 As Serial Private ping As ESP32Ping Private wifi As ESP8266WiFi End Sub...
  3. M

    B4R Question softwareserial on esp32

    hi i use softwareserial for esp32 but this error show. how can i fix it. or can any one wrap https://github.com/plerup/espsoftwareserial/ library. error was too character so i attach it.
  4. KMatle

    B4R Tutorial ESP32: Simple OTA/Update via WebServer

    This example (adapted from the Arduino examples under Arduino->File->Examples) - downloads a file from a server (exactly: the update file) - store this file to the filesystem (SPIFFS) - starts an update with the downloaded file How to use: - Compile this app with "default" options from the...
  5. moty22

    Share My Creation B4J App for ESP8266/32

    edited: connecting to www was added. B4J app for testing and setting ESP8266/32 using AT Commands. AT commands are used to test the module, set baud rate, check version, set RF power etc. The app also connects to a router. List of AT commands can be downloaded from here...
  6. M

    B4R Question esp32 does not receive UDP broadcast data

    hi. i use udp in b4a,b4j,b4r and it works fine when set client ip. i can send data to 192.168.1.255 from esp32 and all client windows and android can get all data. but my esp32 not get broadcast data just could get data when i send data to esp32 ip.(192.168.1.2) i think my modem access point...
  7. KMatle

    B4R Code Snippet Setting the hostname of an ESP32

    Important is this line: WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); which seems to reset the settings. My ESP32 showed up as "Espressif" Private Sub SetHostName Dim bb() As Byte = "TheHostname" RunNative("SetHostName", bb) End Sub #if C void SetHostName(B4R::Object* o)...
  8. freedom2000

    Share My Creation useless automatic morse keyer coder/decoder

    Here is an application (or a system) using a very old morse straight keyer to encode/decode Morse automatically. As I said it is more or less useless... but I had a lot of fun doing this ! Please have a look to this video :
  9. janderkan

    B4R Library rCAN library

    This wraps the basic functions from CAN library by Sandeep Mistry . The library makes it simple to communicate between Arduinos AND ESP32s using a 2 wire CAN bus. (fx. 100KBS at 1000m) You have to use Arduino to install the library. It supports UNO, MEGA and ESP32. (Tested with all 3) You can...
  10. Y

    B4R Question Disable power saving in wifi mode "ESP32".

    Hello : I am trying to make tow esp32 communicate with each other throught network protocols. each esp32 connected to same router but when i ping from router to esp32 its show me delay and unstable latency when i search for this problem i see that i can fix it by disabling power save in wifi...
  11. M

    Bug? Strings and Bytes Quiz Crashes ESP32?

    So after a long break, I'm resuming some B4R projects and typically I like to refresh my memory on string usage on the platform (since that's the thing that usually gets me in trouble on ESPs). I have a ESP32 with built in OLED board and I was trying the Strings and Bytes quiz which basically...
  12. Sgdva

    Android Question ESP32 Wifi Communication

    Greetings! Summary I would like to have an android interface to send commands to the ESP32 wifi module. For this purpose, I would need to make the board be connected to the Wifi desired by the user, secondly retrieve the IP assigned in the network and finally send commands by the Android...
  13. Chris160179

    Wish M5Stack - ESP32 Support

    Hello every Body, is there someone how likes to write a Library or Wrapper for the M5Stack Board? Official Site: https://m5stack.com/ GitHub Project with Arduino Library and some cool examples: https://github.com/m5stack/M5Stack There are 3 Boards called "Cores": - ESP32 Basic Core IoT...
  14. janderkan

    B4R Question Firebase FCM not working with ESP32

    https://www.b4x.com/android/forum/threads/firebase-push-messages-fcm.81025/#content I am using B4R 3.0, Esp8266 2.5.2, Esp32 1.0.4 Using this example on the Esp8266 works fine. On the Esp32 the HttpJob/ParseResult function is not called. The data returned from Firebase in...
  15. 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...
  16. M

    Wish Astream.WriteNoBoundsCheck - Avoid checking array bounds

    In working out using the ESP32 Camera (see tutorial here), I initially struggled with sending a buffer of data over 32KB using Astream.Write/Write2. For example, a picture taken by the camera at highest res (1600X1200 pixels) could easily be over 300KB. The camera returns a pointer to the...
  17. 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...
  18. M

    B4R Tutorial ESP32 Camera Picture Capture and Video Streaming! (Updated with code!)

    Hello! Last December I made a request for support for the ESP32 Camera support. Well, I finally found the time to work on it myself and here's my initial attempt at implementing this with B4R. I'm using an ESP32CAM camera board with 4GB of PSRAM (like extended memory for the camera). I'm...
  19. E

    B4R Question B4R NumberFormat string buffer overwrite or out-of-bounds?

    I am sending ASCII text lines via the serial-over-USB ESP32-PC link, and it was working great until I used NumberFormat. I have tried this code on two different ESP32 modules: Private Sub AppStart Serial1.Initialize(115200) Log("AppStart") Dim B1() As Byte = "Packet #"...
  20. janderkan

    B4R Question ObjectCopy - Esp32

    I am using this code in Esp8266 to copy from Eeprom to a string : Dim DynMqttServer As String = BC.StringFromBytes(EE.ReadBytes(ptrMqttserver+Offset,32)) BC.ObjectCopy(DynMqttServer, MqttServer, DynMqttServer.Length + 1) but on my Esp32 it restarts continously : AppStart Guru...
Top