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

    PWM with Neuron (M103)?

    Scheduled Pinned Locked Moved Unipi Neuron
    2 Posts 2 Posters 1.6k Views
    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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post