microcontroller

  1. abcmann

    Creating a PWM-signal that works properly

    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...
  2. Mayank_2606

    8051 not working after flashing the program.

    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...
  3. Z

    How to interface CMOS image sensors with 32-bit Microcontrollers?

    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...
  4. M

    Help! Identify the IC

    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...
  5. W

    Microdevt - Interrupt-based Drivers

    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...
  6. H

    Sun tracking using Arduino

    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...
  7. D

    how to detect error and restart microcontroller for embedded system with Esp 12 or Esp 32

    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...
  8. P

    How to implement my control system on my dsPIC33EV 5V CAN -LIN Starter kit (dsPIC33EV256GM106)

    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...
  9. L

    What's the function of a microcontroller that is put between a voltage source and a sensor (a low-power device)?

    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...
  10. G

    How to make an Gesture control system using aurdino nano and nrf 24 module for an drone

    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?
  11. S

    Assembly Language Program

    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...
  12. Mooafwsa

    PCB design use with stepper motor

    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...
  13. 8

    SAMD21G18 - getting it started

    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...
  14. F

    External Interrupt on PIC16F887 not working // MPLABX XC8 C

    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...
  15. M

    How To Store Multiple Keys in Arrays?

    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...
  16. M

    PIC16F877A DS18B20 multiple sensors connection

    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...
  17. B

    How to calclate Rb and Rc value for NPN transistor?

    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...
  18. M

    Isolated Voltage and Current measurement fed back to a Microcontroller

    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+...
  19. roadey_carl

    ZMPT101B Voltage measurement

    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...
  20. C

    FIELD ORIENTED CONTROL DISSERTATION

    Hi everyone, I am a final year student who is making a dissertation on Field-Oriented Control (FOC) with a BLDC motor. I am having the issue that with the virus outbreak I have had to modify a lot how to carry out my dissertation. As a result, I do not know what to write about anymore. I would...
Top