A
A
Andrey Nosov2016-05-20 16:33:33
Arduino
Andrey Nosov, 2016-05-20 16:33:33

How to use the Arduino Nano?

Добрый день. Неважно как и почему, но мне дали Arduino Nano (не уверен), 3 лампочки, 3 резистора (транзистора?), датчик расстояния, плату, куда все это втыкается и кучу проводов. Возможно где-то ошибся, так что прикрепляю фото. Проблема в том, что я не знаю, как этим пользоваться. Не разбираюсь в электронике и микропроцессорах, не знаю Си. Во всех учебных пособиях оперируют неизвестными мне понятиями и в качестве примера используют Uno (а у меня не Uno). Что мне со всем этим делать и как разбираться? Что я могу сделать с этим скромным набором?c857750badc04d56a4c0352a1aeab867.jpgd01694d2a3f246e58e98657b71b01e3a.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Gusev, 2016-05-20
@tde283

The arduino environment is quite versatile, for most projects it is easy to change the board from Uno to your Nano in the programming environment.
Judging by the 328p microcontroller, this is indeed nano.
The ports are all named similarly to the rest of the arduins.
And not light bulbs, but LEDs, turn on only with resistors.
Here is an excellent resource for beginners: wiki.amperka.ru
Read the theory and go ahead and repeat mini projects.
An ultrasonic sensor, probably like this: amperka.ru/product/hc-sr04-ultrasonic-sensor-dista... , there are links to libraries.

R
Rou1997, 2016-05-20
@Rou1997

Arduino Nano (not sure)

It should be written on the board, and photos on the Internet.
I see 3 resistors, a transistor cannot have 2 outputs, and I could also look at photos on the Internet.
To begin with, to understand how to connect the board to a PC via USB, Uno has no problem with this, the cable is even included sometimes, the cable is enough to program and power the device.
Then download the IDE for Arduino on the PC, by the way, it comes with a lot of code examples and diagrams, and there are a lot of them on the Internet.
First, write Hello World, and if the board already has an LED (light bulb) on pin 13, then the simplest "helloworld" should work with this LED blinking and delay, nothing is needed for this at all, only a board and a cable, it's worth trying this "helloworld" ".
Then more complicated examples, and deal with modules, connection diagrams and look for code.

A
Alexander, 2016-05-20
@NeiroNx

Each output has a Name, first you need to find out what the outputs with certain names are used for.
With this kit you can make "Parktronic" - measuring distances to obstacles.

E
evgeniy_lm, 2016-05-20
@evgeniy_lm

It is very easy to use. In real life, seven-year-old schoolchildren cope with this.
1. You need a USB-MiniUSB cable to connect the board to your computer
2. You need to download the driver for the RST232-USB adapter. On branded boards is FT232, on Chinese CH340. Look at the marking on the small microcircuit on the side of the pins next to the USB connector
3. When the board is connected to the computer, the red LED on the board should blink, which means the board is working and no one tormented it. If it does not burn, then most likely someone mocked her or she is faulty.
4. If you have identified a virtual COM port when connecting the board to the computer, you can proceed to step 5, otherwise, either the board is dead, or you did something wrong, return to step 1
5. Go here, качаем Arduino IDE. Внимательно читаем все что написано на этом сайте и вообще в инете
PS Если вам это не интересно, подарите все это любому соседскому пацану, уверен он будет счастлив.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question