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

Using Pic to listen to audio tones from car radar detector

So i have Uniden R1 radar detector. This unit as well as many others has an audio output port for external speaker. I would like to feed that output to a pic to read the different tones for the bands...

View Article


Again about array

Hi ! I tried to read 10 samples of ADC values and sending to LCD display. Code: DataW        var word[10] i      var byte main: for i=0 to 9     ADCON0.1 = 1                        ' Start conversion...

View Article


test Message

This is a test. Code: #CONFIG     CONFIG FEXTOSC = OFF                ;External Oscillator not enabled     CONFIG RSTOSC = HFINTOSC_64MHZ        ;HFINTOSC with HFFRQ = 64 MHz and CDIV = 1:1     CONFIG...

View Article

18F26K42 TMR1 Interrupt troubles

Hello, I am a first-time caller, long time listener. You folks and this forum have been a wealth of knowledge over the years and I just wanted to say thank you. I currently have a problem that I...

View Article

ASCii To HEX?

I'm working with an ELM327 OBD II Interpreter. The serial data is in the form of ASCii, intended to communicate with a PC Serial Port (yea, from a decade ago). If I send Request "01 05" (for Coolant...

View Article


Implementing a simple INT from stat to finish

So lets say a first time hobbyist, who has been playing with micro for six months, comes to the forum and wants to try an interrupt. First he or she looks over the entire BOOK of DT's Interrupts site,...

View Article

SDI vs UART efficiency for wireless comms

I am developing a wireless solution which will communicate at a lower data rate, 9600 or 19200. I see that Microchip has a nice module, MRF24J40MA with an SDI interface and STMicroelectronics has a...

View Article

Future project Ideas

Hi Thank you for reading Am still looking at a future idea... Involving an old BT Telephone Mech. I need the existing "Dial" to give me one digital pulse for each digit dialled..... :- As I understand...

View Article


How to send string of 32 bits using SPI - 16F1939 - PicBasic Pro

Hi, I'm trying to address the DataStar addressable LED's, and they require a number of 32-bit frames to set the various parameters correctly. I'm just trying to address one device at this time. Could...

View Article


LCD displays, rotary encoders, and the WRITE statement

I'm having trouble using incremental rotary encoders with an LCD display and using the WRITE command together. The first problem was getting the rotary encoders to work well and read out on the LCD. I...

View Article

PBP3.1 Gold + MCSX+ + Microchip's ICD3 programmer?

I am working with PBP3.1 and Microcode Studio Plus and a PIC18F67K40. I like writing my programs in Microcode Studio Plus and PicBasic Pro 3.1 Gold. Perhaps I am missing something when I compile...

View Article

Mplabx 4.15

I recently up graded MPLABX to 4.15 and want to move the PB3 toolchain to the new IDE. Question: will I have a choice of programmers, PK3 or the PBP USB programmer? If a program with a pbp. extension...

View Article

PWM and audio noise

I'm trying to use PWM within a circuit that handles an audio signal. It's creating a lot of high frequency noise. I'm using a 16F684. I've tried separating the analog and digital ground planes. Does...

View Article


Image may be NSFW.
Clik here to view.

Serial to WiFi Wifi to virtual com port

Hello All, I'm looking around for some serial-to-Wifi modules connecting to a Wifi virtual com port on the PC. The only product I found up to now is this one here:...

View Article

PIC16f877a bcd seven segment controling through four inputs

Hi, I am trying to make a BCD seven segment display which takes input from 4 bits (port d) and gives output at port b for lsb and port c for msb what I am tryin to do is I take the input and I will...

View Article


Image may be NSFW.
Clik here to view.

CONFIG issues with 18F26K22

Hi everybody, I am trying to replace a 18F2685 by an 18F26K22 on an old design. Everything should be compatible providing a correct configuration of my new PIC. But the new CONFIG is more complex than...

View Article

Pic 18F26K40

I have in mind a new project where I need two uarts com ports, so I did search microchip site and found the pic 18F26k40 to suite my need. As a second step I did check if my pbp3 (ver 3.09.4) was...

View Article


Oled

Has any one used the LCD write commands with a HD44780 "like" controller. Several OLED modules are advertised this way. How much "like" is my question? Did anyone find that the similarities were minor...

View Article

GOTO vs RETURN after a GOSUB

Hi, I have the following code, Code: MainLoop: 'DO SOME STUFF HERE.....     FOR J = 0 TO 7         GOSUB SearchForClockSignal     NEXT J goto MainLoop SearchForClockSignal:     USBSERVICE     SERIN2...

View Article

Book of DT interrupts

Just two simple questions: Is the book finished? Why I cannot read it with my IPAD? Alberto

View Article
Browsing all 4745 articles
Browse latest View live