Interesting projects on arduino uno. What is Arduino and what can you do with it?

Arduino is a universal platform for DIY microcontrollers. There are many shields (expansion cards) and sensors for it. This diversity allows you to create a number of interesting projects aimed at improving your life and increasing its comfort. The board's areas of application are limitless: automation, security systems, systems for data collection and analysis, etc.

From this article you will learn what interesting things you can do with Arduino. Which projects will be spectacular and which will be useful.

What can you do with Arduino

Robot vacuum cleaner

Cleaning an apartment is a routine task and unattractive, especially since it takes time. You can save it if you delegate part of the housework to a robot. This robot was assembled by an electronics engineer from Sochi - Dmitry Ivanov. Structurally, it turned out to be of sufficient quality and is not inferior in efficiency.

To assemble it you will need:

1. Arduino Pro-mini, or any other similar and suitable in size...

2. USB-TTL adapter if you are using Pro mini. If you chose Arduino Nano, then it is not needed. It is already installed on the board.

3. L298N driver is needed to control and reverse DC motors.

4. Small motors with gearbox and wheels.

5. 6 IR sensors.

6. Engine for turbine (larger).

7. The turbine itself, or rather the impeller from a vacuum cleaner.

8. Motor for brushes (small).

9. 2 collision sensors.

10. 4 x 18650 batteries.

11. 2 DC-DC converters (boost and step-down).

13. Controller for operation (charging and discharging) of batteries.

The control system looks like this:

And here is the power system:

Such cleaners are evolving, factory-made models have complex intelligent algorithms, but you can try to make your own design that will not be inferior in quality to expensive analogues.

Capable of producing a luminous flux of any color, they usually use LEDs in the housing of which there are three crystals glowing in different colors. To control them, special RGB controllers are sold; their essence is to regulate the current supplied to each of the colors of the LED strip, therefore, the intensity of the glow of each of the three colors is regulated (separately).

You can make your own RGB controller using Arduino, even moreover, this project implements control via Bluetooth.

The photo shows an example of using one RGB LED. To control the tape, you will need an additional 12V power supply, then they will control the gates of field-effect transistors included in the circuit. The gate charging current is limited by 10 kOhm resistors; they are installed between the Arduino pin and the gate, in series with it.

Control panel based on Arduino and smartphone

Using a microcontroller, you can make a universal remote control controlled from a mobile phone.

For this you will need:

    Arduino of any model;

    IR receiver TSOP1138;

    IR LED;

    Bluetooth module HC-06.

The project can read codes from factory remotes and save their values. After which you can control this homemade product via Bluetooth.

The webcam is installed on a rotating mechanism. It is connected to a computer with installed software. It is based on the computer vision library - OpenCV (Open Source Computer Vision Library), after the program detects a face, the coordinates of its movement are transmitted via a USB cable.

Arduino commands the rotating mechanism drive and positions the camera lens. A pair of servos are used to move the camera.

The video shows how this device works.

Keep an eye on your animals!

The idea is to find out where your animal roams, which can be of interest for scientific research or just for fun. To do this you need to use a GPS tracker. But to store location data on some kind of storage device.

In this case, the dimensions of the device play a decisive role here, since the animal should not feel discomfort from it. To record data, you can use it to work with Micro-SD memory cards.

Below is a diagram of the original version of the device.

The original version of the project used a TinyDuino board and shields for it. If you cannot find one, it is quite possible to use small Arduino copies: mini, micro, nano.

A low-capacity Li-ion element was used for power supply. The small battery lasts about 6 hours. The author ended up fitting everything into a cut-off Tic-Tac jar. It is worth noting that the GPS antenna must point upward to obtain reliable sensor readings.

Code lock burglar

To crack combination locks using Arduino, you will need a servo and stepper motor. This project was developed by hacker Samy Kamkar. This is quite a complex project. The operation of this device is shown in the video, where the author explains all the details.

Of course, such a device is unlikely to be suitable for practical use, but it is an excellent demonstration device.

Arduino in music

This is more likely not a project, but a small demonstration of how this platform has been used by musicians.

Drum machine on Arduino. It is notable for the fact that this is not an ordinary search of recorded samples, but, in principle, sound generation using “hardware” devices.

Parts ratings:

    NPN-type transistor, for example 2n3904 - 1 pc.

    Resistor 1 kOhm (R2, R4, R5) - 3 pcs.

    330 Ohm (R6) - 1 pc.

    10 kOhm (R1) - 1 pc.

    100 kOhm (R3) - 1 pc.

    Electrolytic capacitor 3.3 uF - 1 pc.

For the project to work, you will need to connect the library for fast Fourier series expansion.

This is a fairly simple and interesting “you can show off to your friends” project.

3 robot projects

Robotics is one of the most interesting areas for geeks and just those who like to do something unusual with their own hands, I decided to make a selection of several interesting projects.

BEAM robot on Arduino

To assemble a four-legged walking robot you will need:

    To move the legs you need servomotors, for example, Tower Hobbies TS-53;

    A piece of copper wire of medium thickness (so that it can withstand the weight of the structure and not bend, but not too thick, because it does not make sense);

    Microcontroller - AVR ATMega 8 or Arduino board of any model;

    For the chassis, the design states that a Sintra Frame was used. It's a kind of plastic that bends into any shape when heated.

As a result you will get:

It is noteworthy that this robot does not drive, but walks, can step over and climb heights of up to 1 cm.

For some reason, this project reminded me of the robot from the cartoon Wall-e. Its special feature is its use for charging batteries. It moves like a car, on 4 wheels.

Its constituent parts:

    Plastic bottle of suitable size;

  • Mom-dad jumpers;

    Solar panel with an output voltage of 6V;

    As a donor of wheels, engines and other parts - a radio-controlled car;

    Two continuous rotation servos;

    Two conventional servos (180 degrees);

    Holder for AA batteries and for “crown”;

    Collision sensor;

    LEDs, photoresistors, 10 kOhm fixed resistors - 4 pieces in total;

    Diode 1n4001.

Here is the basis - an Arduino board with a proto-shield.

This is what the spare parts from - wheels look like.

The structure is almost assembled, the sensors are installed.

The essence of the robot's work is that it goes to the light. He needs abundance for navigation.

This is more of a CNC machine than a robot, but the project is very entertaining. It is a 2-axis drawing machine. Here is a list of the main components of which it consists:

    (DVD)CD drives - 2 pcs;

    2 drivers for A498 stepper motors;

    servo drive MG90S;

    Arduino Uno;

    Power supply 12V;

    Ballpoint pen, and other design elements.

The optical disc drive uses blocks with a stepper motor and a guide rod that position the optical head. The motor, shaft and carriage are removed from these blocks.

You will not be able to control a stepper motor without additional equipment, so special driver boards are used; it is better if a motor radiator is installed on them at the time of starting or changing the direction of rotation.

The complete assembly and operation process is shown in this video.

Conclusion

This article covers just a small sampling of all that you can do on this popular platform. In fact, it all depends on your imagination and the task you set for yourself.


We have collected the best and even crazy Arduino projects that we came across in 2015.

Arduino Wake-Up Machine

Hacking Combination Locks Using Arduino

This Arduino controlled mechanism can open any combination lock in less than 30 seconds. The hacker project Samy Kamkar demonstrated a vulnerability.

Robot sorting Skittles

A project for a 3D printed Arduino robot to save time sorting Skittles. Perhaps the biggest disappointment is that the mechanism is not universally suitable for M&M's. Video and more detailed description

Protopiper - prototyping gadget

Amazing gadget for prototyping. Tired of running around with a tape measure? With this device, you can quickly sketch out a room-sized sketch.

Open Source snow blower

The engine of progress in many cases is laziness. Shovel snow? A robot is needed for this job. Perhaps snow blower sellers will not like this project, because... The author believes that everyone can make one for themselves. .

Blaster for switching music

Everyone has different musical tastes. But sometimes the music is just terrible. No one in the company likes her. It happens. If your dream and such moments are to shoot a gun and change the music... then know that the project has been implemented, dreams come true.

Give your hair more options

Send messages unnoticed, launch applications, broadcast your location - all this can be done by gently stroking your hair - this is so natural for girls.

Knit with Arduino

To knit, you don’t have to turn to your grandmother or buy professional equipment. Make your own robot that knits using Arduino.

Robot BB-8 on Arduino

A project for those who dream of making a BB-8 robot from Star Wars.

Okay Google, Sesame, open the door

In this project, an MIT student implemented a door opening using a Google Now voice command. To get into the house, you just need to say: “Open sesame.” Video and description of the project.

Typewriter playing a symphony

The typewriter of 1960 has become not only a printer, but also a musical instrument.

Robot AT-AT

Controlled robot AT-AT from Star Wars.

Robot T-800 from Terminator

There are many Terminator fans in the world, but few have recreated the T-800 robot. You can read more about the project and watch the video.

Robot minion from an egg from Kinder surprise

A fun homemade robot that you can make yourself. More details about the project.

Controlling your TV with your mind

The TV remote is no longer needed. All you have to do is think about changing the channel. The project uses a chip from the game Star Wars Force Trainer, released in 2009. Read more.

Arduino is very popular among all design enthusiasts. Those who have never heard of it should also be introduced to it.

What is Arduino?

How can you briefly describe Arduino? The best words would be: Arduino is a tool that can be used to create various electronic devices. In essence, this is a true general-purpose hardware computing platform. It can be used both for constructing simple circuits and for implementing quite complex projects.

The designer is based on its hardware, which is an input-output board. To program the board, languages ​​that are based on C/C++ are used. They are called, respectively, Processing/Wiring. From group C they inherited extreme simplicity, thanks to which they can be mastered very quickly by any person, and applying knowledge in practice is not a rather significant problem. So that you understand the ease of work, it is often said that Arduino is for beginner wizard-designers. Even children can understand Arduino boards.

What can you collect on it?

The applications of Arduino are quite diverse; it can be used both for the simplest examples, which will be recommended at the end of the article, and for quite complex mechanisms, including manipulators, robots or production machines. Some craftsmen manage to use such systems to make tablets, phones, home surveillance and security systems, smart home systems, or simply computers. Arduino projects for beginners, which even those with no experience can get started with, are at the end of the article. They can even be used to create primitive virtual reality systems. All thanks to the fairly versatile hardware and capabilities that Arduino programming provides.

Where can I buy the components?

Components made in Italy are considered original. But the price of such kits is not low. Therefore, a number of companies or even individuals make artisanal methods of Arduino-compatible devices and components, which are jokingly called production clones. When purchasing such clones, one cannot say with certainty that they will work, but the desire to save money takes its toll.

Components can be purchased either as part of kits or separately. There are even pre-prepared kits for assembling cars, helicopters with different types of controls, or ships. A set like the one pictured above, made in China, costs $49.

More about the equipment

The Arduino board is a simple AVR microcontroller, which has been flashed with a bootloader and has the minimum required USB-UART port. There are other important components, but within the scope of the article it would be better to focus only on these two components.

First, about the microcontroller, a mechanism built on a single circuit in which the developed program is located. The program can be influenced by pressing buttons, receiving signals from the components of the creation (resistors, transistors, sensors, etc.), etc. Moreover, the sensors can be very different in their purpose: lighting, acceleration, temperature, distance, pressure, obstacles etc. Simple parts can be used as display devices, from LEDs and tweeters to complex devices, such as graphic displays. The quality considered are motors, valves, relays, servos, electromagnets and many others, which would take a very, very long time to list. The MK works directly with some of these lists, using connecting wires. Some mechanisms require adapters. But once you start designing, it will be difficult for you to tear yourself away. Now let's talk about Arduino programming.

Learn more about the board programming process

A program that is already ready to run on a microcontroller is called firmware. There can be either one project or Arduino projects, so it would be advisable to store each firmware in a separate folder to speed up the process of finding the necessary files. It is flashed onto the MK crystal using specialized devices: programmers. And here Arduino has one advantage - it does not need a programmer. Everything is done so that programming Arduino for beginners is not difficult. The written code can be loaded into the MK via a USB cable. This advantage is achieved not by some pre-built programmer, but by special firmware - a bootloader. The bootloader is a special program that starts immediately after connection and listens to whether there are any commands, whether to flash the crystal, whether there are Arduino projects or not. There are several very attractive advantages to using a bootloader:

  1. Using only one communication channel, which does not require additional time costs. So, Arduino projects do not require you to connect many different wires and there will be confusion when using them. One USB cable is enough for successful operation.
  2. Protection from crooked hands. It’s quite easy to bring the microcontroller to a brick state using direct firmware; you don’t need to work hard. When working with a bootloader, you will not be able to access potentially dangerous settings (with the help of a development program, of course, otherwise everything can be broken). Therefore, Arduino for beginners is intended not only from the point of view that it is understandable and convenient, it will also allow you to avoid unwanted financial expenses associated with the inexperience of the person working with them.

Projects to get started

When you have acquired a kit, a soldering iron, rosin and solder, you should not immediately sculpt very complex structures. Of course, you can make them, but the chance of success in Arduino for beginners is quite low with complex projects. To train and improve your skills, you can try to implement a few simpler ideas that will help you understand the interaction and operation of Arduino. As such first steps in working with Arduino for beginners, we can advise you to consider:

  1. Create one that will work thanks to Arduino.
  2. Connecting a separate button to Arduino. In this case, you can make it so that the button can adjust the glow of the LED from point No. 1.
  3. Potentiometer connection.
  4. Servo drive control.
  5. Connecting and working with a three-color LED.
  6. Connecting the piezoelectric element.
  7. Connecting a photoresistor.
  8. Connecting a motion sensor and signals about its operation.
  9. Connecting a humidity or temperature sensor.

Projects for the future

It is unlikely that you are interested in Arduino in order to connect individual LEDs. Most likely, you are attracted by the opportunity to create your own car, or flying turntable. These projects are difficult to implement and will require a lot of time and perseverance, but once completed, you will get what you want: valuable Arduino design experience for beginners.

Arduino/Genuino UNO is a flagship board for developing your own projects, building simple automation and robotics systems based on the ATmega328 microcontroller with free software and open architecture. Arduino UNO R3 is today the most popular platform for budding inventors, DIY enthusiasts, students and schoolchildren.

Arduino UNO: board pinout

We have already told you what Arduino UNO CH340 is, so let’s move straight to the characteristics and description of the Arduino UNO board. The pinout and circuit diagram of the platform is shown in the photo below. As we have already said, the entire line of boards has a completely open system architecture, which allows any third-party manufacturer to copy and upgrade Arduino Genuino UNO boards.

Arduino UNO board pinout in Russian, ICSP

UNO is the best option for getting started with microcontrollers. The board has a convenient size and everything you need to get started: 14 digital inputs/outputs (6 ports can operate in PWM mode), 6 analog inputs for sensors, a USB connector for programming and an Arduino UNO power connector from a power supply or crown. But the main thing is the huge variety of lessons and instructions on the Internet.

Arduino UNO board specifications

  • Microcontroller: ATmega328
  • Clock frequency: 16 MHz
  • Logic level voltage: 5 V
  • Power input voltage: 7-12V
  • General purpose I/O ports: 20
  • Maximum current from I/O port: 40 mA
  • Maximum output current of 3.3V port: 50mA
  • Maximum output current of 5V port: 800mA
  • PWM ports: 6
  • Ports connected to the ADC: 6
  • ADC capacity: 10 bits
  • Flash memory: 32 KB
  • EEPROM memory: 1 KB
  • RAM: 2 KB
  • Dimensions: 69×53 mm

Arduino UNO: electrical circuit


Arduino UNO: I/O ports, power

Operating voltage - 5 V when connected via USB from any device (computer, laptop, smartphone charger, etc.). When simultaneously connecting an external adapter (battery, crown, power supply), the power is automatically switched, but the board can still be programmed via a computer. Recommended power supply for Arduino Uno from batteries or accumulator is from 7 to 12 V.


Arduino UNO: externally powered

5V – the Arduino pin supplies 5V, it can be used to power devices
3.3V – a 3.3V voltage is supplied to the pin from the internal stabilizer
GND – ground pin
VIN – pin for supplying external voltage
IREF – pin for informing about the operating voltage of the board

You can supply power to the microcontroller through the VIN port using wires. “Plus” from an external source is supplied to the VIN port, and “Minus” to GND (ground). Supplying an external voltage of 5 Volts to the 5V pin is not permissible, since the power supply to the Genuino Arduino Uno bypasses the stabilizer, which can lead to damage. All digital ports on the board provide a stabilized voltage of 5 Volts.

Arduino UNO: firmware, memory



Programming of the board takes place in the free Arduino IDE in Russian, which can be downloaded from the official website. To connect devices and modules, connectors (“male-male” and “male-female”) are used, which are connected to the Arduino ports. To start working with the platform, go to the Arduino uno r3 section “ Lessons for Beginners”, where detailed instructions with examples are provided.

The board supports three types of memory:

Flash - memory 32 kB in size, used to store the program. When the controller is flashed with a sketch via USB, it is written specifically to Flash memory. To clear the memory of the Arduino UNO, you should upload an empty sketch.

SRAM memory- This is Arduino RAM with a capacity of 2 kB. This is where the variables and objects created in the sketch are stored. SRAM memory is volatile; when the power supply is disconnected from the board, all data will be deleted.

EEPROM- This is a non-volatile memory with a capacity of 1kB. Here you can record data that will not disappear when the power is turned off. The downside of EEPROM is the limitation of rewrite cycles - 100,000 times, according to the manufacturer.

Description of Arduino UNO in Russian

We recommend that you familiarize yourself with other boards from the Arduino-Genuino line, for example, an analogue of the most popular UNO board - RobotDyn UNO R3 from a Chinese manufacturer. The board's characteristics are in no way inferior to the official manufacturer, but at the same time it has a more affordable price and a number of advantages. Such as a more convenient USB connector and more analog inputs.

Today we will talk about traffic light on on DigiSpark and WS2812 addressable LEDs . This is the second version traffic light. I talked about the first one here. The first version turned out to be quite convenient and consisted of fewer parts. Why did I decide to make a second version? The fact is that the box is for the batteries that I used in the first version traffic light on Arduino, has become very expensive. Some sellers sell it for $5 on . More expensive than all other electronics. So I decided to change the box to a cheaper one. And once I had to redo the body. I decided to change the size of the traffic light itself and make it larger than the first version. Also in the leg traffic light added a metal rod to increase rigidity.

Alarm clock on Arduino. The body is made from LEGO construction kits. LEGO Arduino

My 5-year-old child came from kindergarten and said that he was asked to make a project for smart devices in the house. The body can be made from any available construction kit. Can be made from LEGO designer. After some thought, my son and I decided to do alarm clock on Digispark And 7 segment indicator on TM1637 With real time clock DS3231.

New Arduino projects and Projects made on a CNC machine

Summer is over. And time to develop Arduino projects become bigger. And today I plan to talk about my new projects which I do on Arduino and yours homemade CNC machine. Projects are still in the development stage and do not have a final finished form. But still, I decided to talk about them so that I could hear an outside opinion.

Traffic light on Digispark and addressable LEDs WS2812 - Arduino traffic light

In the previous article: " » I already talked about the development traffic light and that I was unable to make it fully functional and operational. After a couple of weeks I finalized it and now I'm ready to present it homemade traffic light using Arduino and WS2812 addressable LEDs.

I cut all the blanks for the body on my own homemade CNC machine.

Unsuccessful Arduino lamp and traffic light projects

Any development leads to unsuccessful and intermediate models. Which do not satisfy all needs and expectations.