Search found 24 matches

by gatorchu
Thu Jul 02, 2020 3:36 am
Forum: General Discussion and Questions
Topic: UART write human-readable ASCII text
Replies: 4
Views: 96

Re: UART write human-readable ASCII text

Thank you, dhylands and Roberthh!
I got it works right now! Your explanation helps a lot!
by gatorchu
Wed Jul 01, 2020 1:27 am
Forum: General Discussion and Questions
Topic: Where is correct doc source?
Replies: 6
Views: 139

Re: Where is correct doc source?

Seems like the first one is the official one.
by gatorchu
Wed Jul 01, 2020 1:11 am
Forum: General Discussion and Questions
Topic: UART write human-readable ASCII text
Replies: 4
Views: 96

UART write human-readable ASCII text

First of all, I noticed that the UART class in both MicroPython and Pycom shared same syntax, so I post my question in this category. hopefully, I don't break the rule. I'm working on Lopy4 interfacing with Nextion serial display (http://nextion.tech/instruction-set/#s6). To send the data to the mon...
by gatorchu
Fri Jan 10, 2020 9:37 pm
Forum: WiPy and CC3200 boards
Topic: OSError: [Errno 104] ECONNRESET in publish function in MQTT library
Replies: 7
Views: 2363

Re: OSError: [Errno 104] ECONNRESET in publish function in MQTT library

Thank you @MostlyHarmless @pythoncoder.

Thanks for all the clues. The issue is much clear right now than it looks before. I have to spend time to digest them and learn new things. I will let you know when I found something.
by gatorchu
Tue Dec 10, 2019 2:04 am
Forum: WiPy and CC3200 boards
Topic: OSError: [Errno 104] ECONNRESET in publish function in MQTT library
Replies: 7
Views: 2363

Re: OSError: [Errno 104] ECONNRESET in publish function in MQTT library

pythoncoder wrote:
Mon Dec 09, 2019 11:22 am
The LoPy is a Pycom board with their own fork of MicroPython. You may get a better response in the Pycom forum where users are more likely to own that board.
Thank you pythoncoder!

I had left the message several months ago. Seems like I haven't got any reply from there yet.
by gatorchu
Tue Nov 26, 2019 10:28 pm
Forum: WiPy and CC3200 boards
Topic: OSError: [Errno 104] ECONNRESET in publish function in MQTT library
Replies: 7
Views: 2363

OSError: [Errno 104] ECONNRESET in publish function in MQTT library

Hi, I have a Lopy board that collects the sensor's data over serial and logs them to the local SD card and then publishes the data to the database using the MQTT protocol. Most of the time the mqtt works properly, but sometimes it was errored out (I don't know what does exactly the error message mea...
by gatorchu
Tue Nov 26, 2019 10:05 pm
Forum: Drivers for External Components
Topic: Anyone working on MCP4728 (12-Bit, Quad Digital-to-Analog Converter with EEPROM Memory) driver?
Replies: 2
Views: 602

Anyone working on MCP4728 (12-Bit, Quad Digital-to-Analog Converter with EEPROM Memory) driver?

Hi friends, Is there anyone working on establishing MCP4728 (12-Bit, Quad Digital-to-Analog Converter with EEPROM Memory) driver? I am recently working on DAC expander for my device. I found the driver for MCP4725 which has only a single channel. Now I wish to have more channels, so I found MCP4728 ...
by gatorchu
Mon Oct 14, 2019 4:15 pm
Forum: Drivers for External Components
Topic: Using Standard HD44780 LCDs on LoPy4
Replies: 21
Views: 2656

Re: Using Standard HD44780 LCDs on LoPy4

@Robert, I had directly tested your modified code, it was still not working. However, your modification gives enough clues (using the i2c.writeto_mem function to write the command to the exact register.). I re-modified the driver as below, and it works perfectly. https://github.com/zhoumaomao11/pyth...