Lerne Arduino in 12 Minuten, ….…JEDER KANN DAS! | #EdisTechlabJun 24, 2022
hello and welcome to edis technik what is really a renault car what can it do for us today we will explain these questions in this video i am sure you have heard of adoro before a dorina consists of a circuit board with a microcontroller like an art mini pc with analog and digital inputs and outputs on the other hand,
arduinoconsists of software that can be used to write programs in c or c++ programming language, both hardware and software are open source, so there are many microcontrollers that have almost the same look but not everyone should remember that in 2005 the table was developed by massimo bansi and with it almost everything and named after a bar in ivrea in northern italy there are now many different ergo's from large to small, the most famous of them is the author without and it costs 20 euros and it is certainly enough for most projects so that you can light mo Control doors and cameras or even building simple robots is the best, however if you get the start key right away because you get a collection of electronics that you need for the first few tries.
I mentioned that there are also many boards from other manufacturers that are not half as expensive but especially at first it can be very frustrating when you mark a project and it doesn't work maybe you did everything right just the board is shoddy and faulty but what it does here depends It's up to you if you prefer quality or sport of course there are plenty of other models with wifi, fast processors and lots of new stuff like the author omega check out the ottorino website and you'll get one. super really to expand the range of functions of a moraine you can use so-called s put the child on the radar in this way you can even for example control the motor and make an mp3 player out of the material or even a phone without having than throwing away the electronics yourself here we see author omega and a controllable motor is set up on the starboard you can even plug in more and so you get a stack of electronics that's also why the boards are called dev pots for programming a nature you need domino idea software in which you can download and install the software the website is available for windows mac and linux if you see a detailed description word i link back rounds in the video description the link to the video how to study an adreno ideas upload the software to the nato renault is so easy that you only need to connect the usb cable and press an intersoft button now let's get one prec iso look at the structure of a naturino without taking here we see the microcontroller is based on an avr ateme microcontroller from the mega vr series with a 328 branch so to speak the heart of our reserve - it works with a swimming course that generates electrical vibrations with 16 megahertz and that is, the speed at which the microcontroller on the board runs is another installed microcontroller that establishes the connection to the actual microcontroller via usb that we need so that we can load the software and when the software is running that we can also receive the data from the natural arena if the author hangs you can press the reset button here on the top left to restart the dorina fool you can supply voltage via usb or you can also power seven to twelve volts via the round socket because the un but no more than 5 wolf r uses a relaxation shaper installed here d he regulates the five to twelve volts down to 5 volts will also i They install some leds on board here we see the so called bin 13 led tx and eriks for communication and on the right hand side we see the led that shows us if the torino is with now voltage is supplied but in the many beautiful pictures below we see a row with analog inputs that are marked by anubis at 5 above we have a picture for the reset we can take voltage 5 and 3.3 volts to ground and we can also the renault supply voltage nothing externally in the vn container on the other side of ottorino find how the digital pins at the bottom we see tx and rx these are two ports for serial data communication to send and receive here we can use bluetooth gps and softer the modules connect the container two to 13 are digital inputs or outputs you can use it to generate 5 volts whichever is appropriate or a swear to change something the binz meter waveform in front of the number is soge called boosten modulators what is that i'll explain at another time, but before, now, but in a natural way, let's go very quickly how a program is structured, it is divided into two sectors above, we have the configuration here, we define which container has which entry or exit point function we see that immediately and below from the loop which is the actual program it just runs continuously from top to bottom now let's go and first project we want to have a led connected we need the author for that we need another led we pull turn them off and put them on the board under a 220 um resistor so that the LED light turns off for us yes that's good that was it you made it see so we just close a noble of at the end of the video now but first the short one is to ground reality and we put the right side of the resistor in port 7 in practice now it looks like this the led has two connections look at the long foot which is the anode the voltage enters there and the right foot is the cathode there the voltage comes out again the a node then the long foot comes from the right side so we take a resistor this has 220 the resistor limits the current in our circuit and prevents the led from burning as the next step we have to supply voltage to our circuit for this we first take the blue one and plug in a end so the negative pole is the red wire we plug in win7 then we will use it as program the output the blue wire goes to the card or to the led so the short throw and we plug the red wire on the right side in the resistor now we open our
arduinoidea and drugs in setup we define our win7 as output because we want one it's still very important to release the voltage anytime the semicolon at the bottom of the loop in the actual program now we define what we're going to do where First we set output 7 to hey, that means 5 volts is sent to bin five, then we want to wait a second.
This works with a delay of 1000, which means almost 1000 milliseconds, and rainer corresponds to one second. After this second, we turn off the bin again and wait another second with the naturino plugged into the usb and check that we have selected the usb port and the correct port torino without then we can go to upload and the program is played in the naturino during the upload The rx and dx lamps blink and that's it, the program installed and our LED flashers flash at one second intervals that was the first joke and the second one follows right after, we built a switch that lets the LED show when you push it, put the switch on the board and this time we need a 1000 um resistor, the right side of the resistor on the switch is put on the bar - and also the els canton had a short container, the LED is on the ground set by the wind land of dorina we connect the count to our tray port and from seven as in our previous project we connect the resistor to the led the output of the i The switch is connected to eight this is our input and now we just have to feed the switch with voltage, we will do it now in quick succession because not all of us have the time, the plans and the source code for these two small projects, of course, it will be can be downloaded from the technical section on the website.
I'll link to it below in the video description or you can find it in the settings above. Now we must define our input eight. We'll do this with the billboard eight entry in the lob. Now we want to check if the switch is pressed. Can. do this with the fdp 8 command which means if the 850 input applies then we will do what needs to happen then you need to be at kehrmann stores for this we copy our link sketch above with from I order it so if the button is not pressed we will also do something it may release the button where the LED is currently on and in that case we have to turn it off and we do that via brackets in stores we write digitally for the 7 ie turn off the led, the code is written and you can go directly to the arena if we press the button now, our led will flash every second and stop again when you release it. end of our video we have arrived and now as i promised let him surrender like a noble of you have seen it again from a different perspective here again in slow motion as you can see nothing explodes nothing burns does not smoke the led just gets extremely watch bright edge and then its dead when you liked the video you gave me a thumbs up subscribe to the channel thanks for sticking till next baby tech
If you have any copyright issue, please Contact