Hi, I want to measure the voltage of the fan regulator and feed into ADC pin of ESP 8266, The range of ADC is 0 to 1V, theoretically I can use the below circuit. VG1 being the load voltage taken from the fan regulator, VF1 will be driven into my ADC pin , My doubt is, can i go with this circuit...
Hello guys,
I am currently working with a mircocontroller for the first time. My goal is to achieve a PWM-signal (1kHz). While trying to generate the signal I encountered the problem that my signal seems to be moving horizontal due to inconsistancy in time up to 100 µs. The goal was to...
Update: The issue is resolved now. Please check my update here: https://forum.allaboutcircuits.com/threads/8051-not-working-after-flashing-the-program.177718/post-1613102 for details on the issue. The circuit is now successfully implemented, even on hardware.
I am a beginner trying to learn how...
I've been learning to program 32-bit ARM cortex-M controllers with an STM32 Nucleo (L476rg Nucleo). I've been playing with interfacing and controlling stepper motors so far. My next step is to move on to machine/computer vision and incorporate image sensing however upon some searching (hopefully...
Came across this IC from my car dash. I believe it to be the microprocessor and need help identify it. The IC in question is the one marked IC15 (the biggest one) in the image below. Additional, would appreciate if anyone could guide me as to finding out the logic stores in the IC.
Thanks in...
Hi there!
Does anybody known how to code an interrupt driven driver using Microdevt toolkit (www.kw-net.com) ?
I am trying to develop a simple driver on my atmega328 that enqueues a bitstream from an other uC. The bitstream is read on an input pin and then processed if a certain amount of data...
I want to make a programe on arduino with which I could compare inputs from 2 LDR and move the servo motor (sg 90) according to the values. At the end my main task is if both the sensors are in dark for specified time the motor should move back to its original position. I need help in...
one thing that make me confused is how the microcontroller notice the errors and restart by itself
let me give an example
we have cooler system with Esp 32 and temperature sensor,when temperature be Above 25 centigrade degrees cooler will work until temperature reduce to 25 degree .
all the...
Hello everyone,
So I have been working on a wireless charger for EV applications. The prototype I designed uses a control system to manage the voltage at the exit of the charger. Without going too deep, we can just assume the charger is a source supplying a square signal of 15 Volts of 150kHz...
Hello,
I have a very general question concerning digital electronics:
Given a sinusoidal voltage source (followed by its rectification circuit so that in the end the voltage is constant) and a final sensor (to be powered directly with the voltage source), why do I need to put a...
Hlo,guys I am a newbie to this field and I want to make an Gesture control quadcopter drone for my collage project using aurdino nano and nrf 24 module as an transmitter and receiver.Can somebody guide me?on how to build it and program it?
So we've been instructed to write an assembly language program to display numbers 0-9 on a common anode 7 Segment Display and simulate it using the Proteus Software. (8051 microcontroller) (And 0-F as well)
I'm a complete beginner in this field and was hoping that I'd get some help here from...
I'm currently looking for a solution to a problem I have and I need to create a circuit to later develop into a PCB and these are my requirements:
- I need a device to rotate a circle with 8 intervals one interval per day.
- I also want a switch to reset the device once it has completed its 8...
Hello,
I designed a board with a samd21g18 microcontroller. Now, I tried starting it and at first it looked good, nothing exploded. I broke out all the connections I would need for the SWD/JTAG connector and connected those with an Atmel-Ice programmer. Now I started Atmel Studio and wanted to...
I would need some help with the external interrupt on pin 33 on the PIC16F887(PDIP). Basically I have tried everything, went by the datasheet, and the interrupt ended up not working. I'm 99% sure, that I have the hardware working because it worked with an Arduino. I am using an encoder, and both...
Hi all,
I'm new to microcontroller programming. I would like to ask how do I display multiple keys on my LCD display. An example is I want to show "123456". Below is the codes I'm using. I am using PIC18F4520 and this is my LCD datasheet. Thanks in advance!
#include <xc.h>
void...
Hello. I have a problem with connecting N number of DS18B20 sensors on pic16f877 microcontroller on same pin in proteus simulation. I got it working with one sensor. But I cant get it working with multiple sensors (number of sensors greater then 1). So the C code needs to do next: when I connect...
Here is a part of my schematic.
K pin from LCD is connected to NPN transistor. A pin is connected to Rc and Vcc, 5V.
Base is connected to uController. It is Atmega16. 5V supply.
I am using 2N3904 transistor as it is showed at the picture.
Electrical Characteristics form datasheet:
Vcbo= 60V...
Hi.
I was wondering if someone has ever constructed a Switch Mode Power Supply using isolated voltage and current sensors connected to a Microcontroller.
If so:
What device (Voltage/Current) have you used and using what protocol ( i2C / SPI etc ) ?
What sampling rate could be achieved ( 200kHz+...
Hello,
Has anyone ever used one of these ZMPT101B current transformers for measuring AC voltage with a microcontroller?
I’m struggling to get any linearity with it at all and I can’t understand why.
Here is what I’m doing:
I’m using a Variac which can produce voltages from 1vac – 330vac
If I...