Search found 9 matches

by cmason
Tue Jan 17, 2017 6:49 am
Forum: Showcase
Topic: Talk/class on ESP32
Replies: 0
Views: 4147

Talk/class on ESP32

Hi All, I gave a talk and demo last week about microcontroller programming centered around the ESP32. We gave ~ 20 non-hardware programmers a SparkFun ESP32 Thing and had them walk through the process of setting up the ESP-IDF, writing and flashing code. Here's a repo with the installation instructi...
by cmason
Wed Jan 04, 2017 7:29 am
Forum: General Discussion
Topic: Heat issues?
Replies: 4
Views: 14878

Re: Heat issues?

If you just leave it on in waiting for download mode does it still get hot? I'm not sure exactly what you mean here, but if I hold down the 0 button while plugging in to USB, my code doesn't seem to run although the LED is on dimly. I think this is bootloader mode. In this mode, no it does not seem...
by cmason
Wed Jan 04, 2017 6:36 am
Forum: General Discussion
Topic: Heat issues?
Replies: 4
Views: 14878

Heat issues?

Continuing discussion from this thread : I'm seeing about 46 C max using a non-contact thermometer held ~10 cm above the ESP chip after my code (described in above thread) has been running (successfully) for perhaps 30 mins. This is on a Sparkfun ESP32 Thing ( schematic ). This happens even with no ...
by cmason
Mon Jan 02, 2017 10:49 pm
Forum: ESP-IDF
Topic: LEDC Fade PWM *Phase*
Replies: 10
Views: 20673

Re: LEDC Fade PWM *Phase*

Fyi, the ESP32 isn't supposed to get hot enough to be painful, and I've never seen that happen. Are you sure all voltages you feed into it are in range, and no weird currents are running anywhere? Do you have a schematic of the thing somewhere? Sparkfun ESP 32 Thing Schematic is here . I'm seeing a...
by cmason
Sat Dec 31, 2016 7:54 pm
Forum: ESP-IDF
Topic: LEDC Fade PWM *Phase*
Replies: 10
Views: 20673

Re: LEDC Fade PWM *Phase*

Hi Angus, I implemented this using the zero-crossing interrupt and it works, most of the time. I'm using zero crossing interrupt (based on external GPIO input from zero-crossing detection circuit) instead of suggested timer reset interrupt because I need to reset the LEDC timer at the zero crossing ...
by cmason
Sat Dec 31, 2016 6:47 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 115516

Re: JavaScript on ESP32 - Duktape

Hi Kolban, I've been following this with much interest. Thanks for the recent docs, that's helped understanding a lot. A couple questions: What's your thinking about public entry points/use cases? It seems like you're mostly interested in delivering a complete "environment" that allows programming d...
by cmason
Fri Dec 30, 2016 8:22 pm
Forum: ESP-IDF
Topic: LEDC Fade PWM *Phase*
Replies: 10
Views: 20673

Re: LEDC Fade PWM *Phase*

You probably means TRIAC, not MOSFET.
Yes, thanks, corrected.

-c
by cmason
Fri Dec 30, 2016 7:24 pm
Forum: ESP-IDF
Topic: Floating point in ISR?
Replies: 3
Views: 6869

Floating point in ISR?

Is use of floating point instructions disallowed in interrupt routines?

Thanks,

-c
by cmason
Thu Dec 29, 2016 6:52 pm
Forum: ESP-IDF
Topic: LEDC Fade PWM *Phase*
Replies: 10
Views: 20673

LEDC Fade PWM *Phase*

Hello! The LEDC peripheral allows changing / "fading" the duty cycle of the generated PWM over time. This is done by having the hardware add to or subtract from the register (LEDC_DUTY_HSCH) that sets when the PWM signal is latched low . Is it possible to similarly fade the PWM phase ? This could be...