====== First steps ======
#;;
Neuron
#;;
The Unipi Neuron unit does not contain internal storage, so it is necessary to purchase a [[https://www.unipi.technology/memory-cards-c33|memory card]] for each unit. For more detailed information and recommendations on which card to choose, see [[en:hw:02-neuron:suitable-sd-card|the SD card article]].
----
[[en:hw:02-neuron:download-image|Available OS images for Unipi Neuron units]] are based on the Linux Debian system and may also contain pre-installed software (SW), such as Mervis.
{{ :files:img_warning-line_b.png?nolink |}}
{{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}}
**Note:** \\
This article assumes the choice of Base OS.
{{ :files:img_breakline.png?nolink |}}
To use Mervis system the [[en:sw:01-mervis:running-on-neuron-hidden|Mervis OS must be flashed onto the SD card]]. After connecting the power supply continue with [[en:sw:01-mervis:creating-new-project-hidden|]].
Each Unipi Neuron unit is [[en:sw:01-mervis:getting-mervis-licence-hidden|shipped with a request for a Mervis RT license]].
----
{{ :files:img_warning-line_b.png?nolink |}}
[[.:safety-instructions#symbols_and_notes|{{:en:hw:05_safety-instructions_iso-7010-m002.png?nolink |(🕮)}}]]
**Attention**: \\
Always follow the [[.:safety-instructions|]] when handling the device.
{{ :files:img_warning-line_b.png?nolink |}}
{{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}}
**Note:** \\
If it is not clear what state the device is in, all possible states are described in the category [[en:hw:02-neuron:led-indication|]] including a graphic example.
===== Flashing OS =====
{{page>en:hw:balenaetcher-neuron-hidden}}
{{page>en:sw:05-tools:balenaetcher-flash-from-file-hidden}}
{{page>en:sw:05-tools:balenaetcher-running-on-neuron-hidden}}
===== Mounting =====
{{page>en:hw:din-mounting-hidden}}
===== Connection =====
Before the first startup, it is necessary to insert an SD card with a flashed OS into the unit. \\
** Instructions for flashing the OS can be found [[en:hw:02-neuron:image|on this link]].**
==== Connecting peripherals, sensors, control elements and communication cables ====
Before connecting the power supply it is necessary to connect all other terminals and interfaces. The purpose of each terminal contact is described on the top side of the unit case.
----
For now, only connecting an ethernet cable to the eth0 interface is needed. \\
Unipi Neuron can be connected as follows:
- To the network with DHCP server {{ en:hw:connecting_to_unipi_neuron-lan.png?direct&600 |Connecting to a network with DHCP server}}
- Directly to the PC/Notebook {{ en:hw:connecting_to_unipi_neuron-direct.png?direct&600 |Connecting directly to PC/Laptop}}
==== Connecting the power supply ====
{{ :files:img_warning-line_o.png?nolink |}}
{{:en:hw:02_safety-instructions_ISO-7010-W012.png?nolink |/↯\}}
**Warning**: \\
Take extra care when plugging in, there is a risk of electric shock! Always ensure and check that the environment and device are disconnected from all voltage sources before starting work.
{{ :files:img_warning-line_b.png?nolink |}}
{{ :en:hw:01_safety-instructions_ISO-7010-W001.png?nolink |/!\}}
**Attention:** \\
Make sure to connect the power supply last. Connection and disconnection of other interfaces should be done with power supply disconnected; otherwise, the device can be damaged.
To ensure correct operation, first connect the 24 V power supply wires to the contacts as described on the device: +24 V to the positive contact and GND to the negative contact of the detachable screw terminal block.
Use the appropriate flathead screwdriver to install the power wires into the terminals.
Do not exceed the maximum tightening torque specified in [[.:technical-parameters#storage_installation_and_working_conditions|technical parameters]].
For information on recommended supply voltage tolerance and power consumption, refer to [[.:technical-parameters#storage_installation_and_working_conditions|operating conditions]] and the product label.
;#;
//Power supply connection//
;#;
{{ :en:hw:04_first-steps_power-supply.png?direct&200 |}}
{{ :files:img_warning-line_b.png?nolink |}}
{{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}}
**Tip:** \\
Unipi Neuron unit size **S** must be powered by [[https://www.unipi.technology/power-supply-for-din-rail-24v-dc-0-63a-p18|24 V⎓ power supply; 0.63 A]], sizes **M** and **L** must be powered by [[https://www.unipi.technology/power-supply-for-din-rail-24v-dc-1-5a-p19|24 V⎓ power supply; 1.5 A]].
{{ :files:img_warning-line_o.png?nolink |}}
{{ :en:hw:02_safety-instructions_ISO-7010-W012.png?nolink |/↯\}}
**Warning**: \\
The device has appliance class I. To protect against electric shock and to comply with electromagnetic compatibility (EMC), it is necessary to connect a ground conductor to the ground connector of the device marked on the case with symbol {{:files:earth_ground.png?nolink&16|(⏚)}}. For ground conductor connection use ring tongue and provided M4 screw with serrated lock washer.
{{ :files:img_breakline_2.png?nolink |}}
The DIN rail on which the device is installed must be connected to the main protective earth point of the cabinet/box as well.
===== Accessing the device =====
The device will startup fully a few seconds after the power supply is plugged in, it may take even longer for the first startup. The mode is physically indicated by PWR LED continuous emitting and RUN LED emitting with short flashes ([[en:hw:02-neuron:led-indication#pwr_is_on_and_run_blink_slowly|demonstration here]] / [[en:hw:02-neuron:led-indication#unit_startup_simulator|startup simulator here]]).
==== Device address ====
Unipi Neuron can be addressed with [[en:hw:02-neuron:01-first-steps:mdns-hidden|mDNS record]]. mDNS adress format is as follows:
* **[model]-sn[serial number].local**
Example:
S103-sn1262901235.local
**Model** and **serial number** can be found on the product label.
{{ :files:img_warning-line_b.png?nolink |}}
{{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(i)}}
**Note:** \\
Alternatively the Unipi Neuron can be addressed via its IP address.
The IP address can usually be found on the DHCP server or by using a network scanner (such as [[en:files:software:tools:advanced-ip-scan-hidden|Advanced IP Scanner]]).
{{ :files:img_breakline_bold.png?nolink |}}
When the Unipi Neuron is connected to a network without DHCP server (for example directly to a PC or laptop), the Unipi Neuron assigns itself a random IP address from the range 169.254.XXX.XXX.
==== Connecting via SSH ====
The unit is now ready to house the implementation of any project done in Base OS.
To install additional SW and to create control logic, it is necessary to [[en:automation:unipi-ssh-connect-hidden|connect via SSH]] using the address from previous step.
Username for the SSH connection is **unipi**. The user password is the one that was inserted on the SD before. For further information see [[en:sw:04-unipi-firmware:02-passwords]].
/* Co dále */
===== Further info =====
* [[.:image#flashing_the_os_using_the_service_interface|Flashing an OS image]]
* [[.:image#creating_a_os_back-up_on_a_usb_flashdisk|Backup OS]] or [[.:image#restore_the_os_from_back-up_on_the_usb_flashdisk|restore the OS from backup]]
* [[en:sw:01-mervis:running-on-neuron-hidden|Flashing Mervis on Unipi Neuron]] and [[en:sw:01-mervis:creating-new-project-hidden|create the first program in Mervis on Unipi]]
* [[en:sw:03-3rd-party:nodered:installation-unipi|Installing Node-RED on Unipi Neuron]]
* [[en:sw:04-unipi-firmware#apt_repository|Unipi tools in our OS images]]
* Available [[en:sw:02-apis]]