Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Forum Adverts

    by mark_s
    Replies
    39
    Views
    32,027

    Re: Forum Adverts

    I use "Adblock Plus" and don't get any pop ups. Doesn't seem to affect browsing speed and is free.

    https://adblockplus.org/
  2. Replies
    9
    Views
    10,664

    Re: LCD with T6963C controller

    The pixels are smaller than on a charactor display.

    In the text mode you can get 8 lines by 30 charactors with a 240x64 display.

    Do you have a datasheet for the displays you are getting?
    ...
  3. Replies
    9
    Views
    10,664

    Re: LCD with T6963C controller

    The built in fonts are 6x8 or 8x8 pixels. So they are very small. Most users want different size fonts. The compsys1 pbp code works
    ...
  4. Re: Adding and reading byte variable from the bit array?

    Have you tried something like this?




    Myword2.5 = Mybyte1.2 'move bit 2 of Mybyte1 to bit 5 Myword2
    Myword2.6 = Mybyte1.3
    Myword2.7 = Mybyte1.4
    Myword2.8 = Mybyte1.5
  5. Re: Simplest way to write to USB stick or TF/SD card with PBP?

    I didn't know these existed. I found this document which shows that it can be interfaced in 8bit parallel, SPI or UART. Which means you can probably use a pic16 for a simple data logger. A may order...
  6. Replies
    3
    Views
    575

    Re: Simple TTL input pin coding.

    This should make it work

    TRISA.5 = 1 'make porta.5 input

    ANSELA.5 = 0' make porta.5 digital

    LED VAR LATC.3 ' Use lat for output and port for input

    It's really important to search and...
  7. Replies
    7
    Views
    849

    Re: Matrix keyboard with State Machine

    See the code examples from Les Johnson in second post. I had this book many years ago, now out of print. You can find pdf's copies on google

    http://www.picbasic.co.uk/forum/showthread.php?t=21115
  8. Re: 12F683 EXTERNAL CRYSTAL CONFIG for DTMFOUT statement

    At the top Define 16mhz or 20mhz

    OSCCON = 0

    In the config replace

    _INTOSC or _INTRC_OSC_NOCLKOUT with _HS_OSC
  9. Replies
    13
    Views
    19,947

    Re: MP3 DFPlayer Mini and PIC MCU

    See the PDF file in the first post of this thread. It looks like the same module as you have. As far as folders for mp3, I have no knowledge. Maybe you can can use 0?
  10. Replies
    13
    Views
    19,947

    Re: MP3 DFPlayer Mini and PIC MCU

    Looking at the data sheet page 6, in post #1.

    Play a track 7E FF 06 14 00 10 FF FD D8 EF , without checksum 7E FF 06 14 00 10 FF EF 10 FF = folder 1 track 255, The upper nibble "1" specifies...
  11. Replies
    4
    Views
    1,179

    Re: Advice on melabs programmer

    Is your pic16f819 the 18 or 20 pin version? Check the data sheet. The programming pins are not in the same location. Your mclr, PGC and PGD need to line up in the ziff socket. If you are doing in...
  12. Replies
    4
    Views
    1,179

    Re: Advice on melabs programmer

    Hi

    I programmed 16f819's and 818's in the past with my u2 without problem. Many times these kind of errors are from having a bad connection between the programmer and pic. Or having the PGD and...
  13. Replies
    29
    Views
    40,299

    Re: 12F683 2 x PWM Outputs

    Just like DT's interrupt routines, you some times need to comment out a few lines in the include file

    Look inside "SSPWM.inc"




    ' --- IF any of these three lines cause an error ?? Simply...
  14. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    Your frame looks great.

    What are your rollers made of PVC pipe?
  15. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    Henrik, I always wanted to try using the CCP module for this purpose, but not sure how to keep track of the number of pulses. Maybe feed the pwm output into a timer to keep count?

    Mark
  16. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    You are making a lot of progress. Increase the current setting, just monitor the motor for excessive heat while experimenting. 12 volts is on the low side for what you are doing. For small projects I...
  17. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    I am interested in following your project. It's nice to see a real application being developed.

    Thanks for posting
  18. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    It's depends on your power supply voltage and what you are driving with the motor. I would start at half of the rated current and see how it works. Yes the NEMA number is the mounting size. What are...
  19. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    David, at 200 steps per revelolution the motor will run rough. Once you get it running change the dip switches on the driver to 1/8th step or 1600 pulses/rev. It will run much smoother.

    Mark
  20. Replies
    33
    Views
    37,001

    Re: PWM/HPWM Stepper Motor Controller

    This is a simple way to generate step pulses



    Count = 1

    While count < 2000 ' Send 2000 pulses rotate motor 10 times

    Latx = 1 'Output 10us pulse to stepper drive
    pauseus 10
  21. Replies
    29
    Views
    27,705

    Re: Nextion LCDs... How to comunicate ???

    Hi Mike,

    Just received the latest Nuts & Volts with your Nextion article, good work. Wish I had this two years ago!

    If you like writing articles, B4A is now free and programs much like the...
  22. Thread: FN-M16P wow's

    by mark_s
    Replies
    5
    Views
    25,769

    Re: FN-M16P wow's

    Hi Ioannis

    Not sure how to report it? You are an active poster on this forum. Click on your name and then view forum posts. You have no post from November 2018 to the middle of November 2019. So...
  23. Thread: FN-M16P wow's

    by mark_s
    Replies
    5
    Views
    25,769

    Re: FN-M16P wow's

    Hi Dave,

    I just noticed all posts for the year 2019 before November, are gone?
  24. Replies
    131
    Views
    129,438

    Re: PID-filter routine (2nd try).

    Thanks for your reply. I was thinking it replaced the "dt" term found in most pid equations.

    Here is my compete project. It's for learning purposes, for safety it would need to be modified to...
  25. Replies
    131
    Views
    129,438

    Re: PID-filter routine (2nd try).

    Henrik,

    I'm using your great routine in a step/dir servo driver. Everything works fine. But have been wondering about the "pid_Ti" constant

    What are your thoughts on the Up-date i-term? I have...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4