Search found 21 matches

by gpson
Sun Jan 20, 2019 10:45 am
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 15
Views: 15026

Re: Using the ESP with a Ethernet Port through SPI

does anyone succeeded to run esp8266 with any ethernet module?
by gpson
Fri Dec 21, 2018 1:13 pm
Forum: General Discussion and Questions
Topic: Benchmark comparison of MicroPython boards
Replies: 18
Views: 27422

Re: Benchmark comparison of MicroPython boards

anyone tried this on esp32?
by gpson
Sat Apr 14, 2018 1:32 pm
Forum: MicroPython pyboard
Topic: ssd1306 OSError: I2C operation not supported
Replies: 5
Views: 5363

Re: ssd1306 OSError: I2C operation not supported

Well, with pyb there is another error :/ from pyb import I2C # from machine import I2C i2c = I2C(2) import ssd1306 display = ssd1306.SSD1306_I2C(128, 64, i2c, 60) PYB: sync filesystems PYB: soft reboot Traceback (most recent call last): File "main.py", line 15, in <module> File "app_oled.py", line 6...
by gpson
Fri Apr 13, 2018 5:26 pm
Forum: MicroPython pyboard
Topic: ssd1306 OSError: I2C operation not supported
Replies: 5
Views: 5363

ssd1306 OSError: I2C operation not supported

I connected the I2C ssd1306 module to my pyboard and can not get it to work Uploaded the library https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py The test code: from machine import I2C i2c = I2C(2) import ssd1306 display = ssd1306.SSD1306_I2C(128, 64, i2c, 60) and th...
by gpson
Thu Apr 05, 2018 10:36 am
Forum: MicroPython pyboard
Topic: uasyncio and SIM800 UART
Replies: 10
Views: 7707

Re: uasyncio and SIM800 UART

Thank you! Will run you script and test it with the sim800 module. Last year I did a small window decoration project while reading your async tutorial: https://github.com/olablt/esp8266-tree I am more enthusiast than real programmer, but will learn to design my application in terms of messages to an...
by gpson
Wed Apr 04, 2018 1:54 pm
Forum: MicroPython pyboard
Topic: uasyncio and SIM800 UART
Replies: 10
Views: 7707

Re: uasyncio and SIM800 UART

@pythoncoder check this out

https://github.com/olablt/micropython-s ... _sim800.py

What is bad and what is good? Thank you in advance.
by gpson
Mon Apr 02, 2018 8:08 am
Forum: MicroPython pyboard
Topic: uasyncio and SIM800 UART
Replies: 10
Views: 7707

Re: uasyncio and SIM800 UART

Thank you for a good example! I think you understand my problem correctly. One thing I do not get: should I use StreamReader.readline() or uart.readline()? Delay_ms class has kill() and trigger() methods. Delay_ms.killer() loops and checks for deadline. The problem is that StreamReader.readline() st...
by gpson
Sun Apr 01, 2018 4:06 pm
Forum: MicroPython pyboard
Topic: uasyncio and SIM800 UART
Replies: 10
Views: 7707

uasyncio and SIM800 UART

I am building a python class to interface with SIM800 module. After looking to this example https://github.com/peterhinch/micropython-async/blob/master/auart.py I came up with this (simplified for the reference) code class SIM: @classmethod def init(cls): cls.uart = UART(2, 9600, timeout=1) cls._sre...
by gpson
Mon Mar 19, 2018 3:02 pm
Forum: MicroPython pyboard
Topic: overdischarge protection
Replies: 13
Views: 7648

Re: overdischarge protection

by gpson
Mon Mar 19, 2018 2:30 pm
Forum: MicroPython pyboard
Topic: overdischarge protection
Replies: 13
Views: 7648

Re: overdischarge protection

I just copy/pasted the code from documentation and it is not working. I am just learning and do not know much about registers :)