B4R Tutorial Connecting two Arduinos with rSoftwareSerial library - Erel    
Apr 13, 2016   
(9 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...
link: Please start a new thread for this and use code tags....
link: thank you Erel.
i did this
'Esp82 side
Sub uno_NewData(Buffer() As Byte)
If Buffer.Leng...
link:
Sub astream_NewData (Buffer() As Byte)
Dim state As Boolean = Buffer(0) = 1 'state will be t...
B4R Question Arduino + MCU ESP8266 with rSoftwareSerial. - Eme Fibonacci    
Feb 14, 2020I am unable to connect an ESP8266 MCU on arduino UNO with rSoftwareSerial.
It seems that the rSoftwareSeria library does not work in ESP.
Everything works fine on Arduino UNO (Pin 10 and 11). In...
link:
... check, if pins you use are able for pwm... .I use D1 and D2 at D1 mini, but mcu may b different...
link: ... check, if pins you use are able for pwm... .I use D1 and D2 at D1 mini, but mcu may b different....
link:
Did you use EspSoftwareSerial? Were you able to make it work with BR4?...
B4R Tutorial Connecting ESP8266 and Arduino with rSoftwareSerial library - rwblinn    
May 15, 2016   
(6 reactions)
Public Serial1 As Serial
Private astream As AsyncStreams
Private softserial As SoftwareSerial
Private Timer1 As Timer
End Sub
Private Sub AppStart
Serial1.Initialize(9600)
Log...
ESP8266 Basic Code
'Set the connection
'serial2begin {baudrate},{TX_pin},{RX_pin}
serial2begin 9600, 1, 3
'Set the branch handling serial input
serial2branch
wait
serial2input zz$
serial2println "ESP confirms:" & zz$
return
Logs (Note: in above code took out some log...
B4R Question rSoftwareSerial and Arduino Nano - Cableguy    
Apr 26, 2018Hi guys...
Yesterday I spent over 3 hours trying to create a software serial connection between... the software serial, how would the initialization look like?...
link: which example?
Sorry Filippo, I meant the GSM/GPRS example...
link: Thanks all...
link: You mean like this ?
Dim p as pin
....
softserial.Initialize(57600, p.A3, p.A4)
For digital pins us...
B4A Question Missing Libraries AsyncStream and RSoftwareSerial - Erel (first post)    
Jul 29, 2018As DonManfred wrote, AsyncStreams is available in RandomAccessFile library.
https://www.b4x.com/and...
link: Hi Erel, this should be B4A. I am looking for a sample B4A project that can exchange data fro and t...
link: Is this a B4A or B4R question?...
link: RSoftwareSerial
https://www.b4x.com/android/forum/pages/results/?query=RSoftwareSerial
1st link...
B4R Question Question about rSoftwareSerial - Peter Simpson (first post)    
Feb 28, 2018   
(1 reaction)If you are already using pins 18 and 19 for something else, then you can use other pins instead, thu...
link: You can initialize with any pins that you want...
but on official tutorial , @Erel are using : port...
link: You can initialize with any pins that you want......
link: but i dont understand why @Erel dont initialize BTSerial with : Pin TX1:18 and Pin RX1:19 ......
B4R Question Wemos & rSoftwareSerial - atiaust (first post)    
Mar 12, 2017Thanks Erel,
I wasn't sure if I could do that. I just need to setup 2 listeners....
link: for the serial port....
link: the wemos to a cnc controller. I have built a Max3232 TTL to RS232 converter.
If I use rSoftwareSerial to...
Bug? rSoftwareSerial - newbie    
Nov 30, 2016 member function 'void B4R::B4RSoftwareSerial::setListening(bool)':
rSoftwareSerial.cpp:27...Hi,
i want try serial-connection between two arduinos with Erel's sample Code and two Due... Process_Globals
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...
link: Seems like the native SoftwareSerial library doesn't support the Due. Note that the Due...
B4R Question rSd lib dont work when adding rSoftwareSerial lib - kohle (first post)    
Jun 3, 2016Ok,
I see I, am writing here for my own, but it´s ok.
Last tests :
UNO + W5100 shield dont work ...
link: <SoftwareSerial.h>
#include <LiquidCrystal_I2C.h>
#include <SD.h>
#define DHTPIN A2...
link: 1) adding lcd I2C lib still cause no writing to sd card.
I will write the app it in the Adruino IDE...
link: that have multiple hardware serial ports.
Additional Hardware Serial Ports...
B4R Tutorial Additional Hardware Serial Ports - Erel    
Jan 15, 2018   
(14 reactions) 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...Some boards like Arduino Mega and Arduino Due have several hardware serial ports. These ports....
1. Add a global variable named SerialNative1.
Private SerialNative1 As Stream
2. Add...
Page: 1  
2  
3  
4  
5  
6  
7