Search found 220 matches

by torwag
Thu Sep 14, 2017 2:18 pm
Forum: ESP8266 boards
Topic: es8266 (itead sonoff) hanged after flashing
Replies: 13
Views: 14361

Re: es8266 (itead sonoff) hanged after flashing

Hi, as Peter mentioned, we invested a lot of time into these units (Peter much more then me). My last investigation was about the ping times, since Peter mentioned considerable long reply times. On my unit, which worked without issues, running the unit on REPL (thus, it was not occupied with any CPU...
by torwag
Thu Aug 24, 2017 3:55 pm
Forum: Other Boards
Topic: How to have micro python interpreter running on a very simple function
Replies: 4
Views: 3880

Re: How to have micro python interpreter running on a very simple function

Hi and welcome, I am not sure what you are trying to do. If you simply want to execute the python code, there is no need for tweaking and compiling. Simply install the latest firmware for your board and copy your python function in a file 'main.py'. The python interpreter on the board will call main...
by torwag
Sun Aug 20, 2017 7:29 pm
Forum: ESP8266 boards
Topic: HSPI chip select
Replies: 2
Views: 2926

Re: HSPI chip select

Hi, maybe you find more answers looking for the Esp8266 instead of the ESP2866 ;) But yes, as far as I can tell (never used SPI with micropython) CS is not implemented by the generic SPI driver. However, as it is a simple io action, one can simply create a Pin instance to do the job and wrap this in...
by torwag
Thu Aug 17, 2017 7:43 pm
Forum: ESP32 boards
Topic: Differences between Micropython ports for ESP32 and ESP8266
Replies: 35
Views: 169356

Differences between Micropython ports for ESP32 and ESP8266

Hi, as many questions move around with the meta topic, "Can I do / I can't do something on the ESP32, I used to do on the ESP8266", I thought it would be a good idea to collect user experiences and observations. This info can go back then as feature requests, bug reports or into an official part of ...
by torwag
Thu Aug 17, 2017 7:14 pm
Forum: ESP32 boards
Topic: MQTT
Replies: 8
Views: 8528

Re: MQTT

Hi, there is no need to recompile and reflash after doing it initially unlike : 1. one want to update micropython and the precompiled modules coming with it 2. want to add modules to the image, so called frozen bytecode, to have a customised version of mp or for memory safeing reasons. Micropython c...
by torwag
Wed Aug 16, 2017 9:24 pm
Forum: ESP32 boards
Topic: MQTT
Replies: 8
Views: 8528

Re: MQTT

The mqtt library does not come with the firmware. You have to install them first using e. g. upip or copy them manually to your board. Sorry for my brevity but I am on the road right now.
Hope it helps a bit.
by torwag
Mon Aug 14, 2017 8:07 am
Forum: ESP32 boards
Topic: ESP32 boards
Replies: 8
Views: 10019

Re: ESP32 boards

@chale welcome. you might want to consider using MQTT. This is a resource efficient protocol for machine to machine communication. It handles all kind of problems for you already. Furthermore, it is a standard and you will find apps for mobile phones as well as a lot of projects to try. However, it ...
by torwag
Mon Aug 07, 2017 2:16 pm
Forum: ESP8266 boards
Topic: HID library/module for ESP8266?
Replies: 8
Views: 41134

Re: HID library/module for ESP8266?

USB is a pretty big beast. Usually, it requires dedicated hardware to operate smoothly. The ESP does not have this hardware. It is not trivial to implement it in software only, esp. if the device itself is already very limited. Therefore, I agree with pythoncoder that the mentioned bit-banging USB-p...
by torwag
Mon Aug 07, 2017 1:23 pm
Forum: ESP8266 boards
Topic: HID library/module for ESP8266?
Replies: 8
Views: 41134

Re: HID library/module for ESP8266?

There are at least a few Dev boards that add a micro USB connector and chip to ease programming and powering the esp. Wemos D1 mini and Node MCU are two of those. But those are client only. The FTDI or whatever clone just converts the USB PC-side to the serial communication for the ESP. Therefore, ...
by torwag
Tue Aug 01, 2017 10:20 am
Forum: ESP8266 boards
Topic: [SOLVED] unable to get REPL prompt
Replies: 17
Views: 19799

Re: unable to get REPL prompt

Hi, I can just say that I flashed multiple D1 mini boards with daily git builds and face no problem. Maybe you could set the UART speed to 74880bps and see what the "garbage" is telling you. Other then this it could be simply a faulty device, or as Peter suggested a fraud device. There are images on...