Serial Lines on the 18F458

Started by Anonymous in Piclist13 years ago 1 reply

I have the 18F458 and I got serial to work just fine with the C6 and C7 pins. Those are RX and TX. What about the CANTX and the ...

I have the 18F458 and I got serial to work just fine with the C6 and C7 pins. Those are RX and TX. What about the CANTX and the CANRX.... what are those? Any ideas?


RS232 serial communication problems with 18F458

Started by Gavin Dingley in Piclist10 years ago 1 reply

Hi, I am fairly new to pics, so you will have to forgive me. I am playing with a 18F458, no particular reason for using this device, it's just I...

Hi, I am fairly new to pics, so you will have to forgive me. I am playing with a 18F458, no particular reason for using this device, it's just I had one available, and for this question I think the scope is general to other devices in the range. I have prototyped a circuit on breadbaord using this PIC and a MAX232 chip so that I can communicate from a PC to the device through RS232. Basically ...


Next 18F458 Question

Started by Anonymous in Piclist13 years ago 26 replies

I'm trying to establish simple I/O. Here's what I have. PortC connected to my serial port on my computer. Here is my code: ...

I'm trying to establish simple I/O. Here's what I have. PortC connected to my serial port on my computer. Here is my code: #include <18F458.h> #fuses HS,NOWDT,NOPROTECT,NOLVP #use delay(clock=8000000) #use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7) voi


I don't programming that 18F458 and 12F675

Started by cnt in Piclist14 years ago 7 replies

Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any...

Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any problem. I try to programming 18F458 and 12F675 but I don't programming them :( could you tell me what I am doing now? thanks for your advices sory for my english CNT TEK.


help in a/d convert of pic 18f458(picc compiler)

Started by kaci...@yahoo.fr in Piclist9 years ago

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i...

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i neeed a/d converter an0,an1,an3 (10bit conversion) and the 3 result of conversion will be used in calcul(var =fonction(read(1),read(2),read(3...) fonction is(arctan..) ) i use the pic 18f458(with picc compiler) and i want to obtain a hightspeed intern (...


PSPICE!!!

Started by Anonymous in Piclist13 years ago 1 reply

Where can I get a Spice model of the 18F458? Any ideas at all? Shamoon

Where can I get a Spice model of the 18F458? Any ideas at all? Shamoon


PIC18F458 Getting Started

Started by Anonymous in Piclist13 years ago 2 replies

Hello, I have worked with the 16 series before and I am mostly familar with it. I am attempting to start a project with the...

Hello, I have worked with the 16 series before and I am mostly familar with it. I am attempting to start a project with the 18F458. Can someone tell me how to construct a simple circuit to blink an LED? I am using C. Thank you, Shamoon


Serial Multiplexing

Started by Anonymous in Piclist13 years ago 6 replies

I have 2 serial ports on my 18F458, but the problem is that I need 3. Is there anyway I can multiplex 2 lines into one of the ones...

I have 2 serial ports on my 18F458, but the problem is that I need 3. Is there anyway I can multiplex 2 lines into one of the ones on the PIC? Thanks.


Sorry to Interrupt!

Started by Anonymous in Piclist13 years ago 2 replies

I know, I know... corny subject, but relevant. I need a way to handle interrupts with CCS C Compiler and the PIC 18F458. ...

I know, I know... corny subject, but relevant. I need a way to handle interrupts with CCS C Compiler and the PIC 18F458. Basically, I'll be sending output from the PIC constantly through the serial line, but every so often, I might be getting something back, I need a way to handl


PIC 18F458 Timing

Started by Anonymous in Piclist13 years ago

I'm using an accelerometer to measure velocity. So it's VERY important that I know the time between each measurement of the ...

I'm using an accelerometer to measure velocity. So it's VERY important that I know the time between each measurement of the accelerometer. I have a 4MHz clock and I'm using CCS C compiler and my code is as follows: while( input(PIN_C2) ); // wait until low while( !in


Timing with the 18F458

Started by Anonymous in Piclist13 years ago 3 replies

Hey, I'm using an Accelerometer to measure velocity, so timing is critical. Any ideas on how to keep accurate track of how long...

Hey, I'm using an Accelerometer to measure velocity, so timing is critical. Any ideas on how to keep accurate track of how long each cycle of a loop runs? I would like to be as accurate as humanly possible. I am using CCS and my code is as follows: while( input(PIN_C2) ); /


help in a/d conversion pic18f458

Started by kaci25500 in Piclist9 years ago

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i...

hi all, in need some hope(oriontatin) in my application. my application consist in; i have 3 analog input (3 sinusoidal tensions),then i neeed a/d converter an0,an1,an3 (10bit conversion) and the 3 result of conversion will be used in calcul(var =fonction(read(1),read(2),read(3...) fonction is(arctan..) ) i use the pic 18f458(with picc compiler) and i want to obtain a hightspeed i...


PLEASE TELL ME ABOUT "PWM CONTROL"

Started by baghi_b in Piclist13 years ago 1 reply

HI ALL, I NEED VERY VERY URGENT NEED TO KNOW HOW CAN I USE THE PIC MICRO ( SPECIALLY 18F458 ),TO HAVE A HALF-BRIDGE SWITCHING...

HI ALL, I NEED VERY VERY URGENT NEED TO KNOW HOW CAN I USE THE PIC MICRO ( SPECIALLY 18F458 ),TO HAVE A HALF-BRIDGE SWITCHING POWER SUPPLY, WITH 25KHZ SWITCHING FREQUENCY. BIG PROBLEM IS LOW RESPONSE OF A/D OF PIC TO CONTROL ACTIVELY THE WIDTHS OF PWM ACCORDING TO OUT


Wireless USART

Started by "d.fektv" in Piclist10 years ago

Hi guys, I am trying to send 1 byte data packets from one 18f458 to another using 433.93MHz FSK TX/RX devices. I am also using a manchester...

Hi guys, I am trying to send 1 byte data packets from one 18f458 to another using 433.93MHz FSK TX/RX devices. I am also using a manchester encoder/decoder on both ends (DPC-9600) at 9.6kbps. I am using WriteUSART() and ReadUSART() functions in asynch mode at 9.6kbps to send and receive the data. The DPC-9600 simply interfaces the USART pins and the TX/RX devices. In TX mode, the ...