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.
Hi, is it advisable to use an interrupt to turn on another interrupt?
I'm trying to use 2 CCP (capture mode) interrupt, CCP1 and CCP2 to measure the time difference between 2 pulses on the PIC16f887 microcontroller. I'm trying to use CCP1 to turn on the interrupt for CCP2. Is this method...
Hi guys, I am having a little problem designing a triangular wave generator with a single supply. I intend to use a Schmitt Trigger Comparator circuit and an inverting integrator to design the circuit.
Duty cycle = 0.5
Frequency = 8.5kHz
Supply voltage = 12 V (single supply operation)
Vmax =...
Actually the main reason I do this is because I want to speed up the heating of the etchant by turning on the optocoupler without checking for the zero volt crossing, until it reaches Midtemp. And if the temperature of the etchant is already higher than midtemp, then I want to make sure it is...
Hello I have a question, is this a correct way to make sure I make sure the etchant liquid heats up the fastest while monitoring the temperature and time? RB3 is the pin that is connected to the optocoupler for phase firing.
while((Temp < midtemp)&&(TimeNow <= EndTime))
{...
Hi, I'm doing a project which is an etching tank. I'm using a PIC16F887 and a RTC 3231 to keep time. I plan to control the temperature by controlling the phase firing delay. I am using IOC on pin RB2 to read the zero crossing circuit and sending a pulse to RB3 to turn on the heater. I am also...
Hi, I am currently working on a temperature monitoring system using a PIC16f887, this is the code I've written but It takes too much space on my program space. The code is already taking 91.2% of my 2000H words.
#pragma config CONFIG1 = 0x2CD2
#pragma config CONFIG2 = 0x0700
#include <stdio.h>...
Assuming that my Keypad works, is this right?
uint8_t i, second, minute, hour, m_day, month, year;
uint8_t duration = 0;
uint32_t StartTime, TimeNow, EndTime;
void RTC()
{
// convert data from BCD format to decimal format
second = bcd_to_decimal(second);
minute =...
Hi, I am doing a project where I am using a PIC16f887 microcontroller and a DS3231 RTC module. I am designing an etching tank that allows the user to enter their desired etching duration. I have got the code to program the RTC, but I have some problems with the countdown part.
I uploaded my...
@Aussie Susan, the GSM900 was able to reply Ok when I tried to check for feedback using serial monitor. When I connect my USB to TTL module to the PIC it does not return Ok. After that I tried with 20Mhz external oscillator and serial monitor it, it returns with inverted question marks. What...
Hi, I'm currently working on a project. I'm using a PIC16f887 microcontroller to help me send a sms to the user. It is supposed to allow the user to enter their phone number and it will send a sms to the user. The keypad is working fine but I have problems with the GSM.
The code I've attached...
@KlausST, can I do that with a multimeter, I don't have an oscilloscope that I can use for now
@FvM, I have a 20Mhz oscillator that I can use, do u know which configuration should I choose for the baud rate.
oh sorry, I forgot to mention that I am using a PL2303 USB to TTL Module to connect my PC to the GSM Sim900a module. The only connections used are cross connection between the Tx and Rx as well as power and ground
This is my code I used to enable user to type their phone number using a matrix keypad.
#include <stdio.h>
#include <stdlib.h>
#include "config.c"
//LCD module connections
#define LCD_RS RD0
#define LCD_EN RD1
#define LCD_D4 RD2
#define LCD_D5 RD3
#define LCD_D6...
Hey guys, Im trying to interface the GSM Sim900a module with my PIC16F887 microcontroller. I have trouble with the connection of the GSM so I tried to use serial monitoring to check for feedback. I am currently using the Arduino Ide for serial monitoring.
After typing AT command, it is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.