Author |
Message |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Sat Feb 19, 2022 10:46 am Subject: PIC18F47K42 UART overflow? |
Ok. I will try that, maybe 3,3v 0,8A regulator will do that job. Thanks for help. |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Sat Feb 19, 2022 6:43 am Subject: PIC18F47K42 UART overflow? |
This is indeed voltage issue, pic sends every time on every startup, every second Ok to bluetooth terminal (so that self made voltage divider works) but when i try to send something on the pic, that w ... |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2022 3:05 pm Subject: PIC18F47K42 UART overflow? |
Yes. Vdd 5v and logic pins are 3,3v. So if PIC's TX-pin drives on direct 5v HC-05 RX-pin, that not last very long. Maybe i must use logic converter, but that voltage divider make job for PIC18F4550... ... |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2022 1:22 pm Subject: PIC18F47K42 UART overflow? |
Thanks for quick answers!
Yes indeed pic is driven 5v line and so is HC-05 because it is also 5v device, but that HC-05 rx line can take only 3,3v... same configuration works earlier good on pic18f ... |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2022 10:14 am Subject: PIC18F47K42 UART overflow? |
Compiler version 5.107
Here is program, its not ready...:
#include <main.h>
#if defined(__PCH__)
#include <18F47K42.h>
#include <stdlib.h>
#include <string.h& ... |
Topic: PIC18F47K42 UART overflow? |
Rikste
Replies: 16
Views: 52238
|
Forum: General CCS C Discussion Posted: Fri Feb 18, 2022 8:47 am Subject: PIC18F47K42 UART overflow? |
Hi!
I have problem with the pic18F47K42 and the HC-05 Bluetooth module. They both are in same voltage lines. I made voltage divider on the HC-05 RX pin that change PIC's signal 5V to 3,3V. When I ... |
|