Search found 20 matches

by kurt
Thu Feb 07, 2019 5:08 pm
Forum: ESP8266 boards
Topic: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi
Replies: 16
Views: 45152

Re: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi

Hi,
the solution is using thicker cable for VCC and GND.
ESP8266 3.3V output seems to critical if both modules are driven via a USB cable.
Kurt
by kurt
Wed Feb 06, 2019 8:18 pm
Forum: ESP8266 boards
Topic: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi
Replies: 16
Views: 45152

Re: SX127x (LoRa transceiver) driver for (Micro)Python on ESP8266/ESP32/Raspberry_Pi

Hi, bought two of this boards https://de.aliexpress.com/item/Ra-01-SX1278-LoRa-Spread-Spectrum-Wireless-Module-433MHz-Wireless-Serial-Port-UART-Interface-Ra01/32810291073.html?spm=a2g0s.9042311.0.0.27424c4dchvsOj and connected one to ESP32 DEVKIT V1 using your code from github and run the example 'D...
by kurt
Thu Jan 31, 2019 1:33 pm
Forum: ESP32 boards
Topic: WIZNET5K usage in ESP32 port
Replies: 1
Views: 2204

Re: WIZNET5K usage in ESP32 port

by kurt
Tue Jan 22, 2019 6:42 pm
Forum: ESP32 boards
Topic: WIZNET5K usage in ESP32 port
Replies: 1
Views: 2204

WIZNET5K usage in ESP32 port

Hi, bought a WIZNET5K W5500 board. How can I include it in a build for esp32? Many thanks for any hint. Kurt I did the following: - modified in wizchip_conf.h parameter: #define _WIZCHIP_ 5200 to #define _WIZCHIP_ 5500 - modified Makefile from: DRIVERS_SRC_C = $(addprefix drivers/,\ bus/softspi.c \ ...
by kurt
Wed Jul 25, 2018 9:07 pm
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

Re: uart.StreamReader and asyncio no data

Hi,
from my point of view you can use GPIO3. I think, you should do a uart.deinit() first.
See here:
https://docs.micropython.org/en/latest/ ... .UART.html
Regards
Kurt
by kurt
Sun Jul 08, 2018 6:22 am
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

Re: uart.StreamReader and asyncio no data

Hi, problem solved by uos.dupterm(None) and !!! uos.dupterm(None, 1). Means both have to be set. REPL and WebREPL are not more usable with this setup, for shure. I have to find an other way to communicate with the app, may be an own web server. Here my test app: import uos import time from machine i...
by kurt
Sat Jul 07, 2018 9:36 pm
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

Re: uart.StreamReader and asyncio no data

Hi kevinkk525, thanks for presenting the link. Unfortunately, it does not change anything. I extend my test app to get WebREPL by start a network connection. import network import uasyncio as asyncio from machine import UART import uos uos.dupterm(None, 1) uart = UART(0, 115200) uart.init(115200, bi...
by kurt
Fri Jul 06, 2018 7:57 am
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

Re: uart.StreamReader and asyncio no data

Hi Peter, I used import uasyncio as asyncio from machine import UART uart = UART(0, 115200) async def receiver(): sreader = asyncio.StreamReader(uart) while True: res = await sreader.readline() print('Recieved', res) loop = asyncio.get_event_loop() loop.create_task(receiver()) loop.run_forever() loa...
by kurt
Thu Jul 05, 2018 9:33 am
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

Re: uart.StreamReader and asyncio no data

Hi Peter, sorry, you are absolutly right. My application uses a 3 by 4 keypad matrix and an RFID reader connected via UART to the ESP8266 (at a second solution a RFC522 is connected via SPI, instead. This runs fine). With the asyncio functionalty of micropython, I'm able to run tasks for check keypa...
by kurt
Wed Jul 04, 2018 10:01 am
Forum: ESP8266 boards
Topic: uart.StreamReader and asyncio no data
Replies: 10
Views: 9531

uart.StreamReader and asyncio no data

Hi, run MicroPython v1.9.4-241-g14ab81e on my ESP8266 nodemcu board. load import uasyncio as asyncio from machine import UART uart = UART(0, 115200) async def sender(): swriter = asyncio.StreamWriter(uart, {}) while True: await swriter.awrite('Hello uart\n') await asyncio.sleep(2) async def receiver...