Пікірлер
@user-he5ht7kk2z
@user-he5ht7kk2z 2 күн бұрын
Does D2 in usb type c part have to be Schottky diode but it does not handle a high switching or have anyorther reason.
@ForceTronics
@ForceTronics Күн бұрын
The reason a schottky diode was used is because they have the lowest forward voltage drop compared to other diode types so less power is wasted. You can use a different diode type if you like. BTW not all schottky diodes have fast switching times, only ones targeted at rectifier applications
@user-he5ht7kk2z
@user-he5ht7kk2z 18 сағат бұрын
@@ForceTronics that good to know Thank for the thought process.
@TimBodeit
@TimBodeit 11 күн бұрын
I loved both the LiIon/USB as well as the Solar charger series. From the looks of the board, it seems like you're generating a 5V rail using a boost converter first, then powering the ESP32 using a linear voltage regulator. The use-case I’m building for doesn’t need a 5V rail. However, like most projects that are running on solar and battery only, I’d like it to run as energy efficient as possible. I feel that another design that combines Solar, battery power, USB-C charging and an ESP32 on a 3.3V-only rail (perhaps using a buck-boost converter) would be a great addition to your Patreon Library. Thank you for your great content!
@ForceTronics
@ForceTronics 9 күн бұрын
Appreciate your comment and suggestion. I will add it to the list of future content ideas. A lot of my content is based on projects I am doing in my work life mainly because they take a lot of time to prepare
@bongcheolshin
@bongcheolshin 13 күн бұрын
Nice Video!! I want use DMA function for fast playing images and fonts. How to handle TFT_eSPI ?
@ForceTronics
@ForceTronics 8 күн бұрын
Thank you for the comment. Unfortunately I have not researched using DMA for faster image rendering so I can't answer your question. If you find any good resources please share in the comments
@MikesTropicalTech
@MikesTropicalTech 17 күн бұрын
I'm doing my ESP32 development with PlatformIO so it was helpful to see the generated code that I can replicate to bring the IoT stuff into my project. Thanks!
@ForceTronics
@ForceTronics 17 күн бұрын
Glad it helped!
@braydenlaw4646
@braydenlaw4646 17 күн бұрын
Don't p-channel mosfets flow from source into drain? wouldn't it be better to flip source and drain and add a diode?
@ForceTronics
@ForceTronics 17 күн бұрын
Thanks for the comment. My experience with MOSFETs is to look at them as a voltage controlled device and as long as the source and gate are biased correctly current can flow either way. You could always flip it around and add a diode, but then you have power loss due to the diode. Another route you could go (and maybe I should have done this) is back to back P channel MOSFETs.
@braydenlaw4646
@braydenlaw4646 17 күн бұрын
@@ForceTronics thank you, I’ll look into doing that.
@alysef21
@alysef21 18 күн бұрын
Great thorough video! One of the challenges working with Arduino IoT Cloud is they constantly update the UI so all the tutorials get out dated quickly, hopefully the platform's UI stays the same for a bit.
@ForceTronics
@ForceTronics 18 күн бұрын
Thanks glad you enjoyed it! I totally agree with your statement on the UI updates, a common theme for all cloud platforms.
@Alice8000
@Alice8000 19 күн бұрын
I gave you your firsst and only thumb down but i subscribed
@davidturner5418
@davidturner5418 22 күн бұрын
Great video. I am however math illiterate and would love it if you could do a run through of how to do the R2 calculation. Sorry if it is basic but I've forgotten how one does sums with brackets in them.
@alexk6745
@alexk6745 23 күн бұрын
I'd like my water heater to work only on solar power without using any grid power. The existing solutions expensive and do not do what I need. If anyone knows one let me know. The idea is to make AC using H brigge using 4 mosfet transistors. I mean we take 6 panels 36V in series which give 216V DC. Using the H bridge we make square AC which is 216V AC. Then I'd like to have ESP32 controlling 2 AC sources 216V AC from H Bridge and the 240V AC from the grid. I wish 99% of the time to use AC from H Bridge as even on a cloudy day in the whole day it should keep up with heating the water. For the emergency case if I need hot water I'd like to be able to activate grid power to heater but generally speaking I hope this won't be happening very often. So in my design I will have 2 schemas as in you image at 10:20 kzfaq.info/get/bejne/qr2mdMqFycmqqKc.htmlsi=jicIm5SMJO4SXBGx&t=620 and HOT_OUT will be connected from both schemas and directed to the heater. What I really afraid and do not wanna to happen is that AC from grid goes to solar panels somehow. I know DC is more dangerous than AC, but I'd like to limit bad things to happen so that 240V AC won't get to the panels. Let's name schema 1 which works for square AC from H Bridge, and schema 2 which works from grid. I'm thinking the TRIAC2 input from ESP32 to connect to a mosfet gate and drain of that mosfet connect to the first pin of optocoupler in the first schema, and source to ground. That way I add a protection to shorten the solar panels triac control to the ground that it won't be active once I actiavte the grid. Will this be safe enough or it requires any other protection? I think it should be enough. Panels will be grounded so even if AC from grid somehow leaks to the panels the RCBO will should trip the curcuit. Any mistakes in my approach? Any improvments can be done? I see a potential issue for the cloudy day the calculated resistors should have different values depending on the AC voltage and in my case it can be anything from 0-216V AC.
@ludokustermans
@ludokustermans 26 күн бұрын
HI, interesting video. I am trying to make (or find) a user_setup file for ESP32-S3 Devkit wroom1 with an ILI9486 display, no tough,.The internet is quite confusing on this matter, so if you could advise if I should be able to find this, or/how to create my own user setup file. Is it correct that the numbers behind mosi, miso, sck are the devkit pin numbers, or GPIO numbers (it looks as they are the same on esp32 devkit, but not on esp32-S3 dvekit)
@ForceTronics
@ForceTronics 24 күн бұрын
The PIN numbers relate to esp32 gpio numbers. They do it that way so the code or library will work with any dev kit that has the particular esp32 you're working with like the S3
@vaclavmarek-tw9td
@vaclavmarek-tw9td 26 күн бұрын
Hello can I enter MAC adres of another esp32 device and connect to it through bluetooth serial. I need two esp32 or one esp32 and one measuring device to be connected with bluetooth serial
@ForceTronics
@ForceTronics 24 күн бұрын
If you want to connect to esp32s together that have Bluetooth you would need to add code that does the pairing. This code is just if your ESP 32 acts as a secondary Bluetooth device with another device that can pair to it. So you would need to add code to enable the pairing
@christy7557
@christy7557 27 күн бұрын
Strapping pins are advisable to use the Push button and LED??
@ForceTronics
@ForceTronics 24 күн бұрын
Not sure that I understand your question. Esp32 strapping pins can be used for other functions in your design as long as those other uses don't interfere with their functionality as strapping pins.
@karlkessler6017
@karlkessler6017 29 күн бұрын
Thanks a lot, this was really helpful!
@The_Mindful52009
@The_Mindful52009 Ай бұрын
what is the p channel mosfet used here?
@QuiltingJeri
@QuiltingJeri Ай бұрын
So this would allow us to use a esp32 just like we would a hc-05 ?
@ForceTronics
@ForceTronics Ай бұрын
Yes essentially that's what it does. But since you control the firmware you could also add your own options or use other capabilities on the sp32
@QuiltingJeri
@QuiltingJeri Ай бұрын
@@ForceTronics That is fantastic, Thanks for sharing. I will have to give it a try.
@DBBahnospherix-BahnAtmospherix
@DBBahnospherix-BahnAtmospherix Ай бұрын
7:41
@MikesTropicalTech
@MikesTropicalTech Ай бұрын
I'm doing a WROVER board right now and changing to a USB Type C connector so this is incredibly valuable information, thanks! I'll take a look at your other related videos.
@ForceTronics
@ForceTronics Ай бұрын
Glad you found it valuable!
@siradekunlenicholasadefela3154
@siradekunlenicholasadefela3154 Ай бұрын
thanks for this actually you have done a great job i prefer messaging you privately please can i have you emai
@ForceTronics
@ForceTronics Ай бұрын
I am glad you enjoyed it. Sorry I do not provide my private email, I get a lot of requests and do not have the bandwidth to communicate one on one.
@Jan-gj8bm
@Jan-gj8bm Ай бұрын
Great videos man, juat curious why you use one mosfet to control another instead of just using an nchanel mosfet and the high signal to open it
@ForceTronics
@ForceTronics Ай бұрын
Thanks for the comment. N channel MOSFETs are better used as low side switches. An N MOSFET does not just turn on with a "high" on the gate. The gate has to be higher in potential than source. For instance if the source has 10v on it then gate needs like >12v to turn on. Hope that makes sense
@Jan-gj8bm
@Jan-gj8bm Ай бұрын
@@ForceTronics that makes a lot of sense and im designing a circuit using information from your video! thanks for the great explanations
@Jan-gj8bm
@Jan-gj8bm Ай бұрын
@@ForceTronics what would you think about increasing R1 to a much higher value? For my circuit 100k is 1.7ms vs 4.7M is .08s on time which is much slower but that way we limit the current loss even more through the NPN mosfet
@nmf5003
@nmf5003 Ай бұрын
You can use any resistor value you want. Just need to make sure enough current is getting to the gate of the mosfet to turn it on. ​@@Jan-gj8bm
@jumbo999614
@jumbo999614 Ай бұрын
Do you have tutorial on that & operator and bit shifting? I don't understand the part where you define Dark_Red color. Please make another tutorial on this part.
@ForceTronics
@ForceTronics Ай бұрын
The & operator performs a logic "and" on the binary bits. Shifting bits is just multiplying or dividing binary bits by 2, kind of like multiplying / dividing decimal numbers by 10. I will consider that for future tutorial. Thanks for comment
@jumbo999614
@jumbo999614 Ай бұрын
@@ForceTronics Thank you
@bennguyen1313
@bennguyen1313 Ай бұрын
Any thoughts what would be involved in writing an *ESP32* application, that takes data from the uart, and passes it wirelessly either via bluetooth (SPP) or via Wifi? For Wifi, I imagine the ESP32 could act as a web server (TCP) and display the RS232 data, but maybe there's a UDP way it could send data to a PC on the same network? I imagine, if the receiving application (mobile or PC) is written in the flutter framework, it could display the RS232 data with style!
@ForceTronics
@ForceTronics Ай бұрын
Great question I really don't have a good answer for you. I never researched it for newer Bluetooth protocols or Wi-Fi. It's probably possible in some way but the fact that there are no open source libraries that I'm aware of for it probably means there's some challenges. Let me know if you find anything or develop anything
@anlpereira
@anlpereira Ай бұрын
Great series. I learned a lot from these videos. Already singed up for this channel and thumbs up. I would like to see a little bit more about ULP Coprocessor. Thanks
@ForceTronics
@ForceTronics Ай бұрын
Thanks for the comment, I will note that for future content!
@Farismujkic-n6c
@Farismujkic-n6c Ай бұрын
The video was well explained. However, I have a question. If we have uploaded our code and no longer need the USB connection to the computer, and at some point our device resets (either intentionally or unintentionally), IO2 has a low value, causing the ESP32 to enter boot mode, which we do not want. How can we resolve this issue?
@ForceTronics
@ForceTronics Ай бұрын
Thanks for the comment and great question. To enter boot mode there are two pins you need to worry about IO2 and IO0. if only one of them is in boot mode then the ESP32 won't enter boot mode. The way I typically approach this is I allow my application to use IO2 as a GPIO pin but ensure the ESP32 can put it in the default state needed for programming. The IO0 pin is the one that you can't count on the ESP32 controlling for you so I leave that pin free for programming only. Hope this helps
@avejst
@avejst Ай бұрын
Great walkthrough of the process as always Great project, and interesting as always Thanks for sharing your experiences with all of us 🙂
@ForceTronics
@ForceTronics Ай бұрын
Glad you found it interesting, appreciate the comment
@Tntdruid
@Tntdruid 2 ай бұрын
Get out of the ☁️, use local control lile Home Assistant + Esphome.
@DaVeHiLl200
@DaVeHiLl200 2 ай бұрын
Great video mate thank you. One thing I failed to grasp is how to work out +RP and RCL+ resistor values needed for N Channel?🤯 I've designed a small circuit with 2x IRFP260N mosfet in parallel, I'll be operating the gate with arbitrary frequency generator to allow complete control of pulse frequency to experiment with electrolysis liberating gasses from water. Are there formulas for both resistor applications? I'm no electronic engineer but keen to learn what I need to know. Cheers mate 👍
@ForceTronics
@ForceTronics 2 ай бұрын
Good question. Rp is fairly trivial and may not be needed. It's more of a safety thing because modern MOSFETs require so little current to turn on. Just use a resistor value of 10k and you'll be fine. RCL is a gate current limiting resistor and also may not be needed. It is there to ensure the gate capacitance doesn't cause inrush current that could damage the source. If you are not highly concerned with switching the MOSFET on and off at it's fastest rate then just use a resistor value around 300 to 1k ohms and you should be fine
@user-xk2sk8ki8y
@user-xk2sk8ki8y 2 ай бұрын
Thank you so much for the great content.
@ForceTronics
@ForceTronics Ай бұрын
Glad you enjoy it!
@mumbaiverve2307
@mumbaiverve2307 2 ай бұрын
Quality content as usual... Should'nt the AGND and DGND be separated ?
@ForceTronics
@ForceTronics 2 ай бұрын
Thanks for the comment. I thought I mentioned it in the video, but the DAC IC only has one common ground. When I dug deeper the data sheet explicitly said both the digital and analog supply can share the same ground. My guess is they have some type of filtering inside the chip but I don't know. Since the DAC is the only part in the circuit that uses the digital supply there is no need for a digital ground. Of course the design itself has a standard ground and an analog ground that has a single point connection.
@mumbaiverve2307
@mumbaiverve2307 2 ай бұрын
@@ForceTronics Thanks ... Will be interesting to watch the subsequent parts and the final result...
@SAhellenLily_22
@SAhellenLily_22 2 ай бұрын
Thank you Sir😊 LM317 is a linear voltage regulator. It has the advantages of low output noise and easy configuration.
@ForceTronics
@ForceTronics Ай бұрын
Yes, you are right
@WilloftheNinja
@WilloftheNinja 2 ай бұрын
Hi, I was looking for a method to drive a high current (1.5A) using a microcontroller and fortunately found this video. I still don't quite understand how transistor circuits work, for example if we lower the DAC output voltage which changes the current, the voltage on the sense resistor and load will go down but Vcc remains constant. I thought that many transistors have a fixed voltage drop between terminals but here it is variable, to act as a variable resistor? I hardly know where to begin to find the components I will need to make this circuit to my specifications.
@ForceTronics
@ForceTronics 2 ай бұрын
Hey thanks for the comment. Look at a data sheet for a transistor and it should have some type of IV curve based on the gate control signal. In the case of a mosfet that gate control signal is voltage control. You'll see that they have a nonlinear region in that IV curve and that's the region it's being controlled in to act like a variable resistor. You can always set up a mosfet test circuit yourself too and observe this behavior with a power supply and a voltage to source to control it.
@WilloftheNinja
@WilloftheNinja 2 ай бұрын
​@@ForceTronicsThank you for your reply. If the op-amp feedback makes it so that the + and - terminals have the same voltage, won't that mean there is a negligible voltage on the gate and therefore only a small current?
@philldonn705
@philldonn705 2 ай бұрын
R11 resistor provides 11mA given there is 0 voltage drop through the LED and the MOSFET. I am either missing something or there is no way you are getting more than 10mA through that LED. It's probably more like 6-8mA.
@user-di2du8is5t
@user-di2du8is5t 2 ай бұрын
Thank you for sharing detailed explanation which is useful for DIY project, designing and debugging other electronic circuits.
@ForceTronics
@ForceTronics 2 ай бұрын
Glad you found it helpful
@blakel95
@blakel95 2 ай бұрын
Brilliant, been looking all over for help on adding USB programming like the dev boards have.
@ForceTronics
@ForceTronics 2 ай бұрын
I'm glad you found it helpful!
@joelsolorzanoochoa7969
@joelsolorzanoochoa7969 2 ай бұрын
I want it!!!
@user-br6gp7hc4l
@user-br6gp7hc4l 2 ай бұрын
Спасибо
@ForceTronics
@ForceTronics 2 ай бұрын
Добро пожаловать
@alfonsocampos
@alfonsocampos 2 ай бұрын
From Barranquilla, Colombia. Congratulations, good and clear explain. Continue with all modules. Excuse me, I purpose an explain of IPM modules applied on inverter air conditioner. Differents models and one demostration to construct a test module bank for PCB in inverter systems. Thanks and excuse me sir.
@Juss_Chillin
@Juss_Chillin 3 ай бұрын
Truly a masterpiece of a tutorial! Thank you for that! :D
@ForceTronics
@ForceTronics 3 ай бұрын
Glad you enjoyed it!
@ashutosh_travel_videos
@ashutosh_travel_videos 3 ай бұрын
`what exactly is the use of ADC in this ? Will it convert my temperature signal in to digital form ? But we need our signal in Analog form only Please clarify.
@ForceTronics
@ForceTronics 3 ай бұрын
I am a little confused by your comment. All modern semiconductor devices or modern electronics use adcs to measure electrical phenomenon or sensors. Whether that's voltage current power light temperature. All the low level electronics or semiconductors are using adc to make those measurements. Then there's some algorithm or formula to convert that digital value or discrete integer into the measurement data that you're interested in. Whether that's voltage or temperature or current etc
@ForceTronics
@ForceTronics 3 ай бұрын
For thermocouple temperature measurements a raw ADC value is typically converted to a voltage and that voltage can be either applied to a formula or a lookup table to get the temperature
@firdoshdiakus4841
@firdoshdiakus4841 3 ай бұрын
Great tutorials. would the esp32 firebeetle be better to use for portable iot project using a battery? Could you do one using an external interrupt please
@ForceTronics
@ForceTronics 3 ай бұрын
I'm not familiar with the ESP 32 fire beetle so I can't comment. I thought the video does an example with an external interrupt using a low logic signal for both light sleep and deep sleep. Did you mean some type of other external interrupt?
@sepehrsaberi4360
@sepehrsaberi4360 3 ай бұрын
I hope you're doing well. As a developer interested in ESP32-related projects, I'm seeking guidance on how to program the ESP32 WROOM 32D using an ST-Link V2. Could you provide some insights into this matter? I would appreciate it if you could direct me to useful resources, relevant instructions, or any tips that could assist me along this path. Thank you very much,
@ForceTronics
@ForceTronics 3 ай бұрын
Hello, I don't have any experience using a ST-Link programmer so I can't provide any guidance. If you're looking for an off the shelf programmer you could go with the ESP-Prog. It is low cost and easy to use
@mvrkmi
@mvrkmi 3 ай бұрын
I've created a phone app that connects to a Bluetooth LE ESP32-S3 and power sensor. I'm using it to remotely monitor the voltage of my car battery via BLE connection. The ESP32-S3 and sensor are powered by the 12V car battery via an IC voltage regulator. I'd like to minimize the parasitic drain on the battery whenever I'm not monitoring the voltage (which would likely be for another 24 hours). Since the Bluetooth radio is turned off in both Light Sleep Mode and Deep Sleep Mode, I'm suspecting the only option I have is to set the respective sleep mode on a Timer. That would mean that whenever I scan for the ESP32-S3, I'd have to wait for the timing cycle in which the Bluetooth radio is turned on. Am I understanding this correctly? For this application, is there any way for me to remotely turn on the Bluetooth radio so that I could read the battery voltage for say 15 seconds and then return to sleep mode for the next 24 hours?
@ForceTronics
@ForceTronics 3 ай бұрын
From my testing that seems like the only option with Bluetooth. Set a timer for one or two seconds to check for a pair and go back to sleep. As I mentioned in the video documentation is flaky. They reference a wakeup from Bluetooth MAC but provide no guidance on it. Timer wake-up should provide good power save. Check out power management API for more options
@varshanprabu6575
@varshanprabu6575 3 ай бұрын
A very good explaination. Finally I'm clear with pull up and pull down resistor, thankyou sir.
@ForceTronics
@ForceTronics 3 ай бұрын
Happy you found it useful!
@electro900
@electro900 3 ай бұрын
No need for ESD diodes?(TVS)
@ForceTronics
@ForceTronics 3 ай бұрын
If you have a PCB that has metal connectors that humans will touch TVS diodes are always a good idea. I don't always include them though on my hobby boards because of my 20 years of experience I've not seen much ESD damage
@STEVE_C_1369
@STEVE_C_1369 3 ай бұрын
I have a video controller for my computer that,externally,looks like an XBox controller. During the game,(Halo CE for PC), when I press the button to start the elevator,the switch often times bounces and I have to hit the button a couple times until it settles and the elevator moves. Im thinking about using a ceramic 0.1 microF cap in line of the feed to increase the time on duration of the connection.Sound good?
@ForceTronics
@ForceTronics 3 ай бұрын
That sounds like it might solve your issue. But I don't know how those buttons are implemented and the circuits they control so I can't say definitively if that will solve your problem
@STEVE_C_1369
@STEVE_C_1369 3 ай бұрын
@@ForceTronics Thanks for your reply. If we both think it may (but neither are sure right now,) I think Ill take the shot ..give it a chance.😁👍
@ForceTronics
@ForceTronics 3 ай бұрын
@@STEVE_C_1369 Let me know how it goes!
@STEVE_C_1369
@STEVE_C_1369 3 ай бұрын
@@ForceTronics Will do.
@supernaidoo4119
@supernaidoo4119 4 ай бұрын
Thank you. It was precise and helpful.
@lzyu5155
@lzyu5155 4 ай бұрын
can i know the ic u used for the circuit?
@ForceTronics
@ForceTronics 4 ай бұрын
The model numbers for the charging IC and the regulator IC are shown in the video during the schematic review
@alysef21
@alysef21 4 ай бұрын
Great video. What power supply or instrument did you use to do the digitized current capture that you showed at the end of the video?
@ForceTronics
@ForceTronics 4 ай бұрын
It is a modular power supply platform from Keysight Technologies and the mainframe is the N6705B DC power analyzer (I believe they are on the 'C' version now). The mainframe takes up to 4 power supply modules. The module I was using is the N6762A, which is one of their mid range performance modules. It is not cheap, but comes in handy!
@fouzaialaa7962
@fouzaialaa7962 4 ай бұрын
The main reason you use a esp 32 or 8266 is for connectivity ...and to my knowledge unfortunately you cant have the radio on and go to sleep , and you cant wakeup from receiving a bluetooth signal or wifi packet .... The esp is nice but its useless if you need to activate the radio and your on battery .... If you have any idea how to sleep and wakeup on receiving a bluetooth or wifi packet plz address it in the second video
@ForceTronics
@ForceTronics 4 ай бұрын
You are correct and thanks for the comment. It is not really just an ESP32, but a problem with wireless connections in general. To maintain a wireless connection you need to transmit data wirelessly, which is a power hungry operation. Also you need to pre and post process data so you need some type of CPU involved. I am not a bluetooth standard expert, but you can sleep a bluetooth device and wake every couple of seconds to check for a device that is trying to pair. And if there is no device you can go back to sleep and if there is you stay awake until the bluetooth communication is complete. My application that I am planning is for WiFi to send and read data from the cloud, which doesn't require a constant connection. My device will sleep for some amount of time, wake up, and connect to the WiFi. From there it will send sensor data and then read any settings or state change information from the cloud. Take the appropriate actions and go back to sleep. The amount of time the device sleeps is just based on how real time you want the data or actions it performs to happen. But of course there are applications that do require a constant connection. I will show a WiFi example in part two but it is the wake up connect and go back to sleep approach.
@jelmervd2l
@jelmervd2l 4 ай бұрын
Thanks for posting, love the vid
@BenM0
@BenM0 4 ай бұрын
What a great explanation! Thanks for sharing!
@ForceTronics
@ForceTronics 4 ай бұрын
Glad you enjoyed it, thanks for the comment