PWM with Neuron (M103)?
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 ;)
tomas_hora administrators 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.