I am using the MAPLAB IDE with the MCC18 compiler, the microcontroller is pic18f
The compiler give me a syntax error at line 27 in the .h file when I compile the software, my code is:
extern unsigned int room_ADval; //line 27
Microcontrollers :: 03-30-2011 11:07 :: eepty :: Replies: 2 :: Views: 1123
Good day everyone.
I'am working on autonomous quadrotor project, i already buy 4 RC ESC with 4 Brushless motor.
I make connection from pic18f4431 > (through signal cable)ESC > Motor.
The problem is after I program my PIC to send PWM signal through corresponding PIC pin connected to ESC signal cable, when I power up all setup, the mot
Microcontrollers :: 03-30-2011 04:10 :: TryToLearnMore :: Replies: 1 :: Views: 3537
What is the best way to combine 2 or more programs into so that they can work togather??
PLD, SPLD, GAL, CPLD, FPGA Design :: 02-11-2011 01:45 :: mohideen :: Replies: 2 :: Views: 731
pic18f does not have a divide instruction so the C code will execute a lib function which is handling the divide by zero situation. pic18f does have a multimply instruction !. Hope this helps.
Embedded Linux and Real-Time Operating Systems (RTOS) :: 02-08-2011 21:14 :: PaulHolland :: Replies: 1 :: Views: 1139
I am trying to connect my pic18f452 to the PC using MAX488. I connected exactly like in the datasheet of max488. my circuit is like that pc-MAX232-MAX488 and other side MAX488-pic. I noticed that whenever i connect one driver inputs to other side receiver, max488 getting heated. please help me to find out the problem.....
Microcontrollers :: 02-04-2011 04:14 :: vijin :: Replies: 3 :: Views: 1798
i am working on project in which we are using EXternal RAM with controller....our main objective is to store data from serial port in RAM and then store it on micrSD card .one problm is that we have shortage of RAM as our data length is more then 4MB....plz help
Microcontrollers :: 01-27-2011 12:52 :: sakender :: Replies: 2 :: Views: 1879
check out this blog.., pic18f4550 tutorials
pic18f : Tutorial | Better Way to learn.
Microcontrollers :: 02-03-2011 05:43 :: dhimullai :: Replies: 44 :: Views: 10536
I am designing a pic18f pulse oximeter. In theory, a very simple design, that uses a photodiode to measure RED and IR light, and gets amplified into a ADC into the PIC. Im using MPLAB as an IDE and need some c language code or a software flow chart to point me in the right direction.
Any help would be greatly appreciated.
Hobby Circuits and Small Projects Problems :: 02-01-2011 02:13 :: Jube :: Replies: 3 :: Views: 2905
Hi, i want to start learning usb pic18f programming, but i dont know where to start. Can you give me some advises, links, books names etc.
Microcontrollers :: 01-30-2011 20:08 :: aersoy :: Replies: 3 :: Views: 1776
Does anyone have a success in using ST7540 using microchip pic18f microcontroller?
Saw some threads using ST7540 but no complete and working info yet?
Professional Hardware and Electronics Design :: 01-28-2011 03:17 :: davis256 :: Replies: 0 :: Views: 1337
good evening, is it possible to use a pic to control the aircond directly??
this is a request from my project supervisor and i'm kind of lost looking for the code & protocol, haha, thanks in advanced :D
Microcontrollers :: 01-26-2011 14:54 :: wjfong :: Replies: 0 :: Views: 680
this is pic18f series Microcontroller program
For compiler for this program
go to below link
Microchip C Compilers
Best of luck
Microcontrollers :: 01-20-2011 16:36 :: g_shyam1682 :: Replies: 3 :: Views: 1500
I am using the C18 compiler for the pic18f microcontroller
I want to write a C code for the ADC module. According to the datasheet, the CHS<4.0> in ADCON0 is the analog channel select bits. I do not want to assign the CHS4, CHS3, CHS2, CHS1, CHS0 bit by bit. How can I assign the CHS something like:
ADCON0bits.CHS = 5;
(I tried this code bu
Microcontrollers :: 01-19-2011 11:54 :: eepty :: Replies: 0 :: Views: 1023
Hi all, I have the experience to program C for a microcontroller, but it is in a single file, that means one .c source file and one .h header file. However I know that we can use multiple c file and header file, and compile and build to a single .hex file, how can I do that?
I am using the MPLAB IDE to programe the pic18f.
Thanks for your hel
Microcontrollers :: 01-18-2011 02:19 :: eepty :: Replies: 8 :: Views: 1988
I am using the Microchip pic18f45K22. I want to config the timer1 as a counter to verify an external clock 32.768kHz. However, I do not know whether I should connect the clock source to pin T1G or T1CLK. Anyone can help? Thanks!:-P
Microcontrollers :: 12-30-2010 10:57 :: eepty :: Replies: 7 :: Views: 1664
I am working on RFID project.
I am using TI TRF7960 IC which is to be controlled by pic18f4420.
During coding I am getting problem.
Kindly check the attachment and suggest me.
Thanks & regards,
Microcontrollers :: 04-01-2009 10:01 :: rajan_pec :: Replies: 16 :: Views: 6055
The various PIC families are:
16 here just goes to indicate the family to which the controller belongs.
Hope this helps.
Microcontrollers :: 12-18-2010 09:02 :: Tahmid :: Replies: 3 :: Views: 1175
As a part of my project I am using 16X2 LCD interfaced with pic18f2220. I wrote the code asusual and simulated in MPLAB simulator. It works fine. But, when I load the HEX file in the OSHONsoft pic18f simulator, it says STACK UNDERFLOW and stops.
When I dig the code and what I found was, the parameters are not passing properly to f
PC Programming and Interfacing :: 12-08-2010 11:20 :: firstname.lastname@example.org :: Replies: 4 :: Views: 1696
Can someone help me with the code for interfacing This chip to pic18f. i m using internal ADC and to store the values in EEPROM.i m using microC for prog.
Microcontrollers :: 12-07-2010 17:39 :: ashishharsola :: Replies: 0 :: Views: 1165
i am using pic18f4550, and i am thinking of programming it in c.
there a c compiler i found SDCC which is free,
so i wonder is SDCC support pic18f4550?
Microcontrollers :: 12-05-2010 12:08 :: haytick :: Replies: 0 :: Views: 1077
Hi, if you want i made a project with labVIEW and pic18f4550.. you can see more information at:
Microcontrollers :: 08-17-2012 21:44 :: Antonino :: Replies: 3 :: Views: 2139
i want to writ flash of 18f pic using self program is possible that i directly put the hex code in memory.its kind of flash bootloader
Microcontrollers :: 11-25-2010 10:27 :: Majidmanzoor :: Replies: 3 :: Views: 5019
Easiest approach would be using an Ethernet Controller with PHY and MAC. For pic18f i think the best option would be ENC28J60.
Microcontrollers :: 09-07-2010 13:10 :: Sink0 :: Replies: 1 :: Views: 696
You should try to consider Pickit 2 Clone. The only thing you have to do for my version is you have to supply external source. pic18f 5V, PIC24 3.3V. For the software, you can go to microchip to download the firmware which is included in the pickit 2 software. :grin:
Microcontrollers :: 09-05-2010 17:20 :: john blue :: Replies: 2 :: Views: 1182
I am trying to Interfacing pic18f MSSP module thie 24C02 memory using MPLAB C18 inbuilt library.
I am using internal osc of pic18f4520.
can any body point out what the error in below program?
void main (void)
char value ;
TRISC = 0; //Make Whole Port as Output
TRISD = 0; //Make Whole Port as Output
Microcontrollers :: 08-10-2010 03:25 :: karan123 :: Replies: 2 :: Views: 2042