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

DT_ints handling time.

Hello to everyone. My question is: Does anyone know the minimum time it takes for the interrupt handler (DT_Ints) to kick in and start processing the interrupt? I currently have one interrupt on change...

View Article


Indented lines

I rarely use PBP and have some code that looks like the page formatting was screwed up -- some lines are indented rather than a nice tight left margin. Refresh my memory please -- indented lines do or...

View Article


Programmer help

I need to ask another question. I have an old EPIC parallel port programmer but no parallel port convenient right now so need to use either serial or usb. I have a Pickit programmer but hate it and...

View Article

Receive Data From Ethernet Module

BACKGROUND: I'm using a 18F6520 PIC and a USRIOT Ethernet module (USR-TCP232-T2). This is a nice little module that seems to work very well and is inexpensive ~$12. I've been using this for a couple...

View Article

Pickit3 pin verify

I've never used this Pickit3 so want to make sure I get this right. I have the zif socket on it and it looks like for an 18dip 16F628A that pin 1 on the chip is placed into pin 11 on the zif socket?...

View Article


ADXL345 accelerometer

Hello all, I'm trying to connect ADXL345 accelerometer to MCU in SPI 4wire mode, but no success. The reading is allways zero. In I2c mode the accelerometer works just fine. I think in SPI mode I forgot...

View Article

Write not working with 12f1571

This wont compile using 12F1571 but will work with 12F629. anybody else have this problem? Remove the write command error goes away. M Var byte m=5 write 0,m

View Article

DC Motor constant speed controller, is Picbasic fast enough?

Hello, I want to build a DC motor controller, which will allow speed adjustment and also support for constant speed under changing load. I want to use HPWM to generate PWM signal, and adjust it's duty...

View Article


DT_INTS-18 for 27K40

Hi guys I am planning to use PIC18F27K40, it is absolutely necessary to use DT_INTS-18 for the project. I will also use low priority interrupts. I have seen several modifications of DT_INTS-18 to cope...

View Article


Getting data from user, how to store it properly? (kinda dialog interface)

Hello. I'm building a simple digital controller, which works like this: User enters number of points (steps) to move head to. At each step, user enters desired x/y/z positions and movement speeds. Then...

View Article

Low power accurate 6 month timer - suggestions?

Hi folks, I'm looking for suggestions on achieving the lowest power, but accurate, timer to last around 6 months. It will be at the bottom of the ocean and I have minimal real estate to fit the timer...

View Article

AD8302 Phase and magnitude to complex impedance

Hi, I didn't know where to put topic, so if it is wrong place... I have project where I need to match 868MHz antenna to 50R. So I build sort of antenna analyzer. I used this bridge...

View Article

SSD1315 oled display

Hello folks, recently I bought a bunch of 128x64 and 128x32 I2c oled displays with SSD1306 driver, but after few try's I realized it came with different driver. The actual driver is SSD1315. I try get...

View Article


Demystifying Thermopile IR Temp Sensors

Thermopile temperature sensor or temp sensors offer the advantage of non-contact temperature measurement, making them more and more popular over the standard contact-based temp sensors. Thermopile...

View Article

Lcdout macro problem

So, there I was happily programming away... slowly putting together the attached menu tree and suddenly, between one compile and the next, this error shows up: Macro LCDOUTSTR?W not found in macro...

View Article


Question Regarding A>D Conversion

When configuring an A>D conversion, we all know that configuring it to process too quickly can provide erroneous results, but if you go the other way and say configure max A/D Acquisition time...

View Article

Au-full quiet out here lately...

Wow, Is it just me, or is it Summer and everybody is outside doing chores. Now that I'm retired and check the site's I see a minimum of activity. I hope everybody is having a great Summer so far..... I...

View Article


Pickit3 -- hate the friggin thing

Life was so easy with my old parallel port programmer. Using Pickit3 -- did everything right I think. MPLAB and the IPE are installed. 16F628A is installed correctly (not in a circuit but the zif...

View Article

APA102C and SK9822

I have some code working fine on an led strip that is defined as APA102/SK9822. I'm not sure however that those are drop inreplacements for each other as I connected the same circuit to some discrete...

View Article

with the pic16f628a off, a voltage on an1 comes out from main voltage pin, why?

with the pic off (no power) the voltage applied on an1 (a battery) comes out from the vcc pin, i don't understand why...

View Article
Browsing all 4787 articles
Browse latest View live