- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, i would like to have some help in how to create a simple parking gate using dc motor interface by altera up2 board. so now, i just complete a code that can make the dc motor rotating clockwise and anticlockwise without stopping by pressing the push button on the board. is there anybody that could help me with the code..? it's hard for me to do this coz lack of experience and knowledge about this thing..you guys can check for the coding attachment..thanks.. :)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you be a bit more specific. Do you want to let it stop automatically, or do you want to use a remote?
The code you gave was correct (you could remove the 2-bit vector z becouse you don't use it) but doesn't explain what you want. If you tell a bit more about your requirements, we might be able to help you. Also you might want to try some simple designs that help you understand the language, like a knightrider effect on some LEDs or a simple pattern recognition device.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i want the motor to stop automatically after pressing push button , and rotating only 25% to ensure that my gate is opened at 90 degrees angle..and im using 2 motor for 2 gate, entrance and exit gate..i have to use the vhdl and altera up2 board as it is a requirement for my project..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Than you'll need a timer or better, an encoder. But can't you ask your teacher? He might help you better becouse he knows the specific situation.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page