Has anyone tried to use the cypress PSoC for controlling sensors? if so, how did it work?
I don’t understand the question. The way I think of things, “reading sensors” and “controlling actuators” make sense, but “controlling sensors” is a strange concept. Can you explain what you mean by it?
You mean using the sensors on the PSoC as a driver interface, for controlling the robot?
no. I mean like getting information about the surrounding environment to help the robot navigate during autonimous mode(Sorry if I misspelled something.)
Well, let’s see. What information can you get from the PSoC, assuming you’re using analog module on the cRIO for your analog inputs?
accelerometer?
I don’t think the proximity sensor is very useful.
I suppose you could write a program to use the accelerometer as a tilt sensor. Actually, you might be able to have it acquire data from the other accelerometer over I2C, and make a 2D gyro. That would sure be cool.
Other than that, how would it be useful on your robot? (Oh, and you could use it for parallax SONAR, which uses the same pin as DI and DO; something you can’t do on the digital sidecar without performance degradation)
If the PSoC is being used connected to the classmate/DS, you will not be allowed to use it to help your robot navigate in autonomous (This is very likely a rule this year, and is also enforced in the FMS).
If you are talking about using it on the robot, you’re probably better off just connecting the sensor to the cRIO or the Jaguars (if using CAN), unless you need the PSoC to offload some calculations from the cRIO.