Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,348

    Re: Pulse Input > Array > Output help

    thanks for the replies and code richard ;)

    After i saw your first reply, i messed around a little and came up with this



    DEFINE OSC 4
    OSCCON = %01101010 ' Oscillator internal 4 mhz PLL...
  2. Replies
    3
    Views
    3,348

    Pulse Input > Array > Output help

    Hi All

    Im just playing around with some code that im trying to use to look at incoming pulses, write them to an array and then output them with a specific delay (ie an offset in the array)
    ...
  3. Replies
    1
    Views
    3,431

    Setting RTC by Serial input

    Hi all,
    Heres a code example that i have used to set an RTC by a serial input, its probably not the most efficient code, but it works and could help some of you out
    It converts the Decimal input...
  4. Replies
    31
    Views
    15,878

    Re: 16LF1824 strange problem

    ive seen similar issues when reading ADC's and not managed to figure it out
  5. Replies
    22
    Views
    35,496

    Re: Wired remote for Pioneer HU

    the reason the original design doesnt work is due to parallel resistors not giving the required voltage at the stereo plug (due to voltage divider effects), by using opto's you are supplying discreet...
  6. Replies
    772
    Views
    591,567

    Re: Instant Interrupts - Revisited

    Hi Darryl,

    Currently getting an error with Latest MPLAB IDE:
    MPLAB 8.90.00.00

    PIC is an 18F45K22 and DT_INTS-18 is latest from your website, both MPLAM and DT_INTS were...
  7. Replies
    3
    Views
    2,565

    Re: EEPROM and Strings

    well im currently reading them into a byte array and storing each digit as a byte, so i can pad the blank digits with spaces (FF).
    just need to figure out how to strip the FF's from the digits when...
  8. Replies
    3
    Views
    2,565

    EEPROM and Strings

    Hi all

    Im just after a few opinions, im working on a small project that will send SMS via a GSM modem

    I would like to store destination 4 phone numbers on the pic EEPROM and would like some...
  9. Replies
    6
    Views
    4,601

    suzuki v6, and i want to decode a crank trigger...

    suzuki v6, and i want to decode a crank trigger to run an aftermarket tacho.
    it probably will never see 8500rpm, but i want to ensure the pic is stable at least to 7000rpm
  10. Replies
    6
    Views
    4,601

    alain - yeah i found that out when i tested with...

    alain - yeah i found that out when i tested with the scope - i just doubled the numbers in the case statements and it worked fine. As the max speed is around 8500rpm, testing it seemed fine on the...
  11. Replies
    6
    Views
    4,601

    Pic Speed / Instruction Speed etc

    Hi all,

    I've got some code im testing, basically to decode a trigger wheel, and output 3 pulses per rotation of the wheel which has 35 teeth.





    CMCON = 7 ' set portA to digital...
  12. Replies
    78
    Views
    48,790

    Also, just testing on 16F887, at 4mhz, @...

    Also, just testing on 16F887, at 4mhz,

    @ HPWM10 1,_OUTDUTY,300 results in a PWM frequency of 10khz according to my o'scope ???
    I see the duty cycle changing, but the freq is around 9-10khz?
  13. Replies
    78
    Views
    48,790

    Darrel, Whats required to have 'glitch free'...

    Darrel,

    Whats required to have 'glitch free' operation but with 8 bit PWM, can the include file be easily modified for 8 bit, or should i just multiply my desired 8 bit dutycycle by 4?
  14. Melanie, Seems your code works spot on :) ...

    Melanie,

    Seems your code works spot on :)

    Thankyou ;)
  15. ADCIN > HPWM but with min/max limits - i failed maths

    Im just working on a small project, but my maths skills are not 100% so I'll ask here and see what you guys reckon:

    I have an ADC input, that receives an 0-5v level based on a potentiometer, but...
  16. yep, your correct darrel.... probably something...

    yep, your correct darrel....
    probably something i should have picked up on a lot earlier, but we all have our off days...

    thanks for the help mate!
  17. Code Issue - select case or 'if' issue - not sure why

    Hi all,

    Im messing around with some code off a project below:

    The problem im having is either in this code (just below all the rpm calcs):



    if rpm > 6600 then 'exceeding redline > light...
  18. Replies
    6
    Views
    3,679

    Thanks - thats what i was looking for - the...

    Thanks - thats what i was looking for - the 16F877A
  19. Replies
    6
    Views
    3,679

    Yeah, ive looked at some datasheets and the ones...

    Yeah, ive looked at some datasheets and the ones i've looked at show both pwm's using the same timer.

    Has anyone got any idea on what pics may have dual hardware pwm that would suit ?
    It needs to...
  20. Replies
    6
    Views
    3,679

    Two independant HPWM possible?

    Is there a way to have 2x HWPWM outputs from one PIC, that will run at the same frequency but at a different duty cycle?
  21. Replies
    21
    Views
    9,594

    My supply circuits are generally as shown in the...

    My supply circuits are generally as shown in the dodgey mspaint attachment.

    This only powers the pic, any other devices ie relays etc are powered from the source or seperate regulators. I use this...
  22. Replies
    21
    Views
    9,594

    I have always used bd681 with a 1k on the base,...

    I have always used bd681 with a 1k on the base, supports upto 3 or 4 amps with a heatsink.
    Emitter to ground and load between + and collector. if driving a relay, then put a 1n4004 across the...
  23. Incoming Pulse Monitoring code - comments and suggestions welcome

    Hi,

    I've been working on a project that looks at an incoming pulse which is a 50% duty cycle and varying between 0 to 400hz.

    This project is using the instant interrupts routines to do all its...
  24. Replies
    5
    Views
    6,096

    I was looking at PWM, but dont beleive it will go...

    I was looking at PWM, but dont beleive it will go as low as 16hz?
  25. Replies
    5
    Views
    6,096

    PULSIN is not my issue, i need help with the...

    PULSIN is not my issue, i need help with the output
Results 1 to 25 of 44
Page 1 of 2 1 2