Search found 45 matches

by stanely
Sat Mar 27, 2021 1:18 pm
Forum: ESP32 boards
Topic: Picoweb on ESP32 access point
Replies: 6
Views: 1072

Re: Picoweb on ESP32 access point

I just ran into this power problem, and my ESP32 would throw a "Brownout detector was triggered" message in the REPL. Many Chinese ESP32 boards use a 4B2X voltage regulator that can only supply 150mA. ESP32 specs suggest a minimum of 500mA supply current. If you look at the WiFi power requirements y...
by stanely
Wed Mar 17, 2021 12:59 am
Forum: ESP32 boards
Topic: ESP32 Bluetooth Requirements
Replies: 2
Views: 184

Re: ESP32 Bluetooth Requirements

Got it working with nRF Terminal.
by stanely
Tue Mar 16, 2021 10:41 pm
Forum: ESP32 boards
Topic: ESP32 Bluetooth Requirements
Replies: 2
Views: 184

Re: ESP32 Bluetooth Requirements

I tried connecting with a couple other phones. Neither can see any ESP32 bluetooth devices. I tried with:

Android 4.0.4
iPhone 7 with iOS 14.3

nRF says they're both LE capable.
by stanely
Tue Mar 16, 2021 9:47 pm
Forum: ESP32 boards
Topic: ESP32 Bluetooth Requirements
Replies: 2
Views: 184

ESP32 Bluetooth Requirements

I'm setting up bluetooth communications and have an odd problem. When using the UART demo package, I can get this to work with a BT terminal and 3 of my 4 different ESP32 boards. What works is: LILYGO TTGO T-Display ESP32 Heltec OLED WiFi Kit 32 ESP32 DEVKIT V1 But none of my ESP32-DevKitC will pair...
by stanely
Tue Mar 16, 2021 12:30 pm
Forum: General Discussion and Questions
Topic: MicroPythonic way to non-blocking read a character from the serial USB port
Replies: 8
Views: 2037

Re: MicroPythonic way to non-blocking read a character from the serial USB port

Thanks for this code. It works well but has an unusual feature I don't understand. When my code exits, the stdin port is left in a raw REPL state, instead of returning to normal REPL. Is that how it's supposed to work? I tried different things including spoll.unregister(sys.stdin) and sys.stdin.clos...
by stanely
Thu Mar 12, 2020 1:37 pm
Forum: General Discussion and Questions
Topic: Date/Time management
Replies: 20
Views: 18881

Re: Date/Time management

I wrote a clock app for the ESP32 where I messed with time. I got the NTP time and then offset it by timezone. Here's how I set the localtime: # Set the RTC to local time. (I don't think the uP docs are exactly right about this.) RTC().datetime((yy, mo, dd, 0, hh, mm, ss, 0)) You can see all of the ...
by stanely
Thu Mar 05, 2020 5:08 pm
Forum: General Discussion and Questions
Topic: How to cancel Pin interrupts & question about docs.
Replies: 5
Views: 1054

Re: How to cancel Pin interrupts & question about docs.

Yeah unfortunately this is one difficult thing with the machine API... how to handle variations between ports. That's fair. I'm really grateful to you and the MicroPython team for making this fantastic work available to the masses. What might be helpful in cases like this is to say what's likely to...
by stanely
Thu Mar 05, 2020 3:59 am
Forum: General Discussion and Questions
Topic: How to cancel Pin interrupts & question about docs.
Replies: 5
Views: 1054

Re: How to cancel Pin interrupts & question about docs.

I think the docs about the IRQs are somewhat confusing. Triggers are described, trigger configures the event which can generate an interrupt. Possible values are: Pin.IRQ_FALLING interrupt on falling edge. Pin.IRQ_RISING interrupt on rising edge. Pin.IRQ_LOW_LEVEL interrupt on low level. Pin.IRQ_HIG...
by stanely
Wed Mar 04, 2020 11:40 pm
Forum: General Discussion and Questions
Topic: Here's a fun one... Guru Meditation Error!
Replies: 2
Views: 623

Re: Here's a fun one... Guru Meditation Error!

Ha, ha, those folks at espressif have a sense of humor! :) This error is from the old Amiga days and basically says all hope is lost. This particular error was from the interrupt watchdog timer that didn't like me hanging the interrupts for so long.
by stanely
Wed Mar 04, 2020 11:01 pm
Forum: General Discussion and Questions
Topic: Here's a fun one... Guru Meditation Error!
Replies: 2
Views: 623

Here's a fun one... Guru Meditation Error!

Whaaaaaat? Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x40099a1e PS : 0x00060134 A0 : 0x80098b20 A1 : 0x3ffd0180 A2 : 0x3ffd9784 A3 : 0x3ffba2e8 A4 : 0x00000c9f A5 : 0x3f420a6e A6 : 0x0000abab A7 : 0x3ffea510 A8 : 0x3ffba2e8 A9 : 0x00000018 A10 ...