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 SASSI Sam

  1. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Thank you jayanth.devarayanadurga it's clear now!!
  2. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi, thank you very much for help, I have a little idea that ADCON1 is used to configurate a pin as A/D input. with 16F877, If I want to use RA3 to have Vref+ = 1.6V (with voltage divider) and RA0 as Analog input so can I right: ADCON1 = 0b00000001; TRISA = 0b00001000; ?
  3. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    I think every thing is clear now concerning ADC , but how can I configure Vref+ = 1.6V in my program?
  4. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi, yes thank you I really understand now how calculation is wrong, but I still don't understand why you choosen only 25 and 40 instead of other values ? I would be grateful if you explain to me this point. do you mean that temp must be " Float " to get true calculation..?
  5. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi, (please excuse me for my terrible english!!) First, I tried your suggestion to my code and it's working!!!! thankyou for help!!! Concerning ADC 10 bit I am not good at this, the LM35dz (0--->100 degree), Temperature Scale output changes by 10 mV per °C. 1°C-->10mV 100°C--->1V, Vref=5v, so...
  6. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi, thank you for your help: on LCD I get the same value as the sensor (LM35DZ).
  7. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi every body, I try to drive a DC Motor depending on temperature, this is my program with MikroC, but always the Motor is working with the same speed (duty), could some one pleaaase help me where is the problem!! thanks.. //////// sbit LCD_RS at RB1_bit; sbit LCD_EN at RB2_bit; sbit LCD_D7...
  8. S

    [PIC] hi, i want help in my project using pic16f877A

    thank you so much jayanth.devarayanadurga
  9. S

    [PIC] hi, i want help in my project using pic16f877A

    Hi, could some one helpe me pleaaase, how to use 2 buttons in portA to invert motor direction
  10. S

    [PIC] Driving DC Motor with PIC 16F876/16F877

    Hi every body, this code with MikroC to drive a DC Motor in 2 directions void main() { short duty = 0; //initial value for duty TRISC = 0x00; //PORTC as output TRISB = 0x00; //PORTB as output portb = 0x00; // init PWM1_Init(5000); //Initialize PWM1 PWM1_Start(); //start PWM1...
  11. S

    [PIC] hi, i want help in my project using pic16f877A

    Hi Rooh, try this code with MikroC void main() { short duty = 0; //initial value for duty TRISC = 0x00; //PORTC as output TRISB = 0x00; //PORTB as output portb = 0x00; // init PWM1_Init(5000); //Initialize PWM1 PWM1_Start(); //start PWM1 PWM1_Set_Duty(duty); //Set current...

Part and Inventory Search

Back
Top