SEROUT loop with pause
Force of habit or maybe there was a reason I put a pause after serout in a loop. I know that I discovered the hard way that I needed to do that in Python to keep the cpu from working too hard (and a...
View ArticlePsst, Can You Keep a Secret?!?
I was on the phone with Charles Leo at ME Labs this past week, discussing particulars for a long-overdue Nuts and Volts article. He casually mentioned he was working on another PBP update that will...
View ArticleNCO and DT Interrupts
NCO on PIC16F1508. Interrupts This project uses NCO and needs an interrupt to flush the accumulator. For historical reasons I'm using ASM_INTS.BAS. This brain doesn't appear to have an FSR, and I can...
View ArticleBest ways to display leading zeros with LCDOUT?
Hello, sometimes it is needed to display defined number of zeros in front of variable, when using LCDOUT. So say when you have to display 15, you display 15, but when you have to display 7, you display...
View ArticleStepper motor question:
I am looking at a linear "Z" assembly, 4 wire stepper motor item to build a macro photography camera drive mechanism. the stepper is a 2.2volt coil, 4 wire devise. My question is, does that mean a max...
View ArticleAT+CPBW confusion
Hello all, I want to write to the SIM800L phonebook. From the Serial Com it is working but from the PIC I cannot get it to work. I am using a PIC16F1825 and the AT commands like this: no_ok_signal:...
View ArticleActive low transmitter question
Attachment 9055 Can someone kindly help please? I have a RF Transmitter that transmits active low but to avoid 'floating voltages' (that could trigger a not wanted transmission) I was thinking the...
View ArticleIs there a wise way to debug a large code?
Hello. My deluxe nixie clock V2.0 project is almost complete, PCBs assembled and tested, enclosures made and software written, however, I'm trying to debug a nasty bug with no success. The issue is as...
View ArticleAlarm Clock code and scematic
Code for an alarm clock with a schematic, uses a PIC 16F876A with a 4 digit 7 Segment display, time and alarm time can be adjusted with 3 knobs, alarm can be disabled with a toggle switch. Alarm is a...
View ArticleRead from pic?
This may be a stupid question as I have never had the need to do it but I have a programmed pic that I didn't copy protect and want to (possibly) see the code I used for it. When you read a hex file...
View ArticleTM1628 sample code anyone?
Hello. There are thousands of interesting LED modules sold with these controllers. like this one for example. https://item.taobao.com/item.htm?id=643277470788 Arduino do has library, but we? :)
View Article18F4553 HPWM x2 problem
Hello, I designed a board to use a 18F4553 and run two pulse output circuits on portc.1 and portc.2. I was intending to use HPWM1 and HPWM2 to vary the frequency of each independently. It looks like...
View ArticleSEROUT sending data to python script
I'm desperate so thought I'd ask here, if anyone is also familiar with python. Using a PI to read data from a pic. Everything works fine as long as I have the serial port in this loop -- def CC(self):...
View ArticleHow exactly LCDOUT statement works?
Hello. I'm trying to get the max out of ST9720 LCD module. It needs some custom commands to be sent, and I'm using LCDOUT for that. But what and how exactly this statement does? Manual shows only...
View ArticleDriving SK6812 LEDs
Any suggestions, questions or discussions regarding the Wiki article on driving SK6812 LEDs can be handled in this thread.
View ArticleStarting Pickit3 from MCS
I added my Pickit3 programmer into MCS v 4.0.00, starting pickit3.exe v. 3.10.00 and adding -pPIC$target-device$ -f$hex-filename$ -M -R -T -h2 in parameters as I read in some treads. But when I push...
View ArticleUsing factory made external Font ROM IC's with PBP ?
Hello. There are several of special Font ROM IC's, which contain a lot of bitmap fonts. For example, GT21L16T1W contains ASCII letters in 5x7,7x8,6x12,8x16, as well as 12x12 and 16x16 pixel copies of...
View ArticleSelling Up - Anyone want some nostalgia
Hi Guys, Not been over here for some time as I moved to the dark side of Arduino a few years back. So I've had a sort out, bundled some of the old 16 and 18F PICs together and added it to my trusty old...
View Articletm1638 8 button 8 digit display
i had need to improve dp code for this display, the resulting code has the side benefit of automatic right justification tm1638 demo Attached Files tm1638-182x.pbp.txt (8.7 KB)
View Article