• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. lgab
    3. Posts
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by lgab

    • RE: How to read signal using Neuron

      Thank you for all information.

      I will try read data directly from modbus daemon.

      posted in Neuron Series
      L
      lgab
    • RE: How to read signal using Neuron

      Thank you, now everything is clear.

      Can you just confirm that below link is proper one for my neuron?

      https://files.unipi.technology/index.php/s/zTmrEbQEvifNd6W/download?path=%2FMediakit&files=Neuron_S103_EN.zip

      posted in Neuron Series
      L
      lgab
    • RE: How to read signal using Neuron

      You are right, installation from clear raspbian image and master version of evok from git works.

      Can you show me example of python code that I can read that signal without evok.py?
      It could be even fragment of evok code that just read data from selected Digital Input?

      Thank you in advance,

      posted in Neuron Series
      L
      lgab
    • How to read signal using Neuron

      Hi,
      I have a problem with reading signal from my laser sensor using Neuron.

      I can't find a way to get information about signal.
      I have Neuron S10x and connected to it signal from laser sensor.

      I use two alternative connections:

      • one direct connection from laser sensor to RPI GPIO 40 - and this signal I read correctly
      • one connection via Neuron Digital Input 2 - the same signal from the same laser sensor - but this I'm not able to read.

      I tried clear raspbian OS and your image from https://files.unipi.technology/ jessie-2016-12-06.img.
      On both OS I have the same, can read signal from RPI GPIO 40 but can't read any data from Neuron.

      All connections you can see on the attached file:

      • cable read/yellow is direct connection between laser sensor and GPIO 40 on RPI
      • cable blue/brown is the same signal connected to Neuron Digital Input 2 (you can see light on LED on Neuron)

      Could you write me for example python code that I can read signal?
      For RPI GPIO 40 I read it using

      import RPi.GPIO as GPIO
      import time
      GPIO.setmode(GPIO.BCM)
      PIN = 21
      GPIO.setup(PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP)
      while True:
          if(GPIO.input(PIN) == 1):
              print("No Input signal detected")
              time.sleep(0.1)
          else:
              print("Input signal detected")
      GPIO.cleanup()
      
      Input signal detected
      Input signal detected
      Input signal detected
      Input signal detected
      Input signal detected
      Input signal detected
      Input signal detected
      
      

      Can you show me similar example how to read data from Neuron ?
      Connection details and what I get using evok.py web interface in attached files.
      I would like to know how to read signals without evok, to be sure the problem is not in configuration of it.

      Thank you in advance for your help.

      3_1484733428203_connection_unipi.jpeg 2_1484733428203_i2cdetect.png 1_1484733428203_gpio_readall.png 0_1484733428203_unipi_panel.png

      It is worth to note that on unipi image I see different result of command i2cdetect -y 1
      This is what I see when use your image:
      0_1484735399068_i2cdetect_on_unipi_img.png

      posted in Neuron Series
      L
      lgab