Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Proyectos Simples
Proyectos eléctricos y electrónicos sencillos
Casa Proyectos PIC Proyectos Arduino Proyectos ESP8266 Proyectos MikroC
Interfaz del
microcontrolador
PIC18F46K22 con
DS1307 RTC
Esta publicación muestra cómo construir un
Etiquetas:
reloj / calendario simple en tiempo real usando
el microcontrolador PIC18F46K22 y el chip 7 SEGMENTOS
MOTOR BLDC
pueden configurar usando dos botones
BME280 BMP280
conectados al microcontrolador PIC18F46K22.
DAC
https://simple-circuit.com/pic18f46k22-ds1307-rtc-lcd-ccs-c/ 1/8
24/6/2021 Interfaz del microcontrolador PIC18F46K22 con DS1307 RTC
DHT11 DHT22
Hardware requerido: DS18B20 DS1307
DS1621 DS1631
datos HC-SR04
PALANCA DE
Oscilador de cristal de 32,768 kHz
MANDO
Resistencia de 2 x 10k ohmios
L293D L6234
Resistencia de 330 ohmios
LCD DIRIGIÓ
2 x pulsador
LM35 LM335
Resistencia variable o potenciómetro de 10 LM4040
k ohmios TARJETA MMC / SD
Batería de celda de moneda de 3V NOKIA 5110 PWM
SSD1306 OLED
Interfaz de PIC18F46K22 con
ST7735 TFT
UART ULN2003
USB VGA
Archivo
https://simple-circuit.com/pic18f46k22-ds1307-rtc-lcd-ccs-c/ 2/8
24/6/2021 Interfaz del microcontrolador PIC18F46K22 con DS1307 RTC
https://simple-circuit.com/pic18f46k22-ds1307-rtc-lcd-ccs-c/ 3/8
24/6/2021 Interfaz del microcontrolador PIC18F46K22 con DS1307 RTC
Enlaces
1 /* patrocinados:
2 * Interfacing PIC18F46K22 microcontro
3 * C Code for CCS C compiler.
4 * This is a free software with NO WAR
5 * https://simple-circuit.com/
6 */
7
8 // LCD module connections
9 #define LCD_RS_PIN PIN_D0
10 #define LCD_RW_PIN PIN_D1
11 #define LCD_ENABLE_PIN PIN_D2
12 #define LCD_DATA4 PIN_D3
13 #define LCD_DATA5 PIN_D4
14 #define LCD_DATA6 PIN_D5
15 #define LCD_DATA7 PIN_D6
16 // end LCD module connections
17
18 // button definitions
19 #define button1 PIN_B0
20 #define button2 PIN_B1
21
22 #include <18F46K22.h>
23 #fuses NOMCLR,NOLVP,NOBROWNOUT,PUT,NO
24 #use delay(internal = 8MHz)
25 #use I2C(MASTER, I2C1, SLOW = 100000,
26 #include <lcd.c> // include LCD dr
27 #include <DS1307.c> // include DS1307
https://simple-circuit.com/pic18f46k22-ds1307-rtc-lcd-ccs-c/ 6/8
24/6/2021 Interfaz del microcontrolador PIC18F46K22 con DS1307 RTC
Share this:
DS1307
Leave a Reply
comentarios .
https://simple-circuit.com/pic18f46k22-ds1307-rtc-lcd-ccs-c/ 8/8