Search:

Type: Posts; User: alpha91

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Closed: Re: Modbus Communication require enhance stability

    Hi Klaus, thanks for your prompt reply
    The sensor hardware and sensor bus that you mentioned is input of PLC?
    while for the calculation, my PLC is using instruction function to read the modbus,...
  2. Closed: Modbus Communication require enhance stability

    Hi all, I am having a system which using PLC to read 3 weighing indicators with Modbus.
    but some times the reading that is send from indicator seems like hanging and causing system to overweight. ...
  3. Replies
    1
    Views
    232

    Closed: Current transformer and reading

    Hi all, I am require to make a circuit which will give On/Off output if the current from current transformer is high.

    May I know what's the requirement of such design?
    For this circuit, I do not...
  4. Closed: IOT device Bluetooth connection without pairing

    Hi, i am designing a system which require a Raspberry Pi to connect mobile phone nearby automatic. The mobile phone ID and bluetooth name is preset in Raspberry Pi.
    The system need to avoid pairing...
  5. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    Alright. I had tested the PIC output and it is exactly like what you said. It did not change its state until the code ask it to do so. Thanks for your info.
    I see. so you recommend me to read the...
  6. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    alright. sorry, i have one more question.
    if my output require something like blink, like 500ms interval. so i need another timer for the blink? while i still want other output to work...
  7. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    Hi Klaust, for PIC, i can set single output. I just curious on how to maintain the output state. Brian had answered it.
    Anyway, thank you very much for your guidance.



    Brian, sorry that i...
  8. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    Hi, thanks for all the guide and info.
    but i still have doubt on the output state, because from what i know, PIC output is not latched.
    for simple example, 3 sensors controlling 3 LEDs, when there...
  9. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    Hi, Brian, thanks for your guide.
    I am still trying on the code. will feedback here once i have any progress.




    Hi thanks for your code. i will try it.
  10. Replies
    21
    Views
    3,032

    Closed: Re: LED fading with PWM + Interrupt Timer

    HI Klaus, thanks for giving advice. sorry for my mistake. the timer value that i set is 360ms.
    actually the timing do not need to be accurate. as long as can see the LED slowly fade in and out.
    i...
  11. Replies
    21
    Views
    3,032

    Closed: LED fading with PWM + Interrupt Timer

    Hi all, is that possible to implement timer interrupt to a LED fading PWM function?
    microcontroller: 16F628A
    compiler: MikroC

    Objective:
    LED fade in and out slowly by adjusting the PWM.
    I had...
  12. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    Alright. Thanks a lot.
    I try to find out how should i set the timer then.
    Thank you.
  13. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    oh. I though i using the 100ms is what you mean in the first conditions.
    sorry, i have no idea on how to make a main loop to time out. Do you mean using interrupt timer?
  14. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    Sorry, i dont know how to check this. Can you guide me? i am still beginner in PIC programming.


    is it you suggest something like this?
    This code still have one problem which is after several...
  15. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    Hi.
    I am how sure whether it is level triggered or state triggered. May I know how can i check this?

    And i had modified one of the condition as below:


    if( eeprom_read(0) == 0x01) // Mode2
    ...
  16. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    ok. but if that is the case how should i set the interrupt timer TMR1H and TMR1L?
    actually i did one project before is using timer interrupt to select which LED to blink. and TMR1H and TMR1L is the...
  17. Replies
    14
    Views
    2,651

    Closed: Re: Create Mode function in PIC Microcontroller

    Hi, thanks for reply.
    TNTx is timer interrupt?
    I actually learned the basic of timer interrupt before but in this case i wondering how should i do it because timer interrupt duration is set with...
  18. Replies
    14
    Views
    2,651

    Closed: Create Mode function in PIC Microcontroller

    Hi all, I am creating a system that allow LED to light up in few different mode.
    microcontroller = 16F628A
    compiler = MikroC

    my PIC microcontroller also connected to 16x2 LCD to display current...
  19. Replies
    7
    Views
    1,086

    Closed: Re: Charge Lead acid battery with power supplies

    Alright, thank you very much.
    I will study more for battery charging circuit
  20. Replies
    7
    Views
    1,086

    Closed: Re: Charge Lead acid battery with power supplies

    So means that as long as the charging current is below 0.69A it should be fine?
  21. Replies
    7
    Views
    1,086

    Closed: Re: Charge Lead acid battery with power supplies

    Hi, Klaus.
    OK. because the switching power supply actually can adjust the voltage level. So, if i am able to adjust it to
    13.8V and above, means i am able to charge my battery? and how about the...
  22. Replies
    7
    Views
    1,086

    Closed: Charge Lead acid battery with power supplies

    Hi all, i have a 12V lead acid battery. rating as follow:

    Boost/equalize: 14.5-15.0V
    Float: 13.5-13.8V
    Max. charging current: 0.69A

    I wondering can i charge the battery with a 12V switching...
  23. Replies
    8
    Views
    1,869

    Closed: Re: Question regarding mask() function

    I see. thank you very much for your explanation.
    Sorry, i have one more question. I just realize that in this code, the case statement dont have "break;"
    May I know why?
  24. Replies
    8
    Views
    1,869

    Closed: Re: Question regarding mask() function

    I see... So is that mean in the 7 segment LED program, the mask function serve as a compare and move value function?
    It compares the value of digit then move the value that set in each case out....
  25. Replies
    8
    Views
    1,869

    Closed: Question regarding mask() function

    Dear all,
    recently i encounter " mask()" function while i am doing PIC (Microchip 16F628A) programming with MikroC.

    I search the explanation online then i found this :


    In this case i am...
Results 1 to 25 of 166
Page 1 of 7 1 2 3 4