CP2102 USB<->UART dongle, imaxB6 atmega32 version

1,748 views
Skip to first unread message

Paweł Si

unread,
Jul 17, 2014, 7:10:04 PM7/17/14
to cheali-...@googlegroups.com

Some time ago I bought five USB<->UART dongles based on a CP2102 chip,
I tested them and they seemed to work,
but recently they stopped working with my Imax B6 clone charger (atmega32 vesion)
I'm not sure why, maybe I did something in the firmware but I can't figure out what,
fortunately there is a solution, after removing a 1k Ohm resistor (see picture) they
started working - at least with 57600 speed -
the downsite is that the RXD LED is not flashing anymore

maybe this will help someone,

Best Regards,
Paweł

cp2102.jpeg

Andrew Frewer

unread,
Jul 18, 2014, 7:26:02 AM7/18/14
to cheali-...@googlegroups.com
What made you think to try removing that resistor?

Paweł Si

unread,
Jul 18, 2014, 8:25:33 AM7/18/14
to cheali-...@googlegroups.com
2014-07-18 13:26 GMT+02:00 Andrew Frewer <afre...@gmail.com>:
What made you think to try removing that resistor?

I saw a ~1.8V  for a logic state "0"  on a oscilloscope, 
the Imax B6 has not enough power to drive also the LED
(see picture)
 
cp2102_RXD.jpeg

jarno83

unread,
Feb 21, 2015, 11:38:42 AM2/21/15
to cheali-...@googlegroups.com
I'm trying to get output from imax b6 novoton m0517 for logview, but won't see any output even with HTerm.exe.
The dongle is cheap CP2102 with leds.
The LED is blinking, but no output.

Is the same resistor hack needed to get it working?

Thanks,
Jarno

Paweł Si

unread,
Feb 23, 2015, 5:19:47 AM2/23/15
to cheali-...@googlegroups.com
2015-02-21 17:38 GMT+01:00 jarno83 <jarnoo...@gmail.com>:
I'm trying to get output from imax b6 novoton m0517 for logview, but won't see any output even with HTerm.exe.
The dongle is cheap CP2102 with leds.
The LED is blinking, but no output.

Is the same resistor hack needed to get it working?


yes there is:
replace a 10kOhm connected between the input and the CPU
with a smaller one (or just connect one parallel to it),
a 1kOhm should be enough.




Paweł Si

unread,
Feb 23, 2015, 6:41:03 AM2/23/15
to cheali-...@googlegroups.com
2015-02-23 11:19 GMT+01:00 Paweł Si <sta...@gmail.com>:

yes there is:
replace a 10kOhm connected between the input and the CPU
with a smaller one (or just connect one parallel to it),
a 1kOhm should be enough.

I mean a 10KOhm resistor inside the charger (charger with a nuvoton M0517 CPU),
it should be somewhere between the temperature input (middle pin) and the  M0517 cpu (pin 45).
 

jarno83

unread,
Feb 23, 2015, 12:48:17 PM2/23/15
to cheali-...@googlegroups.com
I soldered wire before R20 and added 1kohm resistor. Logview gets info from charger now but it doesn't make any sense to logview. 

Charger settings:
extrn T: no
UART: normal
speed: 57600
UART inp: temp

Logview settings:
Device: ChealiCharger_1.0
Baudrate: 57600
COM: same as dongle.

Added a screenshot.

Thanks,
Jarno
logview.png

jarno83

unread,
Feb 24, 2015, 7:12:42 AM2/24/15
to cheali-...@googlegroups.com
Ok, got it working. Re-installed Logview and copied ChealiCharger_1.0.ini again. And voila :)
I first copied it to wrong place I think.
Path in windows - "C:\Users\username\AppData\Roaming\LogView\Geraete\OpenFormat"

Thanks,
Jarno

Владимир Залогин

unread,
Mar 24, 2015, 4:38:52 AM3/24/15
to cheali-...@googlegroups.com
Hello Pawel!
Can you elaborate on the picture what to remove or reduce the resistor to 1kOhm












понедельник, 23 февраля 2015 г., 14:41:03 UTC+3 пользователь cheali-charger написал:

Paweł Si

unread,
Mar 26, 2015, 6:09:02 PM3/26/15
to cheali-...@googlegroups.com
2015-03-24 9:38 GMT+01:00 Владимир Залогин <zalog...@gmail.com>:
Hello Pawel!
Can you elaborate on the picture what to remove or reduce the resistor to 1kOhm

Picture attached,
you can connect the 1kOhm resistor in parallel to the 10kOhm,
or just replace the 10kOhm one. 

 

Best Regards,
Paweł

​ 

Владимир Залогин

unread,
Apr 14, 2015, 5:00:26 AM4/14/15
to cheali-...@googlegroups.com
Hello Pawel!
Data from the device began to arrive, only the format of the data does not recognize of LogView_2.7.6.511. ChealiCharger_1.0.ini was uploaded.

jarno83

unread,
Apr 14, 2015, 5:01:40 AM4/14/15
to cheali-...@googlegroups.com
I had same problem, I set speed to 9600 and it works.

Владимир Залогин

unread,
Apr 14, 2015, 5:06:07 AM4/14/15
to cheali-...@googlegroups.com
Thank you Jarno.
I'll try today to play with the speed of the port

вторник, 14 апреля 2015 г., 12:01:40 UTC+3 пользователь jarno83 написал:

Виталий Широков

unread,
Apr 14, 2015, 5:22:31 AM4/14/15
to cheali-...@googlegroups.com
 Должно быть вроде такого. Посмотрите в файле INI строку Baudrate такую скорость и ставьте в зарядке. + UART imp: temp UART: normal
LogView.jpg

Владимир Залогин

unread,
Apr 14, 2015, 6:44:33 AM4/14/15
to cheali-...@googlegroups.com
Привет Виталий!
Спасибо за наводку по INI, сегодня потестирую и отпишусь. После подпайки резистора, дата заструилась, но как видишь бредовая, я уж начал грешить на порт... но если дело в скорости тогда поборемся

Виталий Широков

unread,
Apr 14, 2015, 7:23:56 AM4/14/15
to cheali-...@googlegroups.com


вторник, 14 апреля 2015 г., 13:44:33 UTC+3 пользователь Владимир Залогин написал:
Привет Виталий!
Спасибо за наводку по INI, сегодня потестирую и отпишусь. После подпайки резистора, дата заструилась, но как видишь бредовая, я уж начал грешить на порт... но если дело в скорости тогда поборемся

Как вариант теста переходника нужно замкнуть TX и RX и в терминале на любой скорости пробовать чего нибудь набить на клавиатуре. В результате должно отображать нажатые кнопки. Ну а если промах в скорости - то мусор это норм.

Владимир Залогин

unread,
Jun 1, 2015, 4:00:10 AM6/1/15
to cheali-...@googlegroups.com
Привет Виталий!
Ну коротенько про порт от мобильного телефона, не смог получить от него внятных данных на всех скоростях пробовал, данные идут, но бред, а не набор циферок. Короче психонул и купил у китайцев (http://ru.aliexpress.com/item/U95-PL2303-USB-To-RS232-TTL-Converter-Adapter-Module-For-Arduino-CAR-Detection-GPS/32216290752.html) за 50 рублисов порт USB to TTL, на скорости 57600 пошли внятные наборы циферок и в логвью все заработало. Получаю интересные данные, пониманию процессов заряда-разряда разных аккумов очень способствует. Спасибо за возню с моей проблемой. Похоже мой кабель от телефона, не только порт, но еще и модем, потому и дата не понятная.

Fox 381

unread,
Jul 3, 2015, 5:14:36 AM7/3/15
to cheali-...@googlegroups.com
Добрый день, помогите пожалуйста, моя плата отличается, пин тот же самый(средний), там резистор с маркировкой 202, какой резистор нужен в параллель или на замену?





​ 

alex alex

unread,
Jul 3, 2015, 5:29:49 AM7/3/15
to cheali-...@googlegroups.com
For replacement you need 102, for parallel 202. But I think you should try the link without modifications - it might work.

Xuchun Fang

unread,
Jan 21, 2018, 6:05:56 AM1/21/18
to cheali-charger
Hi, I got the same problem. The log data is OK, but the data is not interpreted in the logview.

What could be the cause?
Reply all
Reply to author
Forward
0 new messages