Search found 9 matches
- Sun Mar 10, 2013 8:42 pm
- Forum: Serial Communication
- Topic: Programming
- Replies: 3
- Views: 19989
Re: Programming
Just looking to update the BASIC program for right now. All of my units in the field right now are running on the FTDI Cable, so from past experiece I don't think updating firmware is possible. I'd just rather not have to talk my users through BasicTools, or have to send them a uncompiled BAS file. ...
- Tue Mar 05, 2013 11:07 pm
- Forum: Serial Communication
- Topic: Programming
- Replies: 3
- Views: 19989
Programming
Good Afternoon Bruce, With my projects, the boards that are shipped connect to software written on a PC. I would like to be able to have the latest software on the PC update the code on the ProPlus and SuperPros attached to the system. Are there any methods, either command line driven through one of...
- Wed Jan 30, 2013 12:45 am
- Forum: Other Hardware interfaces
- Topic: QEI and PWM Timers
- Replies: 9
- Views: 26366
Re: QEI and PWM Timers
I have a 720 pulse per revolution encoder hooked up to the dedicated pins for A and B inputs for an encoder. Then I have a MOSFET transistor pair driven from HPWM 1, driving a 12V Gear motor with the encoder attached to the output shaft of the gear motor. With just a fixed PWM value of say 10% duty ...
- Tue Jan 29, 2013 12:44 am
- Forum: Other Hardware interfaces
- Topic: QEI and PWM Timers
- Replies: 9
- Views: 26366
QEI and PWM Timers
I am having an issue with quadrature encoder and PWM Channel 1 interfering with each other. I have a motor being controlled by PWM and it's speed monitored by a 720 pulse per revolution Quadrature encoder. Turning the motor really slowly, 4 rpm, and when it goes around past 720 and wraps around to 0...
- Tue Dec 11, 2012 7:42 pm
- Forum: Software issues
- Topic: QEI Interrupt Trouble
- Replies: 6
- Views: 24682
Re: QEI Interrupt Trouble
Added the QEITIME and QEILOAD Variables to the example above and this code example now works. Also added a routine with a timer so that if the Interrupt hasn't occcured in 100,000 microseconds that the RPM Value goes to Zero. #include "LPC17xx.bas" Dim CurrCount as Integer Dim RPM as Single Dim RPMU...
- Tue Dec 11, 2012 5:23 am
- Forum: Software issues
- Topic: QEI Interrupt Trouble
- Replies: 6
- Views: 24682
Re: QEI Interrupt Trouble
Have you made any progress on this, I am working on the same issue with no success to date.
- Thu Nov 29, 2012 4:48 am
- Forum: Software issues
- Topic: Quadrature
- Replies: 3
- Views: 15742
Re: Quadrature
Oops, that 38400 pulses per minute, 640 per second at full speed.
Actual running speed for the important measurements would be about 300 to 500 per second.
Thanks,
Darin
Actual running speed for the important measurements would be about 300 to 500 per second.
Thanks,
Darin
- Thu Nov 29, 2012 4:32 am
- Forum: Software issues
- Topic: Quadrature
- Replies: 3
- Views: 15742
Re: Quadrature
How would one go about handling the timer overflow for the Velocity capture. I am having trouble getting enough resolution out of the RPM calculation with the method in the above post. I would like to have the RPM calculate in an INTERRUPT SUB each time the timer overflowed and store it in a RPM var...
- Mon Nov 19, 2012 2:19 pm
- Forum: Software issues
- Topic: Quadrature
- Replies: 3
- Views: 15742
Quadrature
I have been searching the web looking for examples to try to implement the QEI functions. The chunk of code below, gets you the encoder position and was mostly copied from a message on the ArmExpress Site. The QEICAP in the Print Routine will report the number of pulses seen in the Time period speci...