Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I'll trying to locate the PIC16F1946 in the MPLAB IDE 'select device' menu, but I'm unable to find it among the provided list. Is there any way to add it ? Also, the datasheet mentions all the configurations and example coding in Assembly language. Does this mean, that I would be unable to write...
I tried sending a '65' both as a *char* type as well as an *int* type. In the first case, I received a '3' but just once, even though it was a continuous coding 8-O . In the second case, i.e as an *int* I didnt receive anything at all. I tried other numbers as well, but to no avail.
----------...
Slave mode ? But what if your PIC is sending the data. Doesn't that make it the MAster ? There's no spec sheet available for this bluetooth adapter. It's from ebay and costs like $10 or less. But it is said in the ebay site, that the default baud rate is 9600 for this. By the way, I dont...
I'm using a low cost bluetooth transceiver module. It can be seen here **broken link removed**
I understand what you are saying. In my first arrangement, the phone was the Master. But now, since I'm sending data from the PIC, it's going to be the Master. But can you explain a bit more on how...
I'm using the C18 compiler.. In the previous code, I used the variable type *char* to hold my received data. I tried using the same routine. i.e storing an alphabet in a variable with *char* type and transmitting it inside a while() loop. But instead of that alphabet, I was receiving some other...
As a part of my project, I'm supposed to send the readings I receive from sensors to a mobile phone. I'm using the BlueTerm app in an Android phone to connect to a lowcost Bluetooth adapter which is attached to the USART port of the pic18f4550.To confirm the functionality of the arrangement I...
This is the final code I compiled- though it compiled successfully, I was getting a warning( marked in red). Will this be a problem ?
//CONFIGURATIONS
#pragma config FOSC = HSPLL_HS // Using 20 MHz crystal with PLL
#pragma config PLLDIV = 5 // Divide by 5 to provide the 96 MHz PLL with 4...
Mr.Papunblg,
When I used the lcd_string() you posted, my program failed to build, saying its some mismatch error. Then I tried using the previous function and it built successfully..
I still couldnt get any output. I cant figure out what the problem is. And I couldnt use the lcd_string function you gave, because I'm getting a argument mismatch error.
This was the final code I built
#pragma config PLLDIV = 5
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2...
okay. I did the changes as mentioned in your post, but I got some errors when I built.
main.c:47:Warning [2066] type qualifier mismatch in assignment
main.c:84:Error [1105] symbol 'RC5' has not been defined
main.c:84:Error [1101] lvalue required
main.c:86:Error [1105] symbol 'RC5' has not been...
Mr. Papunblg,
Your code finally was built, but sadly Im still unable to get any kind of output from my LCD - still showing the squares..
However, I used a pic16F877A to successfully interface the LCD with the following code and display a message-
#include <pic.h>
__CONFIG (0x3F32);
#define...
Mr. Qaisar Azeemi,
The circuit schematic you have given uses pins RB6 and RB7 for LCD data. But I'm doing onboard programming and these pins are also ( PGD and PGC ) which should be connected to the programmer at all times. I tried editing the codes to use PORT D as the LCD data output with no...
Mr.papunlg,
I tried building your code with the following configuration bits -
#pragma config PLLDIV = 5
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2
#pragma config FOSC = HSPLL_HS//48MHZ clock
But I'm receiving a syntax error at (pointed by the arrow) -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.