Quantcast
Channel: MEL PICBASIC Forum
Browsing all 4745 articles
Browse latest View live
↧

lcd delay time

i have tried serial 16x2 with 9600 buad and alpha 16x2 with 16f73 but both take much time to print,serial takes 15ms and alpha takes 4ms to print,is there any way to print on lcd in less than 200us by...

View Article


Image may be NSFW.
Clik here to view.

PIC12F683 pin GP3 as output

Hello folks, before I tried play with picbasic I worked with PICAXE. I have done few projects with PICAXE 08M2 which is a rebranded PIC12F683 with bootloader. In PICAXE is one simple cheat which allows...

View Article


PIC 18F46K22 Wierdness

Hi All, Just spent over three hours trying to find a bug which doesn't appear to be a bug !!! I have a couple of include files that I found through this forum that are used to bitbang data to some Neo...

View Article

Bug report - 16F18857 using NAP command

4 Errors in ASM when using NAP command with 16F18857, all referencing WDTCON undefined. Looking at the PIC's INCLUDE file, it shows WDTCON0 and WDTCON1, but in the pbp_pic16F1XXXX_tris_offset.lib, it...

View Article

16F628A Configuring all pins for digital I/O ?

Hello. Help please! I have a very basic noob question: On my 16F628A, How do I configure all my pins as digital I/O ? I have been reading all sorts of confusing info about how very important it is to...

View Article


Safely getting out of an interrupt

Working with DT interrupts(-14), Darrel stated many times to get out of the interrupt as soon as possible. I think this is because of the limited stack. So what exactly does it mean to get out of the...

View Article

VEML6040 I2C sensor problem

Hello, Wondering if anyone has used the Vishay VEML6040 color sensor with I2C interface. I am having trouble reading it and think it might be related to the fact that you need to send a command code...

View Article

EUSART vs. MSSP

I'm beginning a project and I can foresee it's going to need more I/Os than will be available on any one PIC. I've never used EUSART or MSSP before. I was wondering what the primary difference is...

View Article


Image may be NSFW.
Clik here to view.

4 bit 7 segment display with two 74HC595

Hello All, I start to play with one of this cheap 4 digit 7 segment display. The display is driven by two 74HC595 which one is for segments and the other is for common cathodes (digits). Here is the...

View Article


WTV020-SD-20SS SD Card U Disk Audio Player Interface

Hi All... Just looking at a possible project.... Looking to play upto 10 wav, mp3, sound files on demand from (10) pushbuttons. button 1 plays track 1 etc to button 10 plays track 10 Maybe a stop and...

View Article

DT ASM Interrupts

I am working with others on THE BOOK of DT INTERRUPTS. I have been reading some of Darrel's threads on ASM Type interrupts and it sounds to me that, If you are using ASM interrupts only, you don't have...

View Article

help with 4 x 20 LCD

I'm trying to use a 4x20 LCD with a 16F887 but without any luck. I have the LAB-X1 with a 2x20 LCD. The 4x20 module has the same 16 pins as the 2x20, so I'm assuming it can be connected to the PIC the...

View Article

Chattering relay

Looking for ideas to eliminate chattering of my relays that are activated depending on the ADvalue that is read from the analog input. The Analog value is filtered through DT_Analog module (Analog...

View Article


PIC16F1503 Fixed Voltage Reference

Hi All, I am working with a PIC16F1503 and would like to use the Fixed Voltage Reference (FVR) as the reference for the ADC. I have successfully done this in the past using a PIC16F1829 but the same...

View Article

THE BOOK of DT INTERRUPTS

If you have been following the forum over the last couple of weeks you should be aware of the fact that some of us are compiling an index of Darrel Taylors instant interrupts. I feel sure no one has...

View Article


Getting a 18F2525 to wake up from sleep with change of input

Hi All, Been working on this all day and I must be doing something silly! I want to wake up the 18F2525 from sleep by a change in port B. Any help appreciated as I am quickly tearing my hair out....

View Article

SPI hardware communication issue

Hello, Can I have some guidance, I have written the code below to drive a set of LEDs attached to a SN74HC595, I am using a PIC16F1825 to drive the SN74HC595. 3 LEDs are attached to the PIC16F1825 to...

View Article


Rs232 Hex Char

Hi to all To this time i have some troubles to send some Hex chars. I'm using a 16f628a, 9600 bauds Most of the chars print whitout troubles however Chars $04, $40, $A2, $D6,$13 don't work, on the...

View Article

Elm327 obd

I've spent about 2 years familiarizing myself with SAE OBD II communications protocols. I purchased the ELM327 OBD II CAN Interpreter, based on a PIC18F2480. As a test module, I printed a PCB board...

View Article

Unable to Open Include File

I know this question has been posted numerous times, and I have done several searches relating to it, but I cannot solve this problem. I'm using PBP 2.6. I have several programs that use DT's...

View Article
Browsing all 4745 articles
Browse latest View live