Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD Devirim Kart

License: GPL 3.0

Mode: Editors' pick

  • 390
  • 0
  • 0
Update time: 2022-06-25 10:34:04
Creation time: 2018-04-16 12:42:39
Description
/* * File: blinksumo.c * Author: Technopc * * Created on 24 Nisan 2018 Sal?, 11:54 */ // CONFIG1 #pragma config FOSC = INTOSC // Oscillator Selection (INTOSC oscillator: I/O function on CLKIN pin) #pragma config WDTE = ON // Watchdog Timer Enable (WDT enabled) #pragma config PWRTE = OFF // Power-up Timer Enable (PWRT disabled) #pragma config MCLRE = ON // MCLR Pin Function Select (MCLR/VPP pin function is MCLR) #pragma config CP = OFF // Flash Program Memory Code Protection (Program memory code protection is disabled) #pragma config CPD = OFF // Data Memory Code Protection (Data memory code protection is disabled) #pragma config BOREN = ON // Brown-out Reset Enable (Brown-out Reset enabled) #pragma config CLKOUTEN = OFF // Clock Out Enable (CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin) #pragma config IESO = OFF // Internal/External Switchover (Internal/External Switchover mode is disabled) #pragma config FCMEN = ON // Fail-Safe Clock Monitor Enable (Fail-Safe Clock Monitor is enabled) // CONFIG2 #pragma config WRT = OFF // Flash Memory Self-Write Protection (Write protection off) #pragma config VCAPEN = OFF // Voltage Regulator Capacitor Enable (All VCAP pin functionality is disabled) #pragma config PLLEN = ON // PLL Enable (4x PLL enabled) #pragma config STVREN = ON // Stack Overflow/Underflow Reset Enable (Stack Overflow or Underflow will cause a Reset) #pragma config BORV = LO // Brown-out Reset Voltage Selection (Brown-out Reset Voltage (Vbor), low trip point selected.) #pragma config LVP = OFF // Low-Voltage Programming Enable (High-voltage on MCLR/VPP must be used for programming) // #pragma config statements should precede project file includes. // Use project enums instead of #define for ON and OFF. #define _XTAL_FREQ 16000000 #define LED LATC3 #define BUZZER LATC2 #define MTA1 LATA7//Sol Motor #define MTA2 LATA5 #define MTAP LATA4//CPP5 #define MTB1 LATA6//Sa? Motor #define MTB2 LATC0 #define MTBP LATC1//CPP2 #define STARTM RA3//Start Modulu #define ECHO1 RC5//Sa? HCSR #define TRIG1 LATC6 #define ECHO2 RA1//Sol HCSR #define TRIG2 LATA0 #define ECHO3 RB6//Ön HCSR #define TRIG3 LATB7 #define QTR1 RC4//Sa? QTR #define QTR2 RA2//Sol QTR #define DIP1 RB0//DIP Switch #define DIP2 RB1 #define DIP3 RB2 #define DIP4 RB3 #define POT1 RB4//Sa? Pot #define POT2 RB5//Sol Pot #include #include #include int aasd = 10000; void main(void) { OSCCON = 0b11111000; T1CON = 0b00110000; TRISA = 0b00001110; TRISB = 0b01111111; TRISC = 0b01110000; while (1) { __delay_ms(50); aasd = hcsr1oku(); if(aasd
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity
1 10u C1 CAP-D3.0XF1.5 1
2 1u C2 CAP-D3.0XF1.5 1
3 Motor 1 P1 BORNE-5.08-2P 1
4 Motor 2 P2 BORNE-5.08-2P 1
5 Pil P3 BORNE-5.08-2P 1
6 Start Modulu P4 HDR-3X1/2.54 1
7 BUZZER P5 DIP-BUZZER-9X5.5 1
8 QTR1-A P6,P7 HDR-3X1/2.54 2
9 LED P8 LED-3MM/2.54 1
10 POWLED P9 LED-3MM/2.54 1
11 HC-SR P10,P11,P12 HDR-4X1/2.54 3
12 SWITCH P13 SWITCH-6X6X5_TH 1
13 220 R1,R3 AXIAL-0.3 2
14 10k R2,R4 AXIAL-0.3 2
15 0 R5 AXIAL-0.3 1
16 100k R6,R7 RES-ADJ_3386P 2
17 Switch S1 SWITCH-SPDT 1
18 dip switch S2 VDG/S-04HG-R 1
19 L7805ABV U1 TO-220(TO-220-3) 1
20 TB6612 U2 DUAL TB6612FNG 1
21 pic16f1936 U3 SPDIP-28 1

Unfold

Project Attachments
Empty
Project Members
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn