ChatGPT with Arduino and ESP32 | C++ and MicroPython coding

preview_player
Показать описание
See how ChatGPT can write C++ and MicroPython code for an Arduino Uno and an ESP32. You now have an AI-Assisted coder to help you with your projects!

On November 30, 2023, OpenAI released ChatGPT, an AI-powered chatbot. The reaction has been phenomenal, and for a good reason - ChatGPT’s human-like responses often seem like the stuff of science fiction.

ChatGPT is so good that it, and other technology based around the same GPT-3.5 Language Model, could seriously jeopardize many people's jobs.

And that might even include programmers and developers! Because ChatGPT is equally adept at writing code as it is at writing essays.

As a tool, ChatGPT is remarkable, and it really offers a lot of advantages to makers and hobbyists. Imagine having your own personal coding assistant on call 24 hours per day. Well, now you can have that with ChatGPT!

I’ll show you how to use ChatGPT to code in both C++ and MicroPython, using an Arduino Uno and an ESP32 module. We’ll start off small and then move up to building a Temperature & Humidity Meter, a WiFi Scanner, and a MicroPython-based ESP32 Web Server.

Here is the Table of Contents for today's video:

00:00 - Introduction
01:48 - ChatGPT
09:57 - Getting started with ChatGPT
12:06 - Arduino Uno Hookup
14:34 - Blink
16:31 - PWM LED Dimmer
18:34 - ChatGPT Code Correction
19:58 - ChatGPT "Forgets"!
22:14 - DHT22 Temp & Humid
24:48 - OLED Display
26:38 - Temp & Humid Meter with C/F
31:12 - ESP32 WiFi Scanner
33:47 - ESP32 MicroPython Web Server
36:29 - ChatGPT vs. GitHub Copilot
38:49 - Conclusion

While I don’t think that ChatGPT will be replacing coders too soon, it is a valuable tool that will really assist developers and makers in improving their code and reducing their coding time.

Also, please note that this video (and its accompanying article) were created at the end of January 2023, about 8 weeks after the release of the public beta of ChatGPT. It’s very likely that new features will be added, and ChatGPT Pro will be released soon. Keep that in mind when you watch the video in the future!

Hope you find it useful.

Bill
Рекомендации по теме
Комментарии
Автор

Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!


Thanks!

Bill (The real one!)

Dronebotworkshop
Автор

This channel offers truly amazing content on Arduino. Each video includes detailed and clear explanations, and the sample projects are practical and usable in real life. Additionally, the channel owner is also very talented in terms of the quality of images and audio. A must-watch resource for anyone interested in Arduino. Thank you very much Bill.

recs
Автор

My Goodness Bill... This is FANTASTIC!! I'm in my mid 60's and am new to Arduinos- I have been following you for about 3 years- I have read books, tried Tutorials but just cannot get my head around programming- so This is just a Paradigm Shift for me-Thank you ever so much for showing us how to use this new tech !! You're the best Man!!

mickeyfilmer
Автор

While I have seen a lot in the news regarding ChatGPT, it was in the context of generating essays or papers. This is the first video I have seen for it's application to code development. Outstanding!

arcinandsparkin
Автор

I freaking love you, man! You always make videos about stuff I'm interested in. Can't wait to watch this later today.

simbasimba
Автор

Thank you for a very good and very useful video, Bill ! You love teaching and it shows.

Trust_me_I_am_an_Engineer
Автор

Best Intro/DEMO of ChatGPT that I've seen on YT. Amazing! As a coder myself, it's so awesome to see the future of this profession mature in my lifetime. Coding is a hurdle for many creatives that may soon be overcome. Thank you for presenting all of this in such an easy to digest manner.

NoReasonLiv
Автор

Hey Bill, Love each and everyone of your videos. You always manage to educate the viewers with new and fresh ideas. Like how to get all the various little micro controllers up and running on various projects. Great job and thank you again for taking time to do so.
Also just wanted to let you know of a slight typo in your description of this video. You mention that ChatGPT was release on November 30th of 2023. we all have suffered from as I call it, (the dreaded Fat finger syndrome).

johnglielmi
Автор

Another great video Bill. Thank you for the introduction. Now I'm looking forward to using ChatGPT in my projects and know what all the hype is about. Thank you for making getting an introduction to topics such as this an easy and enjoyable experience. You save so many people a lot of struggles. It's why I recommend your videos often when people have questions about certain topics in Arduino forums.

JonathanDeWitt
Автор

Fascinating. Kudos to you for having quickly jumped on to figure out how to use, and explain it. Great job! Thank you!

asaprocky
Автор

Excellent video as usual! Thank you for your great work, Bill! I feel like this tech will open the doors to more and more beginners.

_HighDuke
Автор

I’m at an beginning-intermediate level into coding and computer stuff, I’m starting late in life but I appreciate your video because you put things into a comprehensive, easy-to-digest format and you are a natural instructor. Thank you

throwaway
Автор

I have have been ignoring Adrian Twarog's channel's thumbnail simply because it had chat in CHATGPT. Now I know better. Thank you Sir, for always steering me in the right direction, ever so gently. Stay well.

sinjhguddu
Автор

This was the first thing I thought about when I first heard about chatgpt. Combining it with arduino! Great video.

geef
Автор

Tried this. Amazing. Seems ok on small projects, and did forget some coding when I asked to modify coding. Tried a display all ok, then added IR detectors, with leds. Noticed that it had added “IR sensor detected “ to the display as well as lighting leds. Didn’t ask for that, also didn’t clear screen before adding another message. That could have been me not telling it to clear screen after each message. So far impressed.

willsgrandad
Автор

I absolutely love how informative your videos are. I've been watching your content for the last week to familiarize myself with the Arduino IDE and ESP32

JeremyDismukes
Автор

Ha! A new workshop video! 😃 I‘m in heaven - a friendly place where you can learn stuff so easily, because Bill takes a lot of care and love on his videos and the website. I wish I had such a good teacher when I was in school. 🥰

horsthotzenplotz
Автор

this is probably 1st video here that is ON TIME rather than "1 year later explanation" ;-) very good progress - thank you

zyghom
Автор

Mate, as always you deliver fantastic content!
Thank you so much for sharing your vast knowledge with us.
As a 73 year old who knows very little about micro controllers, I find this mind boggling!
Thanks again, please keep up the great work

brianmarshall
Автор

I am a begiiner to the Arduino aand Raspberry Pi coding. This was an absolutely terrific introduction to the AI world. I cannot thank you enough. Liked, Subscribed and Shared (via an rmail) with my friends. Please keep up the great work, thank you.

terryboyle