Using the Arduino Pro Mini & FTDI
HTML-код
- Опубликовано: 14 июл 2024
- Today we will work with the Arduino Pro Mini, a small yet powerful Arduino board. We will also build a simple battery-powered robot arm controller.
Article with code -dronebotworkshop.com/arduino-...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
The Arduino Pro Mini is proof that good things do indeed come in small packages. It uses the ATMega328 processor chip, giving it all of the power of the Arduino Uno in a tiny package. It even has a couple of extra analog to digital converters and is available in both 3.3-volt and 5-volt models.
Although it has been discontinued from the official Arduino store it is an open source design (originally built by SparkFun) and is readily available.
One thing that the Pro Mini is lacking, however, is a USB port for programming and debugging.
To resolve this you will need to use an FTDI adapter, a small board that allows you to connect a USB port to your Arduino Pro Mini. It’s a simple board to use but be careful of the hookup, as some Pro Minis (and some FTDI boards as well) have their connections reversed.
I’ll show you how to hook up the FTDI board to both a 3.3-volt and 5-volt Pro Mini and how to program it using the Arduino IDE.
We will also build a battery-powered robot arm controller for the MeArm, it can be extended to work with any servo motor based robotic arm. While I will be the first to admit that the design lacks a lot of features it does a good job of illustrating how to work with the 3.3-volt Pro Mini.
Here are the contents of today's video:
00:00 - Introduction
02:35 - Pro Mini Intro
07:26 - Using the FTDI Adapter
11:16 - Programming the Pro Mini
18:48 - Robot Arm Controller
Hopefully, the video and its associated article at dbot.ws/promini will inspire you to build your next project around an Arduino Pro Mini.
I also want to thank everyone who has subscribed to the RUclips channel, we are now over 80,000 strong! If you haven’t subscribed yet please do, I’d love to have you as a subscriber.
Now go and build something small and wonderful with the Arduino Pro Mini! - Хобби
It is so nice to find a RUclips channel where the moderator has a very nice voice and good audio, tidy workplace and clear way to explain everything my thumbs up and the bell is active.
So clear, so concise. New to Arduino, just got into it about a six weeks ago but your videos have helped and taught me so much.Please keep them up as they are so inspiring, can't thank you enough.
Great video as always Bill.
When you map the servo movement to the mechanical borders of the arm will give a smoother movement. e.g. the claw servo need only 45 degrees to close and open the claw. (by the looks of it at 25:18) mapping 0 to 1023 to say 0 to 45 results in a reduced range of the servo with the full wipe of the poti and therefore a more precise control of the claw.
Been waiting all afternoon for my weekly dose of DroneBot!
Hats off to you, your videos are the best ! You go through everything there is about a topic and you explain it so well. Thank you !! Another great video.
Couldn't be happier :) I ordered a couple of Pro Minis this morning and there was one or two things I was not sure about them. You answered my questions before I could even start to search for answers :)
Excellent intro to the pro mini !! Thank you !!
I love this tutorial! Great calm voice without any music. You explain very well!! thank you
Very clean and straight forward as always. Very helpful and much appreciated! Thank you!
Very helpful. Years ago I had problems trying to program a mini or a micro, but then I was using WIN 7. I've been solid Linux on all of my desktops and laptops and both servers for 6 years now and everything just works. I decided to break out all the old Arduino stuff and try it out and it worked first time just like you showed. Thanks!
So easy to understand and follow- even for a geriatric like me!!
Thanks a lot, you are really grear at explaining all about electronics
I've downloaded all your playlist about arduino on my PC and watch them regularly and take them as reference when i need them,
Thanks again for the great job ❤️❤️❤️
Thank you for this very useful video! It is also very well presented and easy and clear to follow and understand!
Thank you. Very well made and easy to follow. Thank you for the effort you put into this.
Very good and concise, learn't a lot about Pro Mini. Keep up the good work.
Wow! That it THE MOST tidy and well organised workshop I have ever seen!
That was Great!!! . Thankyou for well detailed explanations
Very professional as always.
Thank You. I am a beginner and I was easily able to get the Pro Mini to work with the help of this video :)
Very cool and quite a bit fun. Thanks.
Jesus!!! You ARE fantastic. I'm a hobbyist and I do a whole bunch of stuff but it's not always I'm 100% sure of what I'm doing. I try to read and while testing stuff I managed to burn some boards and so on but you ALWAYS manage to answer all my questions with your videos!!!
I know you said you aren't gonna sell anything but you could have some affiliate links. I'd gladly buy stuff cause well, I buy it at eBay anyway.
Another great video Bill. I'll have to build a me arm!
Thank you so much for your clear explanation as always.. Actually the TX and RX pin on both my Arduino Pro Mini and FTDI are swapped in comparison to what you had shown in this video 9:37. But this was fine as the pins are swapped on both the boards.
Very useful and very clearly explained (as usual) Thanks.
You are a great teacher! Thank you!
Thanks for the video, helped me.
Thank you very much for this high quality content.
Impressed to me for detail info and guide to me. I love your lesson
Very well explained. Much better than reading books.
You are a "must watch" for everybody.
tnx for the awesome tutorial!
the year 2021 now, still good tutorial and review,
oh Bill, you live an adventurous life, your not authorized but you'll jump right in and take your chances! Oh you wild man! Just throw caution to the wind.. that's why we love you my brother! Man this was something to watch on my new 70" smarter than me tv...I feel like a renaissance man! I think this would be a fun project to do as long as the sketch is not on github.. It is a great place for sure.. But it is just to confusing for this old man.. I have been looking for some young fellow in my area to help walk me through github so I understand how to get what I need and get it into my IDE correctly.. you know getting old is not for the weak.. Well thanks again for the share.. and carry on you rebel you...
Thanks for your work ......it's too easy to understand 😆😆😆😆
Excellent video thanks
Sorry for the late comment. Great videos of yours. You are not bad at controlling the arm, the delay is bad. 400ms is too much. Try with 20. With such a big delay (400ms) your feedback is too slow to be able to control is smooth. Great work!
Thank you for this very useful video! I I will be grateful video with ATtiny processor
Hi, Thank you for sharing your knowledge with this great quality video.By the way, one suggestion, it would have been very helpful for me if you showed an actual picture of the connections between FTDI interface USB board and pro mini you used(without the breadboard).Thanks again
Very useful video 👍
Thank you very much !
very good explanations. Tk u
Great video ❤
another great video
Thanks for the comment about the mirrored FTDI on some pro-minis. I thought I was going crazy, but, no, it's actually the world!
-What is my purpose?
-you pass butter
-oh my god!
Hey bill, loved the video! Did you make that mi arm? It looked perfect and worked perfect. Is it like from mi company? Need more details on that arm.
Awesome video man. A bit distracting the two camera thing btw.
Great !!! And very well explained !!!
When do you make a cat/dog feeder ? :) With open and close door in 2 ou 3 times in a day ...
23:28 I DID NOT KNOW YOU COULD DO THAT AND NEEDED THAT
Thanks a lot.
This is the greate tutorial.
Excelent English. Thanks
Clearly and well explained project for using the Arduino Pro Mini. I didn't have a FTDI board and used a CP2104 which worked great and connects up just the same.
Having a tough time waiting on the ATtiny85 video! Any estimates on when it will be available? I have a project I would like to use one on, and although I think I know what I need to do to proceed, I'd sure like to see how the Workshop suggests it should be done.
many thanks
I Love your videos!!!
Maybe potentiometers with a longer traver will make controlling the arm better
Used an FTDI adapter from china. I wouldn't upload the code at first(had some error). Got it working by using a DF robot FTDI adapter. Costly, but it worked. The china one worked as well after that. Note that it was registering two bootloaders. Had to set to old bootloader.
you must connect the DTR pin of the FDTI to the reset pin on the arduino with a 100nF capacitor in series.
Without this connection, you have to press the reset button at the start of programming, but it is difficult to press precisely at the right time and there is often a programming error.
Connections :
FDTI Arduino
+5 V o--------------------------------------------o +5V
GND o--------------------------------------------o GND
TX o--------------------------------------------o RX
RX o--------------------------------------------o TX
DTR o--------------o 100 nF o-------------o DTR / Reset
Can you please make a video about lipo batteries and how you can power arduinos with it?
It can be done with any serial to USB adapter, not necessarily FTDI adapters. In fact FTDI adapters are more expensive than other alternatives and don't have any major advantages against other cheap ones.
Agreed, I have got an el-cheapo USB-TTL programmer that has an aluminum shell and looks somewhat like a thumb drive, and I have used my UNOs and MEGA 2560 successfully too.
thank you sir
Bill, be aware that the pro mini has a different bootloader on it. This means that some functions (e.g. the watchdog timer) does not work the same way as it does on the UNO. The correct bootloader needs to be installed for full functionality. Unfortunately I'm not sure what the 'correct' one is and how it is identified!
Hello this is a great tutorial thanks.
Could I use my TTL converter please or is that totally different to the FTDI module?
Thanks John 😊
11:14 probably worth noting here that many mini USB cables are POWER ONLY , make sure you have a mini USB that can can transmit data and not a power only cable
Great video! keep it up! but can someone explain to me some important differences betwen UART & FTDI, thanks
Hi I can see the advantage if you need to drive it via a small batteri pack - but otherwise couldn’t you just as well use the NANO same pinout but also with a mini USB
Bill, I'm curious as to why you used two capacitors across the power lines rather than one? Is there a benefit gained by combining ceramic and electrolytic capacitors in parallel such as this for combating noise?
whatever.... i'm gonna subscribe and watch your every video you upload, your explanations are way beter than my teacher LOL.....
@6:10 hahaha that made me laugh hard :D... An amazing tutorial, like always thank you.
!4:16 someone needs breakfast :P
Does the 3.3v Pro-Mini use an external 8MHz crystal, or the internal oscillator? Could be a handy board definition to use for people that wasn't to program their own bare ATMega328s on a breadboard :)
Plz make video about RELAYS!
I'm still pretty new to all of this, and alot of these videos have been very helpful.
But I am still a bit confused about some of the things you can do with Arduino.
Is there a video where someone shows a truly BEASTLY Ardunio project?
Either a single Board, or a board speaking to multiple boards?
I have ideas that I want to try setting up in Arduino, but I keep running across problems with the way I want to do something, and I'm not sure if I just suck at Arduino, or my project is too ambitious for the way I'm trying to do it.
Can i use a joystick for smoother control in all directions?, great video's i love the r1 robot build :-)
You can use two joysticks to control movement, since each joystick will contain two pots.
Thanks...........
so clear for pro mini programing,i have something wrong with my mega,i try to use ftdi programing mega many times did not work,can you give me some advice
Cool
Great video! Simple question for you: My Arduino PRO Mini doesn't appear to have a DTR pin. It has BLK, GND, VCC, RXI, TXO, GRN. Other than that, the pin seem to align with my FTDI. Where would you hook up the DTR from the FTDI? I'm afraid of getting this wrong and frying something ;-)
DTR pin on arduino is RESET
@@fabcentnom2990 Thank you. This helped me too.
Would a joy stick type control be better for robotic arm control?
where can you get the FTDI adapter with the switch to switch between 5v and 3.3v?
ReadyMadeRC web site (and other ones).
Could you please make a content with making drones
Thank you so much. i have 1 question:
The output volt value from Pin 9; 6; 5 & 3 is 3.3V from Arduino. But how about our servo input PWM signal? is it effected? maybe we need 5V for servo signal input to make sure working stable, right?
Thanks a lot for your videos and the knowledge you share! I would like to ask you this> I am connecting an active buzzer to an Arduino Pro Mini 3V into pin 8 and I am making it digitalWrite High but it only clicks and doesn't beep...however, if I rub or move the cable coming from pin 8 on the positive side of the buzzer, the buzzer beeps as normal only once, and then starts to click again...may I know please, what could be the issue? I hope you can help me here! Thanks a lot!
I have one of the Pro Minis that a seller on eBay sent me instead of what was pictured in the ad. I don't have a FTDI and for a single unit, it's not worth buying one since the Nano boards (that have a USB connector on them) are about the same price as the FTDI adapter. Maybe if I had a lot of Pro Minis that I needed to be able to use it would be worth it.
On the other hand, I do have a USB to DB-9 serial cable / adapter and it probably has a similar controller molded into either the USB plug or the male DB-9 connector. Would it be possible to use that or are the voltages going to be wrong? I believe the voltages on the RS-232 pins are supposed to be +12VDC and -7VDC for the logic levels.
The DB-9 serial cable will burn the arduino.
An FDTI adapter costs less than an arduino pro mini.
хороший дядька.
Can we connect FTDI TTL converter to ATmega328PU to program ? I decided to build a circuit with only programable DIP Atmega328PU, as I have watched your previous videos saying that how to shrink the uno to only DIP Atmega328PU chip
the FDTI adapter can program the ATmega328PU only if it already contains the arduino bootloader.
If it is blank, a microcontroller/eeprom programmer must be used.
For the same reason, it is impossible to program a blank ATmega328PU by installing it on an arduino UNO board.
It's the bootloader that made Arduino so successful. Before, you had to remove the microcontroller from the card, connect it to a programmer, program it, then reassemble it on the card each time the program is modified. And at the end of the 36th time, at 4h a.m., we broke a leg or plug it in backwards and it was over for him.
It should be possible to programm the mini via SPI ( ICSP ) ?
With an Arduino as programmer ?
The pins MISO, MOSI, SCL and SS are available, I think.
?????
So I was trying this setup today and blew the the capacitor (C19, 10microF) on the boards built in voltage regulator. I find this a bit perplexing as the board should be able to comfortably handle 12v. Is there anything special about the 6V lantern battery that would cause this behavior, or did I just get a poorly made board (Sparkfun) ?
The 3.3V boards have a maximum RAW input voltage of 6v.
I am going to show this to my kids to make it together. I am sure they will understand it.
Would it make any difference if you used the 3.3 or the 5V, I know it is double the Mhz but the code is quite simple and most of the time it just waits
I ma entering videos in sauper video like
As an authorized Arduino pro mini handler
I can confirm this is how you handle and Arduino pro mini 😂
How can I program a pro mini via native 9 pin serial cable?
what if i want to do this for the nano with a none working usb?
excuseme, i want to ask
can pro mini use external power, and simultaneously connect FTDI to laptop USB?
because some of my devices require quite a lot of power, but I also need FTDI to view the Serial Monitor at the same time.
I ask like this because on some boards, like the ESP32, it doesn't allow to provide external power when the ESP32 is connected to a USB laptop, because it can cause damage (written in the ESP32 manual)
Have a question. I think my USB port on my Arduino Mega is bad. Can I use a 6 Pin USB 2.0 to TTL UART converter (CH340G) to upload sketches to the Mega? And if so what pins would I use. Thanks like your channel,
Robert
Yes, it is possible, but you must connect the DTR pin of the CH340G to the reset pin on the arduino with a 100nF capacitor in series.
Without this connection, you have to press the reset button at the start of programming, but it is difficult to press precisely at the right time and there is often a programming error.
Connections :
FDTI / CH340G Arduino
+5 V o--------------------------------------------o +5V
GND o--------------------------------------------o GND
TX o--------------------------------------------o RX
RX o--------------------------------------------o TX
DTR o--------------o 100 nF o-------------o DTR / Reset
@@fabcentnom2990 Thanks I'll give it a try.
@@fabcentnom2990 Well tried doing the cap and wiring with no luck. Tried to upload the blink sketch and it just timed out after looking like it was going to work. Think the board may be fried. Thanks for the help.
my arduino ide (Version: 2.3.2) doesn't have pro mini board option, appreciated any help.
Capacitors in parallel add so why the ceramic capacitor?
Can't we use the FTDI directly to pro mini
how to know if your promini is 5 v or 3.3 v
inferno 601 Three options:
1. Check the spec when you buy it.
2. It‘s usually marked on the board‘s bottom side.
3. The 3.3V version has no crystal on the board as it uses the internal one.
The crystal is one of the bigger components with a metallic surface.
thanks man @@robatoto
If i want to use Arduino uno with FT232 , How to use it. Please guide
Not needed for uno.
Can i use it to make a gps