Quadrature Encoder Issue

53 views
Skip to first unread message

Gordon Tao

unread,
Nov 18, 2013, 10:14:55 AM11/18/13
to ioio-...@googlegroups.com
Hi, Ytai

 I am beginner of IOIO. Thanks for your effort on IOIO. I really like this platform. Recently we have finished to control 2 DC motors, can run to the different direction.

The issue is :

1. Now we want to use the quadrature encoder to calculate the distance and speed. We need the high resolution of encoder. We are using IOIO-V1 board.

I don't know if there is any mechanism of interrupt. It seems that other people had asked the same question before. You also mentioned you had updated the code in firmware/app_layer_v1/digital.c ---> void SetChangeNotify(), but I don't konw how could I use it in java? I didn't find the API in IOIOLib(version3.26).

2. I also download the "App-IOIO0400.zip". When i import the it to eclipse, there are some errors. It seems that it could not find some packages in the lib.


Could you please help me on this?  Thanks!

Gordon
屏幕快照 2013-11-18 下午2.24.43.png
屏幕快照 2013-11-18 下午11.04.51.png
屏幕快照 2013-11-18 下午11.05.43.png
屏幕快照 2013-11-18 下午11.07.37.png

Ytai Ben-Tsvi

unread,
Nov 18, 2013, 11:40:57 PM11/18/13
to ioio-...@googlegroups.com
There isn't a way to do this now cleanly. How fast (ticks / sec) is your encoder signal?


--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages