Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Amanda Lima

  1. A

    [PIC] Zero Crossing Detector with pic 12F1822

    There was a short on R1 in the previous scheme because it was being tested at 24 volts, I will post the new scheme corrected and there is no resistor at the base of Q1 in the posted scheme because it is an A8C code transistor with a 47k resistor integrated in its base and another in base and...
  2. A

    [PIC] Zero Crossing Detector with pic 12F1822

    As mentioned the load connected to the relay contacts when commuting across zero does not make sense, as there is a long delay time between activation of the relay coil and closing of the relay contact. The time is not very precise and varies with time, remanence, aging, but I see a circuit...
  3. A

    [PIC] Zero Crossing Detector with pic 12F1822

    Hi, there are some faulty photocells that have fallen into my hands. The scheme posted so far has been fixed by a colleague because mine was a mess, I will post my scheme and waveforms and code used in the tests, enabling port_A_pullups(0x08) ; had a change in the waveform, remembering that this...
  4. A

    [PIC] Zero Crossing Detector with pic 12F1822

    Hi, from what I understand zero crossing is normally used for smooth actuation of loads, increasing their service life. Someone has already made a circuit with pic that allows you to identify the moment when the AC mains voltage crosses the zero volt line. I need to connect a relay and I don't...
  5. A

    [SOLVED] LED flash with pic 12f1822

    Hi, I made the code, I'm going to change the old timed photocell code. I don't understand why this message appeared, since I'm using pic 12f1822 and not this [PIC16 CORE] PC=0x0074. TRISA instruction is deprecated for PIC121822. [U1], do you know what it means? and about turning on an LED at the...
  6. A

    [SOLVED] LED flash with pic 12f1822

    Hi, I made the code, I'm going to change the old timed photocell code. I don't understand why this message appeared, since I'm using pic 12f1822 and not this [PIC16 CORE] PC=0x0074. TRISA instruction is deprecated for PIC121822. [U1], do you know what it means? and about turning on an LED at the...
  7. A

    [SOLVED] LED flash with pic 12f1822

    My problem was not solved, they didn't help me at all, I don't know if they understood me, it was a simple code for those who understand microcontroller code, I delivered the code ready, just wanting to change the type of count that was external from 60Hz to internal using timer0, but I'm very...
  8. A

    [SOLVED] LED flash with pic 12f1822

    I used 60Hz and a software counter to get 1s, but I wanted to use timer0 or timer1 and a software counter to get 1s, if I can I'll put it in my code and I won't use 60Hz, I want to modify my code that uses the 60 Hz for a new code that uses timer0 or timer1 and I can't use another pic because I...
  9. A

    [SOLVED] LED flash with pic 12f1822

    I said timer0, but it could be timer1, or some other way, I just need to have a timer code that I can turn off an LED or a relay after a while, I could do that using delay_ms() but with that I can't I get long times, (minutes or hours), I don't know if you understand me, I'll summarize, when I...
  10. A

    [SOLVED] LED flash with pic 12f1822

    Hello Aussie Susan, This is not a new problem, it's just a continuation of the previous one, this one now depends on the previous one which is to use timer0 to time, so I wanted to make a program to flash an LED' and make the timer work with that, this last program worked in simulation and in...
  11. A

    [SOLVED] LED flash with pic 12f1822

    #include <main.h> int16 analogico1 = 0; int16 analogico2 = 0; int16 analogico3 = 0; int16 minuto = 0; #fuses NOMCLR INTRC_IO PLL_SW #device ADC = 10 #use delay(clock=32000000) #use fast_io(A) int32 cnt = 0; #INT_RA // interrupção RA...
  12. A

    [SOLVED] LED flash with pic 12f1822

    Good afternoon, I want to assemble a photocell with pic 12f1822 for school work, and I can't program it, I'll send the diagram and the program, pin 2 (RA5) goes to the base of the transistor of the relay, pin 3 (RA4) comes from the splitter voltage a 100k ohm trimpot which is for timing with 8...
  13. A

    [SOLVED] LED flash with pic 12f1822

    I searched the internet and didn't find it, that's why I'm here, in short, I need a timer for several times, first step, I'm wanting to make a led blink at a frequency of one second, next step put other times. Is this part of the interruption correct? #include <gf.h> int time =...
  14. A

    [SOLVED] LED flash with pic 12f1822

    I'm sorry, I'll post #include <gf.h> int time = 0;//;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #INT_TIMER0 void TIMER0_isr(void) { time ++;//;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; //} //set_timer0(6); set_timer0(0)...

Part and Inventory Search

Top