Search Results - Proton BASIC community web site


Search:

Type: Posts; User: amod

Search: Search took 0.01 seconds.

  1. Re: How to read TTL input of a displacement transducer

    My Code.It is counting in the multiples of 4.like 0-4-8-12-.......and it is not going in minus.

    Device = 16F877AXtal = 20
    Declare LCD_DTPin = PORTD.4
    Declare LCD_RSPin = PORTD.2
    Declare...
  2. Re: How to read TTL input of a displacement transducer

    My wiring is as follows

    Device = 16F877A
    Xtal = 20

    LCD wiring
    LCD_DTPin = PORTD.4
    LCD_RSPin = PORTD.2
    LCD_ENPin = PORTD.3
    LCD_Interface = 4
  3. Re: How to read TTL input of a displacement transducer

    Please share proton basic manual link. Which has Interrupt Directives.
  4. Re: How to read TTL input of a displacement transducer

    Do I have to add pull-up resistor to portb.0 and portb.1 for rotary encoder?
  5. Re: How to read TTL input of a displacement transducer

    Thanks Joseph,
    Your code is working on increasing side only.I tried my code also but result is same.Can you guide me how to use interrupt.I think interrupt should be used for such codes.
  6. Re: How to read TTL input of a displacement transducer

    Hello Flosigud,
    You used interrupt in your program.I don't know how to use interrupt s.Please tell me how to use them with a sample code.
  7. Re: How to read TTL input of a displacement transducer

    I purchased a simple rotary encoder which have two outputs and a switch.Iam getting the increasing values but decreasing.pls help.
    https://m.youtube.com/watch?v=v4BbSzJ-hz4
  8. Re: How to read TTL input of a displacement transducer

    Thanks Flosigud.
  9. Re: How to read TTL input of a displacement transducer

    Stephen Moss,I confirmed with the seller from which I purchased encoder it has TTL output with 90°shift .The same output as rotory encoder has.I have written a code that works but it only increases...
  10. Re: How to read TTL input of a displacement transducer

    Please guide me with a code.I tried many codes but only I can get forward ( increasing) readings.
  11. Re: How to read TTL input of a displacement transducer

    My displacement sensor has 90° shift.
  12. Re: How to read TTL input of a displacement transducer

    3885sensor details
  13. Re: How to read TTL input of a displacement transducer

    After defining teller as word values increases when I move displacement sensor upwards but values are not decreasing when iam moving it downwards.
  14. Re: How to read TTL input of a displacement transducer

    Is there any special circuit for it to read by 16f886
  15. Re: How to read TTL input of a displacement transducer

    my program.It does not work
  16. How to read TTL input of a displacement transducer

    Hello, I want to read TTL input coming from displacement transducer.I don't have any circuit to read TTL.
  17. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    Thanks everyone for helping me.I got my work done.
    Regards
    Amod
  18. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    Thanks See Mos.I have not tried your code but will try today.
  19. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    I can't write names using keypad.Pls give an example
  20. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    Got inkey worked.
    How can I write my name on LCD using keypad and store it.
  21. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    I can't get, how to define rows and columns for inkey command.I saw in PDS SAMPLES but example is not Full
  22. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    Please help me with the code.Iam finding it very tough.
  23. Replies
    21
    Views
    6,043

    Re: 3x4 alpha numeric keypad

    I need alpha numeric keypad 1234567890 and ABCD as attached image3737
  24. Replies
    21
    Views
    6,043

    3x4 alpha numeric keypad

    Please guide me how can I use alpha numeric keypad.
  25. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Not working
  26. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    MY led1 is working but when bttn is pressed blink and fastblink does not work.


    ;-------------------------------------------------------------------------------
    ;**** Added by Fuse Configurator...
  27. Replies
    4
    Views
    2,413

    How to use timers in microcontroller

    Iam new to timers.how can I use them.
  28. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Full Program
    seven segment display goes blank after displaying UEr.1.Bttn is not working.
    i need peak when BTTN is pressed once and back to NORMAL values when again pressed.
    ...
  29. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    my code is not working.

    main:
    If x=0 And bttn=1 Then x=1
    DelayMS 20
    If x=1 And bttn=1 Then x=0
    DelayMS 20


    If x=1 Then PEAK
  30. Replies
    71
    Views
    10,349

    Re: Proton Compiler Button Toggle Procedure

    I tried many programs last night I found that below program is working.Pls tell me if any changes are required.

    Xtal = 10


    All_Digital = True


    TRISA=%00000000
  31. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Top 204,
    Basically I want to make peak hold function on and off will single tact switch.
  32. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Led is blinking.when button is pressed i goes off and when button is released led stats blinking again.
  33. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Tried many times but can't make led on and off with single button.using button command.really got confused.
  34. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Thanks John for guidance.
  35. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    After compiling below program error comes

    Device = 16F877A
    Xtal = 10


    All_Digital = True


    TRISA=0
  36. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Do you have any book.please share
  37. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Any proton basic book to understand it deeply with examples.
  38. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Stephen Moss,
    Please give me proton basic example.In your link it is in c language.As iam new to proton basic programming an example will be helpful.Iam using a push to on tact switch with pull-up...
  39. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    How? Please give example
  40. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I have made peak hold.thanks.
    One thing I was thinking that currently iam using a toggle switch for peak hold.toggle switch on then peak hold ,when off then normal values.Can this work will work...
  41. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Thanks Dave.I will try it after one week.Iam out of the city for a week.
  42. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Code for peak hold which I tried.

    Dim value as word 'raw ADC value
    Dim newvalue as word. ' peak hold value

    Main:
    If newvalue > value then
    Gosub display ' display subroutine for seven...
  43. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I tried many times but can't make a peak hold temperature.need help.
  44. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    Need example for DIG command.
  45. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I got it.i was only trying.pls help me for my problem.
  46. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I tried my code in Picbasic pro also.
  47. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I have displayed VER.1 on seven segments for only for 4 seconds when device is power on.Code is given below

    for I=0 to 999

    DG=$C7

    PORTB=DG
    PORTC.3=0
    PAUSEus 4000
    PORTC.3=1
  48. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I want to create a settings menu in temperature controller.When i press a two buttons then a programming menu should open where i can save settings like Hysteresis,thermocouple selection etc.
  49. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I can't average ADC value.
  50. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    I can average ADC value.tried many times.can anyone give me an example for that.
  51. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    As I can see that my display code for driving four digit seven segment display is very lengthy.Please send me a code for driving four digit common anode seven segment display.
    Thanks
  52. Replies
    71
    Views
    10,349

    Re: Temperature Controller Problem

    How can I average ADC value.
  53. Replies
    71
    Views
    10,349

    Temperature Controller Problem

    hi,
    i had made a digital temperature controller with "j" type thermocouple .Every thing is working fine except Thermocouple break option.I want when thermocouple break or open then display on seven...
  54. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    After writing PORTA=$FF, PORTA.4 gets on after some time
  55. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    My problem is point A.All leds light up on PORTA.0,PORTA.1,PORTA.2,PORTA.3,PORTA.4,PORTA.5 when power on.And No input works which is on portB.0.

    Pls tell me adcon1 settings for all output
  56. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    Resistor to +5v
  57. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    what is wrong with my code,all leds on PORTA lights up.

    Device = 16F877A
    Xtal = 16
    Include "MODEDEFS.BAS"
    All_Digital = True


    Output PORTA.0
    Output PORTA.1
  58. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    I wrote

    If portA.0=1 And portA.1=1 then
    Portc.1=1
    Else
    Port.1=0
    Endif

    It is working.
    Is this way is right of doing this?
  59. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    How to write IF PORTA.0=1 , PORTA.1=1 then PORTC.1=1

    I mean to say that when both portA are high then only portc.1 should high .if any of the port is low then port c.1 should low.
  60. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    Not working tried many codes but failed.

    Actually i want a set point below 60, when portd.1 is high then i can set between 0 to 60.suppose i set 45 ,then when portd.1=low then it should stop .
    ...
  61. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    my code does not work.INTIME increases automatically though the portd.0 is low.

    Device = 16F877A
    Xtal = 16
    Include "MODEDEFS.BAS"
    All_Digital = True
    Declare LCD_DTPin = PORTB.4
    Declare...
  62. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    Thanks Stephen Moss.

    Another problem in my set point counter.Iam making a counter maximum 60 pulse.And set point is maximum 60

    My problem is that when it reaches set point it doesn't stop it...
  63. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    Problem solved. thanks

    I want to add a potentiometer based on delay timer upto 1 minute.
    Pls guide .A sample program will be best for timer as well as RPM.
  64. Replies
    23
    Views
    3,632

    [SOLVED !] Re: Help for Fatigue testing controller

    How can I convert my counter to rpm and frequency and how to make peak hold in load values.in load iam using load cell.
  65. Replies
    23
    Views
    3,632

    [SOLVED !] Help for Fatigue testing controller

    Iam making LCD based fatigue test controller.In My program My UP & UD does not work when i set it to Word and lcd hangs.I have problem in Frequency and RPM Routine which is based on counter pulse.
    ...
  66. Replies
    10
    Views
    1,663

    Re: Suggestions for pic microcontroller

    Here in India ,atmel 89s52 cost 0.63$ and 16f886 cost 1.18$.
  67. Replies
    10
    Views
    1,663

    Re: Suggestions for pic microcontroller

    Thanks all.I want to know why pic microcontroller are more costly then others like nuvoton & atmel.
  68. Replies
    10
    Views
    1,663

    Suggestions for pic microcontroller

    I need 20 pin microcontroller with EPROM and 10 bit ADC.
  69. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    There was a mistake in my relay code.
    Thanks all for support.
  70. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    RELAY CONNECTED ON PORTA.6 IS NOT WORKING BUT USING SAME PROGRAM IN PICBASIC PRO IT IS WORKING.IS THERE ANY PROBLEM WITH FUSE SETTINGS.

    MY SETTINGS ARE
    ...
  71. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Ok.i will try this.
  72. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Thanks See_Mos
    It worked.but how?
  73. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Iam using PNP 557 trassistors.

    segment PORT pin
    Decimal point B.0
    G B.1
    F B.2
    E ...
  74. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    My decimal pin is on B0. When I write DG3=254+DG whole digit goes blank
  75. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Pin is set to 0
    TRISB= % 00000000
  76. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    It doesn't work.i tried DS3=128 & DG it worked but it disturb the whole display.Decimal point comes but rest segment doesn't work properly.
  77. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Every thing is working fine except decimal point

    my decimal code is working fine in 16f877A but not in 16f886

    DS3:
    GoSub FND
    DG3=128 | DG <----- this does not...
  78. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Thanks Joseph,As Iam out of the city,I will definitely try it on Saturday.
  79. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    When I set 111 on thumbwheel switch the counter starts on power on and stops when it reaches 111.pls check photo.3579
  80. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Thanks.Joseph code worked for me.

    I want to add 3 digit thumbwheel switch .Any code for this.
    When I enter 333 on thumbwheel switch my counter should stop on 333.
  81. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    Press 1
    Function 1
    Press 2
    Function 2
    Press 3
    Function 3
    Press 4
    Function 4. and so on..

    Press 1
  82. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    3577

    I want like this snapshot
  83. Replies
    33
    Views
    3,480

    Re: Multiple functions by a single switch

    4 functions by a single switch.
  84. Replies
    33
    Views
    3,480

    Multiple functions by a single switch

    Hi,
    How can I use multiple function by a single switch.I want to use 4 functions by a single switch.
  85. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Thanks all. I will be back with new problems.

    My new project is usb temperature data logger.
  86. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    By this code i got my work done. Thanks all.356235623562

    Dim in As Byte
    Dim innt As Byte


    TRISA=1
    TRISC=%11111111
    TRISB=0
    TRISD=%11111110
  87. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Every thing is working but not relay pls ckeck,

    Dim in As Byte
    Dim innt As Byte


    TRISA=1
    TRISC=%11111111
    TRISB=0
    TRISD=%11111110
  88. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Thanks Joseph,

    But actually it is not working as what I wanted.

    I also tried many codes but failed each time.

    I think that iam not able to tell you what I wanted. This time I'll tell you in...
  89. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Pulse will be till 0.
  90. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Dear See_Mos,

    I want when time reaches 0 then relay should on.Presently relay is on and when reaches 0 relay goes off.

    Secondly,when input pulse is break in between setpoint time should restart...
  91. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Dear Bob,
    Timer maximum time is 60 sec.setpoint can be between 0 to 60 sec.if I set 45 then each time timer start from 45 sec till it reaches 0.when it reaches 0 then relay should start.
  92. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Dear Bob,
    I also need an end condition when timer reaches 0.it do not start again.if I want to start again then input pulse will be given again.
  93. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Giving error 'incorrect else'
  94. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Sorry it's equal to = sign
  95. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    Lcd should display INJ=60 .suppose by button I set 60 to 45 .now by an input pulse timer starts 44,43,42,41,40.....till zero .when it reaches 0 then a relay should on.After on an input pulse will be...
  96. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Re: Simple timer

    my Code

    Device = 16F877A
    Xtal = 16
    Include "MODEDEFS.BAS"
    All_Digital = True
    Declare LCD_DTPin = PORTB.4
    Declare LCD_RSPin = PORTB.2
    Declare LCD_ENPin = PORTB.3
    Declare LCD_Interface = 4
  97. Thread: Simple timer

    by amod
    Replies
    29
    Views
    2,227

    [SOLVED !] Simple timer

    Iam making a simple timer for 60 seconds with setpoint.suppose if I set 45 then timer start with a pulse and when I get 0 then timer stop.

    I tried but Iam not able to place set value.
    Pls help.
  98. Replies
    12
    Views
    1,050

    [SOLVED !] Re: Pulse counter memory problem

    OK Bob. I will try and get back to you tomorrow.
    Thanks
  99. Replies
    12
    Views
    1,050

    [SOLVED !] Re: Pulse counter memory problem

    Then what should I do. I need memory to my counter when there is power failure. I made a temperature controller with setpoint memory, it is working fine.
  100. Replies
    12
    Views
    1,050

    [SOLVED !] Re: Pulse counter memory problem

    Bob.
    Everything is working like counter, seven segments etc. Only problem I am facing is to store counter values on electricity failures.
  101. Replies
    12
    Views
    1,050

    [SOLVED !] Pulse counter memory problem

    Please tell me my faults.My pulse counter memory does not store.When i switch on device after 5 second ,memory exist by after 30 seconds it is washed display shows 9551 (this digit varies)

    my code...
  102. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Thanks See_Mos.it worked.
    Do u have any example of oversampling?
  103. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Can't find oversampling in wiki
  104. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Hi Stephen,
    I have attached a snap for your kind consideration that what problem iam facing.3553
  105. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Can I get 12 bit adc result by 10 bit adc like in picbasic pro
  106. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    When I write DG3=%10000000 in digitcalc then third display goes blank and decimal point glows.
  107. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Thanks Stephen.
    I succeeded in 7 segment display.I need to implement a decimal point also ,how can I do this.
  108. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    My program

    Xtal=4

    Dim DG As Byte
    Dim DIGIT As Byte
    Dim n As Word
    Dim NUMB As Word
    Dim countt As Byte
    Dim dg1 As Byte
  109. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Not got success.Tried many times.I think I lost my mind.It would be great if simple adc example with Inc file is posted.iam using 16f877A

    Thanks
  110. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Example needed how to include file.
  111. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Hi Alberto,
    Iam making a temperature controller.Range from -50 to 100 degree centigrade.By my code iam getting only positive values and values are blinking too.
  112. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Do anyone have code for 4 digit seven segment display.
  113. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Got my work done .thanks
  114. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Thanks Joseph,

    My code is
    Ewrite 00,[x]
    X=Eread 00

    Is this correct?
  115. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Hi Henk,

    How can I read and write single value in EPROM of 16f877A.
  116. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Thanks Henk.it worked.
    How can I get rpm by this code?
  117. Replies
    33
    Views
    2,251

    [SOLVED !] Re: Pulse counter using COUNTER command

    Not able to understand code.
  118. Replies
    33
    Views
    2,251

    [SOLVED !] Pulse counter using COUNTER command

    How I can use counter command for counting pulses on portd.3 of 16f877A.Iam making a 8 digit object counter.
  119. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    Thanks.I got it on wiki.

    Warm regards to all.
  120. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    Hi Alberto,

    Pls share your program.my email is [email protected]

    Thanks
  121. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    Yes,i can add a display
  122. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    I solved my problem ,thanks.

    I got stuck in displaying negetive values on seven segment display.how I can solve it.
    I need values like this:
    -5,-4,-3,-2,-1,0,1,2,3,4,5
  123. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    Thanks SimonJA.I got my work done.
    My new problem is that my program runs fine on lcd but when i converted my code for 6 digit seven segment display all segment blinks for half a second repeatedly....
  124. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    my Program

    Device = 16F877A
    Xtal = 20
    All_Digital On
    Include "modedefs.bas"
    Declare LCD_DTPin = PORTB.4
    Declare LCD_RSPin = PORTB.2
    Declare LCD_ENPin = PORTB.3
    Declare LCD_Interface = 4
  125. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    I got the values in kg and they are stable.

    I want to include TARE function to my project.When i minus current reading it gets zero but till i press button.When i Release button same old readings...
  126. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Re: Hx711 calibration

    Pls guide me ,how I can get average of adc values.example needed.
  127. Thread: Hx711 calibration

    by amod
    Replies
    22
    Views
    780

    [SOLVED !] Hx711 calibration

    Iam using load cell amplifier HX711 module.I have got raw values from module but iam not able to calibrate with load cell.I want make a universal calibration factor in which I can use any type of...
  128. Replies
    20
    Views
    728

    [SOLVED !] Re: Problem in pulse per second meter

    MY PROGRAM.IS MY AVERAGE ROUTINE IS CORRECT?

    Main:
    ADDO=1
    ADSK=0
    COUN=0
    While ADDO=1:Wend
    For i= 0 To 23
    ADSK=1
    COUN=COUN<<1
  129. Replies
    20
    Views
    728

    [SOLVED !] Re: Problem in pulse per second meter

    My values fluctuates from 8388720 to 8389667 . values are not stable.when I keep 1 kg load on load cell values increases but not stable.
  130. Replies
    20
    Views
    728

    [SOLVED !] Re: Problem in pulse per second meter

    Thanks Les .I got my work done.I noticed the changes you made.I am still learning .

    Can you help me for calibration of hx711 load cell module.I managed to get raw values.But couldn't find how to...
  131. Replies
    20
    Views
    728

    [SOLVED !] Re: Problem in pulse per second meter

    Iam Not able To Understand This Part Of Program$define Segment_A 1$define segment_B 2$Define Segment_3 4
  132. Replies
    20
    Views
    728

    [SOLVED !] Re: Proton Compiler, Pulse Counter with a multiplexed 7-segment LED display

    As iam new to proton.I am not able to understand how to change this program for common anode display.pls help





    $define Segment_A 1 ' The value to send to...
  133. Replies
    20
    Views
    728

    [SOLVED !] Re: Problem in pulse per second meter

    I changed the code but digits blinks with 1 second delay.
    If I change NUMB=COUNTER PIN,500 .then digits blinks with half second delay.
  134. Replies
    20
    Views
    728

    [SOLVED !] Problem in pulse per second meter

    Iam making pulse per second meter.My problem is that all four seven segment displays blinks,the are not stable.My program is below.


    Device = 16F886


    Config1 FOSC_INTRC_CLKOUT, WDTE_OFF,...
  135. Thread: Read HX711

    by amod
    Replies
    25
    Views
    9,031

    Re: Read HX711

    After using Mersoz code I get fluctuating values .how I can get stable values?
Results 1 to 135 of 135