PIC16F15355 config setting to work on internal OSC with clock 4MHz
Anyone can help about how to realize to make 16F15355 work correctly with Internal Oscillator on 4MHz clock frequency. How to adjust config 1 5 and other registers to realize that. Here is a default...
View ArticleINA219 conversion time
good day to everybody on this forum, I am using INA219 sensor with PICbasic and it is working well as far as the data accuracy is concerned. I do have a point to discuss regarding the configuration...
View ArticleTM1638 LED Display Driver/Controller
My last forum code example contribution was about a year ago, and provided sample code for the TM1637 7-Segment LED driver/controller. The TM1637 is used on 4-digit 7-Segment display modules available...
View ArticleWarning 202 Argument out of range. Least significant bits used
Hi to everyone. After compiling my 6200 PBP lines long program, all goes fine, but also I've the following: Warning[202] C:\<myProgramPath>\Program.mac 2246 : Argument out of range. Least...
View ArticleTM1638 LED Display Driver/Controller - Part II
Several months ago, I bought a handfull of TM1638 8-Digit/7-Segment & 16 button keypad modules identified as "HCW-132". They were really cheap and I thought I'd add them to some on-going projects...
View Articlevarable index buffer setup unsing a varable
been a while since been playing on pbp so be nice like to have variable to set the index range for test3 , but not sure how to make it work , works for constants for sure test1 var byte test2 var byte...
View ArticleCurrent sensor output modification. PIC or opamp or something else?
I have a hall effect current sensor with a 0-5V output. Zero current flow is 2.5V out. It is monitoring a 20khz motor drive signal. I want to pass thru signals from 0-2.5V unmolested but want to reduce...
View ArticleSPI comms and ADXRS450
Anyone here ever worked with the ADXRS450 gyro? I've never done SPI comms before and have been trying to communicate with the ADXRS450 through shiftin/out comms with no success. Any tips on either the...
View ArticleAnyone used smart leds with APA102/SK9822 controller, with Picbasic ?
Hello. These leds while delivering neopixel led like functionality, run on more common, SPI interface, with much more relaxed timing requirements. So they should be easier to use. Search delivers no...
View ArticleHD44780 LCD cable length
What is the practical length limit from a PIC to a LCD. If shielded cable were used would lengths of 15 to 20' be a problem. I have cables with individually shielded conductors plus an outer shield....
View ArticleDetermining variable length (number of digits) possible?
Hello. I'm writing a custom parser for MAX7219 - it can display data and most of ASCII characters in any digit of connected 8 digit 7 segment led display. So say there is an input variable, XVR, which...
View ArticleJoining 5 bit variables and splitting them into 8 bit ones later?
Hello. I'm using a MAX7219 dot matrix display, 8x8 pixels, 4 daisy chained. I want to display some numbers on it. I can use 7x7 pixel font, so 4 digits will fit. But I want to use 6x7 pixel font, so...
View ArticleVariables change depending on a SEROUT2 command placement in code
Hi all, I've been spending a few hours now (this is an euphemism, of course :D) on trying to find out why the program I'm currently working on has his variables "changing" values without any obvious...
View ArticleHelp with PIC 12F683 bit confituration in PBP3
Hello all, I would like to setup a 12F683 with 3 pins as inputs, and 3 pins as outputs. This means I will need to change the default bit configuration for the GPIO3 pin - which by default is MCLR If I...
View ArticleWondering if I can move PBP3 and MPLAB over to newer system - which is Linux
Hello, I've had PBP3 with MPLAB running in an older 32-bit laptop that I set aside for pic programming. But that laptop is starting to get a little raged I have a newer 64-bit laptop running Linux. I'm...
View ArticleRotary encoder with DT interrupts
Hi All, I'm struggling around rotary encoder with push button. I read the forum but not find any successfully solved example. Here is my code: Code: ; PIC16F1847 #CONFIG...
View Article12F683 GPIO.3 MCLR pin - unusual response
Today I setup a 12F683 hoping to read pins 2,3, and 4 masked out as a 3-bit word. I set the chip's bit config to turn off MCLR on pin 4 gpio.3 Pin 4 when not used as a MCLR reset functions as input...
View ArticleMerry Christmas to all...
I would like to wish everybody and there family's a very merry Christmas and a happy and prosperous New Year from my family... Dave Purola,
View ArticleChallenge & Response
Seasons Greetings to all. If you get bored with relatives and feasting today perhaps you might cast your eye over the below. I have an electronic gadget that has a challenge response going on. It sends...
View Articlemax7219 4x 8x8 panels spi
for pic16 with spi port . 5 digits 6x5 numeric font right justified with leading zero suppression Attached Files matrix8x8v1.pbp.txt (7.9 KB)
View Article