Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Anyone looking to make some side money? I don't have the time.

    I need a few prototype circuits , complete with code built. using a pic18f14k50. this circuit needs to take a 0-5v exponential mass flow input from one sensor, take a temp input from another, correct...
  2. Replies
    0
    Views
    1,740

    Problem with simple pic math

    Here is my code. I must be doing something wrong becaue I keep getting strange values for the result. I get a 10bit ADC result, convert that result to a flow value with a lookup table with...
  3. Re: HPWM and variable 10-12khz outputs with a 48mhz osc possible?

    I believe the hpwm max on any pic is 32,000 hz?
  4. Re: HPWM and variable 10-12khz outputs with a 48mhz osc possible?

    I could but when I used my circuit for applications needing the 2 to 12khz scale I would run into the 16000hz celing of the hpwm command. Space on my circuit is very limited so I would like to find...
  5. HPWM and variable 10-12khz outputs with a 48mhz osc possible?

    Is this possible? I'm taking a changing 0-5v input signal and converting it to either a 10 to 3000hz variable or a 2 to 12khz variable output with a lookup table. I believe I need to use HPWM because...
  6. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    Any ideas?
  7. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    Ok, I finally have it somewhat working. I can now read my variables, I can read what's programmed into the eeprom. The only problem is when I send values to my eeprom in my write loop it only...
  8. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    I think this is what you intended for me to do.. I'm not sure how to advance the array location in the loop. You will see my comment in the code. Thank you again for the help!

    usbservice...
  9. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    I can send and receive data to the mcu. I'm using the usbout command for debugging right now. It sends 3 16 bi twords in one buffer to hyperterminal right now. I just can't figure out how to send a...
  10. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    Sorry for not using "code"


    ' program for pic18f14k50
    Include "cdc_desc.bas" ' Include the HID descriptors
    Define OSC 48
    Define ADC_BITS 10
    Define ADC_clock 6
    Define ...
  11. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    Cleaned up the code and the comments a little..
  12. Replies
    13
    Views
    14,016

    Re: EEPROM write with USB

    I apologize.. some of my code comments need updating.
  13. Replies
    13
    Views
    14,016

    EEPROM write with USB

    I'm trying to figure out how to do a complete 256 byte eeprom write and dump with usb. any help would be appreciated..

    here is the code I found for doing it with serial..


    Here is my code so...
  14. Replies
    3
    Views
    3,352

    Re: Help with two lookup tables?

    So it's used like this?

    Define osc 20 'use 20 Mhz clock
    Define adc_bits 10
    Define ADC_CLOCK 3
    Define ADC_SAMPLEUS 24
    EEPROM [216, 0, 217, 0, 219, 0, 223, 0, 229, 0, 237, 0, 246, 0, 0, 1, 12,...
  15. Replies
    3
    Views
    3,352

    Help with two lookup tables?

    I'm at a loss. I have figured out how to make a lookup table with eeprom, but i need to impliment a table with the program memory and can't quite figure out how to do this. Any help would be greatly...
  16. Replies
    7
    Views
    5,300

    Re: A to D to A help

    So like this for my table..



    WRITECODE 16384 , 1011
    WRITECODE 16385 , 2014
    WRITECODE 16386 , 3014
    WRITECODE 16386 , 4050
  17. Replies
    7
    Views
    5,300

    Re: A to D to A help

    Thank you!
  18. Replies
    7
    Views
    5,300

    Re: A to D to A help

    well the first one is how do I store a table into the flash memory instead of the EEPROM
  19. Replies
    7
    Views
    5,300

    A to D to A help

    Im new at this so please be gentle. I'm using a pic185252 and a ltc1661 d to a.

    The circuit needs to take a voltage reading from a flow sensor sample that

    voltage by a set number of samples...
Results 1 to 19 of 19