Search found 18 matches
- Wed May 24, 2017 3:39 pm
- Forum: ESP32 Arduino
- Topic: bluetooth code size enormous
- Replies: 5
- Views: 5589
bluetooth code size enormous
I tried to play with bluetooth and created this sketch: #include <Arduino.h> #include "bt.h" #include "btm_api.h" #include "esp_gap_ble_api.h" #include "esp_bt_main.h" static bool connect = false; static void esp_gap_cb(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) { uint8_t *adv_name...
- Sun May 21, 2017 7:22 pm
- Forum: ESP-IDF
- Topic: connect and send audio data to a2dp sink
- Replies: 3
- Views: 3950
connect and send audio data to a2dp sink
I saw https://dl.espressif.com/doc/esp-idf/la ... _bd_addr_t and am wondering if this can be used to connect to a2dp sink (bluetooth speaker) and send audio data to it ?
- Thu May 18, 2017 7:04 pm
- Forum: ESP-IDF
- Topic: I2S microphone (RX)
- Replies: 56
- Views: 55972
Re: I2S microphone (RX)
thanks a lot @andriy .... so it seems i am getting some feedback now, but its still going between periods with data and periods without data ... using serial plotter i can see this: mic.png any idea what could be causing that ? my complete code: #include <WiFi.h> #include "driver/i2s.h" void i2s_con...
- Sun May 14, 2017 11:45 am
- Forum: ESP-IDF
- Topic: I2S microphone (RX)
- Replies: 56
- Views: 55972
Re: I2S microphone (RX)
also i noticed that i need to read two 32 bit integers (stereo) ... void read_i2s() { uint32_t sample_val[2] = {0, 0}; i2s_pop_sample((i2s_port_t)0, (char *)sample_val, portMAX_DELAY); Serial.println("==>"); Serial.println(sample_val[0]); Serial.println(sample_val[1]); } wierd thing is that i am get...
- Sun May 14, 2017 11:35 am
- Forum: ESP-IDF
- Topic: I2S microphone (RX)
- Replies: 56
- Views: 55972
Re: I2S microphone (RX)
Seems to be a buggy driver ...
on espidf 2.0 i get output from mic with the above code (however it doesnt seem to be correct output ....)
on latest version of espidf i get only 0 with the same code.
on espidf 2.0 i get output from mic with the above code (however it doesnt seem to be correct output ....)
on latest version of espidf i get only 0 with the same code.
- Thu May 11, 2017 9:14 pm
- Forum: ESP-IDF
- Topic: I2S microphone (RX)
- Replies: 56
- Views: 55972
Re: I2S microphone (RX)
i tried setting pin 17 to input/input_pulldown/input_pullup ... none seem to work (with pullup i get int32 max value) void i2s_config() { // http://esp-idf.readthedocs.io/en/latest/api/peripherals/i2s.html // input i2s_config_t i2s_in_config = { mode: (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX), sam...
- Thu Apr 27, 2017 12:46 pm
- Forum: ESP-IDF
- Topic: I2S microphone (RX)
- Replies: 56
- Views: 55972
I2S microphone (RX)
I am trying to connect I2S mic to ESP32 with no luck. (using SPH0645LM4H-B mic) i2s init code: ``` i2s_config_t i2s_in_config = { mode: (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX), sample_rate: 16000, bits_per_sample: (i2s_bits_per_sample_t)16, // found some posts saying 32bit mode is giving extra p...
- Wed Feb 22, 2017 4:46 pm
- Forum: General Discussion
- Topic: WROOM-32 flash size?
- Replies: 7
- Views: 13196
Re: WROOM-32 flash size?
i have ESP-WROOM-32 and i tried to upload a program 1.7MB big .... Platform.IO complains that maximum 1MB is allowed ... i went ahead and changed its limit to 2mb but upload failed. is there a reason i can only upload programs up to 1mb ?