Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Current sensor output modification. PIC or opamp or something else?

    Thanks for that.

    Alain. When you say 'If conversion' do you mean using a PIC?
    I didn't think that would be quick enough

    Or some sort of analog circuit like the TL431
  2. Current sensor output modification. PIC or opamp or something else?

    I have a hall effect current sensor with a 0-5V output. Zero current flow is 2.5V out.
    It is monitoring a 20khz motor drive signal.

    I want to pass thru signals from 0-2.5V unmolested but want to...
  3. Re: How is this data being formed from the values given?

    Thanks I think I have it now..
  4. Re: How is this data being formed from the values given?

    Sorry I'm still a bit stuck.

    Looking at this again lets assume my voltage data is being encoded into a 3 digit hex humber. (12 bits)? or is it a raw 10 bit non justified ADC result I am seeing? ...
  5. Re: How is this data being formed from the values given?

    Thanks again for the ideas. Alain what makes yours special/sneaky?

    I note that in my original table the 3rd character of the hex words 100V = $2C30 (3) in this case is never a letter...
  6. Re: How is this data being formed from the values given?

    Thanks for that very interesting..
  7. Re: How is this data being formed from the values given?

    It looks like the voltage is in the high byte and the high nibble of the low (second) byte.

    The lower nibble of the low (second) byte is probably flags.

    So simplifying my formula slightly and...
  8. How is this data being formed from the values given?

    I have a device that accepts volts and squirts out two bytes of data shown below which represent the volts. I sent some accurate volt tests into it and got the following.

    How are they getting...
  9. Replies
    2
    Views
    570

    Re: Bytes roll over sanity check

    I agree, but sometimes you get a concerned worm in your head that needs confirmation from another human.

    Thanks
  10. Replies
    2
    Views
    570

    Bytes roll over sanity check

    Sanity checking..

    Just checking that PbPro bytes and words roll over if incremented etc beyond 255/65535?

    And that a 256 element byte array indexed with a byte variable will just roll over...
  11. Re: Dual 18F Program Ideas and strategy SPI and CAN.

    Yes automotive.

    I have already developed several popular devices to control Honda Hybrid vehicle systems or modify OEM behaviour.

    The desire to modify cars has not really changed.
    But instead...
  12. Re: Dual 18F Program Ideas and strategy SPI and CAN.

    I made a small standalone test board using 2 x 64mhz 18F26K80 pics and that works well with the SPI bus running at 4mhz.

    I'll post the final pbp code when finished..
  13. Re: Dual 18F Program Ideas and strategy SPI and CAN.

    The 500kbps CAN bus is not fully loaded so I think I might have cracked it for now.

    I added a control line from the Slave to the Master to basically say 'Hold on Boss i'm not ready'.

    This also...
  14. Dual 18F Program Ideas and strategy SPI and CAN.

    I'm building a MITM 'Man in the Middle' CAN - CAN device to manipulate some CAN 500kbps data.

    I'm happy working with pic CAN rxd and txd and am using 2 x pic18F2680 32mhz joined with hardware...
  15. Replies
    2
    Views
    818

    Re: 18f2680 can config

    No one working with CAN?
  16. Replies
    2
    Views
    818

    18f2680 can config

    Hi I could do with a bit of help on optimum PIC18F2680 CAN timing settings.
    It is correctly terminated with 120R resistors at both ends.

    I'm confused by quanta etc.

    The PIC data sheet is...
  17. Replies
    10
    Views
    1,550

    Re: 12F683 _CONFIG problem

    I've never seen it done like that before and I also use DT stuff and 16f83...
  18. Replies
    10
    Views
    1,550

    Re: 12F683 _CONFIG problem

    Why are you putting the pic config stuff in the assembler code sections?

    Here is one of my 12F683 configs..

    It should be right at the start of the program.



    #config
    __config _FCMEN_ON...
  19. Re: ADC keyboard and fast response to user input, possible?

    Could you post your clock schematic and code please? Maybe in a new thread..
  20. Replies
    45
    Views
    12,903

    Re: Conway's Game Of Life

    I now have some text capability on my 16x16 Led 12F1840 'Life' setup.

    Ok it's static boring at the moment 5 byte x 8 bit font, but I also need to work out scrolling etc.

    Useful for menus and...
  21. Replies
    45
    Views
    12,903

    Re: Conway's Game Of Life

    Very nice Richard. What LED's are those?

    Did my thread resurrection encourage you.. LOL

    Can we have a look at your 2048 led code? In particular the word seeds....

    Thanks and very cool.
  22. Replies
    45
    Views
    12,903

    256 Led Matrix running on 12F1840 Pic.

    As video.

    Colour 'Life' on tiny 12F1840.

    https://youtu.be/M-yf_b0J-nM
  23. Replies
    45
    Views
    12,903

    Re: Conway's Game Of Life

    Could I have a look at your Life CRC16 code please Richard?
  24. Replies
    45
    Views
    12,903

    Re: Conway's Game Of Life

    Thanks Henrick..

    If the array transform only takes call it ~5ms per generation then at 15hz it's using 75ms in a second.
    Roughly equivalent to one extra generation per second. Getting close to...
  25. Replies
    45
    Views
    12,903

    Re: Conway's Game Of Life

    Currently i'm using three things.

    1) A simple maximum number of generations reset limit (500). That catches everything.

    2) A simple live cell counter. If it's zero then it resets.

    3) A...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4