Search found 4 matches

by ozigzagor
Thu Jul 09, 2020 10:48 am
Forum: ESP8266 boards
Topic: How to use the Bluetooth module with MicroPython?
Replies: 1
Views: 1865

How to use the Bluetooth module with MicroPython?

I'm currently using the HC-05 (ZS-040) module and have very little idea on how to work it. How do I set up this Bluetooth module so that I can connect to it via my computer and send my chip commands? I know this won't get many replies, but bear with me. I'm not looking for a thorough explanation: I ...
by ozigzagor
Thu Jul 09, 2020 9:36 am
Forum: ESP8266 boards
Topic: How do I reset my main.py file?
Replies: 3
Views: 2039

Re: How do I reset my main.py file?

Roberthh wrote:
Wed Jul 08, 2020 8:01 pm
You can always erase the flash with esptool.py and have a fresh new start.
Thank you very much, this worked! Here, have a ❤️ for my appreciation.
rpr wrote:
Thu Jul 09, 2020 2:55 am
Can you copy an empty main.py via rshell? Then power cycle.
Thanks for the reply. Didn't try it as Robert's solution already worked.
by ozigzagor
Wed Jul 08, 2020 5:37 pm
Forum: ESP8266 boards
Topic: How do I reset my main.py file?
Replies: 3
Views: 2039

How do I reset my main.py file?

I kinda messed up the code in my board and now it won't connect to the REPL. I need to fix this. Do you guys have any suggestions?

I detached the REPL from UART0, which was sort of an apparent (but hopefully recoverable) suicide for my D1 Mini.
by ozigzagor
Wed Jul 08, 2020 5:17 am
Forum: ESP8266 boards
Topic: Why can't I access my ESP8266 USB after detaching REPL from UART0? How do I fix this?
Replies: 0
Views: 1259

Why can't I access my ESP8266 USB after detaching REPL from UART0? How do I fix this?

What I put into my otherwise mostly empty main.py code was basically: import uos uos.dupterm(None, 1) I uploaded this code to my microcontroller and it stopped being able to connect to my computer. My aim was trying to connect to a Bluetooth module (ZS-040). Now I can't even connect to the microcont...