Simple 1 Byte Checksum Method
Hello, I need to encode/decode a simple 8Bit Checksum based on a transmitter which has no documentation. Apparently, it is just using the last 2 Bytes of a 10 Byte packet to calculate it. (Figured THAT...
View ArticleIncrementing Upper Nibble Only (HighNibble)
Hello Again, How does one increment only the upper nibble of a byte? Apparently there is no HighNibble or LowNibble function in PICBASIC? My goal is to add 1, to the value of Bits [7654] leaving Bits...
View ArticleIR receiver ignoring IR pulse
Hi, I'm using a TSOP48 IR receiver (TSOP48 datasheet). I've setup a PIC and IR emitter to output 10 cycles with a 50% duty cycle at 38KHz then pause for 40 cycles (as per the datasheet). I've measured...
View ArticleShutting down ports before sleep
Hi Thank you for reading I am wondering what the preferred way of shutting down external devices (display, RTC) etc before putting a PIC to sleep. Have been experimenting with simple transistor and FET...
View Article3D printer
Hello, i would like to ask if there is anyone familliar with 3D printers. I want to buy one. I have found this cheap model 3Drag 3D printer I would like to buy a printer with printing height accuracy...
View Article3D printer
Hello, i would like to ask if there is anyone familliar with 3D printers. I want to buy one. I have found this cheap model 3Drag 3D printer I would like to buy a printer with printing height accuracy...
View ArticleConverting 32 bit Floating Point, and 48 and 64 bit Integer to string
I need to upgrade old project. It's quit complicated... Now it need to display data received via serial port. There is few data format which need to be displayed. Most critical is 32bit Floating Point....
View ArticleDarrel Taylor 18f interrupts
Can anyone please tell me where to download DT Int files for 18F series? I tried from the website (http://www.dt-ints.com/DT_INTS-14/intro.html) but clicking on 18f series opens up a page with no link...
View ArticlePic10F202 Master clear will not turn off.
No matter what I try master clear will not turn off. I have done everything but change the device file as it says if it is listed in your code it over rides it. Need GPIO.3 as an input. Dumbed the...
View ArticlePOWER ON/OFF key in a matrix keyboard 18F46k80
Hi guys i am looking to use a 2 x 2 matrix keypad , where 1 of the keys is to be used as a power on /off i have not played with ultra low sleep mode as yet but think this would be usefull for the power...
View ArticleUsing 16F1503 as Serial LCD Backpack
Hi All, Wow, it has been awhile since I've been here. Finally getting back into PIC's and I'm making a serial backpack using a 16F1503. I've managed to make one successfully in 4-bit mode using RC0-3...
View ArticleOPTION_REG.7=0 Or does it ?
Hi all Am using a 16f818 in a simple program …all is working BUT :- OPTION_REG.7=0 ' Enables all pull-ups on PORTB Question is What happens if only PORTB 0-3 are inputs and 4-7 are outputs….I thought I...
View ArticleHow to do the "SerIN" and "SerOut " for the usb ?
Dear Friends, I am making the communication as in the code below saw rs232. I want to do using the usb and the pic18f4550 I don't get. How to do the "SerIN" and "SerOut " for the usb ? Some of the...
View Article128x64 GLCD ST7920 Example code
Hi I bought 1 of these displays cheap on ebay, it uses ST7920 driver IC I couldn't find any picbasicpro example code for this display so I have come up with this example code to draw basic graphics...
View ArticleRS-232 confusion
This may be a case of a dog chasing his own tail but I'm trying to figure out if what I'm looking at is an RS-232 signal. I've tried various baud rates and it seems to be something around 9600 as...
View ArticlePBP Simulation
Quick question:- I have seen here some screen shots of a simulator (?) running PBP Code, or maybe hex output of same. Any one know what this is or where I can find one similar..... Might be the way to...
View ArticleCircuit board manufacturing
I would like to get some info in Circuit board manufacturing for my final presentation, so anyone knows a link to video of informative website on Circuit board manufacturing?
View Articlebaterry's lifetime reduced due to RTC
Hi everyone, I have a little problem with my circuit. the lifetime of my battery(Li-on 3V)(+VBat_sense) is reduced due to leakage current. but I don't know why... can you please help me with this...
View Articlesettings check please
I tried running two USARTs on an 18f45k22. The first one runs fine (PortC.6) but the second one (D.6) outputs junk. DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0 DEFINE HSER_CLROERR 1 ' Clear...
View ArticleLow Power Regulators
Hi Again I have a few projects out in the field that are battery operated . They all have a PP3 battery and a sleep function. At the moment I am just using a 78l05 to drop the 9volts to the 5volts...
View Article