Search:

Type: Posts; User: Jezsmith

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: New P-RTOS24 multitasking real time OS for Proton24

    johnb
    thanks not 100% sure what that means practicaly but its looks quick. I am working on the gps readings and printing to LCD in the system first, as a first step
    regrads
    jez
    .
  2. Re: New P-RTOS24 multitasking real time OS for Proton24

    Johnb,
    OK thanks may have a go and see how it goes. I will look at a the MPL3115 which does a lot of the work on chip and outputs a result every 250 - 500ms not sure how steady it will be.
    ...
  3. Re: New P-RTOS24 multitasking real time OS for Proton24

    Johnb,
    The sampling rate for the barametric sensor is 3ms but need multiple readings to average out the noise and get a smooth change, the GPS can be once per second not critical. I make the tones...
  4. Re: New P-RTOS24 multitasking real time OS for Proton24

    JohnB,
    Hi ,
    Interesting project which may solve a niggle I have had for a few years now. I have built a number of flight instruments which perform several tasks providing in flight information,...
  5. Replies
    14
    Views
    15

    Re: Anybody used SD Routines with P24?

    charlie
    Good O
    jez
  6. Replies
    14
    Views
    15

    Re: Anybody used SD Routines with P24?

    did you manage to get it working
    this is my gps code which may assist
    regards
    jez



    Device = 24FJ64GA002
    Declare Xtal = 16
  7. Replies
    0
    Views
    915

    PIC16f1825 and HPWM

    hi,
    When I compile I get an assembler error 113 symbol not previously defined (portb). the PIc chip does not have a portb. but in the assembler code it refs portb. this occurs when trying to use the...
  8. Replies
    1
    Views
    1,210

    Re: Averaging values from a non linear source

    Tim
    look up
    'Poiseuilles Equation' in physics and fluid dynamics it resolves the volumetric flow rate of a liquid based on pipe diameter, viscosity ,temp and pressure.Also look at Bernoulli...
  9. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    Charlie,
    Didnt spot that either but it appears staightforward to change the cdata to dim as code


    Dim arial8 As Code = 8,6,_
    $00,$60,$60,$00,$00,$00,_ '46 - . - 2E
    ...
  10. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    Simon,
    Busy this week so not done a lot on project, the variable font looks good, was my theory correct (in post 13) or did you find a better way? I think variable height would require a different...
  11. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    simon,
    looks good
    I have not used var width as I did not need them as first. You would need a new procedure to work with a var width table format.

    Looking at the format there is an index table...
  12. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    Simon,
    these are the inc file for some fonts i use in my project,

    'Arial24.inc"



    GoTo over_arial24
    '
    ' Font code memory table
  13. Replies
    6
    Views
    10,945

    Re: Finding my perfect PIC

    Simon,
    I think you can use program memory as EEPROM on a pic24 to emulate EEPROM in data memory. There are some code application on the microchip web site but are written in 'C' if it helps


    its...
  14. Replies
    5
    Views
    4,780

    Re: pic reset during program run

    resolved
    The RCON register bit 15 was set "Trap conflict" error, I do not profess to understand in the slightest what that meant, but it did seem to rule out all the other possibilities. Software...
  15. Replies
    5
    Views
    4,780

    Re: pic reset during program run

    thanks,
    No not yet as back to work this week I will try the sugestion on my day off
    cheers
  16. Thread: SPI Modes

    by Jezsmith
    Replies
    8
    Views
    6,756

    Re: SPI Modes

    teo,
    There are examples on the forum. If look on the wiki under AD there is a working example for this device

    regards
    jez
  17. Replies
    0
    Views
    909

    returning results from procedures

    Just an example from previous thread when I asked about returning multiple results from a procedure Les showed how to do it. This is a practical example of retuning two floats for the distance and...
  18. Replies
    5
    Views
    4,780

    pic reset during program run

    hi,

    I am moving a current project over to p24 which runs GPS parsing code saves gps tracks onto an sd card. If I run the code for the sd cardand comment out the extract gps bit, it works...
  19. Thread: SPI Modes

    by Jezsmith
    Replies
    8
    Views
    6,756

    Re: SPI Modes

    Teo
    Each SPI mode is formally defined with a pair of parameters called ‘clock polarity’ (CPOL) and ‘clock phase’ (CPHA). the SPI modes (0,1,2,3) set the points on the clock pulse data is sampled and...
  20. Replies
    8
    Views
    4,633

    Re: procedure to print

    john,
    I have this in a wiki format now but somehow have got it stuck in 'other' .If you could assist in publishing it, perhaps needs moving into the LCD area, I would be grateful

    anybody out...
  21. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    thanks Les,
    I will apply this and have a go at returning a some map co-ords

    regards
    jez
  22. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    Re: spi 128x64

    Many thanks john,
    regrads
    jez
  23. Thread: IFS0bits ?

    by Jezsmith
    Replies
    2
    Views
    1,984

    Re: IFS0bits ?

    simon,
    Not sure if this helps but here is the code that runs two interrupts at the same time one takes a pressure reading every second and the other changes the HPWM freq depending the rate of...
  24. Thread: spi 128x64

    by Jezsmith
    Replies
    30
    Views
    9,273

    spi 128x64

    Hi,
    Here is a bit of code for any ST7565 display using hardware SPI ,I have used 3 font sizes 8, 16 and 24 which is 1, 2, 3 lcd page heights. I have mostly used procedures to break it down into...
  25. Replies
    33
    Views
    15,125

    Re: Why so little interest in PIC24's ??

    Simon,
    Beats me, I have found them much easier to PCB design, and setting any pin to perform a hardware function is just plain brill. Procedures appear to work more the way my brain works,, also so...
  26. Replies
    8
    Views
    4,633

    Re: procedure to print

    john, no worries, I need big fonts so I need to do a bit more work, then I will put it on the wiki.
    cheers
    Jez
  27. Replies
    8
    Views
    4,633

    Re: procedure to print

    resolved

    convert24.inc

    PrintAt(2,10,WordToASCII(alti,10))

    cheers
    jez
  28. Replies
    8
    Views
    4,633

    procedure to print

    Hi,
    I have had some success converting my code to use HW_SPI on p24 and print on a dog128x28 lcd. However the print procedure i conjured up does not print numbers as I thought it would. I used a...
  29. Thread: compile P24

    by Jezsmith
    Replies
    1
    Views
    1,088

    Re: compile P24

    sorted I think, just kept pressing compile and it eventually give an error code of, cOUT_Fn_SCK1 not found

    PPS_Output(cOut_Pin_RP14, cOut_Fn_SCK1) Changed to PPS_Output(cOut_Pin_RP14,...
  30. Thread: compile P24

    by Jezsmith
    Replies
    1
    Views
    1,088

    compile P24

    hi,
    I am trying figure out how to use the hardware SPI for a dog 128x64 display, i came across this bit of code and spi.inc file. The below code does not compile if I have the PPS line in it, for...
  31. Thread: SD card P24

    by Jezsmith
    Replies
    1
    Views
    1,442

    SD card P24

    HI,
    I am trying to use the SD card procedures and I am getting a bit stuck. When I use below routine, it gets beyond the initialisation line, i.e. prints "SD Initialised" so I guess my wiring etc...
  32. Thread: HRSout

    by Jezsmith
    Replies
    2
    Views
    2,491

    Re: HRSout

    sorted,
    who would have guessed it, it was the ftdi chip, replaced it, and it works, sorry for any inconvenience
    regards
    jez
  33. Thread: HRSout

    by Jezsmith
    Replies
    2
    Views
    2,491

    HRSout

    hi,
    compiler 3.5.6.6,
    when using below, the output is a stream of nuls (hex 00)
    any ideas
    regards
    Jez



    HRSOut Demo
  34. Replies
    10
    Views
    5,739

    Re: interrupt pausing

    les,
    no Glcd is just in an include file
    regards
    jez
  35. Replies
    10
    Views
    5,739

    Re: interrupt pausing

    evening all,
    I have found the cause of the interrupt pausing but I do not understand why.

    I started from scratch and used three ways to create an interrupted beep using T1 and T3 interrupts. all...
Results 1 to 35 of 100
Page 1 of 3 1 2 3