475 Threads found on edaboard.com: Hitech
Can some one please explain how below expression can be written in C (Prefer hitech c) ?
Y = 250000/(X^2.93)
Microcontrollers :: 12-19-2012 04:55 :: prasad70 :: Replies: 6 :: Views: 496
Hi, i want to know how to convert portd pin into serial(uart) my project i want to take tx & rx pins from portd pins...i am using pic16f877a + hitech c...plz help me,,,it's urgent
>>thanks in advance
Microcontrollers :: 12-27-2012 03:31 :: coolvasanth07 :: Replies: 2 :: Views: 227
In my project i am using an RF module. I have to continuously receive data from different transmitter at a time. Is it possible to receive data simulatneously from multiple transmitter. I am not able to receive data from more than one transmitter. Help me please.....i am using 16f877a....hitech c compiler....
Microcontrollers :: 12-27-2012 06:56 :: manikandanshine :: Replies: 2 :: Views: 383
Hi i am going to connect two dc to dc converter output (54V) in parellel to charge a (4 12V) battery. my two dc to dc converter output has voltage difference of 3 to 5v . Is this cause more circulating current in my circuit . if so how i limit it.
Power Electronics :: 12-31-2012 09:53 :: azarutz :: Replies: 0 :: Views: 266
Hi i am writting program for rtc (ds 1307) to display it in lcd using pic 16f877a controller .i read ds 1307 datasheet it stated that if we want to write in timekeeper register then we should give BCD value . 50 sec in dec is written as 01010000 in bcd so it requires 8 free bit in a register to update but in sec register it has one clock halt bit(C
Microcontrollers :: 12-31-2012 11:23 :: azarutz :: Replies: 11 :: Views: 510
I want to do a serial communication with pic 16f877a mc and my gps module. Gps module has rx tx pins and has a ttl output. I have written a program using hitech-C to , process the receiveng nmea sentences from the module and write the putput on a LCD which re longitudanal and latitudanal data.
I want to connect the GPS module to the micr
Microcontrollers :: 01-06-2013 06:46 :: chalani0088 :: Replies: 16 :: Views: 1342
Hi , I want to interface LCD module with PIC 16f877a
I used the following code and used hitech C
my main program is,
lcd_goto(0); // select first line
lcd_goto(0x40); // Select second line
PC Programming and Interfacing :: 01-09-2013 09:55 :: chalani0088 :: Replies: 4 :: Views: 700
Yes, of course this is possible.
The SD card, whether it is micro SD or Mini SD, or Standard SD, can communicate with your microcontroller via the SPI protocol.
There is a library available from hitech which will allow you to use the SPI protocol with ease.
It can work at any low speed such as from your 4 MHz crystal, but please remember that
Embedded Systems and Real-Time OS :: 01-11-2013 10:00 :: dustmote :: Replies: 3 :: Views: 761
i m reading the GSM sim900 data on interupt after
but Garbage come on my lcd ,,,can any one chack my receiving code,,
uC 16f877A,,,,Compiler hitech.
//////////////Serial Interrupt Setting/////////////////////
void interrupt receive(void)
if(RCIE && RCIF)
Microcontrollers :: 01-15-2013 02:48 :: fawadbutt :: Replies: 2 :: Views: 452
If you use the hitech PICC18 compiler, your code compiles fine:
Build C:\Documents and Settings\Administrator.BDG\My Documents\Projects\EDAboard\abhishekdixit\abhishekdixit for device 18F4550
Using driver C:\Program Files\HI-TECH Software\PICC-18\PRO\9.66\bin\picc18.exe
Make: The target "C:\Documents and Settings\Administrator.BDG\My
Microcontrollers :: 01-16-2013 21:22 :: bigdogguru :: Replies: 30 :: Views: 1072
Hi. I have run into a strange problem. I am using PIC18LF1220. The microcontroller is working fine except pin RB2. I have configured RB2 as input but it always reads 0 volts. To eliminate possibility of (hardare) PCB problem, I bent the RB2 pin so now its not touching the PCB. Then I am applying 3.3 volt directly from power supply to the pin. Howev
Microcontrollers :: 01-24-2013 05:06 :: Tiwana6330 :: Replies: 3 :: Views: 358
MPLAB hitech C compiler :)
Microcontrollers :: 01-30-2013 23:31 :: rparthiban69 :: Replies: 22 :: Views: 1093
My code in hitech
C is working...
// HI-TECH C Compiler for PIC10/12/16 MCUs V9.83
__CONFIG ( 1 & FOSC_INTOSC & WDTE_OFF & PWRTE_OFF & MCLRE_OFF & CP_OFF & CPD_OFF & BOREN_OFF & CLKOUTEN_OFF & IESO_OFF & FCMEN_OFF );
__CONFIG ( 2 & WRT_O
Microcontrollers :: 02-10-2013 08:25 :: nagkiller :: Replies: 8 :: Views: 1385
I am doing my project in vehicle tracking, which uses gps and gsm. I am using pic16f877a(MPLab hitech C compiler). I have completed the codings for both gsm and gps seperately. I need to integrate these things to vehicle tracking. But the pic16f877a has one UART port. Hence suggest me whether i have to use relays to switch between g
PC Programming and Interfacing :: 02-16-2013 00:21 :: karthikeie :: Replies: 3 :: Views: 843
I am using PIC16f1527 IC. I have doubt in how to configure UART1 configuration registers and Baudrate formula selection.
Kindly send the sample code. hitech c compiler.
FOSC=20MHZ and baudrate=57600
Microcontrollers :: 03-08-2013 00:31 :: rparthiban69 :: Replies: 0 :: Views: 164
Hello guys. I am using this code (hitech c) for sending and receving data with virtual terminal (proteus). When I type "1" and "2" when
the terminal has a focus I can proprely turn on/off a led on a portB. But the command "b" doesn't return a the string HHHHH. THe baund
is the same 9600..What's wrong? Any help? Thanks
Microcontrollers :: 03-28-2013 17:52 :: tonyyy :: Replies: 4 :: Views: 408
Do you guys have experience with DS1307 and PIC 16F877A ?
I 'm using hitech C and I can't use the example from compiler....
I stack with :
unsigned short read_ds1307(unsigned short address)
//unsigned short dataa;
I2C_Wr(0xd0); //address 0x68 followed by direction bit (0 for write, 1 for read) 0x68 follo
Microcontrollers :: 04-10-2013 23:26 :: bianchi77 :: Replies: 2 :: Views: 412
Find the attached code files for ds1307 RTC IC and I2C interface for pic18f252. It is written in hitech PICC. To use change the extensions, headers and include files. Enjoy!
Embedded Systems and Real-Time OS :: 04-12-2013 06:42 :: babar_ali :: Replies: 3 :: Views: 652
PA3040, nikhilsigma, ec_nisarg.
dear 'nikhilsigma' ,
one question to u plz clear me
1. #define status PORTDbits.RD1
Does 'status' mean STATUS register which contains C,Z,RP0,RP1 etc. bits or PORTD1 is definning as 'status' symbol???
if 'status' is not STATUS, then can i write
#define status PORTD
Microcontrollers :: 04-18-2013 06:35 :: picmicroh :: Replies: 3 :: Views: 326
This is the program for Digital Temperature Monitoring System. When I build this code in MPLAB hitech c compiler it is build success, but when i simulate this in protecous software is does not show any output. My circuit and program are given bellow. Could anyone help me by correcting code or problem. By this program i can measured internal tempera
Microcontrollers :: 04-30-2013 03:58 :: HerohetoChakma :: Replies: 1 :: Views: 404
I use like in hitech and works...
Maybe the #define statment is like hitech c!?!?
/* hitech C for PIC12F629*/
#include // Required to interface with delay routines
// Unless already defined assume 4MHz system frequency
// This definition is required to calibrate __delay_us() and __delay_ms()
Microcontrollers :: 05-09-2013 11:05 :: nagkiller :: Replies: 17 :: Views: 1375
I have built a board equipped with lm35dz. THe pic is PIC16f876A. Right now the board is able to receive/reply command/messages
via RS232 Works fine.. I would like to read the temperature and send it to my PC. I am using hitech. Someone could help me posting
a working code C example ? Thanks
Microcontrollers :: 05-13-2013 10:51 :: tonyyy :: Replies: 2 :: Views: 215
I need to vary pwm duty cycle in 0 to 255(50khz). but 50khz resolution is 8.64 bits(0 to 398).
i need scale the value 0 to 398 into 0 to 255? How to scale the values?
input data 255=398/1.56 ;
correct or not? how to use float value?
hitech C compiler
Microcontrollers :: 05-28-2013 04:51 :: rparthiban69 :: Replies: 3 :: Views: 312
I am trying to display the touch positions from a resistive touch screen on a 16x2 LCD using PIC18LF4550. I got a sample code from have made few modific
Microcontrollers :: 06-12-2013 03:31 :: Akhil Mohan :: Replies: 3 :: Views: 258
you would need an FMC card with a 10gbps phy. hitech global makes such a card with an ael2005. IIRC, the ael2005 does 10GBase-SR/LR/LRM. It connects to the FPGA using XAUI, which uses 4 of the 3.125Gbps transmitters on the FPGA. The XAUI logic is implemented partially in the GTX's, and partially in FPGA fabric. The 10Gbe MAC is implemented ent
PLD, SPLD, GAL, CPLD, FPGA Design :: 07-01-2013 23:37 :: permute :: Replies: 3 :: Views: 356
Hi to all,
We are going to use PIC24EP512GU814 controller for our industrial application. So far we had worked in 16 and 18 series and compiled using CCS compiler. But we heard that the CCS compiler is not suitable for the higher end application. So we are in mess to move ahead. So Could anybody clarify us for the compiler to select from the oth
Microcontrollers :: 07-02-2013 07:17 :: anboli :: Replies: 3 :: Views: 331
I have a 4-wire resistive touchscreen and have interfaced it with a PIC18F4550 uc. I am able to display the co ordinates on an LCD at this point of time. What I wanted to do is using this co-ordinates (0 to 1023) information to control a device to turn it ON. For eg, I would like to play a music clip recorded on APR9600 when I touc
Microcontrollers :: 07-04-2013 02:01 :: Akhil Mohan :: Replies: 0 :: Views: 175
hi i wrote program for pic uart in hitech-c and i am trying to simulate it in proteus and i need help .I used LCD to display data which i typed in virtual terminal is it works . what is virtual terminal in proteus . is it used to send and receive data from microcontroller .
Microcontrollers :: 07-14-2013 07:11 :: azarutz :: Replies: 7 :: Views: 504
I am trying simple led blinking code on pic16f877a .Simulations are working fine on proteus but hardware is not responding.I am using mplab with hitech compiler
My code is as follows
__CONFIG( FOSC_HS & WDTE_OFF & PWRTE_ON & CP_OFF & BOREN_ON & LVP_OFF & CPD_OFF & WRT_OFF & DEBUG_OFF);
// Define LED pin
Microcontrollers :: 07-19-2013 19:30 :: raafia :: Replies: 29 :: Views: 935
@Golden Electronics: I don't want to buy a PIC18 C compiler, hitech's C compiler only allows free compiling for PIC 10/12/16 MCUs... I have to look for some C compiler too.
This looks like a free 18f complier
Microcontrollers :: 07-21-2013 13:02 :: wp100 :: Replies: 9 :: Views: 416
It probably depends on the microcontroller, compiler & IDE. Using PICs with MPLAB and hitech/Microchip C compiler it will normally only build the changed modules but download the whole program. You can 'manually' specify the area to program so if you forced certain modules into certain places you could possibly only partially flash it, but usually
Microcontrollers :: 07-21-2013 10:47 :: keith1200rs :: Replies: 2 :: Views: 204
The hitech compiler provides a set of accurate delay routines, _delay_ms() and _delay_us().
However, the compiler must have the current system clock frequency (Fosc) before it can generate the required code to implement the delay.
Which is the purpose of the following statement:
#define _XTAL_FREQ 8000000
If you current des
Microcontrollers :: 07-25-2013 00:31 :: bigdogguru :: Replies: 11 :: Views: 824
I am working on a project involving a graphical LCD JHD12864E.
I have written a library for displaying text as well as graphics using hitech-C compiler for pic16f;
The problem I am facing is that,
1.) The part of the display being controlled by CS1 does not display anything , however the other half is working fine.
Microcontrollers :: 07-25-2013 06:32 :: vijayjadhav.595 :: Replies: 0 :: Views: 330
i ammended the code,.. still not compiled. will you please attatch a simple code for interfacing the LM016L LCD with PIC16f877A written in C language. I m using hitech compiler for compilation purpose.
Microcontrollers :: 07-31-2013 13:54 :: nirajd :: Replies: 2 :: Views: 198
In Youtube video, you trying to compile the asm generated by MikroC!!!
Try to open HMS.mcppi in MikroC and compile!!!
IF you use the code:
unsigned short tick;
This is hitech C Universal ToolSuite. Use option into the MPLAB like picture bellow:
Microcontrollers :: 08-19-2013 11:05 :: nagkiller :: Replies: 39 :: Views: 1317
COMPILER: hitech C18 9.8
SIMULATION: PROTEUS ISIS
Hi ppl .I am making a data logger for SD,MMC CARD. FOR SD CARD initialization command CMD8(for sd cards v2+) i am getting invalid command response. CMD0 is giving valid response ie 01. I am sending the following command
CMD8 = 0x48 0x00 0x00
Microcontrollers :: 08-24-2013 04:56 :: shari2643 :: Replies: 0 :: Views: 600
what does the following error mean. I am using pic - 12f615
Error C:\Program Files (x86)\Microchip\tx_37pricing.c; 31.1 undefined identifier "IOSCFS"
Embedded Systems and Real-Time OS :: 08-30-2013 00:42 :: firstname.lastname@example.org :: Replies: 13 :: Views: 665
Please... try this:
/* hitech C using PIC12F629 */
#define _XTAL_FREQ 4000000
unsigned int count;
__CONFIG ( FOSC_INTRCIO & WDTE_OFF & PWRTE_OFF & MCLRE_OFF & BOREN_OFF & CP_OFF & CPD_OFF );
OSCCAL = 0x3ff;
GPIO = 0x00;
CMCON = 0x07;
TRISIO = 0b00001000;
Microcontrollers :: 09-05-2013 20:08 :: nagkiller :: Replies: 6 :: Views: 521
check the config bits and use HS for 20MHz..
in hitech compiler use
#define _XTAL_FREQ 20000000 // in top
for(i = 0; i < 40; i++)
Electronic Elementary Questions :: 09-11-2013 02:00 :: Venkadesh_M :: Replies: 3 :: Views: 462
Well try this one also: (I am not sure whether it has considered as a error by hi tech compiler or not but give it a try) I haven't use hitech, but this is the basic rule so it may affect here!?
- There are 2 basic forms of include directory :
1) angle brackets: insstructs the preprocessors to search for the
included file using a predefi
Microcontrollers :: 09-18-2013 08:18 :: Jigar 4 Electronics :: Replies: 39 :: Views: 1276
i m try to receiving GPS data and filter the time , longitude and Latitude in $GPGGA . i m using hitech compiler and 16f877 controller here is my code :
///////////////Serial Interrupt Setting/////////////////////
void interrupt receive(void)
Microcontrollers :: 09-27-2013 07:38 :: fawadbutt :: Replies: 4 :: Views: 353
What i want i actually let PIC to detect the voltage level at RA0(AN0), if the voltage level is from 3-5V, then turn on the LEDs at PORTC...
I have turn on the Analog setting at RA0 but still not working...
Compiler: MPLABX IDE hitech C
/* Start of configuration fuses*/
Microcontrollers :: 10-05-2013 06:31 :: VoltVolt :: Replies: 3 :: Views: 242
Hi kvsa you can continue in the same thread itself no need of posting a new thread.. and as jayanth.devarayanadurga said you have to modify the resistors....
The programming part is very simple and you can do whatever you want, I always use hitech compiler so i am writing on it, you will need MPlab IDE and hitech compiler for compiling purposes..
Microcontrollers :: 10-09-2013 04:34 :: Venkadesh_M :: Replies: 6 :: Views: 265
In my project i want to use tsob with project is home applaiances control by ir remote.......i want to how tsop interface with pic16f877a........and how the data will be processed.......anybody knows plz help me....
Thanks in advance.....
Microcontrollers :: 10-16-2013 06:38 :: manikandanshine :: Replies: 4 :: Views: 343
Microcontrollers :: 10-26-2013 07:01 :: nagkiller :: Replies: 33 :: Views: 779
Guys I am doing a project with PIC18F2550/4550 I have compiled the bootloader for the device.
My whole project is in hitech C for PIC18, now I need to adopt my code so that code starts from 800 instead of 0000, I have found the following code but it is for C18, I need to change it to hitech C for PIC18, I will be thankful for the help
Microcontrollers :: 01-07-2014 08:57 :: abidr :: Replies: 1 :: Views: 227
MPLAB is only the IDE.
What is the specific compiler you are attempting to utilizing, CCS, hitech PICC, Microchip XC8, etc?
It appears as if you are not utilizing the correct compiler directive to set the configuration register and initialize the UART.
You are mixing CCS and hitech Compiler directives, consult the actual compiler user manual for
Microcontrollers :: 01-11-2014 13:49 :: bigdogguru :: Replies: 4 :: Views: 513
The following is the MPLAB User Guide
MPLAB IDE User?s Guide with MPLAB Editor and MPLAB SIM Simulator
You will need to ensure you have hitech C PIC10/12/16.
The tutorials begin on page 41.
Additional reference material is available from:
Microcontrollers :: 01-22-2014 04:10 :: bigdogguru :: Replies: 4 :: Views: 370
Download the Compiler like if you are using PIC18 then also Install MPLab C18 Compiler or hitech Compiler all details are available in Microchip's website
Microcontrollers :: 02-03-2014 02:38 :: embRTS :: Replies: 2 :: Views: 192
hitech-C is now Microchip XC series of compilers. XC30 does support dsPIC.
Microcontrollers :: 01-24-2014 03:39 :: FvM :: Replies: 5 :: Views: 559