The model reference is KY110AS0207-15 (exactly that on the Web page shared previously). Here is a pic of my setup:
https://luneart.freeboxos.fr:20517/shar ... 160720.jpg
Following the power line, here is a break down: power supply (30V), connected to the vint hub (Wi-Fi or ethernet connexions) and the power guard, DCC connected to the powerguard, BLDC connected to DCC.
Since my last post I found out I miswired the hall sensor (I wired a 'negative' signal instead of the positive one).
However I can't get the phidgets to work now to test:
- the vint hub looked like it shut off as soon as the power guard started powering the DCC (I tried monitoring the power supply tension with a multimeter, but it only shows a constant 30V)
- I powered it through another power supply (with lower tension) and it doesn't shut off on it's own anymore
- now, the powerguard 'detaches' during while waiting for attachment of the DCC. It reattaches just after but then it times out. Phidgets' logs show no errors (atttached). attached program (compiled with "gcc motorTest-SAF+DCC.c -Wall -o HelloWorld -lphidget22") output:
Code: Select all
./HelloWorld
Attach PhidgetDigitalInput!
State: 0
Attach PhidgetPowerGuard!
L111
L118: fan set
L125: output limited to 30V
L142: power guard on, opening DCC1100....
Detach PhidgetPowerGuard!
Attach PhidgetPowerGuard!
Error (3): Timed Out