Search found 59 matches

by JoaoLopesF
Sun Aug 26, 2018 12:47 pm
Forum: General Discussion
Topic: BLE questions
Replies: 2
Views: 1001

Re: BLE questions

Hi, I agree with you, @chegewara. Complementing: - ESP32 generally acts as a BLE server and the Mobile App as client. - MTU is always commanded by the client, in this case Android phone - The MTU default of ESP-IDF is about 20 bytes, so your server code can treat this requests of MTU - On Android th...
by JoaoLopesF
Sat Aug 25, 2018 8:47 pm
Forum: General Discussion
Topic: Sending more than 20 bytes with BLE
Replies: 15
Views: 5705

Re: Sending more than 20 bytes with BLE

Hi, I just finish a set of examples (ESP-IDF, Android and iOS), with large BLE messages working
Please see it in: viewtopic.php?f=18&t=6806
by JoaoLopesF
Sat Aug 25, 2018 8:39 pm
Forum: ESP32 Arduino
Topic: What's the advantage of SigmaDelta?
Replies: 9
Views: 3564

Re: What's the advantage of SigmaDelta?

Hi @human890209, I not tested it yet, For my application the Sigma-Delta works fine
Regards
by JoaoLopesF
Mon Aug 20, 2018 4:09 pm
Forum: General Discussion
Topic: Considerations about multicore programming
Replies: 0
Views: 867

Considerations about multicore programming

Hi, When I was starting with ESP-IDF, I simply created a task on CPU1 (with a delay of 1 second) and thought I was using the 2 CPUs of ESP32. But I was wrong and almost all processing was still on CPU 0 .. That is why I created this post. Considerations about multicore programming with ESP-IDF and F...
by JoaoLopesF
Mon Aug 20, 2018 2:46 pm
Forum: ESP32 Arduino
Topic: What's the advantage of SigmaDelta?
Replies: 9
Views: 3564

Re: What's the advantage of SigmaDelta?

Hi @human89020 You said "Faster", is the difference big? The DAC is better to generate real voltage signals (as related by @kolban and @Archibald). But the DAC in ESP32, have a limitations as: - Only 2 channels - Is very slow comparate a Sigma-Delta, if you want generate frequencies it can be a prob...
by JoaoLopesF
Sun Aug 19, 2018 3:16 pm
Forum: General Discussion
Topic: What is the minimum current necessary for an ADC to read a voltage?
Replies: 3
Views: 1469

Re: What is the minimum current necessary for an ADC to read a voltage?

Hi @MichaelL65 In my tests, the reliable maximum values of resistor divider of VBAT is 68k/33k . But it still drop power of battery. Now in my projects, I ground the divider only when I need read the ADC value. It is done by a another GPIO, and can be plugged a MOSFET N-Channel (HIGH to read) or dir...
by JoaoLopesF
Thu Aug 16, 2018 10:11 pm
Forum: ESP32 Arduino
Topic: What's the advantage of SigmaDelta?
Replies: 9
Views: 3564

Re: What's the advantage of SigmaDelta?

Hi, I have one project with 6 channels of leds, and I migrate it to Sigma-Delta. From what I've seen, sigma-delta is more advanced than simple PWM (LedChannel, Motor PWM). (I just googled: sigma-delta pwm) Of course this depends on each application, which may be better in one, cannot be in another ....
by JoaoLopesF
Thu Aug 16, 2018 9:58 pm
Forum: General Discussion
Topic: iOS BLE example to help start ESP32 project?
Replies: 3
Views: 6765

Re: iOS BLE example to help start ESP32 project?

I just finish the Esp-Idf-Mobile-Apps github repos (just ESP32 and IOS. Android soon).
Please give a look viewtopic.php?f=18&t=6806
by JoaoLopesF
Thu Aug 16, 2018 9:54 pm
Forum: General Discussion
Topic: BLE pairing with iPhone and Android
Replies: 2
Views: 1788

Re: BLE pairing with iPhone and Android

Hi, I use ESP32 with Android (>= 4.0.3) and iOS (10.3 and 11.3). Both working very well with ESP32 BLE. I not have any cache problem with Android, as related by @chegewara. I suggest You use the nRF Toolbox app, of Nordic, in both iOS and Android. This is very complete tool app to BLE devices. I jus...
by JoaoLopesF
Thu Aug 16, 2018 9:25 pm
Forum: Sample Code
Topic: Esp-Mobile-Apps (updated)
Replies: 1
Views: 3350

Esp-Mobile-Apps (updated)

*** Updated: Android is ready and Esp32 and iOS been updated too. Arduino version soon Esp-Mobile-Apps is a set of examples apps to start making Esp32 BLE devices connected to mobile applications (Android and iOS) * Part I - Firmware on ESP32, can be: - ESP-IDF app - app example w/ ESP-IDF - https:...