• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    PWM with Neuron (M103)?

    UniPi Neuron Series
    2
    2
    847
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      knebb last edited by

      It might be a dumb question... however:

      AFAIK Raspi offers PWM signals someway on some of the GPIO pins.

      Do I have the possibility to configure one of the outputs to send a PWM signal?

      Perfect match would be in C ;)

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @knebb last edited by tomas_hora

        @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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post