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

18F26K22 - Unable to get 64MHz Internal clock speed

One of the attractions of the PIC 18F26K22 is its ability to execute code at 64MHz with its internal clock. But I am unable to get either 32MHz or 64MHz despite enabling the PLL. The simple test...

View Article


18F45K50 usb problem

hello everybody, I try to use PIC18F45K50 with internal usb module for communicate with my PC. I don't use a external crystal but only the internal clock (may be my mistake?) If I use only USBService...

View Article


How to receive and analyze text via SERIN ?

Hello. I want to receive text via SERIN and do actions based on it. Like in exampole below Code: CIKLI: Serin SHESVLA,N2400,MONACEMI    'READ INTO VARIABLE if monacemi="X" then CCP1CON = %00000000 goto...

View Article

LAB1X sample code not working with 25LC640.

Hello. I've decided to use 25LC640 EEPROM with 16F870. For that purpose, I've took the LAB1X code from here: http://melabs.com/samples/LABX1-16F887/spix.htm and modified it to my needs( just changed...

View Article

DALI Protocol

Hola!! Me ha surgido una duda acerca de la comunicacuíon del protocolo DALI, alguien sabe si es posible la comunicacion Master-Master?

View Article


Is modedefs.bas still required for pbp3 ?

just looking to trim stuff from programs that may not have the need for the files and wondered if the modedefs.bas is required for pbp3 still ?

View Article

PK3Err0040: The target device is not ready for debugging

hello, everyone I am developing application using PIC18f4620 My framework: MPLAB IDE v8.70, mcc18 v3.31, and Microchip PICkit3 - The first, I set pickit3 as programmer (in mplab ide, I seleced...

View Article

Image may be NSFW.
Clik here to view.

Proximity sensor for dog door ?

I'm planning to make a PIC controlled automatic dog door for my Bernese Mountain Dog puppy, I've looked at the commercially available doors and they have many reviews indicating that they don't last...

View Article


Image may be NSFW.
Clik here to view.

Pic to apa102 apa104 led strip

i have test APA102 APA104 LED CHIP by madrix control , now i want to know how to make apa102 apa104 on arduino fast SPI if APA102 support by FastLED2.1 branch? Attached Images APA102 LED.pdf‎ (275.5...

View Article


USB Learning

Hi guys, I'm trying to write a program that could send a keystroke to the PC when a button is pressed. I have the main program figured out...the problem is the descriptor files...:eek: These last few...

View Article

DT_INTS-14 , Elasped_INT, and 16F87 code not working

This code is written to choose between two time durations of 5 minutes and 30 seconds. A hardware switch is wired to RB4 which is pulled high. In one position the switch is open and the port is high....

View Article

Control 31 devices by PIC18F4550 over HID

Dears im new in picbasi pro and in this forum also i want to control 31 devices Pic16F876(slaves) with PIC18F4550(master) HID Visual basic 6 Software for control. All informations and propositions will...

View Article

Valid data checking help please… Hysteresis Question ?

Hi.. Looking for a bit of help … Again :-) I have a temperature monitoring design all working fine but I am attempting to filter a low temp alarm (A little like a hysteresis window). In my case "temp"...

View Article


Re: PCB low volume production

Hello! For anyone who is looking for PCBs to be manufactured at extremely competitive prices head over to our websitewww.jrelectronics.co.uk We offer low priced, very high quality 2 or 4 layer PCBs...

View Article

Image may be NSFW.
Clik here to view.

18F1220 newbie

Hi All, I am trying to convert a 16F88 program to run on a 18F1220. For starters I tried the attached blink LED program but can't get it to work. I'm using Pickit2, Microcode Studio and MPASM ver....

View Article


Clearing Index variable arrays

Hi guys , i have a several large indexed arrays , that upon startup sometimes have values other than zero , should this happen ? cheers Sheldon

View Article

How to make a 16f628 Sleep and Wakeup ?

Hi All Simple Question I know... But I cannot figure it out... Both Sleep and nap seem to be for short time durations.....??? What I am looking for is basically an alarm function using the rtcxu.pbp...

View Article


P1c18f26k20-internal clock set up fail -64mhz

HI, I TRY to set up to run the osc internal @64Mhz, but fail. conf_1H: FOSC_INTIO67 (or FOSC_INTIO7) ;OTHER config's of 1H are off OSCCON = $70 (16MHZ selected) OSCTUNE = $40 (enable PLL) the output...

View Article

RN171 wifi module

Hi all, Somebody alread used the RN171 wifi module with PBP? I am working with this module but using a C code for while. I would like of to use basic to config it. I will apreciate some example code...

View Article

Image may be NSFW.
Clik here to view.

Some help with a circuit I'm working on...hopefully

Hello all, Long time, no post. Hope everyone is well. I'm sure hoping one of you brilliant minds can assist or critique an analog circuit I'm working on. This circuit will scale the NEGATIVE dc voltage...

View Article
Browsing all 4746 articles
Browse latest View live