With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
As you can notice in the block diagram or in the project photo itself, the tilt servo(y-control) is taped to the base. And to the wheel of this tilt motor, pan-servo(x-control) is taped. Finally, on the wheel of this pan-servo, cam is attached.
Any mini-project ideas or references with 'psoc-059'...? Thank u...
Well I suggest that you test the motors through the Matlab first ,say send some arbitrary values to arduino and test whether it is working or not.There are two things u need to verify first: 1.check if the values are actually being sent from matlab to arduino or not.2. Check if u could control the motors using arduino or not....that's it ,the rest is all about the code.If there is any problem in the 1st part, then possibly ur matlab's support package was not properly installed.If the problem is in the 2nd part, then the problem might be either ur code or the arduino's serial connection.plz check all these things first.
Hello there...I think its because the value of 'e' was something else than those specified in the cases.If I'm not wrong u r trying to move the camera (or possibly some other action through arduino)., based on the movement of the ball.There might be some problem in the calculation of 'e'. Try checking the value of 'e' every time before getting into the conditions.
Hello...sorry for the late reply, the code in 'matlabcode.txt' is for interfacing matlab with arduino and image-processing as well. The rest is the 'arduino code'(Arduinocode.txt) for controlling the movement of the camera based on the image processing results.That's all the code...nothing else.
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.