11-16-2021, 04:23 AM
KC868-A4 ,RS232 can not communicate with Max232
|
11-16-2021, 04:31 AM
ok, you can use female RS232-RS485 adapter, add a RS232 cross cable is ok.
11-16-2021, 04:32 AM
RS232 cross cable.
DB9公: in English: DB9 male DB9母: in English: DB9 female
11-16-2021, 06:34 AM
11-16-2021, 06:48 AM
yes.
11-17-2021, 02:50 AM
(11-16-2021, 06:48 AM)admin Wrote: yes. Morning ,I have test already the result is OK ,can comunicate with modbus device (temperaure and huminity) ,firstly ,tested with Max232 then the result was OK and step to test by RS232/485 connecting to modbus device the reading parameters were shown . Still want to ask you why your RS232 on board device desing is FEMALE (difficult to find the converter and use more converters too so mostly MALE and USB is Micro it should Micro. Mostly design pin 2 is RX. Thank you.
11-17-2021, 03:01 AM
because the USB-RS232 cable is male.
11-24-2021, 06:40 AM
Good afternoon ,I met the problem that used ADC (4-20 mA) ,6 mA pass through but reading was 4.70 mA (digital value is 963 ) how about your formular ?.
For 0-5 V it ok the formular is ( read (adc)*5)/4096 . Why your device has a small electric shock occurred.
Theoretical value: 4mA corresponds to 744, 20mA corresponds to 3720, and 4.7ma corresponds to 874. If measured, it is 963
If the whole interval is too large, one offset shall be reduced during calibration. you can make a list: 4-20mA Draw a curve for every 0.1mA increase. then you will find a own formula.
11-25-2021, 07:05 AM
Thank you,ESP32 ,adc is 12 bit that full scale is 4096 ,right ?,so as you gave 20 mA is 3720 that is it can inject current more than 20 mA ,how much can handle current in this port ?.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |