Search for ESP32 in Topics

ESP32 and Pulse Counter

Hi.I can't find a small simple code to know if I receive pulses of a signal from an ESP32 pin.The pulses are about 100ns in amplitude and can be of variable frequency between 100 and 6000Hz.I just know if that pin is receiving pulses, I don't need to count them or anything else.Can you help me, please.Greetings

Question by apersaz    |  last reply

Best way to transmit audio in real time without latency

Hi, I'm working on a project with esp 32 and I would like to know what is the best way to transmit audio (streaming) in real time without latency. Reading, I think the best option is Bluetooth with APTX, but I would like to know if there are modules to do this better than with bluetooth. Thanks you.

Question by RicardoC233  

can i send serial monitor data from ESP32 board to B+ via Bluetooth?

Hello guys how are you doing ?so I'm currently working on a project from long time ago that was devastating and depressing for me , i will tell you the idea and what progress I made through the past 6 weeks and see if you can lead or help me ,, so the idea is I'm currently connecting esp32 Arduino board with six senses , 5 of them are flex sensors and one of them is the mpu6050 sensor which reads the angle of x y and z I was able to connect those sensors to esp32 and read all the values on the serial monitor as you can see below the code and the serial monitor, now my next step that I didn't know how to do is : I want to send those data, the serial monitor data continuously every 6 second to raspberry pi via the Bluetooth of the esp32 to the Bluetooth of the raspberry pi in order to program those data , i want to program those data to an LCD and a speaker ,For example if I received the following values from the esp32 I want the Res pi to put a certain word to the LCD screen and and then convert it to speech through the speaker , I already connected the LCD to the raspberry pi. , but now how I can send the serial monitor data continuously to the pi so I can program it

Topic by bhyamen  

Is it better to use a MOSFET with an Optocouple for PWM?

I want to control an LED strip from a microcontroller, ideally with parts I have on hand:- IRF740 MOSFET- PC123 Optocouple- ESP32 Microcontroller (Has 5V power regulator)- 12V LED strip (5m)A lot of the tutorials online seem to suggest that only a MOSFET are required (Except this one, which seems to me like a safer way of designing this, since I get to treat the 12V and 5V circuits as completely separate). I have a relatively limited knowledge of these things but it seems like sending the full current through the microcontroller on the ground side is a bad idea.Is it safe to run the LED strip's ground through the microcontroller? Are there any additional steps I should take to make sure I don't destroy my LEDs, MicroController, or anything else?

Question by jonrb  

SMTP to send email directly to a client

I have a project idea to create a BTRD, or Beer Theft Reporting Device. (Yeah, I need to come up with a more creative name... :P) The idea is to use an ESP32 microcontroller connected to an accelerometer and 6 pressure sensors mounted to a board, on top of which sits a six-pack. I do see a few problems though. hopefully wifi can penetrate the cold metal coffin without too much loss in signal. (I'm afraid the fridge may end up functioning like a faraday cage...)Assuming that isn't going to be a problem, I have been googling around trying to figure out if it would be possible to send automated emails from this device to inform of potential theft. Since I am not concerned about receiving emails at all, It seems overkill to have to use SMTP to send the mail I want to send to some server first, which then itself forwards the email on over through the internet over to a client. Is it possible to simply send the SMTP email directly to the recipient? I mean, if this is a product that I sell, then I would not want the end user to have to bother too much with configuring the device too much.

Question by -max-    |  last reply

Separate network for 5 Slaves 1 Master 1 server

I've build a home thermostats system with PIC18F27K42 in each thermostats with LCD, for 5 rooms, 1 master in kitchen and 1 server in the basement, working on a bit-bang i2c. The server only send data to i2c at every seconds as it have a RTC (Chronodot) plus freezer and external temp sensors. The kitchen has a bigger LCD and can send data to the server to send to a dedicated or all thermostats using an ID in the data stream. I have read some docs on the net and bought a ESP32 DevKit V4 with WROOM-32D (changing later for a WROOM-32U external antenna for the downstairs server) and 6 ESP8266 ESP-01S module to include in each thermostat. My goal is to use the wifi instead of the i2c. So I'd like to have some guiding on how to achieve this. Maybe later I may use this wifi to use internet to change some settings in one or all thermostats. But for now do I really need to use the house wifi or can I use a kind of "thermostats wifi", separate from the house one, mostly for heating security. If so, how can I do that, since I'm kind of new to network and wifi. Many thanks to all.

Topic by djdan_23    |  last reply

Animated GIFs only play if they're embedded in text

MacOS 10.12 Chrome 60.0.3112.113 (Official Build) (64-bit) If the GIF is embedded in the text of the step, it works fine. Examples: IOT Made Simple: Playing With the ESP32 on Arduino IDE (step 4 onward), Split Flap Display (intro and step 5) If the GIF is put in the image section of the step, though, it doesn't play and just looks like a still image. Examples: PIDDYBOT - DIY Arduino Balancing Robot (every step except 1), Making a Gif From Photos (intro and step 1) (Also, GIFs in Design Challenge entries' image sections seem to work fine. Example: Lab Centrifuge Fidget Spinner (second image)) I first tried opening the images in the lightbox, and also opening them in new tabs via the context menu—neither helped; the images were still static. I tried clearing the cache, because I found that suggested elsewhere for GIFs not playing in Chrome, and that did help, but only very slightly. Upon refreshing the page after clearing the cache (or upon shift-refreshing the page to bypass the cache), the GIF will play for less than a second and then reload and become a static image again. I also tried Incognito mode, with all extensions disabled, with exactly the same behavior (playing briefly only when loaded without the cache). I also downloaded one of the non-playing GIFs (from the image section of a step) and one of the working ones (embedded in the text) to my computer and opened them in Preview. The sidebar showed only one frame for the non-working one (and looked just as if I had opened a static JPEG image) and all of the frames for the working one. A screenshot of this is attached. This seems to me to indicate that the server is not sending the proper file (or is sending the proper file and then sending a bad file to replace it) when the image is in the image section. Steps to reproduce: I have no idea. AFAIK all I did was load the page and it was broken.

Topic by PointyOintment    |  last reply