B4R Tutorial [tool] External Serial Connector - Erel    May 19, 2020   (6 reactions)   tags: jNetwork + jReflection that uses jSerial library to connect to an Arduino board. To see it working start with this simple B4R program: Sub Process_Globals Public Serial1 As Serial Private astream As AsyncStreams End Sub Private Sub AppStart Serial1.Initialize(115200) Log("AppStart") astream.Initialize(Serial1.Stream, "Astream_NewData", "Astream_Error") End Sub Sub... this mode the IDE will send a message to the serial connector to close the serial port during... B4A Tutorial Android Serial tutorial - Erel    Apr 4, 2018   (6 reactions) The code in this tutorial should not be used for new projects.
New tutorial: https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content
This tutorial covers... B4A Tutorial B4XObject - B4A /B4J / B4i objects serialization - Erel    Aug 11, 2016   (6 reactions) 30278 30279 The RandomAccessFile libraries (B4A, B4J and B4i libs) include two new methods: WriteB4XObject and ReadB4XObject. These methods are similar to WriteObject and ReadObject. The main difference is that WriteObject / ReadObject methods are based on Java serialization feature. This means that they are not compatible with iOS. The new B4XObject methods use a custom serialization method and is therefore supported by all platforms. They are also faster than WriteObject... B4R Tutorial Additional Hardware Serial Ports - Erel    Jan 15, 2018   (14 reactions) Some boards like Arduino Mega and Arduino Due have several hardware serial ports. These ports... ports is software serial ports: https://www.b4x.com/android/forum/threads/connecting-two-arduinos-with-rsoftwareserial-library.65779/#content Software serial ports are more limited, especially if more than one is needed. The names of the serial ports are Serial1, Serial2 and Serial3 (on Mega and Due.... 1. Add a global variable named SerialNative1. Private SerialNative1 As Stream 2. Add... B4R Tutorial Connecting two Arduinos with rSoftwareSerial library - Erel    Apr 13, 2016   (8 reactions) https://www.b4x.com/basic4android/images/SS-2016-04-13_15.50.49.png With the rSoftwareSerial library you can turn regular pins to serial ports. This is useful as the hardware serial is used.../Reference/softwareSerial As an example, the following program should run on two boards. When... Public Serial1 As Serial Private astream As AsyncStreams Private led13 As Pin Private btn As Pin Private softserial As SoftwareSerial End Sub Private Sub AppStart Serial1... B4J Tutorial jSerial + AsyncStreamsText + com0com (virtual serial port) - erol34    Dec 1, 2022   (12 reactions) Hello friends, This is my first but not last post in forum :D When I checked B4J_chat.zip file in Erel's post, I see that there is an old .fxml designer file that can not be recognized by B4J 9.8. I succeed to convert 1.fxml to 1.bjl file and succeed to make communicate Hercules (a terminal program) and B4J chat program by using AsyncStreamsText module. These are not a victory for a professional but for me it is. I explained usage of com0com (virtual serial port emulator) and Hercules in... B4R Tutorial Serial oscilloscope - hatzisn    Mar 11, 2021   (2 reactions) Here is something pretty handy some times: https://x-io.co.uk/serial-oscilloscope/ (11-3-2021) You can use it with this module in B4R: https://www.b4x.com/android/forum/threads/module-serial-oscilloscope.128394/... B4R Tutorial Shift Registers (Serial In Parallel Out - Parallel In Serial Out) - hatzisn    Mar 13, 2020   (5 reactions) This is a very useful tutorial by the guy in dronebotworkshop which opened new horizons for me since I didn't know there were two kinds of shift registers (actually four). Enjoy: Ys2fu4NINrA... B4R Tutorial Programming an ESP8266 (ESP-12x) via a USB to Serial adaptor - Peter Simpson    Jan 30, 2018   (12 reactions) this as the aforementioned boards already have USB to Serial port built into them. If like me you enjoy making projects... an CH340G chip which supports serial interfacing communications via USB, but connecting to and programming an ESP-12x is simple to do via a USB to Serial module. How to wire your ESP-12x and USB to serial adaptor. Please remember the an ESP8266 is a 3.3V device, but it also works using 2 x AA... Ground TX > RX on the USB to Serial adaptor RX > TX on the USB to Serial adaptor USB to Serial... B4R Tutorial How to connect an Arduino Pro Mini to a PC via a USB to Serial module - Peter Simpson    Mar 7, 2017   (3 reactions) , and that is the lack of a onboard serial chip like the CH340G etc, thus no USB connector. Depending... easily. You can purchase yourself a cheap $1 USB to Serial module like the one pictured below and... be on the safe side as models may differ). 53557 Pro Mini, USB to Serial module and a breadboard with jumper wires. 53554 Connecting Pro Mini to USB Serial module. 53555 Or you can leave the jumper wires out and place both the Pro Mini and the USB to Serial module on the same side of the breadboard... Page: 1   2   3   4   |