Search found 75 matches

by rpr
Sun Aug 25, 2019 9:05 pm
Forum: ESP32 boards
Topic: How to write single bit to slave using i2c
Replies: 5
Views: 481

Re: How to write single bit to slave using i2c

What happens if you send i2c.writeto(40,b'1')?
by rpr
Sat Aug 24, 2019 12:15 am
Forum: Hardware Projects
Topic: Network LAN
Replies: 12
Views: 2207

Re: Network LAN

kcoelho wrote:
Fri Aug 23, 2019 8:23 pm

Hi rpr,

It uses a LAN8710 chipset, which should be quite similar.
I'll take a look into that and let you know the outcome.

Thank you
Thanks. I'm interested.
by rpr
Fri Aug 23, 2019 3:31 pm
Forum: Hardware Projects
Topic: Network LAN
Replies: 12
Views: 2207

Re: Network LAN

If the board uses a lan8720 chipset, the loboris fork for the esp32 has support in micropython. Loboris made some small hardware mods to the lan8720 boards he was using. There is at least a thread on his forum. https://loboris.eu/forum/showthread.php?tid=334 Loboris commented that he thought his cod...
by rpr
Wed Aug 21, 2019 2:57 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 788

Re: Control-C program via rshell etc

Thanks for your code suggestions. The esp8266 has been running so far (about 3 days). I will probably let it go for a little while longer. Much appreciate your help.
by rpr
Mon Aug 19, 2019 10:17 pm
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 788

Re: Control-C program via rshell etc

I'm taking sensor data from a dht22 and using Peter's mqtt_as module. Here is the code. It has been working perfectly for about 36 hours now. I'm going to let it run for a few more days to check. Though it would be nice to do a Ctrl-C. from mqtt_as import MQTTClient from configmqtt import config imp...
by rpr
Sun Aug 18, 2019 9:12 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 788

Re: Control-C program via rshell etc

Peter, many thanks.

I've been using the nuclear option so far. A little annoying but worked. I will try out your more practical solution.
by rpr
Sun Aug 18, 2019 1:53 am
Forum: ESP8266 boards
Topic: Control-C program via rshell etc
Replies: 10
Views: 788

Control-C program via rshell etc

I have an infinite loop running on my ESP8266 started at the end of my main.py. The program works fine and is sending data over mqtt. How can I interrupt it via rshell etc? rshell keeps waiting at the "Testing if ubinascii.unhexlify exists ..." How can I send a ctrl-C? Thanks for your help. This is ...
by rpr
Thu Aug 15, 2019 5:23 am
Forum: Programs, Libraries and Tools
Topic: uPydev - Command line tool for wireless Micropython devices
Replies: 2
Views: 619

Re: uPydev - Command line tool for wireless Micropython devices

I have used it in a somewhat limited fashion and I like it. Being able to create groups and access individual boards is a nice feature. It will really help in management of network of micropython boards.
by rpr
Wed Aug 14, 2019 4:21 pm
Forum: Programs, Libraries and Tools
Topic: uPydev - Command line tool for wireless Micropython devices
Replies: 2
Views: 619

Re: uPydev - Command line tool for wireless Micropython devices

This looks like a very comprehensive and useful tool. I will try it with my esp32 and esp8266 boards.
by rpr
Sun Aug 11, 2019 11:31 pm
Forum: ESP32 boards
Topic: Trouble connecting to SPI display sh1106
Replies: 9
Views: 831

Re: Trouble connecting to SPI display sh1106

I don't have this board and have not used the SPI as well so my response may be naive. From the docs it appears that VSPI is at SPI(2).

http://docs.micropython.org/en/latest/e ... re-spi-bus