View unanswered posts | View active topics It is currently Wed May 23, 2018 1:07 pm






Reply to topic  [ 1 post ] 
Quadrature sensor not working when plugged in cortex port 4 
Author Message
Rookie

Joined: Mon Apr 27, 2015 11:33 am
Posts: 5
Post Quadrature sensor not working when plugged in cortex port 4
This is an issue from my previous topic, but I would like to open another one because I can reproduce the error now.

I have three quadrature encoders plugged into the cortex, and 11 out of the 12 digital ports are being used. When I plug these quad encoders into different ports and 'open debugger manually' in robotC to view sensor values, the encoder which has a wire plugged into port 4 can have invalid values of -1, 0 or 1.

Here are the steps to reproduce the error.

1. Plug the three encoders in port 1&2, 3&4, 5&6, the middle one works some time, but no longer working after a cortex restart.
2. Change them to 1&2, 4&5, 7&8, the middle one will always give values of -1, 0 or 1

Finally I plug these encoders in port 1&2, 5&6, 7&8, now they are working properly.

The Attached files shows the setup of the robot. I am using the latest robotC 4.30 and updated to the latest cortex firmware.

Is this a bug or feature in robotC or the VEX cortex?


Attachments:
File comment: the 'base_quad2' encoder worked for some time
quad3.png
quad3.png [ 214.21 KiB | Viewed 3150 times ]
File comment: the 'base_quad2' encoder not working
quad2.png
quad2.png [ 213.72 KiB | Viewed 3150 times ]
File comment: the 'base_quad2' encoder not working
quad1.png
quad1.png [ 186.32 KiB | Viewed 3150 times ]
Wed Apr 29, 2015 7:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.