Search found 9 matches

by DavidRKnowles
Sun Feb 09, 2020 1:08 am
Forum: ESP32 boards
Topic: Trouble getting a Serial Repl
Replies: 5
Views: 228

Re: Trouble getting a Serial Repl

Well, it was the usb-uart bridge, desoldered it and I am able to get a REPL fine in all applications using my own bridge on UART0.

Bit of pain and detective work, sucks when its the hardware :(
by DavidRKnowles
Sun Feb 09, 2020 12:30 am
Forum: ESP32 boards
Topic: Trouble getting a Serial Repl
Replies: 5
Views: 228

Re: Trouble getting a Serial Repl

Ok some more detecting over the weekend, I have noticed I can't get a serial connection through the Arduino serial monitor if I use directly onboard power to either 3.3v or using the onboard regulator with 5v to the vcc pin. It only works with Arduino serial monitor if the board is powered via the U...
by DavidRKnowles
Wed Feb 05, 2020 7:06 am
Forum: ESP32 boards
Topic: Trouble getting a Serial Repl
Replies: 5
Views: 228

Re: Trouble getting a Serial Repl

Also just tried to serial in via Python with the serial module,

This connected to the port but nothing was received back when I sent a couple of bytes, this worked fine with my other flashed micropython nodemcu.
by DavidRKnowles
Wed Feb 05, 2020 5:29 am
Forum: ESP32 boards
Topic: Trouble getting a Serial Repl
Replies: 5
Views: 228

Re: Trouble getting a Serial Repl

Just to clarify -- what you're saying is that the Arduino serial monitor works (both with the onboard uart/usb adaptor, and with an external one wired directly to the TX/RX pins on the ESP32), and PuTTY / uPyCraft don't work in either configuration? Yes, that is exactly correct. My guess is that it...
by DavidRKnowles
Wed Feb 05, 2020 4:10 am
Forum: ESP32 boards
Topic: Trouble getting a Serial Repl
Replies: 5
Views: 228

Trouble getting a Serial Repl

Hi guys, I have a nodemcu esp32 (well two of them), this one seems to have some form of issue with the connection Behaviour It flashes fine as long as you hold the boot button while resetting then run the esptool.py flasher and as that is connecting release the boot/gpio0. It will not connect in uPy...
by DavidRKnowles
Sun Jan 19, 2020 11:36 am
Forum: General Discussion and Questions
Topic: ctypes into uctypes for crc communication
Replies: 2
Views: 538

Re: ctypes into uctypes for crc communication

I’m not sure why they’re using ctypes here, ctypes is for calling C functions and there are no C functions being called here. It seems all they want is to slice 8 bits out of an integer, which is easily done using the & operator, no ctypes needed. The following seems to work for me in CPython, givi...
by DavidRKnowles
Sun Jan 19, 2020 5:03 am
Forum: General Discussion and Questions
Topic: ctypes into uctypes for crc communication
Replies: 2
Views: 538

ctypes into uctypes for crc communication

Finally got some time to jump back onto micropython and finish a project I had for communicating with my offgrid inverter. It is a MPP Solar unit and requires a CRC with the commands to ensure all is healthy with the data, the python project I am getting most of the ideas with regards to communicati...
by DavidRKnowles
Fri Oct 11, 2019 4:14 am
Forum: General Discussion and Questions
Topic: Micropython Webserver
Replies: 3
Views: 394

Re: Micropython Webserver

Thanks guys, Yeah its inevitable isn't it lol. I always aim to make things as efficient as possible, and when I came across uasyncio I thought damn, this does everything I have hacked together and more, but it does it better. I have my framework working alright after some time playing around last ni...
by DavidRKnowles
Wed Oct 09, 2019 3:11 am
Forum: General Discussion and Questions
Topic: Micropython Webserver
Replies: 3
Views: 394

Micropython Webserver

Hi, A month ago I got extremely frustrated in writing C/C++ for my home IOT projects, I am not a native C coder and dealing with strings and memory often had me gouging out my eyes. Then I came across a microphone video and while I have never used python I found it extremely easy to do programming i...