On Sat, Jan 11, 2020 at 12:47:59AM -0800, Mike M. wrote:
> Bernd
> Do you have any of this PCBs avalible ?
Give me a few days and I will put up the board data online.
I have 2 different boards I use.
Both are USB based on the SAMD21J18A (non isolated USB).
Note that I made no schematics for them, just the PCB files.
You need an SWD programmer to flash the controllers.
I use the Atmel-ICE with OpenOCD.
One board has 30 ITS711L1 driver outputs.
I use the board to drive solenoids and lights at 24V.
The ITS711L1 are protected high side drivers.
There is a single power input, so all outputs deliver the same
voltage - if you need different voltages you need multiple boards.
The firmware is using FreeRTOS with Atmel-ASF.
The other one uses transistors for high side signals.
They are not capable of driving high loads.
It has 6 connectors for 6 feeders, with 2 of those outputs and one
input each.
One output and the input can be driven with an UART.
It also has an INA226 for each connector to measure the current
drawn by a feeder.
Pulse driven feeders have a single or two lane and can be made
to feed with a short pulse on one of the two outputs.
For those it can be usefull to measure the motor current for failures.
UART based feeders use the uart communication.
The firmware is also using FreeRTOS with Atmel-ASF right now.
Disclosure:
I never implemented the UART communication and INA226 support, so
there might be some hardware bug, although chances are low.
The INA226 are I2C, but all SERCOMS are used by the 6 feeders, so
those have to be addressed via bit-bang GPIO.
I will switch firmware away from FreeRTOS/ASF to NuttX.
So far I'm stuck with other projects, but implementing the UART
support is high on my TODO list.
Pressure wasn't that high for me because I have enough pulse feeders,
but the UART ones are technically better and can do 2mm feeds.
I should have some assembled and unassembled PCBs available.