Search found 14 matches

by cepics
Tue May 26, 2020 10:45 am
Forum: Hardware
Topic: RS422 vs RS485 for newbie
Replies: 1
Views: 5408

RS422 vs RS485 for newbie

hi all,
I'm reading a serial line, on ESP32, with this RS422/TTL adaptor https://tse4.mm.bing.net/th?id=OIP.R140prS6_daMiIVRzXOhRgHaHa&pid=Api

with this code


void setup() {

Serial.begin(115200);
delay(1000);

// speed, mode, rx, tx
Serial2.begin(9600, SERIAL_8N1, 26, 32);
delay(1000 ...
by cepics
Fri May 15, 2020 12:50 pm
Forum: ESP32 Arduino
Topic: Serial invert
Replies: 3
Views: 9314

Re: Serial invert

tnks a lot!!!!
by cepics
Mon May 11, 2020 3:25 pm
Forum: ESP32 Arduino
Topic: Serial invert
Replies: 3
Views: 9314

Re: Serial invert

nobody?
by cepics
Thu Apr 23, 2020 4:37 pm
Forum: ESP32 Arduino
Topic: Serial invert
Replies: 3
Views: 9314

Serial invert

Hi all,

I have an arduino mega project where I send serial data to an 74hct04n inverter.. now I'm porting the project on esp32 (M5Stack).

in the example serial2 of arduino IDE I can declare a serial port with:

Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool ...
by cepics
Thu Apr 09, 2020 3:15 pm
Forum: General Discussion
Topic: esp32 BMC_SBUS porting
Replies: 0
Views: 4623

esp32 BMC_SBUS porting

I'm trying to port an Arduino Mega sketch, using BMC_SBUS, to esp32!!
https://github.com/boldstelvis/BMC_SBUS/blob/master/README.md
to use this: https://www.kinowheels.com/
with this: https://forum.dji.com/thread-167232-1-1.html
this is the connections: https://forum11.djicdn.com/data/attachment ...
by cepics
Thu Jan 02, 2020 11:49 am
Forum: ESP32 Arduino
Topic: TOF CAM sensor
Replies: 3
Views: 6468

Re: TOF CAM sensor

something like that?

#define RXD2 16
#define TXD2 17


void setup() {

Serial.begin(115200);
Serial2.begin(10000000, SERIAL_8N1, RXD2, TXD2);
Serial.println("Serial Txd is on pin: " + String(TX));
Serial.println("Serial Rxd is on pin: " + String(RX));

}

void loop() {
while (Serial2 ...
by cepics
Thu Jan 02, 2020 8:07 am
Forum: ESP32 Arduino
Topic: TOF CAM sensor
Replies: 3
Views: 6468

Re: TOF CAM sensor

tnks for answering !!!

How can I set up serial comunication so fast?

Serial.begin(????????);
by cepics
Mon Dec 30, 2019 4:50 pm
Forum: ESP32 Arduino
Topic: TOF CAM sensor
Replies: 3
Views: 6468

TOF CAM sensor

Hi all, is it possible to communicate with this [url]https://www.espros.com/downloads/02_Cameras_and_Modules/Installation_and_Operation_Manual_TOFCAM635.pdf?fbclid=IwAR1GULRETt4xHPXNqR6cUo__23p22xEeJSrJPg-BDx6FgGk2MjSn_KJUwiw[url] sensor ?

it say TTL UART interface at 10 Mbit/s
I'm in arduino ...
by cepics
Sat Oct 19, 2019 7:24 pm
Forum: ESP32 Arduino
Topic: generate PPM
Replies: 1
Views: 7209

generate PPM

Hi all, I would like to send a PPM to this https://www.frsky-rc.com/xjt/ transmitter to control gimbal axes (PAN,TILT,ROL) with M5Stack gyro remotely.
the only working sketch I found to generate PPM is for Arduino and use timer interrupt:
//https://forum.arduino.cc/index.php/topic,163199.msg1220724 ...
by cepics
Wed Dec 12, 2018 11:45 pm
Forum: ESP32 Arduino
Topic: esp8266 to esp32 with espnow.h
Replies: 3
Views: 12210

Re: esp8266 to esp32 with espnow.h

Here the answer :
https://github.com/leonyuhanov/ESP-NOW-TX-RX

thanks a lot to all

Go to advanced search