• Can't use /dev/extcomm/0 ports

    Moved
    18
    0 Votes
    18 Posts
    7k Views
    Martin KudláčekM
    Hello, the config file is utterly wrong. If you don't use any extension, you need to comment out all the lines of the [EXTENSION_1] block, not just the [EXTENSION_1] line. The syntax of this config file is based on the INI file. That means the active lines of the config where assigned to the [NEURON_1] block, thus resulting in unexpectable behaviour. ;[EXTENSION_1] global_id = 2 ; Mandatory, REQUIRED TO BE UNIQUE device_name = xM103 ; Mandatory modbus_uart_port = /dev/extcomm/0/0 ; Mandatory ;neuron_uart_circuit = 1_01 ; Optional, allows associating extensions wi$ ;allow_register_access = True ; Optional, False default, is mandatory with third-p$ ;address = 1 ; Optional, 1 default ;scan_frequency = 10 ; Optional, 10 default ;scan_enabled = True ; Optional, True default ; Note that the following settings will be inherited by other devices sharing the same port, i.e. /d$ baud_rate = 38400 ; Optional, NEEDS UNIPI IMAGE TO WOR$ parity = N ; Optional, NEEDS UNIPI IMAG$ stop_bits = 1 ; Optional, NEEDS UNIPI IMAGE TO WOR$
  • Analog Inputs of Group 1 broken? (M503)

    analog inputs m503 unipi neuron neuron
    2
    0 Votes
    2 Posts
    2k Views
    Martin KudláčekM
    Hello @Martin-Freundl, first of all, you shouldn't apply 24V to a 0-10V input. There are 12.5V transils on the input, so you probably burned it. The voltage measurement happens between the AI input and the AGND. The AGND is not connected to any other GND. Thats why you didn't measured any voltage between AGND and 24V. Martin
  • Run leds constantly On and Off

    7
    0 Votes
    7 Posts
    3k Views
    T
    @dsurname it's now a bit offtopic from the thread description, so please start a new topic which will better describe your issues. At first, you do not need to worry about the RUN led. If you try to read a DI, the behavior of RUN led will change. /dev/ttyAMA0 is the UART of RPi, not the RS485 of Neuron. If you want to access the RS485, you need to install UniPi drivers (currently is part of in Evok https://github.com/UniPiTechnology/evok, in future, there will be Debian packages). Once installed, the RS485 ports are will be available for example at /dev/extcomm/0/0
  • Enocean

    2
    0 Votes
    2 Posts
    2k Views
    T
    @TriathletC The thing is, that you will also need the hardware to interface EnOcean... If have that, then it might work.
  • Neuron unstable when accessing /sys

    23
    0 Votes
    23 Posts
    12k Views
    K
    Ah, well. No I am absolutely fine with this. My Cacti monitors the system every 5 minutes. So no need for faster- I am fine with a minute. Thanks again! Oh, and it is working stable. Now running for nearly 2days without a reboot.
  • Time Measurements with Neuron

    2
    0 Votes
    2 Posts
    2k Views
    T
    Unfortunately the timing is too quick to be done by anything but a direct line to the CPU (Raspberry Pi/Arduino GPIOs are such a line to the CPU, which is why it works at all). As such it's not possible to use with Neuron or UniPi 1.1 out of the box. With some warranty-voiding modifications it may be possible to connect the device to an unused RPi GPIO, but I cannot recommend this action unless you are fully comfortable taking the risk and voiding the warranty. I also cannot provide instructions on doing so.
  • autorun jar file

    4
    0 Votes
    4 Posts
    2k Views
    T
    There should be, but if there isn't you can create it. As you say there isn't, you will need to create it.
  • Unipi neuron os with RS485

    5
    0 Votes
    5 Posts
    2k Views
    T
    @jens1238 @tomas_hora Do note that with standard Raspbian you will need to use /dev/extcomm/ instead, and will not be able to natively change the parity settings without going through Modbus.
  • Digital in - Voltage?

    Moved
    6
    0 Votes
    6 Posts
    4k Views
    T
    @knebb said in Digital in - Voltage?: rol input has max 10V. If I change Resistor doesn't it change the voltage? If the control input can survive max 10V, then you need to use 10V zener diode (ZD1). The resistor only limits the current to the ZD and DO, the value has to be calculated by you.
  • M-Bus in Neuron (for heat meters)

    7
    0 Votes
    7 Posts
    4k Views
    T
    @Vesa-Kauppinen No, you have to use converter. @Vesa-Kauppinen I have seen this one http://www.a2s.pl/en/mbus10-rs485-p-7941.html but have not tried it... It should not be expensive and it can handle up to 10 units on the bus.
  • AO signal 0-10 V in parallel

    3
    0 Votes
    3 Posts
    2k Views
    T
    Tanks.I check
  • PWM with Neuron (M103)?

    2
    0 Votes
    2 Posts
    2k Views
    T
    @knebb Instead of GPIOs, Neurons use other CPUs connected to SPI which take care of I/Os (https://www.unipi.technology/upload/produkty/neuron technologický popis/NeuronExplanation%402x.png). If you need PWM, then it can be enabled for Digital Outputs (currently only 4 at each Neuron model). The easies way to set this up in C is to use the SysFS acces to I/Os which is available in the latest Opensource beta release of image, documentation available here: http://git.unipi.technology:3000/UniPi/neuron-kernel/src/master/docs/sysfs-platform-unipi.txt Or you can always use Evok or Modbus TCP whichever suits you best.
  • Supervisor with use 10 Neuron

    5
    0 Votes
    5 Posts
    2k Views
    T
    You should be able to use the instructions in chapter 4.5 of the manual I have sent you via a private message.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • M503 modbusses

    Moved
    8
    0 Votes
    8 Posts
    4k Views
    T
    Right - but does RX? unipi_plc is only on the beta image, apologies And I would try Mervis if possible. It has drivers done via a different library, and has better debugging facilities. Though if the RX light does not turn on Mervis won't be able to do much - it will just display constant timeouts. e: More specifically no RX light means that there are no replies, TX light simply means that something is sent, regardless of whether the settings are correct or not.
  • How to use RS485 with node-red

    Moved
    5
    0 Votes
    5 Posts
    5k Views
    M
    Thank you for answering. But the problem is not solved. What is [UART_ADDRESS]? What is [DEVICE_ID]? Where is it listed in evok.conf? [EXTENSION_1] global_id = 2 ; Mandatory, REQUIRED TO BE UNIQUE device_name = xS10 ; Mandatory modbus_uart_port = /dev/extcomm/0/0 ; Mandatory neuron_uart_circuit = 1_01 ; Optional, allows associating extensions with specific Neuron UART-over-Modbus ports (not possible for non-Modbus UART po$ allow_register_access = True ; Optional, False default, is mandatory with third-party devices address = 15 ; Optional, 15 default scan_frequency = 2 ; Optional, 1 default scan_enabled = True ; Optional, True default baud_rate = 9600 ; Optional, NEEDS UNIPI IMAGE TO WORK! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN parity = N ; Optional, NEEDS UNIPI IMAGE TO WORK! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN stop_bits = 1 ; Optional, NEEDS UNIPI IMAGE TO WORK! USE API TO CONFIGURE UART MANUALLY IF USING STANDARD RASPBIAN Please give me sample code of data transmission. Although it examined it considerably, I feel that there are few documents.
  • Ni1000 in the Neuron

    2
    0 Votes
    2 Posts
    2k Views
    T
    @TriathletC Yes, it's possible.
  • Communication between Unipi and other devices

    3
    0 Votes
    3 Posts
    2k Views
    Y
    Basicly I would like to find a product which is able to receive information from Fibaro sensors and with some bolean variables I would like to set lights etc ... Do you have any conpatibility with wirless sensor because I don't want to use Pt100 (which will be very compicated to change if they are broken) for exemple those Fibaro Motion Sensor FGMS-001-ZW5 are detecting the motion, temperature and luminisity, and my goal is the combine philips Hue led, Fibaro sensor and your Uni-pi device . But if you have your own products or partern compatible I will like to have your point of view .
  • Relay problem

    Moved
    2
    0 Votes
    2 Posts
    2k Views
    T
    Can you post a diagram of how you connected the light? If the light is an LED panel you may have to use a specialised external relay, as LED panels can have very high inrush current (>3 orders of magnitude higher than operating current usually).
  • Neuron variable retain ability...

    2
    0 Votes
    2 Posts
    2k Views
    T
    Neuron is capable of preserving variable state using the MMC drive. Unfortunately I do not know whether the current CODESYS implementation makes use of this functionality, though I do not believe so. The CODESYS subforum may be able to provide a better answer. In the Axon series we have implemented better means for storing internal state, with fast flash memory used for counters and a replacement for the somewhat lacklucstre MMC arrangement on Neuron. This product line is however still in development, and will be for the next couple of months.