Arduino Nano ESP32 Review - Official ESP32-S3 Board from Arduino

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey there my name is Gary Sims and this is Gary explains now Arduino have released a new ball that uses their Nano form factor it's the Arduino Nano esp32 that's right it's not an arm processor based board it's not an AVR baseball it's not a wrist five baseboard it's an esp32 baseball now I've got a hold of one and I've been testing it out so if you want to find out more please let me explain okay so here it is the Arduino Nano esp32 here is the main chip with the CPU and the wireless stuff on it you notice here it's USBC there's a reset button there's a power LED and a user program all that there's also an RGB LED here because you've got the cast related edges and then you've got all the pins you'd expect on a uh Arduino Nano uh including analog pins and digital pins as well we'll get more into that in a minute foreign so what is this the processor used by the board is the u-blocks Nora w106 which is an esp32 S3 uh processor so that uses the extensor lx7 running at 240 megahertz dual core so the point is here this isn't arm this is an AVR this isn't even risk five this is actually uh something pretty unique to the esp32 the extensor lx7 you get 512k of RAM and 8 megabytes of flash then you get built-in Wi-Fi and Bluetooth that's Wi-Fi four so that's 802 11 BG and n and Bluetooth LE version 5. this isn't the first time I've done videos featuring The extensor lx7 or in fact the lx6 that's the esp32 S2 the esp32 S3 this video here does a power and performance efficiency between all these dual core processors and I have another video doing a similar thing for single core process including risk 5 which one comes out on top and I'll tell you now it's not the esp32 so although they may be fast 240mah dual core they're not necessarily the most power efficient just something to note when you go down this path with the Arduino Nano esp32 now to use it iPhone is to use the Arduino IDE 2 point x now you need to go to the board manager and type in esp32 to search for now two things will come up here's the esp32 by the people that make the chip expressive systems now that supports all the whole range of generic esp32 boards that there are out there but you don't want that one you want the esp32 board pack by Arduino itself because that specifically has support for the Arduino Nano if you don't have this one installed it's not going to work properly that stumbled me there a little bit I just assumed it would work by this you've got to have that installed absolutely so you can have them installed together that's not a problem but you've got to have that one so yes to that one no to that one although you can have it installed and the other thing to note is that when you try to pick the port for your Arduino Nano make sure you go to the dfu version that's using the USBC not the serial Port version now I for a while didn't notice the difference and was picking this one and I couldn't get it to program and I didn't know why you have to make sure you choose the dfu version and then it will work absolutely fine so here is the pin out as I said earlier so of course you've got the built-in LED you've got the RGB One USB power and then you've got uh the different analog and digital pins as we would expect from the uh from the Arduino and then including of course SPI and all this kind of stuff so everything you'd expect from a microcontroller and specifically from an Arduino Nano now what I'm going to do to demo the Arduino Nano is because it's wireless it would be great if we get to talk up to the cloud so what I want to achieve is to have a potentiometer that's basically a variable resistor and as I twist it around a dial on a mobile phone goes up and down according to that and it does that by going into the cloud so we're showing Wireless connectivity here you're doing something this is internet of things you're doing something on your on your Arduino Nano esp32 temperature humidity whatever it is you're doing in this case I'm just using this variable resistor and that day data is going up to the clouds that's what we want to achieve and the way we're going to do that is by using mqtt mqtt is the glue to all this so a message in mqtt message is sent from the Arduino up to the cloud and then the cloud synchronizes with your smartphone showing you what's on there now I've got several videos about how mqtt works I won't go into it again here the first one is mqtt with Raspberry Pi and Arduino shows you how you can get that to work with both of those systems and the second one is more into room temperature remotely with mqtt and Arduino again a similar video where I show you how you can have a temperature sensor and how you can have that being reported on your mobile phone now to do this we're going to be using the mosquito uh uh mqtt server broker you're free to use it for any application that's the test version but please do not abuse or rely upon it for anything important if it's a test one but it could be shut down for rebooting or for maintenance there's no guarantee that's going to be there it's a service provided by the community so all great for testing great for demoing something like this but don't rely on it if you're trying to release a commercial product and of course don't abuse it because if it gets abused and of course they'll shut it down and uh you know maybe turn it off for an hour until the traffic calms on or whatever they've they're going to do so great for testing don't abuse it don't rely on it for a public service so I'm going to use the iot mqtt panel which is an app in the Android play store I'm sure there are similar things for iOS I use this app there are others I'm not affiliated with this author I've just found this app very useful so what's actually going to happen and this is a screenshot that you actually will get okay is that the device the Nano will send it up to the cloud this uh Android app will sync with the cloud and as we move the potentiometer we're gonna get this moving here up and down according to what we're how we're moving it and it works absolutely brilliantly so this is the little circuit we're going to build there's a a potentiometer it's got three pins on it one for ground one for current and one for the analog reading and when you connect these up to three pins on our Arduino Nano esp32 so that's what we're going to build in real life uh schematically diagrammatically it looks like this so there's your potentiometer there's the board so you can get the ground up to the left hand pin you connect up the 3.3 volts to the right hand pin and you hit the middle pin over to analog zero a0 over here on the board and that's it that's all you need to do three pins two of them with power one for reading the value and the code is very very simple basically in the setup you want to establish the serial connection you want to start your Wi-Fi connection and you want to connect to the mqtt server and you've defined all these things that are in the code but that's basically what you do connect to the serial connect to the Wi-Fi connect to the mqtt server and then in the main Loop you just do an analog read of a0 that's the pin we connect it to you don't want to keep sending it up there all the time so you want to make sure see is there a difference between the current sensor reading and the previous one the old one and because you get quite a lot of uh readings very a lot of number steps in between zero all the way to four it's actually 4096 steps I'm saying if it's changed by 75 so it can jump around a bit depends on the quality of your potentiometer and so on the quality of your power supply and all that kind of stuff don't jump around a bit I find that if it's moved more by 75 then we can move the needle on the uh on the mqtt application on the phone you basically then create a message and just send it and it's how you do it uh with the mqtt library for Arduino very very simple you just add in the sensor value there and the message and just send and it just gets sent very very simple code now the full code with all the definitions and the headers and all that stuff you'll find in my GitHub repository under examples Arduino esp32 review look in there you get all the information that you need [Music] now of course this is a dual core microcontroller board so I do have a whole video on how you program the Arduino for dual core programming and I've created a generic sketch which person I find quite useful which will work with the Raspberry Pi it will work with the esp32 it'll work with the esp32 S3 all using the Arduino IDE just take that generic boilerplate template code and you can automatically have dual core working on all of your projects and that's and that's what I'm going to do now I'm going to take that code and demo it to you what it does is you've got one chord counting upwards One Core counting downwards and one core is sending a random number to its friend and the friend is printing out so there's this one doing something counting up this one counting down and there's communication between the two it all fully synchronized with a lock and so on I go into that in this video Arduino dual core programming but just demo to it now on this Arduino Nano board [Music] if you're interested in the code for that then you'll find that also again in my GitHub repository under example dual core for Raspberry Pi 2040 esp32 esp32 S3 so there's the code in there for you now are there any downsides well the main downside seems to be the price it costs 18. 18 Euros sorry for this ball that's 20 uh 19 Euros if you want it with the headers that's 21 now a Raspberry Pi Pico W cost just seven euros here in Europe so that's quite a big difference between the two and there are other esp32 boards that can work with Arduino that are cheaper if you buy it directly from China maybe even only three four five dollars depending on which one you get now they will I'm sure be uh clones of the Arduino Nano esp32 particularly since the esp32 is such a a well used chip amongst the Chinese clones and so I think there will be a clone of this and when that comes out it will be cheaper as soon as I spot one uh do message me if you do see one on Twitter and if you do see one or if I spot one maybe I'll order it and we'll see how it how it works now the other thing that got me was delivery was 11 Euro 79 Plus five almost six years in taxes here in the EU and that got from Italy which of course with arduino's based to another Mainland EU country so if you think about it I was paying 18 99 Pacs I got them on the headers plus another load of money here eleven plus five so I actually spent quite a lot of money to get this little board uh which we are 30 something plus Euros to get this board and I could have just got a Raspberry Pi locally shipped locally from a local distributor for you know very much much less but there you go that's what I do for you guys I will buy these things and try it out now there will be local distributors in Europe for sure people who can sell you a ball that they've bought a whole bunch of them so they're paying less in shipping uh and that will happen so watch out for those if you want to get hold of one in the USA the shipping was a bit bit better 1.43 for the postal version up to ten dollars for FedEx one day shipping to do to New York that was the example they put into their website so seems to be a bit better if you do buy it in the I say okay that's it my name is Gary Sims now you can follow me on all of the trendy uh social media sites here are all the handles on there depending on what's up and what's down today then uh just pick whichever one you use and you can see the stuff that I'm posting on there you can also contact me if that service allows that okay that's it my name is Gary Sims this is Gary explained I really hope you enjoyed this video if you did please do give it a thumbs up if you like these kind of videos well please I invite you to stick around by subscribing to the channel okay that's it I'll see in the next one
Info
Channel: Gary Explains
Views: 34,932
Rating: undefined out of 5
Keywords: Gary Explains, Tech, Explanation, Tutorial, Arduino, Arduino Nano, Nano ESP32, ESP32, ESP32-S3, Arduino Nano ESP32-S3, Arduino Nano ESP32, Xtensa LX7, dual-core, u-blox NORA-W106, Wi-Fi, Wi-Fi 4, Bluetooth, Bluetooth 5, Bluetooth LE, BLE, Arduino IDE, potentiometer, MQTT, analogRead, Espressif
Id: zZ569ieGJts
Channel Id: undefined
Length: 12min 34sec (754 seconds)
Published: Fri Jul 21 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.