Search found 13 matches

by peter_
Mon Mar 20, 2017 9:21 am
Forum: General Discussion
Topic: Powering my esp32 projects
Replies: 6
Views: 23870

Re: Powering my esp32 projects

Hello, it should be possible to power the ESP from a LIPO. They have often discharge rates of about 20 C/H (C = capacity in AH). But you need a voltage regulator with a very low drop. I'm using the TPS73733. Maybe you can think about a switching regulator, but I don't know if this is the best choice...
by peter_
Sat Mar 18, 2017 11:33 am
Forum: General Discussion
Topic: Disable GPIO
Replies: 4
Views: 8704

Re: Disable GPIO

Hello,
thanks for the fast reply. If I change the PIN Mux the PWM disappear, but I still have some random noise on the pin. I try to get a closer look with a oscilloscope on the pin.

Kind regards

Peter
by peter_
Thu Mar 16, 2017 12:10 pm
Forum: General Discussion
Topic: Disable GPIO
Replies: 4
Views: 8704

Re: Disable GPIO

Hi,
I have have tried to MUX it to a fix value. Unfortunately there is still noise on the output. (If I don't initialize the PWM there is no noise.)
Is there no way to deinitialize the Pin in a fast way?
Regards
Peter
by peter_
Wed Mar 15, 2017 4:25 pm
Forum: General Discussion
Topic: Disable GPIO
Replies: 4
Views: 8704

Disable GPIO

Hello, I run the LED_PWM as an Sound output. Due the noise I want to disable the Output, if I don't play any sound. How can I disable it? REG_CLR_BIT(GPIO_PIN_MUX_REG[18], SLP_OE); or this gpio_set_direction(LS_IO, GPIO_MODE_INPUT); doesn't work. I'm still able to play a sound via PWM. Can anybody h...
by peter_
Mon Feb 27, 2017 10:26 am
Forum: ESP-IDF
Topic: ESP IDF and C++ linker problem with xRingbufferReceive
Replies: 4
Views: 9484

Re: ESP IDF and C++ linker problem with xRingbufferReceive

Hello Rudi, thanks for testing. But if I see it right you have tested it with a .c file. My problem only occurs when I use the .cpp ending. If I don't have the extern "C" before the app_main() it don't compiles. (I think the reason is that this function is called by a C function.) Unfortunately it i...
by peter_
Mon Feb 27, 2017 9:38 am
Forum: ESP-IDF
Topic: ESP IDF and C++ linker problem with xRingbufferReceive
Replies: 4
Views: 9484

ESP IDF and C++ linker problem with xRingbufferReceive

Hello together, I want to port the Infrared Nec example to CPP. I have a linker problem when I include the xRingbufferReceive function. I have made a small example with the Hello World program. #include <stdio.h> #include "esp_err.h" #include "esp_log.h" #include "esp_system.h" #include "nvs_flash.h...
by peter_
Mon Feb 20, 2017 7:43 am
Forum: ESP-IDF
Topic: Timers and Stepper Motor Control
Replies: 11
Views: 31132

Re: Timers and Stepper Motor Control

Hello Jones, I mean the technical reference not the datasheet. Page 157. I have look a little bit closer and just seen, that the upper limit can only be set in bits (2^n). So I think you have to work with the divider (It has 14Bit + 4 Fractial Bits so in total 18 Bits). You can use the normal counte...
by peter_
Sun Feb 19, 2017 12:25 pm
Forum: ESP-IDF
Topic: Timers and Stepper Motor Control
Replies: 11
Views: 31132

Re: Timers and Stepper Motor Control

Hello Jones, I think the PWM Peripheral is the best way to generate pulses like this (I think you need a lot of pulses with same frequency). I would offload things like this from the CPU because switching into an interupt and toogle a pin is very time consuming for the effect you have. If I see it r...
by peter_
Fri Feb 17, 2017 8:52 pm
Forum: General Discussion
Topic: Low Rate WIFI Protocol LR
Replies: 16
Views: 29248

Re: Low Rate WIFI Protocol LR

Hello,
are there any news about this topic? This mode sounds very interesting for me because I don't need a really high datarate but a high range.
Is it compatible with normal routers? (I don't think so.)
Regards
Peter
by peter_
Wed Feb 15, 2017 2:31 pm
Forum: Sample Code
Topic: [Info] WS2812 (NeoPixels) C++ class for ESP32
Replies: 5
Views: 12543

Re: [Info] WS2812 (NeoPixels) C++ class for ESP32

Hello kolban, thank you for this snippet. It looks like there is a little bug. You have to change the MSB and LSB (particularly in the RGB set function). I do this in that way (it is maybe not the best but it works): void WS2812::setPixel(uint16_t index, uint8_t red, uint8_t green, uint8_t blue) { i...