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

Hserin / out Woes..

Hi All.. Am using this code as a simple password check on a serial link :- Code: hserout [":- "]             hserin 65535,bed, [pass (0)]: hserout [pass (0)]             hserin 65535,bed, [pass (1)]:...

View Article


sending data - numbers between PICs

I must not be thinking about this right. I need to send an "R", either a "2" or "4", and then a 4 digit decimal number from one PIC to another using hserin and hserouthserin and serout2. Ideally I...

View Article


microcode studio plus default template

I love MCS+ to death! I use it with mostly with my MikroElektronica EasyPic V7 board but sometimes with the MELabs LabX1. I find the "New" program header template somewhat wanting and would like to...

View Article

Looking for Elapsed_DN.bas by Darrel Taylor

I know he passed away, but I'm looking for a file he had for using his Elasped timer for counting down rather then counting up. This is the demo code for it but it needs Elasped_DN.bas Code: ' Define...

View Article

DT-INTS and SSP1_INT

I'm able to use the following interrupts from DT-INTS: 1. RX1_INT 2. RX2_INT 3. TX1_INT 4. TX2_INT 5. TMR1_INT 6. TMR0_INT When I try to use SSP1_INT, the program hangs waiting for the code to execute...

View Article


PN532 Modules

Hi, Does anybody have any experience programming a PN532 module in Picbasic? There are a few of these PN532 RFID modules out there, but all the examples are for the Arduinos. Here are some of the...

View Article

Little help with a LM2596 inverter...

Hello all, Been away for a while, hope everyone is well. I've got a question in regards to the LM2596 INVERTING switcher. I'm brain frying over a "shutdown", or rather a "start up" circuit for this...

View Article

PIC18F27J13 Peripheral Pin Select (PPS)

Hi All, I am experimenting with the PIC18F27J13 and I am having difficulties using the peripheral pin select (PPS) options. I am trying to set a PWM output function to re-mappable pin RP2 (RA5 - Pin 7)...

View Article


Problem Make Speedometer with Hall Effect Sensor and RF-RS232

Hello, I want basic telemetry system and i will send voltage, current, speed and temperature values this system. I have 3 questions about this situation. First Question: - 18F4550 has one rx one tx...

View Article


Delay without using pause

I'm developing one of my old projects and I've hit a stumbling block. The old code simply read 4 x DS18B20's and use the data to control the out put to a heat via Henrik's PID routine. It's been...

View Article

Account hacking ?

Hey, someone tried to log in my account last 15 minutes, his IP is 117.169.1.34. Used an ip tracker and pointed me to a Chinese town. Are we unter attack from little Chinese people ?! xaxaxa

View Article

Image may be NSFW.
Clik here to view.

DHT Sensor Library

After helping out others a few times here on the forum implementing DHT series Humidity/Temperature sensors, I thought I might put together a DHT Sensor support library for PBP and hopefully others can...

View Article

Magic Crystals

Hi All How do I tell PBP 2.60 I am using a UART friendly Crystal....ie 3.6864Megs Have now got project running using 4Megs.... But to further it and loose errors on RS232 would like to clock with no...

View Article


Counter

Anyone have a simple example of how I can do something like this but with larger numbers then 65535? Counter VAR WORD Loop: Counter = Counter + 1 lcdout $FE, line1,"Counter:", #Counter PAUSE 100 Goto...

View Article

Tmr1

Hi all Quick question Thinking of using TMR1 on a 16f688 device for a time out (PIC stays on after a button push for 20mins then goes sleep) Would this do that ? Or would you suggest another method...

View Article


Image may be NSFW.
Clik here to view.

Servos not serving

I have two servos running off a 16F887 with no issues. Both toggle back and forth at roughly a 90 degree angle, in about 2 seconds. I changed commands for a 12F675, mounted same on a prototype board...

View Article

TIMER1 intterupt of PIC 16f88 in C

Hi; I'm trying to work ultrasonic sensor (HCSR-04) with PIC16f88. Since other interrutps (RB0 and INT0) were used I'm trying to operate HCSR04 with Timer1.When I connected trigger and echo to...

View Article


PIC16F88 I2C Accelerometer Help

Im using a pic16f88 in conjuction with a MMA7455 accelerometer to make an auto leveling jack system. I have run into the problem of not being able to get the I2C functions from the inclinometer to...

View Article

Quecetel M95 GPRS connection question

I am using M95 module from Quecetel. I am sending data to my server and facing a weird problem. I wonder if someone else can give me some idea. I use AT+QISEND=128 to send 128 bytes at one time. Then I...

View Article

A mine of information

Searching microchip site for more detailed info on watchdog I came across this link: https://microchip.wikidot.com/8bit:wdt Which is a real mine of interesting information, so I thought It was nice to...

View Article
Browsing all 4746 articles
Browse latest View live