Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    183
    Views
    16,348

    Re: PIC USB HID breakout board

    Davy,
    No, I was referring to the hardware EUSART within the 12F1840 instead of software serial comms like serin/out or serin/out2. Providing you're communicating in TTL levels, you shouldn't need...
  2. Replies
    183
    Views
    16,348

    Re: PIC USB HID breakout board

    I like the 12F1840, but my experience with it is that if I need to do serial comms (which is nearly always), I'm constrained to use the hardware UART as I haven't had much success with the software...
  3. Replies
    4
    Views
    679

    Re: 16F887 hersout doesn't work

    Yeah, that one got me a beauty recently. Over the years I've probably programmed maybe a dozen different flavours of PIC and every single one of them had a config switch to disable the MCLR and I...
  4. Replies
    4
    Views
    679

    Re: 16F887 hersout doesn't work

    I guess the 1st thing to look at is the hardware setup.

    Is there voltage being applied to the correct rails and is that voltage correct.
    Is your serial cable plugged into the correct pin
    Have...
  5. Replies
    15
    Views
    939

    Re: Revisiting Timers & Time Stamps

    I said "using the same code as I originally used:"

    I should note that for this latest test I also ran the register access in 16bit mode as per Tumbleweed's suggestion.
  6. Replies
    15
    Views
    939

    Re: Revisiting Timers & Time Stamps

    pedja089,,
    so I just ran a test comparison between Pause & Pauseus and upped the resolution by reducing the Reference Oscillator Divisor from 32768 to 8 (500KHz @4Mhz system clock) using the same...
  7. Replies
    15
    Views
    939

    Re: Revisiting Timers & Time Stamps

    Thanks tumbleweed
  8. Replies
    15
    Views
    939

    Re: Revisiting Timers & Time Stamps

    pedja089,
    thanks that clears that up. So far, I haven't measured the timing externally (yet), but what you suggest makes sense.

    re: 16 bit timer access: so, am I correct in saying that 16 bit...
  9. Replies
    15
    Views
    939

    Re: Revisiting Timers & Time Stamps

    pedja089 & Mike,
    yes there was no difference with what Mike suggested (still 7942 counts), but what exactly are you suggesting I check with an oscilloscope, or with freq meter? The duration of the...
  10. Replies
    15
    Views
    939

    Revisiting Timers & Time Stamps

    Richard and other wise masters of PIC processors,
    I have an application where I want to record elapsed time stamps (of any units whatsoever) that accompany sensor data packets and the requirement...
  11. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Richard - 1 more: your code's configuration disables the WDT with the comment that it's been disabled for testing. Can you see any problem with me reactivating it for use with that code?

    thanks,
    ...
  12. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Thanks again Richard!
  13. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Richard,
    Curiosity question: so I've essentially replaced the 500ms delay in the loop with a hserin complete with waitstr to basically only report the temperature reading on command.
    What I'm...
  14. Replies
    3
    Views
    368

    Re: Annoying MicroCode Studio quirk/issue

    Ah, that would explain it - thanks Mike.

    yeah, my solution didn't turn out to be a useful solution in the end anyway as MCS doesn't remember the command line parameters for that chip either...
  15. Replies
    3
    Views
    368

    Re: Annoying MicroCode Studio quirk/issue

    Solved. If I manually put a processor compiler directive in the command line edit box, it overrides what's in the dropdown selection, so that's good enough for me :)

    Troy
  16. Replies
    3
    Views
    368

    Annoying MicroCode Studio quirk/issue

    I'm using Microcode Studio ver 5.0.0.5 and I'm a bit miffed at a very minor, yet annoying issue.

    I have a bunch of program tabs open at the top; 2 of which let's call "Program A" and "Program...
  17. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Duh, yup, that was it [slapping forehead].

    Cheers,

    Troy
  18. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Back... [and total exhausted]

    Thanks sooo sooo much Richard and Dave (particularly Richard). I just ran Richard's code and as expected I got complete and utter nonsense - I have no luck in...
  19. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Thanks again Richard,
    About to head away for the weekend and intend to have a reasonable crack at this when I get back. I plugged your code into a 12F1840 and received the following output (I've...
  20. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Richard,
    in terms of processors or algorithms or code? I have about 10 or so different flavours of 8 bit PICs sitting here (preference would be the smaller packaged varieties). Code: I was...
  21. Replies
    22
    Views
    1,455

    Re: Newbie Manchester Coding question

    Apologies, I was beginning to think nobody was responding so it's been couple of days since I've checked.

    They're old temperature sensors I picked up cheap and I was hoping to utilise for a...
  22. Replies
    22
    Views
    1,455

    Newbie Manchester Coding question

    So, I have a temperature sensor that reports in Manchester code. I need to decode it. Looking through the various examples on here leaves me confused about how to tackle this. Most of the code...
  23. Replies
    2
    Views
    555

    Re: Question Regarding A>D Conversion

    Thanks again Richard.

    Cheers,

    Troy
  24. Replies
    2
    Views
    555

    Question Regarding A>D Conversion

    When configuring an A>D conversion, we all know that configuring it to process too quickly can provide erroneous results, but if you go the other way and say configure max A/D Acquisition time select...
  25. Replies
    9
    Views
    2,119

    Re: PIC12F1840 & serout2

    So, it's probably worth adding as a reference for anyone looking at using this particular processor (12F1840) with PBP that you can't send serial comms in any software mode - debug, serout or...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4