|
Post by hexpod on Jan 3, 2017 10:50:18 GMT
"Can you find out anywhere what is the pin out? Couldn't see that anywhere."
1.Supply(Red)2. Ground(Black) 3.Clock +ve(Orange) 4. Clock -ve(Brown) 5.Data +ve(green) 6.Data -ve(Yellow)
cheers
Ok, this is not going to work, it is SSI but it does not have CS line to multiplex six sensors in same lines like the AEAT sensors! It seems to be a big confusion here.
it seems that SPI interface from MegAuto is identical to SSI from AVAGO.
AVAGO vs MEGAUTO _ Thanos, could you check if those SPI's could work with the AMC??
cheers
|
|
|
Post by tronicgr on Jan 3, 2017 12:22:55 GMT
Ok, this is not going to work, it is SSI but it does not have CS line to multiplex six sensors in same lines like the AEAT sensors! It seems to be a big confusion here.
it seems that SPI interface from MegAuto is identical to SSI from AVAGO.
AVAGO vs MEGAUTO _ Thanos, could you check if those SPI's could work with the AMC??
cheers Ok I see, they name the simple shift registers as peripheral. Its not actually peripheral as you can not choose the register function as in normal SPI devices using bidirectional communication (MOSI, MISO). So they are just using synchronous serial interface! (SSI). To clarify the usage of CS line is to latch the count register data to the output shift register so you can read them out by toggling the clock of the register. Its synchronous, as it spits out the bits according to the clock you feed it! I cannot tell if its going to work exactly like the AEAT sensor though, there are other factors that are not mentioned anywhere in the datasheet like the exact timing of the bits, are they available on the rise or fall of the clock? What is the polarity of the bits? What is the phase shift of the transmission? I think the best way is to get one of these sensors on hand to capture their output with logic analyser to measure the timing myself and adapt the code to read those sensors as well. I see that they are 14bit (16,385 positions) that is good resolution for their price. Thanks Thanos
|
|
|
Post by hexpod on Jan 3, 2017 12:50:12 GMT
I think the best way is to get one of these sensors on hand to capture their output with logic analyser to measure the timing myself and adapt the code to read those sensors as well. I see that they are 14bit (16,385 positions) that is good resolution for their price. Thanks Thanos Oh yes please go for it!!!
The MegAuto catalogue is full of sensors with different attachments types. Once the interface adapted, we could finnaly have a real choice between many different attachment solutions.
Keep us posted.
cheers
|
|
|
Post by tronicgr on Jan 23, 2017 16:24:25 GMT
New beta firmware on the first page.
I changed the digital ssi sensors to read 180 degrees range, and fixed the hold position function of the KLM switch that was broken.
Test it and let me know.
Thanks Thanos
|
|
|
Post by hexpod on Jan 23, 2017 16:40:00 GMT
New beta firmware on the first page. I changed the digital ssi sensors to read 180 degrees range, and fixed the hold position function of the KLM switch that was broken. Test it and let me know. Thanks Thanos Is this a Setting Feature or a separate firmware with scaled sensor range? Cheers
|
|
|
Post by tronicgr on Jan 23, 2017 17:44:43 GMT
New beta firmware on the first page. I changed the digital ssi sensors to read 180 degrees range, and fixed the hold position function of the KLM switch that was broken. Test it and let me know. Thanks Thanos Is this a Setting Feature or a separate firmware with scaled sensor range? Cheers Not yet. As soon as I finish the firmware changes, it will have selection menus for the type of sensor and the resolution, and the rotation scaling. This will help to scale correctly the input to the output for the motors, that will be either 8bit (256 speeds) or 12-bit (4096 speeds), that is supported in the new amc1280usb v2 (2017) controller. Thanks Thanos
|
|
gokhan
Junior Member
Posts: 89
|
Post by gokhan on Jan 23, 2017 17:47:40 GMT
Is this a Setting Feature or a separate firmware with scaled sensor range? Cheers Not yet. As soon as I finish the firmware changes, it will have selection menus for the type of sensor and the resolution, and the rotation scaling. This will help to scale correctly the input to the output for the motors, that will be either 8bit (256 speeds) or 12-bit (4096 speeds), that is supported in the new amc1280usb v2 (2017) controller. Thanks Thanos Would it be possible to use the existing board with ssi sensors 180 degrees?
|
|
|
Post by tronicgr on Jan 23, 2017 18:14:44 GMT
Not yet. As soon as I finish the firmware changes, it will have selection menus for the type of sensor and the resolution, and the rotation scaling. This will help to scale correctly the input to the output for the motors, that will be either 8bit (256 speeds) or 12-bit (4096 speeds), that is supported in the new amc1280usb v2 (2017) controller. Thanks Thanos Would it be possible to use the existing board with ssi sensors 180 degrees? Yes, I designed a small board that attaches on the older amc1280usb boards. You can order it from OSHpark on the following link: motionsim.freeforums.net/post/4043/threadSee more details on it on the first post of this thread. Thanks Thanos
|
|
gokhan
Junior Member
Posts: 89
|
Post by gokhan on Jan 23, 2017 18:20:04 GMT
Would it be possible to use the existing board with ssi sensors 180 degrees? Yes, I designed a small board that attaches on the older amc1280usb boards. You can order it from OSHpark on the following link: motionsim.freeforums.net/post/4043/threadSee more details on it on the first post of this thread. Thanks Thanos That' s what i meant, i already ordered. Sorry for the confusion. Thanks
|
|
gokhan
Junior Member
Posts: 89
|
Post by gokhan on Feb 8, 2017 12:24:04 GMT
Finally I was able to test new ssi sensors with 2.2 180 degree firmware. Here are some photos of my encoder fixture. When i activate the motor it moves rapidly and doesn't stabilize. Here is the video of it when bff sw is off. Only amc is controlling the position. youtu.be/4rIH7nibH_AHere is the video of sensor working with bff sw on. youtu.be/WQ06AHik9YYAny suggestions what i am doing wrong?
|
|
|
Post by paulg100 on Feb 8, 2017 13:57:56 GMT
MM i didnt have any issues with the new sensors, just set to correct sensors on AMC and rest was plug and play.
maybe terminated incorrectly or magnet not in correct position inside sensor housing?
|
|
gokhan
Junior Member
Posts: 89
|
Post by gokhan on Feb 8, 2017 14:11:29 GMT
sensor is working correctly because i can read its value from the screen of amc. 99 for 180 degrees, 0-99 the other 180 degrees. the amc setting for the default position is 50 so when it starts it should look for 50. but it doesn't. it turns to one direction if it reeds 99, and turns to the opposite direction if it reads anything else. speed is also constant. strange isn't it?
|
|
gokhan
Junior Member
Posts: 89
|
Post by gokhan on Feb 8, 2017 14:33:14 GMT
I found it. again it is my mistake. once i fried my first amc board then i got new ones. unfortunately i was using the old fried amc when doing the test. I tried it with the new one and it works like rock solid.
|
|