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 ArticleIndented 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 ArticleProgrammer 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 ArticleReceive 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 ArticlePickit3 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 ArticleADXL345 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 ArticleWrite 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 ArticleDC 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 ArticleDT_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 ArticleGetting 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 ArticleLow 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 ArticleAD8302 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 ArticleSSD1315 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 ArticleDemystifying 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 ArticleLcdout 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 ArticleQuestion 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 ArticleAu-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 ArticlePickit3 -- 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 ArticleAPA102C 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 Articlewith 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