SeLoRBIS wrote:
What I understand :
I can't actually receive data from the micro USB port of the ESP32 dev board (DOIT ESP32 Devkit 1) because the data transfert speed is not the same and too low (1200 bds from the GCE device).
i must little edit:
first: you can setup the speed ( baud ) on ESP32 dev board (
DOIT ESP32 Devkit 1)
this USB contact ( input, output ) is only a USB Device and on PC / USB HOST devices , this works as "Virtal Com (CDC ACM )"
see it like a FTDI USB TTL device with inputs Rx, Tx, and so on , and it transform to USB and vice versa.
this is not the reason for that, that you can't connect them.
the reason cause you can't connect them, is, that the GCE (with high probability) is a USB Device and the ESP32 dev board (
DOIT ESP32 Devkit 1) micro connector is a USB Device.
only for 100 procent
supplementary question:
The GCE is connected to the RASP3 on the USB host, right?
Hence the assumption that the GCE is then also a USB device.
Please correct me if I take it wrong.
this FTDI UART TTL board transform TTL ( UART signal ) to USB and FTDI drives on PC / USB HOST this then as "Virtual COM" (CDC ACM)
you can only conect them (same) to a PC/USB Host
SeLoRBIS wrote:
- Make a USB Host on the dev board by code .
It's right ?
I'm looking your differents links.
i must ask back:
this GCE device - is this the telemetri device that you posted?
or is the counter the telemtrie device?
why i ask:
if the counter is the telemtrie device, and the wires ( i1, i2) are TTL / Uart
then you can check, with level ( 3V3, 5V, 12V ) they drive.
if they 3V3 example, you can use this as UART pins to the ESP32 dev board (
DOIT ESP32 Devkit 1)
and make a transparent UART2Wifi ..
( if they are 5,12 or other you need level shifter, level converter )
if they only "contacts" you can try the same, if you trigger then GPIO on ESP32 DEV board
and make a custom firmware for it to count, collect and so on and forward the data then by ESP32 DEV board...
we need little more info, what are this lines are ( i1, i2 ) and what function they have.
or does they are CAN bus contacts? then you can use ESP32 DEV board too for forward, cause it support CAN bus
( you need a transceiver ic only for the lines )
can you go detailed with this questions, please.
possibles: ( GPIO, I2C, SPI, CAN, ....)
- possible_CAN_ESP32-DEV.png (21.83 KiB) Viewed 29261 times
the other:
yes, if you make an USB host on the ESP32 DEV board then you can work with this data that comes from GCE.
the GCE is then USB CDC ACM ( USB Device ).
"ESP32 DEV Board"
- sol1_USB_HOST_on_ESP32-DEV.png (20.21 KiB) Viewed 29265 times
ESP32-PRO
- sol2_USB_HOST_on_ESP32-PRO.png (148.46 KiB) Viewed 29262 times
best wishes
rudi