![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| please help.. i am using pic16f84a for my project. the problem goes like this.. once i press a number from my keypad(its from -360 to 360 degrees) and when i press enter button(not included in pic) then the stepper motor will move as indicated in the lcd. the stepper motor has a driver and its requirements are clock pulses and direction(its either positive or negative supply).. please help...thank u.. | |
| |
| | (permalink) |
| So what are you trying to do. I'm guessing you want the stepper motor to move equivalent number of degrees you have punched in on the keypad, have lcd display that, and then on 2nd line of lcd, the actual position of the motor? So basicaly, show set points, and then actual position?? Your not explaining yourself to well. | |
| |
| | (permalink) | |
| Quote:
You need to drive a column high and read the result on the row for each column and debounce it in software. Depending on the type of port pin you use to drive the columns you might need to add blocking diodes as well. I do not know how much your driver IC is but you could drive the motor directly through FETs as well. D. | ||
| |
| | (permalink) |
| thank you very much...im working also on keypad and appying scanning technique..i used stepper driver circuit that needs only a clock pulses and direction(positive or negative). thank you.. | |
| |
| | (permalink) |
| So help us understand you. Are you getting this cadstarsucks?? What micro is he using?? What type of motor, Unipolar Bipolar???Did I miss something? | |
| |
| | (permalink) |
| i'm using unipolar stepper motor.it has 147 clock pulses in order to rotate 360 degrees.im using pic16f84a.the driver is good.i've tested it. the only thing i use to drive the circuit is a clock timer(LM 555 ckt). and a supply. so maybe its the thing that i must provide to output on the pic16f84a.. | |
| |
| | (permalink) |
| So your steppers are 2.44 degrees per pulse. x 147 = 358.68deg I think you would have to do microstepping. Read the file you used to display results on lcd, and decrement or increment a temporary file to desired number, then read that file, and display the new results on lcd. Make sense? Other people are much better then me at motor control. | |
| |
| | (permalink) |
| If I'm not mistaken, Microchip has an application note(ANxxx) about how to accomplish what you want to do. If not, Nigel's tutorials page, also does keypad scanning. | |
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| thank you very much...ok, i'll work with that.. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| keypad encoder | Mel_noypi | Datasheet/Parts Requests | 5 | 22nd February 2006 03:01 PM |
| using serial keypad in LAB-1 | Rosy | Micro Controllers | 1 | 7th May 2004 01:32 PM |
| PicBasic Keypad program | Sora | Micro Controllers | 0 | 20th April 2004 08:02 PM |
| LCD and 4x4 Keypad on the Same port & DTMF using PWM | lee_man_tbu | Micro Controllers | 0 | 9th December 2003 09:43 PM |
| pic keypad | nevada | Electronic Projects Design/Ideas/Reviews | 2 | 25th November 2003 04:46 PM |