Search found 121 matches

by newsettler_AI
Fri Nov 03, 2017 2:04 am
Forum: General Discussion
Topic: convert ADC readings
Replies: 2
Views: 7165

convert ADC readings

Hi, I'm trying to measure input voltage by adc1 in range 0 - 3,3 V. This is how I expected to convert raw values to voltage: adc_input_voltage = (Vref * adc_RAW ) / 4096 and here is part code & settings: float convert_adc_to_voltage(uint32_t adc_val) { float adc_volt = (3.3 * adc_val) / 4096; return...
by newsettler_AI
Thu Oct 12, 2017 9:10 am
Forum: General Discussion
Topic: Flashing ESP32 without buttons? (CTS RTS at uart dongle)
Replies: 7
Views: 17131

Re: Flashing ESP32 without buttons? (CTS RTS at uart dongle)

Hi, sorry for late delay with answer. Recently I got new esp core board and it flashing automaticaly without issues. :) But now I'm interesting, is it possible to flash automatically bare ESP-WROOM-32 module using only CTS and RTS pins? I have checked schematic of coreboard. https://dl.espressif.com...
by newsettler_AI
Mon Sep 18, 2017 3:14 pm
Forum: General Discussion
Topic: Flashing ESP32 without buttons? (CTS RTS at uart dongle)
Replies: 7
Views: 17131

Re: Flashing ESP32 without buttons? (CTS RTS at uart dongle)

Well, I'm dont have such capasitor onhand right now, I will try it later. Aslo, I noticed, that there is one more solution in topic - changing time.sleep() to 0.5 in line 352. I tried, by Eclipse says: File "D:/ESP32/esp-idf/components/esptool_py/esptool/esptool.py", line 352 time.sleep(0.5) ^ Inden...
by newsettler_AI
Mon Sep 18, 2017 12:29 pm
Forum: General Discussion
Topic: Flashing ESP32 without buttons? (CTS RTS at uart dongle)
Replies: 7
Views: 17131

Re: Flashing ESP32 without buttons? (CTS RTS at uart dongle)

Yes, this is my ESP32 board.

I'm using Eclipse and when I'm trying load projects, I need firstly hold BOOT and then restart module (press EN). ESP runs in boot-mode.
Overwise eslipse cant load firmware.

Should I edit esptool.py or change something in eclipse settings?
by newsettler_AI
Mon Sep 18, 2017 10:25 am
Forum: General Discussion
Topic: Flashing ESP32 without buttons? (CTS RTS at uart dongle)
Replies: 7
Views: 17131

Flashing ESP32 without buttons? (CTS RTS at uart dongle)

Hi, I have ESP32-Core-board-v2 kit and FTDI uart converter. http://www.mini-tech.com.ua/image/cache/data/programmers/ft232rl_red-550x550.jpg How can I use RTS and CTS pins to automatize a little flashing process? I want esp can enter in boot mode via remote access (let say, I leaved it in one place ...
by newsettler_AI
Thu Sep 07, 2017 8:21 am
Forum: ESP-IDF
Topic: GPIO remapping issue (peripheral doesnt work on certain pins)
Replies: 1
Views: 4055

GPIO remapping issue (peripheral doesnt work on certain pins)

Hi, I have issue with GPIO pins remapping. I tried official idf example of i2c peripheral on ESP32 DevKit: https://github.com/espressif/esp-idf/tree/master/examples/peripherals/i2c It works fine, but when I tried to change to another GPIO pin (i.e: in this section #define I2C_EXAMPLE_MASTER_SCL_IO 1...
by newsettler_AI
Wed Jul 05, 2017 2:43 pm
Forum: Showcase
Topic: A very basic WebSocket Server
Replies: 12
Views: 38157

Re: A very basic WebSocket Server

Hi,

I have little issue with this example.
ws_err.jpg
ws_err.jpg (104.43 KiB) Viewed 6692 times
Am I correct that some includes missing?

UPD:

need to add
#include "lwip/API.h"

in WebSocket_Task.c :)
by newsettler_AI
Wed Jul 05, 2017 9:58 am
Forum: General Discussion
Topic: ESP32+Webserver (OpenSSLserver example) in AP mode
Replies: 0
Views: 3382

ESP32+Webserver (OpenSSLserver example) in AP mode

Hi, I want to run OpenSSL example https://github.com/espressif/esp-idf/tree/master/examples/protocols/openssl_server in AP mode. I have tried to run it in dual mode (AP+STA), it works fine. But when I'm truing to connect to 192.168.4.1 (its gateway, my [client] have ip 192.168.4.2) it says that conn...
by newsettler_AI
Mon Jul 03, 2017 8:16 am
Forum: General Discussion
Topic: ESP32 OpenOCD+Jlink+Windows7
Replies: 1
Views: 4247

ESP32 OpenOCD+Jlink+Windows7

Hi, I have established debugging with Jlink+openOCD under linux. But when I tried to do it under windows (7), I have problem: openOCD cannot locate Jlink. Here is console output: admin@workpc MSYS ~/openocd-esp32 $ openocd -f esp32.cfg Open On-Chip Debugger 0.10.0-dev-gebfc3bad (2017-06-27-15:50) Li...
by newsettler_AI
Thu Jun 29, 2017 3:44 pm
Forum: General Discussion
Topic: Duration of BLE scan
Replies: 7
Views: 20347

Re: Duration of BLE scan

Thanks for explanation!
Hope that I am interpreting this correctly
interval_window_duration.jpg
interval_window_duration.jpg (40.02 KiB) Viewed 20310 times