Search Results - Proton BASIC community web site


Search:

Type: Posts; User: evoortman

Search: Search took 0.01 seconds.

  1. Re: SHIN generates ASM ERROR with the 16F18877

    Thanks again Les for sorting this out!
  2. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    For the SHIN problem i started a new thread at:
    http://www.protonbasic.co.uk/showthread.php/78215-SHIN-generates-ASM-ERROR-with-the-16F18877
  3. SHIN generates ASM ERROR with the 16F18877

    Hi,

    On a PIC16F18877 the SHIN command generates an ASM ERROR:
    Could this also be related to renamed or moved SFRs in the newer controllers?

    I'm usig the most recent compiler version.
    Proton...
  4. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    The OREAD en OWRITE now work properly with the 16F18877. Thanks again LES.

    There also seems to be a problem with the SHIN command. It generates an ASM ERROR:
    (Perhaps necessary to have a look at...
  5. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    Thanks Les! (and everyone else for their active contribution)
    I will give it a try.
  6. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    If you simply click on the plots then the original size is shown.

    When i use the Serout command then the baudrate is correct so the controller should run at te correct speed.
    SerOut ONE_WIRE, 84,...
  7. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    I've made some screenshots of my logic analyzer: https://imgur.com/a/MJohgAo

    The first picture is from the 16F1939 and shows the expected communication when there is no device connected. A reset...
  8. Replies
    20
    Views
    47

    Re: Pic16f18877 oread

    There is already a blinking led in the code.
    The led is blinking at the same speed with both controllers.
    The output on the clockout pin is also 8MHz (clk/4) on both cotrollers.
    For now it seems...
  9. Replies
    20
    Views
    47

    Pic16f18877 oread

    Hi,

    On a PIC16F18877 the OREAD command doesn't seem to work.
    The code is working on a PIC16F1939. Both controllers use 32MHz int osc.
    If i compare te signals with a logic analyser then the...
  10. Replies
    1
    Views
    556

    double dimed vars

    Hello,

    After the last compiler update i found that the IDE does not detect double dimed variables anymore.
    Before when i did the following:
    DIM X AS BYTE
    DIM X AS BYTE
    there was a blue/red X...
  11. Thread: 16f1939 bnf

    by evoortman
    Replies
    2
    Views
    778

    Re: 16f1939 bnf

    Thanks. I knew there was a tool for it. But if someone has already made one, why do it twice?
  12. Thread: 16f1939 bnf

    by evoortman
    Replies
    2
    Views
    778

    16f1939 bnf

    Hi,

    Has anyone made a .bnf file for the 16f1939 and wants topost it?

    Thanks!
  13. Replies
    9
    Views
    2,286

    Re: DS2411 CRC claculation

    Hi Alberto,
    You need to change the code as mentioned in the thread.
  14. Replies
    9
    Views
    2,286

    Re: DS2411 CRC claculation

    Got it working!

    There are a lot of errors in the library:
    In the examplecode the include "OW-CRC_Lib.pbp" should be include "OW_CRC_Calcs.pbp"
    The illegal opcodes in the ASM file were generated...
  15. Replies
    9
    Views
    2,286

    Re: DS2411 CRC claculation

    If i use the OW-CRC command with the examplecode i get some ASM error messages:

    Code:
    Include "OW-CRC_Lib.pbp"

    Dim TestData[8] As Byte

    Dim CRCResult As Byte

    ' Load up Data array
  16. Replies
    9
    Views
    2,286

    DS2411 CRC claculation

    Hi,

    I have a project where i need to read the serial ID from a dallaskey/ i-button eg DS1990A, DS2401, DS2411.
    This is easy to do with the OREAD command.
    There are 8 bytes to read. The last byte...
  17. Replies
    3
    Views
    7,878

    Re: Abort SERIN command with timeout and wait

    Thanks for the replay joesaliba.
    The pullup resistor was not the problem, but i solved it.
    I'm transmitting a serial string for 25mS every 100mS.
    So i lowered the timeout time at the receiver to...
  18. Replies
    3
    Views
    7,878

    Abort SERIN command with timeout and wait

    Question: how can i break out of the SERIN routine if serial data is received but 1234 is not in the content of the serial data?
    The problem is, when there is some serial data detected it will not...
  19. Thread: 16f1507

    by evoortman
    Replies
    3
    Views
    3,449

    Re: 16f1507

    Hi,

    Turn off the WDT.
  20. Replies
    5
    Views
    2,234

    16F883.bnf file

    Is there an 16f883.bnf file already?
    SFR view doesn't have anything listed for the chip.
  21. Thread: 3v3 Icsp

    by evoortman
    Replies
    6
    Views
    2,002

    Any suggestions for the isolation (as i said...

    Any suggestions for the isolation (as i said before,a jumper is not an option)
  22. Thread: 3v3 Icsp

    by evoortman
    Replies
    6
    Views
    2,002

    Before reprogramming the pic i have to erase it,...

    Before reprogramming the pic i have to erase it, can i erase at 3v3 also?
  23. Why not use a RS232 to RS485 converter? Its the...

    Why not use a RS232 to RS485 converter?
    Its the same datastream but RS485 is a ballanced twisted pair bus.
    Range RS232 = 50FT, range RS485 = 4000FT
    You could use the SN75176B IC for this.
    This...
  24. Thread: 3v3 Icsp

    by evoortman
    Replies
    6
    Views
    2,002

    3v3 Icsp

    How can i program a 16F883 in a 3V3 circuit?
    As far as i know it programs only at 5V with a pickit2.
    The rest of the circuit is not 5V tolerant.
    A VCC jumper is not an option, maybe a schottky...
  25. Replies
    35
    Views
    6,672

    If you read the whole topic you can see that i'm...

    If you read the whole topic you can see that i'm using the 16F883.
    I know they do it by certain settings, my question from the beginning of this topic is what certain settings?

    I've tried a lot...
  26. Replies
    35
    Views
    6,672

    View Post

    From the datasheet:

    Low-Power Features:
    Standby Current:
    - 50 nA @ 2.0V, typical
    Operating Current:
    - 11μA @ 32 kHz, 2.0V, typical
    - 220μA @ 4 MHz, 2.0V, typical
    Watchdog Timer...
  27. Replies
    35
    Views
    6,672

    Have a look at figure 14-10. The oscillator...

    Have a look at figure 14-10.
    The oscillator driver is turned on by the interrupt in hardware.
  28. Replies
    35
    Views
    6,672

    Thats what i thought also. The datasheet tells me...

    Thats what i thought also. The datasheet tells me that the oscillatordriver is shut off in sleep. But when i have a look at figure 4-1, i'm not so sure anymore if this is also true for the internal...
  29. Replies
    35
    Views
    6,672

    Does this have anything to do with the...

    Does this have anything to do with the currentdraw?
  30. Replies
    35
    Views
    6,672

    Reduction from 430uA to 90uA by making all unused...

    Reduction from 430uA to 90uA by making all unused pins output.
    Removing 100k resistors does not make any difference becouse of the high Z inputs.
    16uA for the LFINTOSC mode is only when running. If...
  31. Replies
    35
    Views
    6,672

    My problem is not the 2uA in the regulator but...

    My problem is not the 2uA in the regulator but the 90uA in the PIC, so lets focus on that.
    The pic is running @ 3v3.
    There are two pushbuttons connected from VDD to portb.0 and portb.1
    These pins...
  32. Replies
    35
    Views
    6,672

    The regulator draws 2uA when nothing connected to...

    The regulator draws 2uA when nothing connected to the output but a cap.
    I have some inprovement with the currentdraw from the pic in sleep,
    it's 90uA and still to high.
    I'm reading the current...
  33. Replies
    35
    Views
    6,672

    Its the pic that draws the current not the...

    Its the pic that draws the current not the regulator.
    The low drop regulator alone only draws some nA. The pic does 430uA.

    There's an issue about the location in the program for the sleep...
  34. Replies
    35
    Views
    6,672

    Copy from 29 feb 2008: I don't think the...

    Copy from 29 feb 2008:

    I don't think the oscillator setting is relevant in sleep mode?.
    There is only an SPI EEPROM connected to the PIC.
    All inputs are pulled down with 100k resistors.
    The PIC...
  35. Replies
    35
    Views
    6,672

    Nobody knows how to get currentdraw in sleepmode...

    Nobody knows how to get currentdraw in sleepmode lower than 430uA ??:confused::confused:
  36. Replies
    35
    Views
    6,672

    I don't think the oscillator setting is relevant...

    I don't think the oscillator setting is relevant in sleep mode?.
    There is only an SPI EEPROM connected to the PIC.
    All inputs are pulled down with 100k resistors.
    The PIC wakes up on rising edge...
  37. Replies
    35
    Views
    6,672

    Current draw 16f883 sleep mode

    How can i minimize the currentdraw in sleepmode with a 16f883.
    I have disabled most of the peripherals. (see below)
    I use 8MHz internal OSC and disabled the watchdog.
    But in sleep the currentdraw...
  38. Replies
    64
    Views
    18,484

    [SOLVED !] Depends on the size of your dog :D:D...

    Depends on the size of your dog :D:D
    Accelerometer+gyro is not very easy and needs a powerful microcontroller.
  39. Replies
    64
    Views
    18,484

    [SOLVED !] The U-Blox-5 has a 50 gps channel receiver...

    The U-Blox-5 has a 50 gps channel receiver supports and supports WAAS (for US) and EGNOS (Europe).
    With this receiver you can get accuracy in cm levels!...
  40. Replies
    64
    Views
    18,484

    [SOLVED !] There are some very sensitive GPS receivers....

    There are some very sensitive GPS receivers. Search for SIRF III,
    or have a look at the next link:
    http://www.u-blox.com/technology/supersense.html
  41. Replies
    64
    Views
    18,484

    [SOLVED !] Why not attach a cheap GPS receiver to the...

    Why not attach a cheap GPS receiver to the animal?
    You can send the data with your 100mW XBee radios to a base station.
    A bluetooth GPS receiver is also a possibility.
    You can read LAT LON,...
  42. Replies
    6
    Views
    1,736

    Many thanks!!

    Many thanks!!
  43. Replies
    6
    Views
    1,736

    Corrupted 16F883 files

    Help, i made some changes in my 16F833 lbp and inf files.
    Now they are corrupted.
    Can someone attach them for me?

    Many thanks!!
  44. Replies
    2
    Views
    2,385

    Add new commands?

    Is it possible to add some new commands for:
    Canbus, Ethernet, Manchester coding, RS485 and some easy to use USB ?

    Something like the Mikrobasic compiler from MikroElektroniks...
  45. Thread: Pic 18f4550

    by evoortman
    Replies
    4
    Views
    1,853

    I don't know, they are simply not in the inc...

    I don't know, they are simply not in the inc folder.
    Do you have the .LBP file too?
    Thanks for the quick replay.
  46. Thread: Pic 18f4550

    by evoortman
    Replies
    4
    Views
    1,853

    Pic 18f4550

    Does anyone have the .LBP and .INF files for the PIC18F4550 and be so kind to attach them?
    Thanks in advance.
  47. Replies
    4
    Views
    3,582

    [SOLVED !] example file: RC5-RC6_Transceiver_V-1_UK.bas at...

    example file: RC5-RC6_Transceiver_V-1_UK.bas at the previous link
    delete the following lines:

    DEVICE 16F628A
    CONFIG HS_OSC, WDT_OFF, PWRTE_ON, BODEN_OFF, LVP_OFF, MCLRE_OFF
    XTAL 10...
  48. Replies
    4
    Views
    3,582

    [SOLVED !] some projects here: ...

    some projects here:

    http://www.picbasic.nl/indexes_uk.htm

    <TABLE cellSpacing=0 cellPadding=2 border=0><TBODY><TR><TD>http://www.picbasic.nl/images/bulletrondje.gif</TD><TD>Wireless controlled...
Results 1 to 48 of 48