Search found 319 matches

by loboris
Sun Dec 02, 2018 11:38 pm
Forum: General Discussion and Questions
Topic: zmodem
Replies: 6
Views: 1141

Re: zmodem

Don't forget that we don't need to use 115200 baud. Both ESP32 and K210 have UARTS capable of running at 5 Mbaud speeds :!:
Of course, the speed must be supported by USBtoUART chip.
On most ESP32 boards I have, MicroPython works with no issues with 921600 baud.
by loboris
Sun Dec 02, 2018 4:08 pm
Forum: General Discussion and Questions
Topic: zmodem
Replies: 6
Views: 1141

Re: zmodem

zmodem protocol can use RLE encoding which means the transfer of the files can be faster than the UART speed. For transfering text files (e.g. Python sources) or any files which can be RLE encoded with good enough compression ratio the speed can be at least double of the UART speed. As far as I kno...
by loboris
Fri Nov 30, 2018 3:52 pm
Forum: General Discussion and Questions
Topic: MQTT command topic, state restoring etc
Replies: 7
Views: 1051

Re: MQTT command topic, state restoring etc

restoring local state from local flash would require saving each state change to a file. That surely wears down the flash fast whereas the state is available as a retained message over mqtt anyway. If you have your own remote server (and it is cheap and easy to create one in the cloud), you could s...
by loboris
Sun Nov 25, 2018 10:16 pm
Forum: Development of MicroPython
Topic: bound method type check
Replies: 2
Views: 675

Re: bound method type check

Code: Select all

if ((MP_OBJ_IS_FUN(args[ARG_func].u_obj)) || (MP_OBJ_IS_METH(args[ARG_func].u_obj))) {
}
MP_OBJ_IS_METH define:

Code: Select all

#define MP_OBJ_IS_METH(o) (MP_OBJ_IS_OBJ(o) && (((mp_obj_base_t*)MP_OBJ_TO_PTR(o))->type->name == MP_QSTR_bound_method))
obj.h
by loboris
Wed Nov 21, 2018 3:55 pm
Forum: General Discussion and Questions
Topic: Strange GPIO behaviour
Replies: 6
Views: 841

Re: Strange GPIO behaviour

So if that part is missing I can't do anything to solve the problem? If the pin is not used for wake-up, no deinit is needed. If you remove esp32.wake_on_ext0(d1) then you cannot wake-up with a pin. It works in my MicroPython port ( Forum ). >>> import machine >>> rtc = machine.RTC() >>> d1 = machi...
by loboris
Tue Nov 20, 2018 8:49 pm
Forum: General Discussion and Questions
Topic: Strange GPIO behaviour
Replies: 6
Views: 841

Re: Strange GPIO behaviour

GPIO used for wakeup must be deinit after wake up to be used as digital input/output again, something like this: if (rtc_gpio_is_valid_gpio(self->id)) rtc_gpio_deinit(self->id); I think that part is missing in the official MicroPython ESP32 port and that is the reason for the "Strange GPIO behaviour".
by loboris
Sat Nov 17, 2018 8:55 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 4512

Re: New dual-core RISC-V 64bit board

I have backed your campaign on this product and understand it is a development in process and is in early stage. I just checked out your blog.sipeed.com and I notice the syntax of your port of python is a little different from main stream Micro-Python. i.e LCD >>> = machine.st7789 () ; there is an ...
by loboris
Sat Nov 17, 2018 10:20 am
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 4512

Re: New dual-core RISC-V 64bit board

One thing bothers me about all this cheap hardware: support At this stage, those boards are mainly intended for developers , the people who knows how to deal with "subtle bugs" and can participate in the software (and hardware) development. If Sipeed is clever enough, it will provide as much docume...
by loboris
Sat Nov 17, 2018 12:40 am
Forum: General Discussion and Questions
Topic: New cheap OLED screen
Replies: 9
Views: 1730

Re: New cheap OLED screen

Color OLED modules with resolution 128x128, 1.5" are available for ~15 US$ (except at Adafruit, where it costs 2x more).
The controler is SSD1351, as far as I know, only SPI interface is available.
Back side usually looks something like this:
Image
by loboris
Fri Nov 16, 2018 3:07 pm
Forum: Other Boards
Topic: New dual-core RISC-V 64bit board
Replies: 16
Views: 4512

Re: New dual-core RISC-V 64bit board

Your allowance is less than $5? :D I don't quite understand the point. BTW, Fun Fact: The board with WiFi contains an ESP8285, so you could in fact run TWO MicroPython instances on one board. Fun aside, it wouldn't be too useful to run MicroPython on ESP8285, but it could be interesting (and maybe ...