Search found 31 matches

by lesept
Sun Nov 18, 2018 9:05 pm
Forum: Hardware
Topic: Deep sleep wake up from GPIO impossible using Arduino IDE?
Replies: 3
Views: 7298

Deep sleep wake up from GPIO impossible using Arduino IDE?

Hi I'm trying to use the deep sleep of the ESP32 and wake up using an interrupt from a MPU6050 accelerometer. But when I compile the code, I get an error : Arduino : 1.8.2 (Windows 10), Carte : "LOLIN D32, Default, 80MHz, 921600, None" C:\Users\Chuwi\Documents\Arduino\_ESP32\DS_TouchWakeUp_et_Timer\...
by lesept
Fri Oct 26, 2018 6:55 pm
Forum: ESP32 Arduino
Topic: Size of a sketch
Replies: 2
Views: 5252

Re: Size of a sketch

Actually, it's 180 lines... /* Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleWrite.cpp Ported to Arduino ESP32 by Evandro Copercini */ #include <WiFi.h> #include "time.h" #include <BLEDevice.h> #include <BLEUtils.h> #inc...
by lesept
Fri Oct 26, 2018 9:27 am
Forum: ESP32 Arduino
Topic: Size of a sketch
Replies: 2
Views: 5252

Size of a sketch

Hello I'm playing with the Wifi and BLE connexions of the ESP32. I use the BLE libraries from Neil Kolban. I built a sketch that receives data from an Android app I developed using App Inventor and it works. I wanted to add the possibility to connect on my Wifi network to get the current time, using...
by lesept
Fri Oct 05, 2018 11:57 am
Forum: ESP-IDF
Topic: Need help with SPI
Replies: 0
Views: 2330

Need help with SPI

Hi I'm trying to run a simple test with the SPI bus, but the program gets stuck at the transmit instruction. I guess I haven't understood al the subtleties of the protocol. Here is my code : /* */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "fre...
by lesept
Wed Sep 26, 2018 4:55 pm
Forum: General Discussion
Topic: Problem with ESP32_spiffs_example
Replies: 0
Views: 2176

Problem with ESP32_spiffs_example

Hello I tried the to run the ESP32_spiffs_example, and it works fine except for the part dealing with SPIFFS Images I followed the instructions on this site but the chapter Prepare SPIFFS image doesn't work. When I type make clean in the directory components/mkspiffs/include I get an error message, ...
by lesept
Tue Sep 25, 2018 9:09 am
Forum: Hardware
Topic: Looking for a ESP32‑D2WD module
Replies: 2
Views: 4563

Looking for a ESP32‑D2WD module

I'm trying to find a ESP32 module such as this (for example) https://images-na.ssl-images-amazon.com/images/I/613Q6IxkivL._SX425_.jpg but equipped with a ESP32‑D2WD, to use internal flash memory. Can anyone tell me where to find it (Aliexpress and Banggood do not seem to have any)? Thanks for your h...
by lesept
Tue Sep 11, 2018 8:58 am
Forum: Hardware
Topic: Quickest possible digital output
Replies: 7
Views: 9662

Re: Quickest possible digital output

I want to make a reflectometer to test cables. The idea is to inject a pseudo random binary signal into the cable and read the reflected signal. The key point is to be able both to inject and acquire binary samples with the ESP32 at very high speed. In fact doing this at less than 100 MHz is not int...
by lesept
Mon Sep 10, 2018 6:13 pm
Forum: Hardware
Topic: Quickest possible digital output
Replies: 7
Views: 9662

Re: Quickest possible digital output

Thanks for your answers. Actually, seeing that the CPU frequency is 240 MHz, I'm expecting to reach at least 100 Mbit/s. But how? One solution I think of is to use the QuadSPI (if exists) to get 4 bits per clock tick. The SPI frequency is 40MHz so I could potentially reach 160 Mbits/s. The ESP CPU w...
by lesept
Sun Sep 09, 2018 3:28 pm
Forum: Hardware
Topic: Quickest possible digital output
Replies: 7
Views: 9662

Quickest possible digital output

Hello I'm trying to build a system that can output as fast as possible some given bits to an ESP32 digital pin. These bits are pseudo random, they can be generated earlier and stored in a memory (internal or external). The number of bits can range up to several thousands, if necessary it can be a po...
by lesept
Sat Jun 30, 2018 9:26 am
Forum: ESP32 Arduino
Topic: Looking for a ESP32 TouchScreen Library
Replies: 9
Views: 21673

Re: Looking for a ESP32 TouchScreen Library

I found a solution that works. I use the TFT_eSPI library for the display and XPT2046_Touchscreenfor the touch. TFT_eSPI defines the pins in a setup file, here is what I used: // For ESP32 Dev board (only tested with ILI9341 display) // The hardware SPI can be mapped to any pins #define TFT_MISO 19 ...