Omar Emiliano Jallasi Huasco
BOLIVIA • + Follow
Edit Project
Components
|
PIC16F877A-I/PMICROCHIP TECHNOLOGY
|
x 1 | |
|
LCD_16X2_Arduino_Shield |
x 1 |
Tools, APP Software Used etc.
|
KiCADKicad
|
|
|
CCS C CompilerCCS
|
|
|
Proteus 8 |
|
|
MPLAB X IDEMicrochip Technology
|
Description
ENTRENADOR DE MICROCONTROLADORES PARA DIP-40
proyecto dirigido a universitarios para coadyuvar la programacion en pic, sin necesidad de usar un protoboard.
project aimed at university students to help programming in pic, without the need to use a breadboard.
Code
ANIMADO DE UN CARACTER
C/C++
#include <16f877a.h>
#fuses HS,NOWDT,NOPROTECT,NOPUT,NOLVP,BROWNOUT
#use delay(clock=20M)
#use standard_io(D)
#define LCD_DB4 PIN_D5
#define LCD_DB5 PIN_D4
#define LCD_DB6 PIN_D3
#define LCD_DB7 PIN_D2
#define LCD_RS PIN_D0
#define LCD_E PIN_D1
#include <LCD_16X2.c> //libreria de la lcd
char animado1[8]={0x04,0x0E,0x1F,0x07,0x07,0x04,0x0C,0x14};
char animado2[8]={0x00,0x00,0x01,0x1E,0x1E,0x16,0x02,0x05};
char animado3[8]={0x04,0x0E,0x1F,0x07,0x07,0x04,0x0C,0x14};
char animado4[8]={0x00,0x00,0x01,0x1E,0x1E,0x16,0x02,0x05};
void main(){
char y=1;//indica la fila
signed char x=16;// para el barrido
lcd_init();
CGRAM_position(0);
CGRAM_create_char(animado1);
CGRAM_position(1);
CGRAM_create_char(animado2);
CGRAM_position(2);
CGRAM_create_char(animado3);
CGRAM_position(3);
CGRAM_create_char(animado4);
while(1){
lcd_clear();
lcd_gotoxy(x,y);
CGRAM_putc(0);
lcd_gotoxy(x+1,y);
CGRAM_putc(1);
lcd_gotoxy(x+2,y);
CGRAM_putc(2);
lcd_gotoxy(x+3,y);
CGRAM_putc(3);
delay_ms(500);
x--;//barrido de derecha a izquierda
if(x<-8)
{
x=16;
y++;
if(y>2){y=1;}
}
lcd_clear();
}
}
Schematic and Layout
May 27,2024
296 views
ENTRENADOR DE MICROCONTROLADORES PARA DIP-40
Se trata de un entrenador de microcontroladores pic de 40-dip universal, tiene el mismo interfaz que un arduino.
296
1
0
10.00 (1)
Published: May 27,2024
Download Gerber file 1
BOM(Bill of materials)
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
Only PCB
PCB+Assembly
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-ShareAlike (CC BY-SA)
License.
- Comments(0)
- Likes(1)
Upload photo
You can only upload 5 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
It looks like you have not written anything. Please add a comment and try again.
You can upload up to 5 images!
Image size should not exceed 2MB!
File format not supported!
View More
- Omar Emiliano Jallasi Huasco May 27,2024
View More
VOTING
1 votes
- 1 USER VOTES
10.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
-
10design
-
10usability
-
10creativity
-
10content
10.00
More by Omar Emiliano Jallasi Huasco
You may also like