Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Nikolica

  1. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    Between, this is my encoder. https://www.dropbox.com/s/fk8nkzdkf6spy87/BDG%20Seite%201-17.pdf?dl=0
  2. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    I do it, but this not print me number ... and I try with snprintf , and this is ok. How doesn't want to see this IF loop in the IRQ function? How can I make it to do me only changes? I'm his configure to capture the rising edge of the pulse. Something like this video ...
  3. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    __irq void T0ISR(void) // __irq void T0ISR(void); { static int value; value = T0CR0; if( T0CR0 & MR0I_FLAG ) { IO0SET=0XFF000; jirq++; } IO0SET=0XFF000; T0IR |= 0x00000001; // Clear match 0 interrupt VICVectAddr = 0x00000000; // Dummy write to signal end of } Friends, now ...
  4. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    Can I do it with switching on/off led, like if impulse come to Arm, turn on led in place of printing 'x' ? I think that my program not go on ISR !!! Because, I was disabled line with printing 'x'.. And I very slowly rotate axle of encoder, between, I rotate third channel, not A and B, than Z...
  5. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    Friends, thank you for your answers, but I can disable line with printing 'x'. Problem is not with 'x' . Problem is with irq or timer initialization. I write line with jirq++, he can print a some character if j>1 . I think that problem is not in printing
  6. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    When I start up program, he print xxxx on terminal. Remark : he also print 'x' with rotating axle of rotary encoder.
  7. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    Hi I checked hardware. It's all alright. With encoder I have no problems because I tested his work on oscilloscope. The signals are clean. I think that the problem is in ISR routine, that's why I set it to show me some sort of characters. Uart is functioning great, it shows me what I want, for...
  8. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    Thank you Klaus for your reply. The problem is that the processor doesn't want to read impulses from port p0.2. So that means that program is not getting (going) in IRQ routine. I want to rotate easily axle of rotary encoder, so it can count impulses who are received on CAP periphery of encoder...
  9. N

    Read pulses from rotary encoder - Arm 7 lpc 2148

    This is my code for capture egde from rotary encoder. Can anyone help me . The problem is in code. #define MOJTIP (unsigned char *) #define MR0I_FLAG (1<<0) /**********************************************/ void UART0_Init(void); void UART0_Ispisi(unsigned char vrednost); void...
  10. N

    Software problem with stepper motor

    Now, I can see that my stepper motor make mistakes with steps... I don't know how... I using Big Easy Driver, and sometimes he is precise sometime isn't.
  11. N

    Software problem with stepper motor

    Before all, I am bad at english. I have stepper motor and driver for his Big Easy Driver (BED). Also I have ballscrew with 17 mm movement. One full step = 1,8* (degrees) How I can calculate number of impulses for 50, 100, 200 mm..? I was convert string 'brmmstring' to number 'BRMM', and MAX is...
  12. N

    Arm lpc 2148 + (rfid, gsm, bluetooth, stepper motor, r.encoder, wireless)

    Thank you for reply, yes Arduino is very popular mcu, and everyone can find code for every problem (for arduino), for Arm it is more difficult :) Yes, but for complete ''job'' i would buy arduino, but for learninig i must working with arm 7 :( If anyone working with Arm 7, please send me...
  13. N

    Arm lpc 2148 + (rfid, gsm, bluetooth, stepper motor, r.encoder, wireless)

    This is my first post on your site, actually my first presentation. Accordingly, I would like to ask you nicely to not take me asbad if sent this to the wrong place by this question and this post. The final year of study at the school I worked with a microcontroller. I already have enough...

Part and Inventory Search

Back
Top