PORTB + PORTC Interrupt-On-Change
Hi All, I am working on a new project which requires monitoring 9 data lines for an interrupt on change (IOC). All the program really needs to do is count the number of interrupts on each line,...
View ArticleHow to connect cellphone to PIC
I want to have GPRS communication on my uC. I figure out that its cheaper to get some old phone and connect it to PIC and send AT commands etc etc. But i didnt find any example how to connect it...
View Articlelayer 2 ethernet
First post here. I am trying to interpret someone else's requirements: In a WAN would you consider EoMPLS a "Layer 2 Ethernet" transport service or something else? What else would you call it then?...
View ArticleWindows 7 32 bit problem with 2.60C
I apologize if this has been covered before. I did a search and did not find information that seemed to help. I have been away from PBP for some time and recently had a reason to work on some old code....
View Articlebeginer help needed
hello I am beginer and practicing small codes so here is a code and i need help about it -------------------------------- define osc 4 Trisb =%01111111 do high portb.7 pause 300 low portb.7 pause 300...
View Articleled blink help needed
hello I am beginer and practicing small codes so here is a code and i need help about it -------------------------------- define osc 4 Trisb =%01111111 do high portb.7 pause 300 low portb.7 pause 300...
View ArticleADCIN & 16F870 - how to avoid non linear conversion?
Hello. I've built a simple circuit, with 16F870 and MAX6126 as reference voltage supply. The problem is that I can't write a code that will properly convert read data into voltage. By using external...
View ArticleHoltek 6026 wİth mcu (pbp)
Hello everyone; I am erdoğan, I am writing you from TURKEY. I have project for remote control. I want to use ht 6026 (holtek) transmitter in side to remote control. By the way, I want to use pic16f628a...
View ArticleTrigger 12v Solenoid Valve from a PIC
I'm playing with PICs for a long time, but still a beginner. I want to build a hobby project that must switch a 12v Solenoid Valve on and off from a PIC running on a single battery. How would I do this...
View ArticleWIZnet 550io
Anyone has tested or tried communication with the WIZ550io module? Uses SPI for the communication. Ioannis
View ArticleUsage of built-in DAC ?
Hello. Certain PICs have built-in DAC. Is it possible somehow use it via picbasic?
View ArticleHelp with example button program
I've just downloaded PBP3 and I'm trying to use the example button program found here: http://melabs.com/samples/LABX4-12F675/BUTX4.htm but I get the following error message [ASM ERROR] BUTTON TEST.ASM...
View Articlehow to control the contrast of GLCD
Hi Guys , can someone point me toward a link to info on how the pic can control of the contrast on a glcd the glcd uses a internal gen -10.5v on Vo , with a 10k pot to Vcc ( 5v) , wiper connected to...
View ArticleSolar tracking application
Dear all, Here i am attaching Nrel data recorded from below calculator.Now i wanted to determine Sun position .My location Is bangalore,INDIA. For relvent latitude and longitude i will get zenith and...
View Articleprogram crashes: is it my code or the chip?
This program works, sometimes for a couple minutes, some times only for a few seconds, but always crashes eventually. I'm using a PIC12F675 and I've read that it is not the most reliable chip. So I'm...
View ArticleMPLAB/PBP Simulator
16F886, PBP2.60, MPLAB/PBP, Simulator Greetings, I am working on my first attempt at Modbus CRC16. I’ve decided to write the routine in ASM following a Modbus document on the calculation. SO it doesn’t...
View ArticleStruggling again with SEROUT2 and numbers format
Hello all, I think I need your help to resolve this. I have a radio that accepts commands via its serial port. My project is to remote control it (wireless or infrared) to change memories, volume,...
View ArticleHex to Decimal to Binary
Hi All! Got a question about a pressure sensor I have been looking at. The spec sheet says the output range is 19A to E66 in hex. It also says that the resolution is 12 bit! If you take 19A hex and...
View ArticleDarrel's SPWM: Frequency, processor time..
Hi, I am playing with SPWM and instant interupts. Great thing!! I am progressing slowly and have few questions. Is it possible to change SPWM frequency when code is running, like with SSPWM? Also, what...
View Article