No video

How NOT to fry your Arduino - Common Arduino mistakes #1

  Рет қаралды 3,285

Curious Scientist

Curious Scientist

Күн бұрын

In this video, I will try to show you the most common mistakes that people make before they fry their Arduino. There are multiple fundamental issues that beginners overlook which causes them to destroy the microcontroller. Actually, most of these issues could be simply solved by reading the datasheet of the microcontroller, but quite many people don’t bother to do it. So, I do it for those people and try to help by giving well-detailed examples of how to avoid such mistakes.
Article: curiousscienti...
Support me on Patreon: / curiousscientist
Parts and tools: curiousscienti...
Arduino Uno page: store.arduino....

Пікірлер: 31
@amorpheuses1627
@amorpheuses1627 Ай бұрын
This has to be required viewing for any one doing an arduino project. The same analysis applies to any microcontroller board. You overlook these power budget concepts at your own peril! Great video (as usual) - look forward to the rest of the series.
@CuriousScientist
@CuriousScientist Ай бұрын
Thank you so much! I hope people will use this as the "go to video" in the future. 😅I also hope that you will like the future videos too. I compiled a nice table of the topics I want to discuss. I will release them one by one in the near future.
@slenderhero73
@slenderhero73 Ай бұрын
Not me attaching a 12v 2a supply to the arduino jack ahah. Luckily nothing happened but now I think I'll use more the motor shield power port; thanks for the video.
@CuriousScientist
@CuriousScientist Ай бұрын
A 12 V power supply in the DC jack is perfect! Using a dedicated motor shield for the motor is an excellent idea! Cheers!
@slenderhero73
@slenderhero73 Ай бұрын
But it was useful to learn that the maximum output of the jack is 1A. I have a BLDC and a Servo motors so I would probably need the shield power port to power both of them.
@CuriousScientist
@CuriousScientist Ай бұрын
Wait, the jack is not an output but an input. The jack then feeds a voltage regulator, which then can provide 800 or 1000 mA, depending on the type of the onboard voltage regulator. And you should always feed the motors from an external power supply, regardless of their number and type.
@johnbrown7516
@johnbrown7516 Ай бұрын
your content is downright phenomenal. such an underated channel; keep up the awesome work dude.
@CuriousScientist
@CuriousScientist Ай бұрын
Wow, thank you very much for the supportive comment! I'll keep grinding! Cheers!
@Pascal74264
@Pascal74264 24 күн бұрын
Hi, I was looking for a project for automatic timed irrigation with arduino, and I came across your project, which is a bit dated, but certainly works! I would like to know how, for example, I can program it so that every two days, for example in the evening at 18.00, it turns on a pump for 20 seconds to water two pots, and if it has rained and the ground is wet, then there is no need to water, it would be a very nice project, and I need it because I'm going away for 4 weeks and there is no one to look after my plants, thank you very much, I wish you a good day and good day/evening.👍👍
@CuriousScientist
@CuriousScientist 24 күн бұрын
Hi! Why don't you ask the question under the relevant video? Even if it is an old video, I read the comments... You can just set up multiple if() conditions that check the time and act accordingly.
@Pascal74264
@Pascal74264 24 күн бұрын
@@CuriousScientist rather scientific explanation!!!
@CuriousScientist
@CuriousScientist 23 күн бұрын
Glad to hear it! 😎
@victoribarra9930
@victoribarra9930 Ай бұрын
I guess that even once you disassemble a TGA instrument, sometimes you have to remind old principles.
@CuriousScientist
@CuriousScientist Ай бұрын
Hi! Of course! The fundamental principles are very important. The rest is "just" creativity and diligence. 😄
@vaisakhkm783
@vaisakhkm783 21 күн бұрын
This explains why i weren't able spin 2HP pump with it...
@CuriousScientist
@CuriousScientist 21 күн бұрын
2 HP is like what, 1500-ish Watts?! You can evaporate the whole Arduino with such power. 😅
@vaisakhkm783
@vaisakhkm783 21 күн бұрын
@@CuriousScientist XD 240v pump that used for filling water tank in my house... i was just joking... though there are stupid people like that, i had to argue with a friend like 10y ago, not to connect switch parallel to source.. (and he don't understand for hours that he turning off light by shorting circuit... and switch is upside down..)
@Enigma758
@Enigma758 23 күн бұрын
My projects predominately require external power. USB cables are cheap, so I just cut the power wire. Problem solved.
@CuriousScientist
@CuriousScientist 23 күн бұрын
Also, a great approach, yes! You can keep the data connection while powering your MCU externally.
@pavelperina7629
@pavelperina7629 Ай бұрын
I really wonder if I should read 20-40mA via power GPIO as power than can Arduino provide or that will damage it and the same applies to RPI Pico. I guess I made many mistakes already and Arduino survived everything so far, I haven't tried anything dangerous with RPI Pico, altough I'm going to try a small speaker or piezo buzzer. My mistakes: First: technically mosfet behaves as a small capacitor and turning it on and off means short circuit or power into gpio pin when it goes to low. I used it without gate resistor first. Second: it's very easy to short pins to the ground or VCC by mistake. For example when SD card is shut down, it may be still powered via SPI pins and it may draw 150mA or so and SPI pins must be set to high impedance input prior to power off. This happened to me with other devices that I tried to disconnect to reduce power consumption of battery powered projects, but SD card is only one I recall having very high power draw (at least during communication). With motor I would be scared to connect inductive load to gpio as once you turn off current, it becomes current source itself, creating high voltage spike. Great video anyways.
@CuriousScientist
@CuriousScientist Ай бұрын
Hi! The datasheet of the Pi Pico states 50 mA as the max current from *ALL* GPIO pins in total. This is the maximum IOVDD current in the datasheet of the RP2040. Then, I found this in the datasheet: "Output drive strength can be set to 2mA, 4mA, 8mA or 12mA". So, much lower current per pin and in total as well. This must have something to do with the fact that it is a lower voltage device (1.1 V and 3.3 V), I assume. Do not directly drive a buzzer or a speaker, drive it through a transistor. For a motor, you just need a flyback diode and it should be OK. I briefly mentioned it in the video. But if your drive it with a proper driver, there should not be any problems.
@21-ronitbhat95
@21-ronitbhat95 5 күн бұрын
I am here after frying my Uno 🙂
@CuriousScientist
@CuriousScientist 5 күн бұрын
Now you hopefully know how not to repeat the mistake. Keep exploring! 😎
@Lunolux
@Lunolux Ай бұрын
nice video, thx
@CuriousScientist
@CuriousScientist Ай бұрын
I am glad to hear that you like it!
@user-bp6wk4qe9z
@user-bp6wk4qe9z Ай бұрын
Like if you come from Reddit
@CuriousScientist
@CuriousScientist Ай бұрын
Did someone share this video there?
@user-bp6wk4qe9z
@user-bp6wk4qe9z Ай бұрын
@@CuriousScientist Not this video, but your channel
@CuriousScientist
@CuriousScientist Ай бұрын
It must be the discussion in Electroboom's thread! 😄
@sultan7679
@sultan7679 Ай бұрын
I have never destroyed the fuse... Its always the main uC thats on fire😂
@CuriousScientist
@CuriousScientist Ай бұрын
Then, you most probably exceeded the current rating of the GPIO pins. Lessons learned! 😎
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 146 М.
ADS1256-RP2040 GPIO Front Panel - Finished!
27:00
Curious Scientist
Рет қаралды 986
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 10 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 27 МЛН
Op-Amps  - Using Operational Amplifiers
44:21
DroneBot Workshop
Рет қаралды 280 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 558 М.
Inclinometer -YOU- can make
55:01
upir
Рет қаралды 94 М.
Getting Started with Meshtastic - Devices
15:01
The Comms Channel
Рет қаралды 203 М.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН
The 3D Printed Test Fixtures I Use For My Products
31:30
Clough42
Рет қаралды 41 М.