I compare the ATTiny85, ATMega328P, Mini Pro, Nano, Uno, Mega, STM32F103C8, ESP8266MOD, and a Teensy. I look at what they can basically do and their common use cases.
+Rick Seiden I don't just love the ATTiny85 because of its cost, but the savings in other electronics that are effectively turned into code. Flip flops, 555 chips, opamps, and other supporting circuitry can have many of their use cases swapped out for code and an 85. By this view the attiny85 can pay for itself.
Thank you for making this informative vid.... i just read it's from 2016.. i'm just now tipping my tows in to the arduino world and i found it very helpful thank you sir.
The usage of a processor depends for what purpose of project you go to build. For experimental setup I can use a Due (ARM) or Mega (AVR). When it is finished then I go looking if I can use smaller processors (depends on timers and pins). Mostly I pick then a Nano due it has also the USB-interface (while the Micro has no USB-interface, also the only difference). And all AVR's are on 5V level. The Due and STM and different. First they working on a 3.3V level. For more easy design they are better with big IC's like eg. DDS AD9910/AD9912 what have also a working level of 3.3V. Don't forget to say it is an ARM-processor what needs a slightly different programming then an Atmel what is an AVR-processor. A 72Mhz ARM seems fast compared with a 20Mhz AVR, but they have a complete different architect structure. Best way to explain is that an ARM does 1 instruction per clock cycle and an AVR does multiple instructions per clock cycle. So, as comment in the video, for fast datatransfers an ARM is better and for complex controlling use an AVR. I have seen projects with combined both ARM and AVR which do complete different tasks. The ATTiny is a handy thing for simple controlling where you only need a few pins or changing from data protocol like USBI2C or AnalogSerial. For things you normally use an Atmel328 but missing the full 8-bit ports for eg. controlling stepper motors an Atmel16/32 is then a good equivalent.
So this explains why the arduino clock spec looks so low compared to smaller ARM cpus i was like asking myself why is a slow cpu was used on such a popular chipset and i thought its just some useless educational board that have no application IRL
To miniaturize the most I'm using a loose Attiny85 and otherwise a Digispark board (it has the Attiny85 on it) and furthermore I think Arduino Nano's are the most versatile for their body size and easyness of sticking onto a tiny 170pin breadboard. Pitty they are discontinued !
Nice vid. Shame you that you haven't published anything recently, it looks like you've moved on. Anyhow, the vid was nice, clear and very enjoyable with my morning coffee. Thanks!
TECHNICALLY neither are UNO, DUE, Leonardo, NANO.... they are Microcontroller Development boards. read on -> " Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board micro-controllers and micro-controller kits for building digital devices. "
Hey there, just wondering if you were aware of the error in your data regarding the STM32, you first mention that it is a 32-bit processor running at 17mHz, you then say that it computes at 72mHz at 32-bit... I Thought that since there was no card or annotation to denote the error that perhaps you were not aware of it...
Nice video , I'd like to point out that if you have an arduino uno with the DIP package of processor, you can you it for programming them and then use them in final projects , without having to use an external programmer!
@@sebasthecrab1345 I'm not sure what you are asking. There are projects that use more that one arduino, for example transmitter - receiver setups. If you are not asking that please rephrase and I'll try to answer
@@sebasthecrab1345 yes you can, for example if you want to make a RC vehicle, you can use an UNO as a transmitter and a NANO as the receiver (because it is smaller) there are a lot of videos to browse!
One thing that I would say about the Teensy line is that they haver built in native USB support for things like HID keyboard and mouse, MIDI and even audio on the 3 series. They're expensive, but they are brilliant for projects that require USB communication in ways other than serial.
Don't forget the Arduino Leonardo, Micro and Pro Micro, the all have the same MCU as the Teensy 2.0, and they have also the same functionalities. But! you can get them for 4$
Robin Cerny true, but they don't support nearly as many USB modes as the teensy out of the box. Getting a Leonardo to deal with Midi for example is a real mission
I think you don't understand. It's the same Microprocessor, you can exactly the same things do as with a Teensy 2.0. And Out of the box they both do nothing ;)
Robin Cerny I do understand. The Teensy comes preloaded with a custom proprietary bootloader out of the box which gives it support for many different USB modes, not just keyboard and mouse like the Leonardo/Micro bootloader. If you want those USB modes on another ATmega32U4 based board you need to compile and load a USB stack that supports them. It's the difference between being up and running in 10 minutes or 2 hours. I'm not saying the hardware isn''t readily available cheaper (at least for the Teensy 2.0), but if you want a board with many different USB modes that doesn't require lots of setup then the Teensy is brilliant.
If you are something developing, you have more then then minutes ;) And you have also mentioned the biggest drawback of the Teensy, their bootloader is proprietary. That's at least for some people a big disappointment
The answer is: most of the time. The pins are compatible so that should not be a problem. Usually the problem would be with the code. There can occasionally be subtle differences between code for one or the other. Often if there is a difference you will see some code commented out that will say something like, //Replace the previous line with this if on a MEGA. Or maybe a #DEFINE at the top with something synonymous with IS_MEGA, IS_UNO, etc. But most shields should work right out of the box.
Hi, i have a question! Is it possible to run a data connection & commands via an arduino wireless! For instance, somehow using a humidity temperature to be controlled by an arduino wireless, without connecting the two wires or something between the two modules
I agree that the Mini Pro loses out to the Nano by not having a usb connector, so the 5v 16MHz version doesn't have any advantage, the 3.3v 8MHz version is really useful if you want to do Arduino type work but need to interface with several 3.3v components and don't want to add level converters.
"Not even a line following robot" using tiny85? Oh please... You can bitbang USB from tiny85, pretending to be a keyboard. That thing has a ton of power. Sure, less than Uno, but still a lot. :P
sir. thanks very much for this video, I have a question. I want to make an oscilloscope with an arduino wich will show the out put in a software in a laptop, what arduino do suggest given that the oscilloscope will have to show high frequency and the processing must be sufficient.
My favorite, is not on your list. It is an Uno with a socketed DIP-28, so that you can program your 328/168/88/8/48 Mega, then simply remove it, and put it into your project. It is simple replace your chip in the Uno with another this way, all you need to do is burn in Optiboot, lock bits, and fuses. Additionally, if you burn out your perma-mounted 328p, you'd be at some pains trying to replace it. No need to cry when your chip is socketed ... you are out just $1.40.
ESP8266 runs at 80Mhz or 160Mhz and it has 4M of memory... so arduinos are junk compared to that. And you can use every pin as i2c,pwm,... it does use a lot of power, but you can optimize power consumption with built in functions.
Yah I was going to build my project with a Pro Mini until I found out the ESP can replace an Arduino but also has Wifi already built in and much more memory. Blows away anything Arduino. Can put the device into light sleep which keeps it almost off until wifi packets come in. (Or deep sleep but wakeup time to connect to Wifi is far longer. Good for long duty cycles but the advantage goes to light sleep when your wakeups happen more frequently than about once a minute.)
You can cut one of the board tracers to it with a box cutter knife. Or failing that simply get a pair of small head pliers, grip that LED hard, and pull! Job done :p Neither method should damage the board.
I am sorry, not being a fellow countryman of yours I have absolutely no idea what you mean by "the ford of arduinos". It could be ford, as in river ford or ford as in motor car. In either case I am at a loss as to what that term means. Could you please tell me what you meant by that term ?
Hello, Thank you for this video, I apologize for my bad English and my ignorance, but my question is simple. We can load an Arduino program, such as to act an RGB LED ring, a ESP8266 directly, or we have to rewrite the code in another language Thank you for your time
Would this solve the ''draining too much current-problem'' with the Arduino Mega if you just control transistors with the pins? So that the transistors opens gates for other energy-sources to power motors and stuff... :3 _( ... well I have like no experience or education with electronics itself xd so.. dont mind if this question was stupid xd )_
Hi can u recommend a bord for my project My project is to collecting anlog data from. 3 sensor acceleration, temperature, sound that numerical data come out by WiFi. Bluetooth for editing code. I don't have idea can we edit code by WiFi? Sry I am big noob and a 3colour led light. I need cheap bec I am student tnks
Good video useful information thank you for that! And Yesss I have a question? Instead of an ATmega2560 If I place a Arduino DUE on a RAMPS 1.4 board From a 3D printer, Would a 3D printer work better with it? (I ask this because I shall than immediately order a DUE for my 3D printer!) Friendly greetings from The Netherlands! Rob. Hooowwww and i also use loose chips the ATM. 328P I load morse code and then with a small Pixy TX, for example ....... (Such a smart one I'm really not!) But on this way .....man,... beautiful as a plan goes well. Bye! ;-)
yeah you probably mean the Digispark boards (there are 2 versions). Those have the Attiny85 and a Vreg and some circuitry onboard and can be programmed (with a 'trick') directly through USB
yes, ESP8266 basically trash lots of MCU, AVR, PIC, STM and any other requires extra network peripherals just for the whole IoT connectivity. anyone who remembers arduino YUN will know that, they just cannot justify its cost and specs against ESP8266 which is close to paying nothing.
but for basic MCU operation, AVR and other chipset have their varieties, price points and supports which obviously are the winner when comes to industrial designed in whole.
Yes, RIP indeed. I used my Leonardo a couple of times, put it in a box and that is where it has laid for the last seven years. The ATtiny, NANO and STM32 have captured most of my time.
Thank you for this video my only suggestion. Please don't refer to them as "this guy". Please use the product name, yes over and over. Repeating the model name will help us remember. thanks
In the practical real world, yes. In an academic setting, you can make a case for writing ideal code either style wise or size wise. Optimizing code for size takes time, and time = money, or it's time that could be spent on other features. So unless the optimization is a goal in and of itself, and the current code runs fast enough, you generally leave it as it is. Another thing to keep in mind is that tight code is often hard to maintain, which means in addition to spending time optimizing code for size, you'll also spend more time if you need to change some features of your project.
when you do a video teaching label whats what. here is why... you say the name once then use this and that somany times. when you say what it does yoy constantly have to rewind to find out which name goes with a function
This is a nice video and I dont want to be a d..k about it, but Uno has 14 digital pins and Mega 54. Count them and you'll get the same number. Since they are numbered from 0.. to 13, or from 0 to 53... You do the math. Its just wrong to use misleading specs, especially in a comparison video... This leads me to thinking you're no expert in Arduino, you're just the guy making the videos for this channel
try a good retailer first to be safe, adafruit, sparkfun, newegg, fry's electronics, jameco , etc. Even amazon. Be carful with ebay, some seller's are,,