Search:

Type: Posts; User: sayzer; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    224

    Re: test upload file

    Works fine here.


    8825
  2. Re: Our dearest friend has passed away. Bye Darrel...

    For suitable text, before setting up this reminder system, is it possible to get individual short text from each member, and collect them in a pool? Then, system sends the collected thoughts...
  3. Re: Our dearest friend has passed away. Bye Darrel...

    Forum sends automated Birth Day message to members.

    May be our Admin can set up another automated reminder at the exact date and time Mr. Taylor passed away and another reminder for his birth day....
  4. Replies
    56
    Views
    16,408

    Re: Stable Adc Reading Routine

    in Post #35 , I tried to explain the same thing in a different way; but I think he could not get it work.
  5. Replies
    56
    Views
    16,408

    Re: Stable Adc Reading Routine

    for last digits that are bigger than 5, you can round it to upper 10s.




    ADCVal = 699

    IF ADCVal DIG 0 > 5 THEN ADCVal = ADCVal + 10
  6. Replies
    4
    Views
    526

    Re: Complex math on 16F series?

    Check this one first:
    http://www.picbasic.co.uk/forum/showthread.php?t=12433

    and then check this one second:
    http://dt.picbasic.co.uk/CODEX/N-BitMath

    or reverse the order.
  7. Re: Interrupt issue with PIC16F18877 and DT-Ints...

    Looking at your code again, my modification seems to stop your timer flags.

    You may have the "for loop" anyway to set the flags if they are 1, but not clear them if they are zero.
    My modification...
  8. Re: Interrupt issue with PIC16F18877 and DT-Ints...

    I could not find anything about freezing issue with my eyes, but realized something different as a suggestion:

    You can simply "relaysense" routine as follows:



    RelaySense:
    ...
  9. Re: Interrupt issue with PIC16F18877 and DT-Ints...

    What is main loop?

    If you are calling a subroutine within from main loop, it may be the issue.
  10. Re: Glitches when changing portD seen on other ports

    It seems to be a power supply issue to me.
    Try the following circuit.

    And make sure, other than the 100nf caps below, you have your additional 100nf caps as close as possible to PIC Vss and Vdd...
  11. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    And here is another addition from me as an attention:

    I had DS1302 and an IR transmitter on the same board.

    PWM module was pushing 38Khz signal to IR LED.

    It turned out that the clock was...
  12. Replies
    17
    Views
    1,490

    Re: 18F45K40 Can't set PORTD.1

    Thank you Ioannis. I hope to see you in Istanbul one day. Unlimited true Turkish sish kebap from me.




    I shipped the board out. Now I do not have a board with this chip now.
    And this chip is...
  13. Re: Need to drive 40 pins on variable change, is there a way to do it in elegant way?

    Since it is a new design, why not use DS1307?

    You can have LEDs for days.
    Mon, TUE, WED,...

    You can also have a 1-second signal output directly from DS1307.

    just an idea.
  14. Replies
    17
    Views
    1,490

    Re: 18F45K40 Can't set PORTD.1

    Ladies (if any) and gentleman, I finally found the issue but still not sure how it is mixed up. Anyway issue solved.




    RD1PPS = 0 ' pin is LATxy


    It must be getting mixed in somewhere....
  15. Replies
    17
    Views
    1,490

    Re: 18F45K40 Can't set PORTD.1

    The code below, does not turn on PORTD.1.
    But, when I compile it with "other compiler" which has "delayms" command instead of "pause", it works as expected.
    The settings for both compilers are...
  16. Replies
    17
    Views
    1,490

    Re: 18F45K40 Can't set PORTD.1

    I agree with all you said. You are right.

    But after I tried everything to my best knowledge, I finally posted the issue here. Sorry for less information posted.

    I think it may not be ethical to...
  17. Thread: MQ 135 sensor

    by sayzer
    Replies
    2
    Views
    504

    Re: MQ 135 sensor

    I would check Github page for it; look for Arduino code examples to see how they translate "an analog reading to a parts-per-million equivalent".
  18. Replies
    17
    Views
    1,490

    Re: 18F45K40 Can't set PORTD.1

    Thank you Henrik for the return.
    The code works with PBP and the PIC runs for sure; come on :).
    I can get everything from what the code does. I send data, receive data, set 7-segment leds etc..., ...
  19. Replies
    17
    Views
    1,490

    18F45K40 Can't set PORTD.1

    For 18F45K40, I can not set PORTD.1

    LATD.1 = 1 does not work.
    PORTD.1 = 1 does not work.
    HIGH PORTD.1 does not work.
    HIGH LATD.1 does not work.
    ASM does not work.

    But if I use another...
  20. Replies
    3
    Views
    635

    Re: Hserout3, hserout4, ...

    For example;

    I use 18F67K40.

    It has 5 EUSART modules.

    Thus, I would like to see HSEROUT5 or HSERIN5.

    HSEROUT3 / HSERIN3....
  21. Replies
    3
    Views
    635

    Hserout3, hserout4, ...

    What might be the reason or the reasons for PBP developers not to write Hser commands for 3,4,5 ?

    Hserout3,Hserout4,Hserout5 ?
    or Hserinx ?
  22. Re: with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

    There are other ways to get batt low signal with 628A.

    You can have a diode for Vref, around 0.4-0.6V; feed this vref into PIC's comparator. 1N4148 is perfect for this. Have 56K resistor from...
  23. Re: with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

    There is a PCH mosfet; Diodes DMP3098L.

    If you use this one instead of BC327, then you may use 100K resistor instead of 10K.
    Thus, current drawing gets super low.
    But, first, just test the idea...
  24. Re: with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

    Here you have two methods.

    Method - 2 may not work correctly; it is something like "egg from chicken or chicken from egg? which one is first" issue.

    But you get the idea here.

    Method-1: When...
  25. Re: 1-wire bus network driver modification, OWIN/OWOUT pbppic18.lib

    Ok, problem solved.
    After Richard's post about ST above, I realized that 18F27K42 has INLV register for each port; which makes the pin either ST or TTL.

    It has to be cleared for the pin to make...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4