Chat

Welcome to Flux

Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
Write I2C initialization code
Generate firmware skeleton
VDD ---| 14 15 |--- OSC2 (Cristal 4 MHz) -----+5V GND ---| 5 ...

@copilot PIC16F628A +-----------------+ VDD ---| 14 15 |--- OSC2 (Cristal 4 MHz) -----+5V GND ---| 5 16 |--- OSC1 (Cristal 4 MHz) -----+5V | | RA0---| 17 (LED Verde Semáforo 1) RA1---| 18 (LED Amarillo Semáforo 1) RA2---| 1 (LED Rojo Semáforo 1) RA3---| 2 (LED Verde Semáforo 2) RA4---| 3 (LED Amarillo Semáforo 2) RA5---| 4 (LED Rojo Semáforo 2) | | RB0---| 6 (Segmento A Display 7 segmentos) RB1---| 7 (Segmento B Display 7 segmentos) RB2---| 8 (Segmento C Display 7 segmentos) RB3---| 9 (Segmento D Display 7 segmentos) RB4---| 10 (Segmento E Display 7 segmentos) RB5---| 11 (Segmento F Display 7 segmentos) RB6---| 12 (Segmento G Display 7 segmentos) +-----------------+ me lo conectas este circuito
1y
Sure! Let's break down the connections for the PIC16F628A with your components.
Power
  • Connect U1:VDD (Pin 14) to +5V.
  • Connect U1:VSS (Pin 5) to GND.
Oscillator (Crystal 4 MHz)
  • Connect Y1:1 to U1:OSC2 (Pin 15).
  • Connect Y1:2 to U1:OSC1 (Pin 16).
LEDs for Traffic Light 1
  • Connect LED1:K to GND; LED1:A to U1:RA0 (Pin 17).
  • Connect LED2:K to GND; LED2:A to U1:RA1 (Pin 18).
  • Connect LED3:K to GND; LED3:A to U1:RA2 (Pin 1).
LEDs for Traffic Light 2 7-Segment Display (Common Anode Assumed)
  • Connect D9:a to U1:RB0 (Pin 6).
  • Connect D9:b to U1:RB1 (Pin 7).
  • Connect D9:c to U1:RB2 (Pin 8).
  • Connect D9:d to U1:RB3 (Pin 9).
  • Connect D9:e to U1:RB4 (Pin 10).
  • Connect D9:f to U1:RB5 (Pin 11).
  • Connect D9:g to U1:RB6 (Pin 12).
Notes
  • Make sure to use current-limiting resistors, typically around 330-1k Ohm, in series with each LED segment and traffic light LED.
  • Verify your 7-segment display type (common anode or cathode) and connect accordingly. The above assumes a common anode setup.
Please, let me know if you need additional assistance or modifications!
1y
3
C1
Capacitance
Capacitance
C2
Capacitance
Capacitance
D9
Resistance
33000 Ω
D1
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Resistance
33000 Ω
Y1
LED4
LED1
LED2
LED6
LED3
U1
LED5

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    No assets added.

    Lexical Emerald Wall-E

    Lexical Emerald Wall-E thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $3.24–$3.61

    Digi-Key

    $11.22–$22.76

    LCSC

    $25.63

    Mouser

    $19.69

    Verical

    $3.68–$6.46

    Controls