ESP32 Programming Tutorial for Custom Hardware (GPIO, Serial, SPI, WiFi) - Phil's Lab #91

ESP32 Programming Tutorial for Custom Hardware (GPIO, Serial, SPI, WiFi) - Phil's Lab #91

Phil’s Lab

1 год назад

92,966 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mathhack8647
@mathhack8647 - 30.11.2023 15:49

Really Amazing. this how any engineer should read Components References.

Ответить
@mikey38632
@mikey38632 - 24.10.2023 03:36

Great video! I have a newfound interest in microcontroller programming and found this video in my searches.

Quick question: when setting up the on-chip wifi access point, can I make that SSID hidden? This is to keep the general public away. I may use my project in crowded event centers. Also, does the ESP32 detect and show hidden networks or keep them hidden?

Ответить
@michalpesko5598
@michalpesko5598 - 20.10.2023 21:00

A video about ESP-IDF setup would actually be great!

Ответить
@ballboy2965
@ballboy2965 - 20.07.2023 13:32

Link to the datasheet pls

Ответить
@MikeHarris1984
@MikeHarris1984 - 21.06.2023 19:24

Your series is flat out amazing!!!! Thank you for this!!!! I couldn't find anything for the SOC ESP32. Only the prebuilt controller board and the solder that on. I wanted to step it up a notch and do my own and not a bunch of soldered PCBs on my own board. And going through tech design docs and all that from esspresif, I was 90% there and your series helped me get that final hump complete while teaching myself

Ответить
@gorkemsay
@gorkemsay - 20.06.2023 10:30

Hi, When I try to upload empty sketch this error shows up "A fatal error occurred: Could not open COM19, the port doesn't exist ". I couldn't figure out what the problem is? Does anyone know?

Ответить
@midhunvr7236
@midhunvr7236 - 13.06.2023 05:30

Great video. Thanks

Ответить
@leizhao1387
@leizhao1387 - 04.06.2023 04:51

cooooooool

Ответить
@sergeyp6941
@sergeyp6941 - 31.05.2023 15:05

Thank you!
I would really like to see projects on Xilinx working with NAND, PCI and flow control

Ответить
@mmrx428
@mmrx428 - 29.05.2023 16:07

Did you install any bootloader into the esp32 chip? Or does it come with a pre-installed chip, thanks in advance 🙏

Ответить
@keithsummers1889
@keithsummers1889 - 24.05.2023 11:40

Arduino is the beginner's tool.... a hobbyist platform. A tool suited for targeting multiple hardware with one code base - maybe.

Ответить
@steffenthun2076
@steffenthun2076 - 03.05.2023 20:10

Hi Phil, great Tutorial. I planed to design my own PCB with Microcontroller, RF Communication and PWM DC Motorcontrol. Do you have experience with motorcontroller and RF Com on the same PCB?

Ответить
@frankbose544
@frankbose544 - 26.04.2023 08:13

Yes show us the esspressif tools

Ответить
@avinashsethu1447
@avinashsethu1447 - 17.03.2023 23:32

if i choose esp32 s3 chip then what is the board i need to select in Arduino IDE

Ответить
@riffshyperion
@riffshyperion - 12.03.2023 10:44

Is there any reason you allocate the SPI class on the heap using new?

Ответить
@UmairAhmadh
@UmairAhmadh - 12.02.2023 23:25

Thank You!

If you are doing something more on this, please consider writing firmware for a custom IC that has different clocks and signals to get the function working. For example, TLC5957 LED controller IC. That'll give a lot of knowledge on firmware.

Ответить
@ME-dg5np
@ME-dg5np - 08.02.2023 01:43

Is possibile to change the flash rom and solder 16 mb in esp32 s3 ?
A tutorial Is possibile ?☀️🌈
Tks
You are a true master ! 👍🌈

Ответить
@Aludre
@Aludre - 01.02.2023 17:47

nice video, I like the new playlist with esp32. How much current the board is use in Wifi mode. Maybe you can show the deep sleep function and its current usage?

Ответить
@oreovios306
@oreovios306 - 29.01.2023 20:19

So thorough 👌🏾

Ответить
@panos26
@panos26 - 29.01.2023 05:54

How did we get that we write the GPIO number in LED_PINs and not the pin number? What in the table of the datasheet "said" to do so?

Ответить
@bramSDASCL1759
@bramSDASCL1759 - 28.01.2023 01:57

How to encrypt the firmware using arduino ide?

Ответить
@andrewturnbull7690
@andrewturnbull7690 - 27.01.2023 18:51

Excellent video, right pace, very clear and concise, ideal for a rusty old retired engineer like me to think about dipping my toe into electronics once again.

Ответить
@Jose13T
@Jose13T - 27.01.2023 15:06

Thanks for all the tutorials and tips on PCBs! I would like a video of programing the ESP32 with VSCode and if its possible some debug with breakpoints and seeig the variables in running time. Again thanks for your awesome content!

Ответить
@alpgenrobotics
@alpgenrobotics - 27.01.2023 13:58

👏

Ответить
@robdavis3220
@robdavis3220 - 23.01.2023 21:27

would love to see the eclipse workthrough.

Ответить
@Southern_Cross_o7
@Southern_Cross_o7 - 23.01.2023 12:46

I'm sorry I missed your first video, I'll be rewatching these. I have 5x ESP32-C3-Mini-1, a different type from yours, as it has the built in Antennae as a PCB. Thank you these will be invaluable. Have you considered doing a video on the OpenAi (ChatGPT). I attempted to use it for ESP32 programming, and while the Arduino interface are more examples, rather than complete code. I found it more useful to ask for code in Espressif (freeRtos) and PlatformIO. I haven't had anything successful with it, maybe you will have better luck.

Interestingly I've been attempting to get the OTA working with FreeRtos and this isn't as simple as adding the Arduino ATO library.
I also found the FreeRtos to be limited to C, while the Arduino allows for some C++

Ответить
@gaborm4767
@gaborm4767 - 22.01.2023 23:51

Is it possible to order this board?

Ответить
@PattysLab
@PattysLab - 22.01.2023 14:40

Up to that 100K awesome tutorial as always!

Ответить
@wouladjecabrelwen1006
@wouladjecabrelwen1006 - 21.01.2023 20:00

Damn you dead the game thank you Sir. It's been awhile while I'm sticked on your course

Ответить
@carlos.galhano
@carlos.galhano - 21.01.2023 15:09

I from Portugal, where can I get that ESP32? And I am just beginning with Arduino Uno, and I must have a temperature sensor DH to see with my phone. Do you have some tutorials with that? Thanks and great vídeo👍

Ответить
@maazsiddiqui6324
@maazsiddiqui6324 - 19.01.2023 20:04

can we do DMA in this project?

Ответить
@muzairafzal1529
@muzairafzal1529 - 18.01.2023 20:58

Excellent content brother.....

Ответить
@HolyPiyush
@HolyPiyush - 18.01.2023 18:15

Awesome information sir
Just subscribed your channel
♥️🇮🇳♥️

Ответить
@drhubs7049
@drhubs7049 - 18.01.2023 16:38

Im ngl, where was this 6 months ago? 😈

Great material man, it was good to reinforce some of my knowledge and learn a thing or two 😁

Ответить
@zerobow9413
@zerobow9413 - 18.01.2023 14:37

Cant get the C3 to work on win7 even with the latest comms driver [testing with M5 stamp C3U] I must be missing something !

Ответить
@NeuroMod
@NeuroMod - 18.01.2023 10:14

I would like to see a comparison between your antenna and something else such as an ESP32-C3 module integrated antenna or your mobile phone. Just something that could be used as contrast.

Ответить
@dyn01234567
@dyn01234567 - 18.01.2023 04:54

I would love to see you doing this with VSCode and ESP-IDF!
I've tried editing other microcontroller code in VSCode before - it can be very challenging to setup, but if you can get it working, it is the most fluid development experience in my opinion. I'd also like to know what you think of PlatformIO plugin for VSCode.

Ответить
@fredflickinger643
@fredflickinger643 - 17.01.2023 22:24

Thank you Phil for the this comprehensive series on the ESP32!

Ответить
@dom1310df
@dom1310df - 17.01.2023 20:39

I would use PlatformIO rather than the Arduinio IDE. No messing around with the board manager. It still uses Arduino under the hood but gives a much more pleasant user experience via VSCode.

Ответить
@dasloki5598
@dasloki5598 - 17.01.2023 13:15

Brilliant work Phil and a great help. Would be great to see a video using the Espressif IDE for a custom made board, and would very much like to see how to use FreeRTOS to for example run the accelerometer/gyro on 1 core, and save the data on SD card or transmit via BT using the other core.

Ответить
@ligius3
@ligius3 - 17.01.2023 02:19

I'm wondering if the CDC somehow resets the chip automatically and selects the flash boot mode, or how does it work?

Ответить
@nmjerry
@nmjerry - 16.01.2023 20:16

I'd like to see you setup, use and compare the idf framework

Ответить
@Graham_Wideman
@Graham_Wideman - 16.01.2023 10:25

Point of clarification regarding "Pins" for those unfamiliar with the Arduino IDE. Arduino libraries that interact with I/O often require a "Pin Number" argument. WIth an actual Arduino, that argument corresponds to the I/O pin numbers printed on the board. Of course, within the Arduino hardware description files, those pin numbers are mapped to particular bits on particular ports. So, for example, on ATMEGA328-based boards, the hardware config file maps "Pin 0" to Port D, bit 0, which, on the hardware is brought to a connector where it is labeled "0", and so on. But...
For boards that are not actual Arduinos, like Phil's board, there is no existing reason for any particular physical I/O or GPIO to be any particular "Arduino pin number". So it's up to someone to create a board definition that maps Arduino library "Pin numbers" to GPIOs. It's quite convenient that the libraries Phil used just map Ardunio numbers to the same-number GPI0, but that's not required, and can be changed. Anyhow, this discussion explains why Phil named his constants Xxx_PIN, after just explaining that these are _not_hardware pin numbers. Instead, they are for use as "Arduino pin numbers" in functions that require such an argument, and rely on the mapping described above to interact with the desired GPIOs.

Ответить
@Graham_Wideman
@Graham_Wideman - 16.01.2023 09:58

Hahahaha... watching Phil bringing up a new board using Arduino IDE while taking a break from... bringing up a new board using Arduino IDE. 🙂

Ответить
@larmaths9790
@larmaths9790 - 16.01.2023 03:30

great job, keep going you're awesome

Ответить
@ulri-electronics
@ulri-electronics - 16.01.2023 02:31

Hey Phil,

I don't know how far your job integrates with final product development and certification or if you're focussed on PCB design and firmware programming.

In case you already participated in a whole product development workflow I'd be really grateful for a video describing certification process with e.g. FCC EMI checks. This is especially interesting as your new videos contain WiFi and PCB antennas onboard, so you have to have a look at certification while designing already, don't you?

All in all another really interesting video with great and simply teached content.

Thanks!

Ответить
@yellowcrescent
@yellowcrescent - 15.01.2023 21:59

Great video, as always. Yes, using VSCode and the native Espressive tools would be great. Especially for STM32, having a working GDB server and integrated programming and debugger is super handy, esp if you already use VSCode for other things. Eclipse seems to still be pretty popular for a lot of embedded C toolchains... but I try to avoid if possible.. lol.

Ответить
@martinchristiansson658
@martinchristiansson658 - 15.01.2023 21:17

If you are going to do a video about how to use other development IDEs I will watch. Vscode, kiel or other... Best Regards

Ответить