Need help with motor control and touch sensors
Somnium
Posts: 46
I'm working on this project for school with the Propeller chip and was wondering how to control motors, such as move it a certain distance or for a certain amount of time. Also, if it is possible, how to implement touch sensors so that it activates the motors. A link to locations to where I could get info would be great. Thanx!!
Comments
There are objects in the Propeller Object Exchange for controlling servo motors if that's what you're working with. Have a look at them. There is a compatibility library for Stamp use that provides many of the functions of Stamp Basic (like PULSIN, PULSOUT and SERIN/SEROUT) so you can use a lot of the examples (minimally modified for the Propeller) in the Parallax Stamps in Class series of books that can be freely downloaded. I would start with the "Robotics with the BOE-BOT" book.
I'm doing this project for a class where I'm making a marble maze that is activated by sound. The sound activated the motor that will push the marble, and while the marble moves it will make sounds which will be recorded and sent out combined with the sound that came in to the next project from a different student. I just started learning about the Propeller chip and also started taking a class on it so I have no idea how to do anything with it. Also would help if this will or will not work with the Propeller chip. Mainly using the propeller chip because I have it.
Mike's referring to the 'Nuts & Volts' magazine. I think some of it's articles are online, but I'm not sure where.
Th Object Exchange is a website (http://ww1.parallax.com/Default.aspx?tabid=65) where anyone can provide / get software objects created for the Propeller.
HTH.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
(Accessible via the Main Site > Downloads > Nuts and Volts)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.