Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,539

    Re: PICkit2 Starter pack demo

    Graham,

    I had the same problem and found the solution on this forum. Unfortunately I cant remember what the resolution was. I think it was something to do with the Path of some files and some of...
  2. Replies
    1
    Views
    2,729

    Re: EEPROM WRITE Command

    OK,
    now that I have MCS V5 and PBP 3 running together - No more problems with compiling
  3. Replies
    1
    Views
    2,729

    EEPROM WRITE Command

    Hi
    I am trying to read data from a Bosch BMP-085 Pressure sensor. There is a very detailed thread that has all the required code which is a HUGE help, so my sincere thanks to the original poster.
    ...
  4. Replies
    9
    Views
    7,821

    Re: EEprom and MCP9801 I2C communication problems

    Well,

    This project has developed a bit from the early start.

    The initial bit was a learning curve on communications. The project itself was to create a 3 phase sinewave to drive a reactive...
  5. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Ah Yes,

    A good solution, thanks. Using that method I could also now look at the second digit and if >= 5 round up to the next value.

    aajgss
  6. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Hi Dave,

    I think I understand where your heading with this.

    Where I can see a problem with what I am doing is I dont have a constant number of digits in the remainder. It could be 1,2,3 or 4...
  7. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Hit the end button before finished.

    Results

    DEC 1
    47.6 Knots 686
    46.8 Knots 9598
    46.7 Knots 8727
    46.2 Knots 9162
    47.6 Knots 686
  8. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Thanks Dave,

    I looked at both as you suggested. These are the results

    Number 40.8914

    DEC2 returns the value 1
    DEC4 RETURNS
    Number 50.143
  9. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Hi Dave,

    Code is attached. Thanks for looking


    Define LOADER_USED 1
    INCLUDE "MODEDEFS.BAS"
    DEFINE OSC 12
    DEFINE SHIFT_PAUSEUS 10 ...
  10. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    I now have everything working and calculating air speed

    I used "DEC1" to only print out to one decimal point.

    Running the program gave some strange results. On occasion the count would...
  11. Replies
    4
    Views
    4,038

    Re: LCD module info?

    I found the same searching for I2C - minimum search is 4 characters.

    aajgss
  12. Replies
    17
    Views
    12,857

    Re: PicBasic Pro code to drive MCP4291 DAC?

    Good stuff Mark_s

    I tried your code and got a slightly faster speed than before. The difference being I was doing 360 Degrees in 90 steps where yours is 360 degrees in 510 steps so you code has...
  13. Replies
    12
    Views
    9,016

    Re: Manometer project continued.

    Thanks Ioannis,

    I changed it to counts, Unfortunatly no difference, but at least if it was working I wouldn't have seen it anyway. Thanks for the tip.

    I also Added

    ANSELH.2 = 0

    This...
  14. Replies
    17
    Views
    12,857

    Re: PicBasic Pro code to drive MCP4291 DAC?

    Mark_s

    I'll be interested in how you go. I did try the MSSP and actually got slower. I know it was the code I had written, because its just logical it should be faster and was going to continue...
  15. Replies
    17
    Views
    12,857

    Re: PicBasic Pro code to drive MCP4291 DAC?

    Mark_s

    What speed are you looking for?
    Mine was running at about 9 Hz on an 18F14K50. By setting Config1 to $F100 I now get around 70hZ which is what I was after.

    aajgss
  16. Replies
    17
    Views
    12,857

    Re: PicBasic Pro code to drive MCP4291 DAC?

    This is what I have used to produce 3 sinewaves out of 3 MCP4921 DACs. Cant find an MCP4291


    include "modedefs.bas"
    ANSEL = %00000000 'Disable analog inputs Channels 0 to 7
    ANSELH =...
  17. Replies
    12
    Views
    9,016

    Manometer project continued.

    OK, I have the math to a point where it is calculating somewhere near the number I want.

    I have connected the hardware. A MPXV4006 pressure sensor which is connected to a MCP3201 ADC which in...
  18. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Thanks to all for you help to this stage.

    Now I'm off to create a new thread for the next bit. I have the hardware setup and producing data, just a bit of trouble reading it.

    aajgss
  19. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Hi Robert,

    I think the difference comes from the multiply by 100. This gives the result of for example 3 counts 17 and not 1.732.
    But as I said one decimal place is close enough for me.
    ...
  20. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Hi Acetronics,

    Here is some brief details of what I did and why I did it.
    ADC Counts ADC Volts mmH2O Knots

    1 0.0003 0.041 ...
  21. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Hi Acetronics,

    Here is some brief details of what I did and why I did it.

    ADC CountsADC VoltsmmH2OKnots10.00030.0411.5620.00060.0812.2130.00090.1222.71
  22. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Thanks Robert,

    I am using PBP V2.6 with a PicKit 2 programmer and a low pin count USB board and 18F14K50.

    I have had some success by enabling PBPL in MCS.

    The values I am after and the...
  23. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Sorry Acetronics, I did mean to address you, instead I put Archangel

    aajgss
  24. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Archangel

    Thanks for the info. I think that may be the way to go. A 12 or 14 bit ADC may give me enough resolution.

    Robert,
    You hit the nail on the head. Exactly what I was meaning.

    From...
  25. Replies
    22
    Views
    14,002

    Re: question for math wizards

    Hi Archangel

    Resolution I would like is to 1 decimal place. The project I am working on is an electronic manometer to check calibration of the Air Speed Indicator for gliders.
    The limits are...
Results 1 to 25 of 39
Page 1 of 2 1 2