- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The motor should be run up and down 1000 times and on each run the limit switch must open and close again. Depending on the test result, a red or green LED should be switched on.
The following task has to be implemented.
1.If end position LOW - motor drive down till end position HIGH
2.If even after 12s the endposition it is still low, the red LED should be turned on followed by end.
3.If the end position within 12s is high, the motor should run 1000 times.
I have already implemented two output pins for the motor up and down positions, one for end position, one for green led and one for red led.
Please guide me how can i proceed with this task. I have never worked with Psoc, this is first time. I highly value any suggestions you provide me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @revolution
To start with using PSoC, you may choose a PSoC4 board and look into the following thread for code examples.
The code examples will help you to get an idea about how to use the different subsystems and peripherals.
You can also look into the following PSoC product for motor control applications:
https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-037/
If you need more information on any topic please let me know.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @revolution
To start with using PSoC, you may choose a PSoC4 board and look into the following thread for code examples.
The code examples will help you to get an idea about how to use the different subsystems and peripherals.
You can also look into the following PSoC product for motor control applications:
https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-037/
If you need more information on any topic please let me know.
Regards