Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,855

    16F690 power consumption in sleep

    Hello,
    I know, similar post was there already, but I didn't found the answer. I am developping battery powerred system. I know, that from microchip pdf documentation, there is possible to reach 3 uA...
  2. Replies
    4
    Views
    2,517

    Re: Anyone Here Do JAVA?

    hello, I am a java guy, working as java developper in a bank. Pic basic is just my hobby. Could you explain more, what do you need? I did several projects with pic basic and communication with PC and...
  3. Replies
    13
    Views
    8,806

    Re: Referral to ULPWU/PLVD code per AN879??

    Wow, super, it's working now. I didn't specified the

    DEFINE ADC_BITS 10
    ADCON0.7 = 1

    Thanks a lot, I really apreciated you quick answer and help!!!

    bob
  4. Replies
    13
    Views
    8,806

    Re: Referral to ULPWU/PLVD code per AN879??

    Hello, I have found this post, because I want to do the same. I have 16F690 battery powered system and I want to detect low battery caase. I have Implemented the code like described here, but it...
  5. Load partialy the code in the microcontroller - something like partial bootloader

    Hello,
    this is maybe question for someone who knows how PBP is working, but do think, that is could be possible to update the code via e.g. serial port? But I don't want to use the bootloader, I...
  6. Replies
    4
    Views
    3,404

    Re: DEBUG and 64 Mhz clock problem

    I have tried but it didn't help. This parameter is used for the pause between characters, if the receiving device is not able to manage the data. But it is not my problem. My problem is the fact,...
  7. Replies
    4
    Views
    3,404

    DEBUG and 64 Mhz clock problem

    Hello,
    does anyone tried to use serout command with 64 Mhz? I have PIC 18LF46K22 with 16 Mhz crystal osc and PLL x 4. So my internal freq. is 64 Mhz. The PIC has 2 hardware serial ports, they are...
  8. Replies
    6
    Views
    9,235

    Clock with timer interrupt0

    Hello,
    I have problem with the stability of my clock using 12F625. I have 4 mhz crystal with 2 x 22 pF.
    My assumption was, that instruction takes 1 microsecond. Timer0 has 8 byte = 256 microsecond....
  9. Replies
    9
    Views
    8,584

    RF transmission and FSK modules

    Hello,
    I bought simple RF FSK transceiver / receiver modules. I was thinking, that I can connect the data to the PIN of PIC and simply transfer the data using SERIN / SEROUT. But this was actually...
  10. Replies
    2
    Views
    3,850

    Hserin

    I think, that the question is, if the interrupt is called, when I am using long operations like e.g.
    HSERIN 100, retMail2, [wait ($0D, $0A, $0D, $0A), STR COMMAND\96\$0D]

    Becuase I have realized,...
  11. Replies
    2
    Views
    3,850

    TMR0 interrupt and HSERIN

    Hello,
    I have a question about the interrupts. I have a simple program which uses the TMR0 interrupt. Then I have a task which is using HSERIN / HSEROUT and this task is executed each minute. But...
  12. Replies
    13
    Views
    7,326

    Solved

    Hello, I have solved the problem. I have discoverred, that each 3rd character received doesn't correspond to the ASCII code. I have tried to change the speed of the communication and it is working....
  13. Replies
    13
    Views
    7,326

    Serial configuration

    Hello based on the documentation of 18F2520, I can see that for 4 Mhz clock and speed 19.200, I have the bit error only 0.16 - Page 207 of the PDF.

    My configuration is

    DEFINE HSER_RCSTA 90h...
  14. Replies
    13
    Views
    7,326

    Info

    Hello skimask,
    OK, here are the answers for your questions:
    1. I am using PIC 18F2520
    2. I am using hw serial at 19200 bps
    3. I am using PicBasic Pro 2.49
    4. I am using crystal resonator - 4Mhz...
  15. Replies
    13
    Views
    7,326

    Thanks

    Hello, Thanks, however, this doesnt answer and explain my problem. What you are doing is simply substracting ascii value 0 ( which should be $30 ) from the character e.g. 1 ( which should be $31 ) so...
  16. Thread: base64 encoding

    by boban
    Replies
    8
    Views
    5,752

    Sorry for the late response

    Cus, I am very soory for the too late delay, I have a lot personal stuff to do and didn't had time for the playing.I see, that you have spent a lot of time to do it, it is nice inspiration for me to...
  17. Replies
    13
    Views
    7,326

    HSERIN and STR - character encoding

    Hello, I have strange problem with the encoding of some ascii characters when I am using the STR command.
    For characters A-Z and a-z I have no problem, the codes are valid and are the same as ascii...
  18. Thread: base64 encoding

    by boban
    Replies
    8
    Views
    5,752

    base64 encoding

    Hello,
    has anyone the idea, how to do base64 encoding of the short string? I need it to encode the e-mail username and password...
  19. Replies
    11
    Views
    6,816

    xHH versus 0xHH

    Hello Darrel, thanks a this helped I didn't know, taht I could use the escape sequences like in C or Java :)
  20. Replies
    36
    Views
    67,514

    PCB low volume production

    Hello, I know, that this is out of the scope of this forum, but maybe someone could help me here:
    I will need to produce low volume of pcb boards (20 / 30) PCS, and I am looking for the cheap...
  21. Replies
    9
    Views
    9,527

    Ssr

    12$ it is quite expensive in comparison with relay, which cost 1 - 2 $.
  22. Replies
    11
    Views
    6,816

    16f916

    Hello, the external eeprom will complicate the design, and if you are writting effectively html you could store almost 10 K of HTML = 5 K words and remaining 3 k of code, I have managed to store what...
  23. Replies
    5
    Views
    3,700

    OPTION_REG = $d5 and ticks => 61

    Hello Skimask,
    thanks a lot for your help, I see.
    I am thinking that the easyest way to solve my problem is to use

    OPTION_REG = $d5

    disable
    intManagement:
    if (INTCON.2 == 1) then
    ...
  24. Replies
    5
    Views
    3,700

    RTC via TMR0 + HSERIN and 16F916

    Hello,
    I am designing the application which should wait for the serial data and based on this do something. Also I should have in the same chip the clock and each minute perform some tasks. So I...
  25. Replies
    11
    Views
    6,816

    Moved to 16F916 and it's working

    Hello, Thanks Darrel and Skimask, I had in my pocket one 16F916 where this trick to store two chars to one pgm word is working well. I was able to rapidly decrease my code space. 1.5K instead of 4K....
Results 1 to 25 of 39
Page 1 of 2 1 2