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 justusfrantz

  1. J

    Using PWM as D\A converter

    thanks bob.by the way, im using mikroC for the PWM. but the problem is mikroC only allows duty cycle from 0-255 thats 8 bit accuracy. i noticed that pic16f877a can perform PWM up to 10-bit accuracy. anyone can help?
  2. J

    Using PWM as D\A converter

    thanks bobcat. i tried to search for the article by boni beaker but i couldnt find it in the EDN website. could u please send me the direct link ?
  3. J

    Voltage on AN0 of PIC16F676

    i had the same problem as yours. the zener somehow caused a drop in the voltage. by removing that i get full range of voltage. i dun quite understand why though. i even change the zeners but same problem arises.
  4. J

    Using PWM as D\A converter

    Hi all, i have a question. Is it possible to use the PWM module of PIC16f877a as a D\A converter just by varying the duty cycle ? for eg. 2.5v = 127 duty cycle and the output is connected to a simple two pole RC filter. What are the values of R and C do i have to use ? How fast is the...
  5. J

    Modelling a DC motor using PIC16F877A

    Hi ryu, thanks for the advice. Yes i noticed that adc_read() returns value in 10-bit unsigned number.so i need to divide it by 204.8 reason 1024 = 5V let v=vold=5v we = (5 - (0.5*(5-5/200))-(5/100))/0.01 = 495rad/s using 1024 we = (1024 - (0.5*(1024-1024/200))-(1024/100))/0.01 = 101376 so i...
  6. J

    Modelling a DC motor using PIC16F877A

    i have tried to program with C. Can anyone check whether what i have done is correct? unsigned v,vold; unsigned we; void main(){ ADCON1 = 0x80; // Configure analog inputs and Vref TRISA = 0xFF; // PORTA is input TRISB = 0; TRISD = 0x3F; for (;;){ vold = Adc_Read(2); // Get...
  7. J

    Modelling a DC motor using PIC16F877A

    Is it possible to solve differential equations using PIC ? Using C programming codes one could easily solve it. But can it be implemented using PIC? Thanks
  8. J

    Modelling a DC motor using PIC16F877A

    dc motor differential equations Hi Pow, Yes i want to make a hardware model of a DC motor. In other words make the PIC behave as a DC motor. What im doing now is to implement a hardware in the loop plant using PIC rather than using a real DC motor. do u have any idea to do it ?
  9. J

    VOICE-BASED CALCULATOR

    teik hong
  10. J

    Modelling a DC motor using PIC16F877A

    modelling of dc motor Hi everyone, I am a newbie in microcontroller programming. I have a problem now where i want to model a dc motor using PIC16F877A. from the dc motor equations V = iR + Ldi/dt + Vemf, T = Jdw/dt + Bw (w is motor speed) where Vemf = Kw and T = Ki How do i...

Part and Inventory Search

Back
Top