Pro Micro ATMEGA32U4 Arduino Pins and 5V, 3.3V Explained

  Рет қаралды 62,090

Robojax

Robojax

Күн бұрын

In this video, you will learn about Pro Micro ATMEGA32U4 Arduino board and how to connect it external power or USB. Digital and analog pins explained PWM is tested.
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
Purchase Pro Micro from Affiliated Stores
Amazon USA: amzn.to/3K0d1qr
Amazon Canada: amzn.to/3JxCEO2
Amazon UK: amzn.to/3yXLu2I
Amazon Germany: amzn.to/3yVYZjz
From AliExpress s.click.aliexpress.com/e/_DBd...
** Purchase Arduino Start Kit **
Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
AliExpress: s.click.aliexpress.com/e/_9uc7Xe
Banggood: www.banggood.com/custlink/3GD... or UNO board www.banggood.com/custlink/vKm...
eBay: ebay.us/B1JWLi
***** Purchase Authentic Arduino Uno from ***
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
All Europe Amazon: amzn.to/36YDSzn
Jump to different chapters of this video:
00:28 Introduction to Pro Micro Arduino Board
01:23 Pins explained
05:00 Soldering pin headers
09:48 Jumper J1 Explained
13:40 Powering up Pro Micro from External source (raw pin)
16:34 LED Blink demonstration with Pro Micro
17:42 Select the board in Arduino IDE
19:22 Testing PWM for LED fade
20:15 Controlling Servo with Pro Micro
22:00 Connecting external 5V to power the servo motor
Download Code and resources for this video: robojax.com/L/?id=240
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
Tutorial by Ahmad Shamshiri form Canada
****************************
Learn Arduino from a proven instructor with 100s of projects, code, wiring diagram in structured course in one place. Purchase Arduino Course at Udemy.com : robojax.com/L/?id=153
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Get early access to my videos by becoming my Patreon and and have your name mentioned at end of very videos I publish on KZbin: robojax.com/L/?id=97
If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojax_board

Пікірлер: 91
@sennabullet
@sennabullet Ай бұрын
Excellent video. Excellent explanation. Thank you for sharing your knowledge.
@robojax
@robojax Ай бұрын
My pleasure!
@planker
@planker 2 жыл бұрын
Like. Thanks, I just got mine in the mail. good thing I watched. I did not know about the jumper. I've learned alot from watching this guy. Many good nuggets here.
@goodwill7643
@goodwill7643 5 жыл бұрын
Good advantage of this module, that you can simulate mouse and keyboard on PC. So you could use it as infrared receiver and trigger shortcut buttons for media player like full screen, play, pause, etc...
@arturbaginski795
@arturbaginski795 2 жыл бұрын
You can put diode on RAW to prevent it from sucking in current from USB port, but it will drop it's voltage even further as on typical diode voltage drops about 0.6-0.7V
@mguarin912
@mguarin912 Жыл бұрын
So helpful. Thank you.
@AerialPhotogGuy
@AerialPhotogGuy 5 жыл бұрын
Hi Robojax, Nice video presentation! :-) I always enjoy your videos! :-) Early model servos did use duty cycle to set the position of the servo arm but all modern servos use a different scheme. Modern servos use the width of the ON pulse (in uSec or mSec), the off time is basically constant while the on time varies (usually between 1000 uSec and 2000 uSec on time, or 1 mSec to 2 mSec on time). This scheme proved to be more stable and more accurate than the duty cycle scheme. That may be why your servo is kind of glitchy (even after you bypassed the Arduino voltage regulator. I'm sure you have seen the servo sketch in the examples menu, that sketch uses what I described above. :-) Hope this helps! :-) Again, nice presentation and good work!! :-) Joe
@robojax
@robojax 5 жыл бұрын
Hi, thanks.
@AerialPhotogGuy
@AerialPhotogGuy 5 жыл бұрын
@@robojax You are most welcome! Keep up the great work! :-)
@maicomcoelholopes9032
@maicomcoelholopes9032 5 жыл бұрын
excelente tutorial, obrigado por compartilhar seu conhecimento, principalmente sobre módulos e placas de desenvolvimento pouco populares como essa do vídeo, muito obrigado
@robojax
@robojax 5 жыл бұрын
Você é bem vindo.
@landoncatt3366
@landoncatt3366 Жыл бұрын
great video, I learned a lot..thank you
@robojax
@robojax Жыл бұрын
Glad you enjoyed it!
@trmusa3434
@trmusa3434 5 жыл бұрын
Good Review
@robojax
@robojax 5 жыл бұрын
Thanks.
@SusanAmberBruce
@SusanAmberBruce 4 жыл бұрын
Ok I deleted spam, personally, I did it because of enthusiasm, but hey we live in strange times, the pinout diagram was useful to me thanks
@robojax
@robojax 4 жыл бұрын
you could leave the link to the video.
@ragesmirk
@ragesmirk 4 жыл бұрын
So how is the jumper related to powering the board with 3.3V ? If it just short circuits the USB VCC to VCC of the chip how does it make the board 3.3V compatible ?
@Matt-gn6bo
@Matt-gn6bo 3 жыл бұрын
Hi Robojax, great video with lots of detail! Thanks for that!! One question: at 16:29 you mention that the maximum current draw from the MIC5219 voltage regulator is only 200 mA, but at 10:12, you show that the current limit is 500 mA (which is indeed what the datasheet for the MIC5219 indicates). Why did you say only 200 mA was available at the VCC pin?
@robojax
@robojax 3 жыл бұрын
Hi, I had watch the video, look at the datasheet here ww1.microchip.com/downloads/en/DeviceDoc/MIC5219-500mA-Peak-Output-LDO-Regulator-DS20006021A.pdf on page 1 it says "SOT23-5 Package - 500 mA Peak" which means if it can go for very shot period, it can handle 500mA.
@hamid.s.zolfagari
@hamid.s.zolfagari 4 жыл бұрын
خسته نباشید. باتشکر
@robojax
@robojax 4 жыл бұрын
سلامت باشید.
@robojax
@robojax Жыл бұрын
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید. www.youtube.com/@ilmofan
@sajk
@sajk 10 ай бұрын
Question: I'm getting 4.6v instead of 5v when powering from just a usb lead. my device only needs 50ma though (so well under the 200ma max). will it be ok considering the low current requirement or is it just a case of trial and error? I'd rather avoid adding additional power input if it's not needed..
@yogeshitaliya473
@yogeshitaliya473 5 жыл бұрын
😍😍😍😍😍
@-indeed8285
@-indeed8285 2 жыл бұрын
Please let me know, Can i desolder RX and TX LED of this board and use those pin as digital I/O? (I need 20 pin digital I/O, 18 pin is already there)
@ORagnar
@ORagnar 3 жыл бұрын
Is it possible to talk to the Arduino with a program running on Windows? I want a program to detect a key press by the Arduino. Are you able to read the registers of the Arduino from a program on Windows so that a change of state is detectable? I was thinking of C#, though I can use C or C++ as well.
@samtvtest4159
@samtvtest4159 Жыл бұрын
Hi Ahmad, Thanks for this informative video. I need to do the same but using Bluetooth ble HID to control pcs (actually a TV). Do you have experience or ant tutorials with BT ble HID? Thanks Khaled
@skulls2802
@skulls2802 4 жыл бұрын
Hi there. So if I was to use the 5v pin for a illuminated toggle switch it would light when switched on. How would this look, and where would I ground the toggle please.
@robojax
@robojax 4 жыл бұрын
Hi, sorry I read this 3 or 4 times and did no understand it. "Illuminated gottle switch"
@skulls2802
@skulls2802 4 жыл бұрын
@@robojax toggle switch
@skulls2802
@skulls2802 4 жыл бұрын
@@robojax www.arc-components.com/0-603-02-on-off-single-pole-blue-led-toggle-switch-10a-1094.html
@utkuserin9750
@utkuserin9750 5 жыл бұрын
Hello I am trying to make a compass with qmc5883l and 128x64 oled display. I can display values which are x,y,z,and azimut but ı cannot make a circle and the vector that spins with my rotates. Which library should I use?
@robojax
@robojax 5 жыл бұрын
I have video explaining 128x64 OLED. You need to draw circle and a line and move the line with your compass value kzbin.info/www/bejne/i568mnuKhN9ga80
@TheLoPo72
@TheLoPo72 4 жыл бұрын
Hello Robojax! I would like to make a button box and I have push buttons with 12v leds do you think i can run the leds on this arduino board?
@robojax
@robojax 4 жыл бұрын
not it can't. I have explained in the video how much total current this board can output. Use this module to drive LED kzbin.info/www/bejne/fWrYeYmZfrl7nJo
@TheLoPo72
@TheLoPo72 4 жыл бұрын
@@robojax thanks Robojax! ;)
@robojax
@robojax 4 жыл бұрын
you are welcome.
@farhadh.jafarpour3025
@farhadh.jafarpour3025 Жыл бұрын
Wonderful tutorial indeed. Just one question: I have a si4703 radio fm module which works with 3.3V. As you motioned there no 3.3V output on the board. What should I do if I decide to build a fm radio with si4703 module and this board. Thank you so much in advance.
@robojax
@robojax Жыл бұрын
Get AMS1117 3.3V. I have video on that. سلامت باشید
@farhadh.jafarpour3025
@farhadh.jafarpour3025 Жыл бұрын
@@robojax Thank you so much. Luckily I had one of these regulators and it solved the problem!! Now my radio works. But one question: why we don't/can't use a level shifter? I watched lots of videos and first I thought that I had to use a level shifter. Now that the problem is solved I do not know why a level shifter cannot do the job. I appreciate your help. سپاس بیکران
@robojax
@robojax Жыл бұрын
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید. www.youtube.com/@ilmofan
@user-do3vd9wg8w
@user-do3vd9wg8w 2 жыл бұрын
Hi, thank you for making the great explanation about Arduino. Can I ask some question about powering Arduino via USB connect while supplying by 6 Volt AA battery at RAW? In my project, I supplies led strip ws2812b (72 Led strip, it draws the current around 4.3A on 5V) and also connects the USB for using HID function, by the way, I am able to afford only 4 x AA battery but I know that if it comes to the limit, the voltage will gradually drop over time and dramatically drop at the end according to 12:59 , What component that I have to add to minizine this risk?
@robojax
@robojax 2 жыл бұрын
Hello, at usb it just be 5v but at Vin you can connect 6V if I have shown it. I don’t remember if there is VIN pin
@dempa3
@dempa3 4 жыл бұрын
Thank you for the helpful video! Is this an original arduino, or is this a clone? When I look at the clones on the net, they write that they have 4 analog pins, but the pinout schematic suggest additional analog pinouts shared with the digital ones. Many thanks in advance!
@robojax
@robojax 4 жыл бұрын
You are welcome. the official Arduino website has no such product. This is the same family of microcontrollers produced and has tones of extra features. Yes it does have 10 Analog pins. I have included the pinout image link in the description.
@dempa3
@dempa3 4 жыл бұрын
@@robojax I see! Thank you for your clear and quick reply!
@flavianojose8423
@flavianojose8423 2 жыл бұрын
hey there, great video, at least i now know that i can use an LED with arduino pro micro, however i have one question, i have created a throttle device, the board is acting as a joystick, it has 7 potentiometer connected and 9 buttons, with joystick sketch i am using, is there a way to add an LED funtion to this sketch to use it as parking brake lights? hope to listen to you soon
@exon823
@exon823 3 жыл бұрын
I got one that doesn't give me a com port. so the bootloader is no good. could you make a tutorial to fix the bootloader with another arduino as isp? I heard you can burn the bootloader again and wipe out the corrupt /default one.
@robojax
@robojax 3 жыл бұрын
Yes you can update the firmware. It needs separate video to do it.
@adipurnama_workshop
@adipurnama_workshop 2 жыл бұрын
i have project which need 7 analogue input from potentiometer and 4 button digital input. is this board can handle it? what value is best for potentiometer?
@robojax
@robojax 2 жыл бұрын
Hi, you made me watch the introduction of this video with your question. I have explained and shown the pins and what each pin is for. To get the answer please watch the video without skipping.
@marcosbaungartner
@marcosbaungartner 5 жыл бұрын
Anyone has used the Pro Micro on PlatformIO with the library Mouse.h???
@petertremblay3725
@petertremblay3725 3 жыл бұрын
Which are the pins where i can connect arcade buttons?
@robojax
@robojax 3 жыл бұрын
what is "arcade buttons"? I just check and it is push button. if that so you can use it with any pin here is my video on why you can or can't use resistor with push button kzbin.info/www/bejne/ioXUoH6Zpa6KobM
@Dennis-mq6or
@Dennis-mq6or 3 жыл бұрын
Use the servo library or you will burn out servo or pin like I did... Servo drive is a form pf pwm that operates in a very small portion of the period of a fixed repetition rate. So the repetition rate never changes as the pulse width changes. The rep rate is the 'clock' for syncing the pwm signal to the servo. If you use the straight PWM sweeping an average of zero to Vcc; you use way too much of the period between sync pulses....and confuses the heck out of the servo, which gets really hot, which eventually causes the processor pin to overheat and no longer work.. (dead servo and dead port).... In normal operation, the 0 to 180 degrees of servo travel is only 1 to 2 percent of the duty cycle of a specific fixed frequency that the servo is capable of clocking to. I may have the exact time values wrong, but I believe the minimum servo position corresponds to a pulse width of 1 millisecond and the maximum servo position corresponds to a pulse width of 2 milliseconds, and the period between pulses is 10 milliseconds or more.
@johnvilardi9763
@johnvilardi9763 4 жыл бұрын
If you disconnect the usb after you run the code will it still blink. Or do you have to keep it connected to the computer
@robojax
@robojax 4 жыл бұрын
No you don't have to keep it connected. After downloading the code to this board, computer is just supplying power to the module. But it needs 5V or 3.3V which you should connect it to the input pin. That is the
@alheeley
@alheeley 4 жыл бұрын
Good tutorial. My pro micro does not show up as a com port option, I get unknown usb device and windows disables it. I am unable to get anything loaded on to it despite trying to install different drivers. It just remains with gree & 2 red LEDS on :(
@robojax
@robojax 4 жыл бұрын
Watch this video kzbin.info/www/bejne/q5CVYqyEpsljaas
@alheeley
@alheeley 4 жыл бұрын
@@robojax Thanks for the fast response but theres no serial port with warning triangle, its a USB port, I follow your instructions to install new driver but it tells me the best one for the device is already installed.
@coomsz
@coomsz 3 жыл бұрын
@@alheeley I'm having the same issue and it's been driving me nuts. Spent a couple hours tonight trying to get it working. It did get recognized by my PC at work. Earlier today, both of which are windows 10
@alheeley
@alheeley 3 жыл бұрын
@@coomsz i wasted so many hours trying to get mine to work properly i ended up crushing it under a hammer and went back to a teensy2.0 board which worked perfectly and seamlessly.
@coomsz
@coomsz 3 жыл бұрын
@@alheeley after spending a couple more hours trying to get it to work today, I finally got it done. In case you (or anyone else encountering this problem) would like to know the solution. You have to touch the ground and reset pin twice in quick succession (only lasts 8 seconds) and you will see it pop up in device manager. Then you can select it in the IDE, compile your sketch, and then reset twice before it starts uploading
@seriestuber
@seriestuber 3 жыл бұрын
tek türk benim sanirim bi de kanalin sahibi burada adasjdaljs
@robojax
@robojax 3 жыл бұрын
Hatalısınız. Sahip olduğum 400'den fazla videoya yorum yapan binlerce Türk gördüm. İstatistikleri görüyorum ve kanal trafiğimin% 5'inden fazlası Türkiye'den.
@pramahendra4483
@pramahendra4483 4 жыл бұрын
So it will not run if i dont give regulator ? Or usb only
@robojax
@robojax 4 жыл бұрын
You can connect external power. It has regulator.
@pramahendra4483
@pramahendra4483 4 жыл бұрын
Robojax will it run correctly if i just use usb ?
@robojax
@robojax 4 жыл бұрын
yes it will. 5V is 5V no matter where it gets it from.
@surenbono6063
@surenbono6063 4 жыл бұрын
ROBOJAX ..SJ1 is open how can it be 5v out.....i need 3v3 vcc...for 2 supporting module paralleled 3v3 vcc namely neo-6m & 8 x 8col FC16 LED MATRIX..it worked on chinese smd uno...downsizing the GPS clock project without any ftdi's...mybe not proper board for rotary encoder timezone/DST switching version
@robojax
@robojax 4 жыл бұрын
It is sold as 3.4v version and 5v version.
@franklee663
@franklee663 2 жыл бұрын
I had the same question, but if you look closer at the close-up, though SJ1 is not soldered, but you can see a faint trace between the two pads. So I think the board that he has is a 5V board with default SJ1 jumpered. When you open SJ1, it will not just only provide 3.3V VCC, it will also power the entire chip at 3.3V thus making the entire module a 3.3V device running at 8Mhz.
@Ekiszzero
@Ekiszzero 4 жыл бұрын
Hi, Windows 7 doesn't recognize my device, in devices appears "Lilypad USB plus" and is shown with a yellow symbol.... I can't upload any sketch :( would you please help me?
@robojax
@robojax 4 жыл бұрын
Hi, on this page www.arduino.cc/en/Guide/LilyPadWindows#toc4 they mentioned the driver to be download it from here www.ftdichip.com/Drivers/VCP.htm
@Ekiszzero
@Ekiszzero 4 жыл бұрын
​ Robojax Hi, it didn't work. Finally I used another similar unit and it was recognized succesfully by windows, for some reason I ruined the board :'(
@robojax
@robojax 4 жыл бұрын
I am glad it work. Happy Arduinoing.
@qzorn4440
@qzorn4440 3 жыл бұрын
A very professional lecture... this would make a great keyboard function hotkey emulator. thanks a lot...:) Oh, my arduino ide shows the usb com-port as leonardo, seems to work?
@robojax
@robojax 3 жыл бұрын
Yes it will work. Thanks
@JelleWie
@JelleWie 4 жыл бұрын
9:38 'I've provided a link to download it' but then you didn't include the driver link....
@robojax
@robojax 4 жыл бұрын
Hi Please see the description. I have provided instruction there. thank you for letting me know.
@JelleWie
@JelleWie 4 жыл бұрын
@@robojax also on a side note, I might have missed it in the video. But my micro didn't came with a bootloader, no problem for me, but I though that it was the driver and went looking for it. But after installing it, I found that the arduino just wasnt responding at all, and figured to geflash the bootloader. A general rule: if the lights stay off your missing the bootloader. Also my led pin was on pin 17
@tahirballikaya213
@tahirballikaya213 4 жыл бұрын
is it normal that I hear 2x usb disconnected sound after uploading?
@robojax
@robojax 4 жыл бұрын
no it is NOT. it seems the device is rebooting and windows is detecting that.
@lezbriddon
@lezbriddon 4 жыл бұрын
faster than 328?
@robojax
@robojax 4 жыл бұрын
Perhaps see this page learn.sparkfun.com/tutorials/arduino-comparison-guide/atmega32u4-boards
@megkalapnemadom
@megkalapnemadom 7 ай бұрын
its very sad that it is not a good board. if you try to use it as "ARDUINO MICRO" then you will pull out some of your hair. example if you try to use its SPI functions :(
SparkFun Arduino Comparison Guide
8:31
SparkFun Electronics
Рет қаралды 1 МЛН
OpenAI's New SearchGPT Shakes Up the Industry, Google Stock CRASHES!
10:10
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 106 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 12 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 58 МЛН
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
How They Build US Most Powerful Tank Ever Made
17:40
FRAME
Рет қаралды 23 М.
Java Is Better Than Rust
42:14
ThePrimeTime
Рет қаралды 148 М.
High Bypass Turbofan Engine Assembly - Educational Model
8:05
Arduino Pro Micro Quick Look
5:54
learnelectronics
Рет қаралды 36 М.
Using the Arduino Pro Mini & FTDI
27:40
DroneBot Workshop
Рет қаралды 178 М.
How To Turn An Arduino Into A USB Keyboard Or Mouse! | ATMega32U4
7:20
Simple Electronics
Рет қаралды 99 М.
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 122 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,2 МЛН
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 320 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 6 МЛН