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.
While I was home this winter, I saw that the remote for our TV tuner was damaged physically, causing the buttons to not function responsively. Some of them just didn't work. I saw this as an opportunity for a fun couple days' project to build a new remote controller for the tuner.
The TV...
The Intel Edison test board, along with the USB mouse
I have recently been using the Intel Edison for the Cornell robotics project team (which co-hosts the Intel-Cornell Cup USA competition). Building on my previous knowledge of embedded systems, I started learning to use and program on...
Using the PIC32MX250F128B, I decided to make a simple audio player. I wanted to play back good quality audio from a large memory space - a microSD card. So, I made this WAV player that can play back 16-bit 44.1kHz WAV files with 12-bit stereo audio output. Of course that's not all it can play...
Here I will show you how to use the compare section of the CCP (Compare, Capture, Pulse Width Modulation) module of the PIC16F877A. You can use this concept for any PIC with a CCP/ECCP module.
There are 2 modules associated with the compare section – the CCP module which we’ll use for the...
I turned the switch on and BOOM! That noise, the tiny puff of smoke and the accompanying smell had become far too familiar.
I looked on in confusion at all the failed electronics components in front of me. I needed answers. Why did the H-bridge circuit not work as “claimed”? Books showed...
In most cases where you want to control an AC load, a triac or SCRs will be used. However, it is not easy to drive a triac or SCR. The drive requirement for the triac or SCR makes it sometimes difficult to control it as we want. One thing is that we can not turn the triac or SCR on or off as we...
We all know what a motor is and what it does. The simplest way to run a motor is to just connect it to a power source. For a DC motor, that would mean, just connecting the motor to the DC voltage that the motor was rated for (or less). But, can you control the speed?
Yes. The simplest method...
Here's a temperature sensor (thermometer) circuit that you can easily build. It uses the popular PIC 16F877A microcontroller. The temperature sensor is DS18S20. The DS18S20 communicates through the one-wire protocol. The PIC16F877A communicates with the DS18S20 with the one-wire protocol and...
Here's one temperature sensor (thermometer) circuit that you can easily build. It uses the popular PIC 16F877A microcontroller. The temperature sensor is LM35. The LM35 outputs an analog voltage proportional to the temperature. The output from the LM35 is 0.1V/'C. So, when temperature sensed is...
Zero crossing detection is very important, especially in power control circuits employing thyristors.
I have come across many people struggling with zero crossing detection with PIC microcontroller and thus they cannot fire triacs or SCRs as required.
So, here I have explained a simple...
I have previously shown how to implement SPWM in PIC16: https://www.edaboard.com/blog/1800/
Now I will show how to implement feedback for SPWM.
Due to various limitations in PIC16, such as ADC speed, instruction time and the ALU, it is extremely difficult, if not impossible, to calculate in...
I have previously shown how to calculate the values for the sine table. Now I will show you how to use that sine table for generating a sine wave using a PIC16F684. Why PIC16F684? It is a nice little 14-pin PIC that contains all that is needed for SPWM (sinusoidal pulse width modulation) – the...
Here is the software Smart Sine, that I created and now use to generate sine tables.
It is the improved and more developed version of the software I had previously created with a few more useful features. It is relatively simple to use and gives results quickly as opposed to manually...
PRACTICAL CONSIDERATIONS
All this while, we’ve talked about the software side of things when dealing with the ADC. Now, it’s time to talk about the hardware side of things.
We’ve considered many situations in the discussions above. But not all of them can be used in your circuits.
One...
SEQUENTIAL STEPS IN ANALOGUE TO DIGITAL CONVERSION USING THE INTERNAL ADC
So, here are the steps to configure the ADC and carry out the conversion:
• Decide which pins need to be analogue, which pins need to be digital and which (if any) need to be configured as reference pins.
• Select the...
ADC pinout of PIC 16F877A
PIC16F877A has 8 ADC input channels. That means that 8 pins are multiplexed (connected) to the PIC ADC module. So, you can use the ADC module to convert analogue input from 8 inputs. PIC16F877A cannot do the conversions simultaneously, so it must be done one by...
Right/Left Justification continued
When you have a 10-bit number (range is 0 to 1023), if you divide the number by 4, you effectively just converted the 10-bit number to an 8-bit number. The new range is 0 to 255.
You should already know that bit-shifting a number to the right once is...
Acquisition Time
Before an analogue to digital conversion is to be started, a small amount of time must be allowed for the holding capacitor of the PIC ADC module to fully charge to the input level. This is how the ADC works and unless this minimum time is allowed, the ADC will give an...
Introduction
The ADC is used to convert an analogue input signal (an analogue voltage within a specific range) to a corresponding digital data that can be processed and used by the PIC. The PIC, without the conversion to digital, can do almost nothing with an analogue input (unless you use...
SMPS is the toughest section in Power Electronics. With this subject, additional knowledge is required for choosing active and passive parts to be used in SMPS circuits. Special type of parts are often required as normal parts used in power electronics (low freq. application) may not be suitable...
I am Syed Tahmid Mahbub, a Homemade Electronics Professional who has not done any course on electronics in any college or university. I am learning everyday from books, Internet, forums etc. and applying those knowledge in constructing practical circuits/simulation in my laboratory and also for...
When I was in Class Five, my father gave me a book on Basic Electronics and a trainer board made on wooden board with Breadboard pasted on it and with power supply incorporated and told me to play with this book and trainer board instead of Computer game. I started to learn Analogue electronics...
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.