Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    4
    Views
    183

    Re: Me again :) -- latest PBP?

    The different versions supports a different amount of devices, you mentioned the 16F1847 which is only supported in the Gold-version so that's what you need.

    In MCS, make sure you have the...
  2. Replies
    12
    Views
    372

    Re: Snap programmer

    The executable is ipecmd.exe.
    Are you saying you don't have that even though you have the full blown IPE tool installed and working?

    /Henrik.
  3. Replies
    4
    Views
    183

    Re: Me again :) -- latest PBP?

    As a matter of fact Charles posted a preliminary v3.1.3 just a few days ago so it's not abandoned but I personally wouldn't expect any earth moving updates.


    It's on the supported device list...
  4. Replies
    12
    Views
    372

    Re: Snap programmer

    Hi,
    Like I said, I don't have a Snap but if I'd venture a guess something along the lines of:


    -TPSNAP -P$target-device$ -F$hex-filename$ -E -M -OL
    Programmer exectuable is ipecmd.exe

    In...
  5. Replies
    12
    Views
    372

    Re: Snap programmer

    CLI is Command Line Interface, how you would "drive" the programmers software from the command line.
  6. Replies
    12
    Views
    372

    Re: Snap programmer

    No reason, but IPE comes as part of the MPLAB X download/installation - I don't think you CAN download IPE by itself...


    Yes, and I'd bet that under the hood the IPE application calls upon that...
  7. Replies
    12
    Views
    372

    Re: Snap programmer

    I don't have a Snap-programmer so I don't have any personal experience but I would try to update MPLAB X IPE since 5.0 is fairly old. Current version is 5.30 and the release notes mentions some...
  8. Replies
    3
    Views
    157

    Re: 40466 LCD help

    As far as I can see from a simple Google search it's compatible with the HD44780 controller so it should work fine with LCDOUT. But, since it's 4 lines by 40 characters it uses TWO controllers so it...
  9. Replies
    5
    Views
    215

    Re: 16F88 -- weird stuff Ansel?

    Hi,
    ANSEL = 0 for sure.
    CMCON = 7 why not, but it's the default POR value so really shouldn't be needed (as long as the datasheet isn't lying to us).
    ADCON1 = 7 don't know how you came up with...
  10. Replies
    17
    Views
    574

    Re: jumping out of a gosub reminder

    There's no real problem to use GOTO (or nested GOSUBs for that matter) from a subroutine to which you've jumped with GOSUB as long as you eventually end up at a "matching" RETURN but you CAN NOT...
  11. Replies
    8
    Views
    255

    Re: Trying to measure TACH pulses.

    Trivial yes, but trivial stuff can bite you plenty hard and since no setup code what so ever was posted and "Turn off analog functions" is the solution to 20%* of the questions posted here I thought...
  12. Replies
    8
    Views
    255

    Re: Trying to measure TACH pulses.

    What about the good old analog stuff?


    ANSELB.0 = 0 ' Enable digital input circuitry to work properly on PortB,0
  13. Replies
    14
    Views
    1,143

    Re: Better code check before compile?

    I don't write compilers and/or preprocessors but from my limited point of view I can't really see how a check like that would work in the case of PBP. How would the compiler or preprocessor be able...
  14. Replies
    5
    Views
    915

    Re: PID Filter Coefficient

    Like I said, I think I just tacked it to the output without really knowing if it would help or make things worse. My main application for the PID routine is motor control and it's been over a decade...
  15. Replies
    5
    Views
    915

    Re: PID Filter Coefficient

    Take a look at Tracy Allens pages on math (and other stuff) routines for the BasicStamp, specifically this page when digital filtering is covered. I've adopted one of the routines for PBP. I believe,...
  16. Replies
    5
    Views
    915

    Re: PID Filter Coefficient

    Hi,
    If I read the documentation correctly the N-parameter serves as a low pass filter for the derivative term. My routine does not have that option.
    I have ZERO experience with Simulink but looking...
  17. Replies
    2
    Views
    421

    Re: PIC16F18855 and DT elapsed timer

    Several versions of ELAPSED_INT seems to exist. One that predates the existance of DT-Ints and one which is supposed to work WITH DT-Ints. For the one that's using DT-Ints it looks like you also need...
  18. Replies
    131
    Views
    61,076

    Re: PID-filter routine (2nd try).

    Mark,

    It provides some filtering to the input of the integrator and slows down its response some. The integrator does run on every call but the output of it is only added to the total output every...
  19. Replies
    131
    Views
    61,076

    Re: PID-filter routine (2nd try).

    I think it's the integral clamp that's the root cause.
    When the actual value is getting closer to the target, the output from the proportional term gets smaller and the integral term needs to "build...
  20. Replies
    131
    Views
    61,076

    Re: PID-filter routine (2nd try).

    You have quite high integral gain I'm surprised the system doesn't become unstable with that.
    I'd try setting Ki and Kd to 0, then increase Kp until you're starting to get oscillation then back Kp...
  21. Thread: Goodbye

    by HenrikOlsson
    Replies
    53
    Views
    6,259

    Re: Goodbye

    Yes, of course. I didn't mean it could be any 8-bit ATMEL just that the original Arduino is based on an 8-bit ATMEL processor. Obviously you need to use a microcontroller for which support exists in...
  22. Thread: Goodbye

    by HenrikOlsson
    Replies
    53
    Views
    6,259

    Re: Goodbye

    The Arduino hardware is simply a microcontroller (an 8-bit Atmel job in its original form) with a bootloader mounted on a somewhat standardized form factor PCB with headers. There are many different...
  23. Re: Using byte variable for storing two different values

    The decimal value 99 requires 7 bits so most you can save by packing values is 1 bit per value with the added overhead and complexity of unpacking them.

    If these values are to be in RAM (which I...
  24. Replies
    68
    Views
    5,751

    Re: GPS Project: PIC18F26K22 or PIC18F46K22

    Yes, you can have different baudrate(s) on different UARTs and yes you can change it at any time you want. But, as the posts in the other thread says, to change it you can't use PBPs DEFINE HSER_BAUD...
  25. Replies
    13
    Views
    1,546

    Re: EEPROM Issue

    Do you have (or can you add) a debug port (EUSART, SEROUT, DEBUG)?
    If so, then print the value of your variable out before calling the write routine, before executing the write command, after...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4