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

range finding HELP

HI GUYS, I am looking for some input into using an SI APD or SI PIN for range finding application in 900nm range , the pulse generated are about 30ns at a max of 1khz if anyone has had experience with...

View Article


18F87K22 Port B Digital

Hi, I am using a PIC18F87K22 and want to write a simple message to the LCD but something is not right, perhaps the set up of Port B is not correct?, any help would be greatly appreciated, I have the...

View Article


RTC Clock - Resetting

Hi, I am battling with a RTC Clock that keeps re-setting after I loose power. I have done a few things which has helped the RTC keep the time when the power is off. Please see code below: * When I...

View Article

pinout or datasheet

Hi All I am looking for a datasheet for theTOSHIBA TOUCH SCREEN or a pin out might help i did a web search and no good results the numbers on the back are Optrex DMF 6151 9534M5 E919643134l ny-eb...

View Article

Multiple Interrupts using TMR0 and Interrupt On Change (IOCB) simultaneously

Hi there, Here's one more thread about multiple interrupts use (...) but after hours of reading, I still can't find THE information I'm looking for or in other words, the info I can understand. I know...

View Article


16x2 LCD supply and backlight driven from Pic pin ??

Hello Thank you for the quick read…. Is it deemed correct to drive a 16x20 LCD and back light direct from a single output Pin. Don't worry, when I say direct I "DO" mean via a Transistor or Darlington...

View Article

My board can't start

I am experimenting the 7 segment display on a breadboard,but the circuit just can't start,but when I touches the capacitor that connect the crystal,it start,when my hand left the capacitor,it can hold...

View Article

Same Code on Different Pins Question

In post http://www.picbasic.co.uk/forum/showthread.php?t=6013 Darrel Taylor shows an example of how to use the OWIN/OUT commands that will accept a WORD variable that can address ANY pin on the chip in...

View Article


LCD's and Sleeping Pics

Hello Thank you for the quick read…. Posted this elsewhere by mistake :-) Is it deemed correct to drive a 16x20 LCD and back light direct from a single output Pin. Don't worry, when I say direct I "DO"...

View Article


Cheap programmer with modern low voltage PIC support?

Hello. I have DIY K-149 USB programmer, which is great, but can't support low voltage PICs, such as 16F887 or 16F1503. I need a cheap programmer that can support these chips and allow fuse config...

View Article

Problem With 220 VAC Halogen Lamp Dimming

I was using Pic based Zero Cross Detect dimmer Incandescent lamps with no problem. However; when i use halogen lamps instead of incandescent lamps, The dimmer circuit isn't working properly. So, what...

View Article

pic basic read

Hi I lost my original pic basic program that I used to program my pic 16f628 now I would like to revise it I have the pic programed how can I retrieve the data back into pic basic so I can edit it, I...

View Article

better way to do this using math

hi guys , have mind blank on how to best do this code in math than use a lookup Code:         if val < 6  AND Menu_Select = 211 then  lookup val,[0,2,4,8,16,32],val         if val =>6  and val...

View Article


Digital Potentiometers Projects?

Could someone please link me to some good tutorials/projects on working with digital potentiometers to help me learn how to use them. Specifically I2C and SPI. I don't really need up/down tutorials or...

View Article

keep grtting Error[118]

Has anyone had trouble compiling this project in PBP 2.60C http://www.picbasic.co.uk/forum/showthread.php?t=18143 I keep grtting Error[118]. I can remove the config line, @ __CONFIG _INTRC_IO &...

View Article


RB0 / INT TRISB.0 configuration

Hi Everyone ; I've got a question digging my mind for a while . I've been reading the datasheet of 12F683 and 16F1827 to determine whether it is required to set or clear the TRISB.0 register to use the...

View Article

An unintentional TRIAC triggering at start-up

Hi everyone ; I've been working on a dimmer circuit in order to use / dim an incandescent lamp . I'm using the same exact Triac Driver circuit below .. And here is my problem , When I power up my...

View Article


frequency prescaler using PIC

hello I am not fluent to search on database, I try to reach some thead with the word "DIVIDER" or "frequency" without succes. my question is : Instead using a lot od 74LS390 dividers to have a 1 Hz...

View Article

how to use INTERRUPT?

The code below blinks an LED on and off at two different rates. It switches between the two rates when a button is pressed. The button is connected to GPIO.1 of a PIC12F609. The code works fine, or I...

View Article

Programme Flow Priority ?

Hi ; This may be a very strange question but I need to ask this ; While we start over coding on PBP , should we first write the "define" parameters and then set the "registers" such as port , tris ,...

View Article
Browsing all 4745 articles
Browse latest View live