microcontroller

  1. 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...
  2. 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...
  3. 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?
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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+...
  12. 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...
  13. 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...
  14. danwastheman

    How to use an STM32 to flash a bios chip with a bin or hex file?

    My old PC motherboard's bios chips were corrupted and it's an old 1155 socket so there were no available replacements. I believe I have the necessary tools to attempt to erase and reprogram the chip, but I'm not sure what I need to do. There isn't much STM32 resources online to guide me...
  15. C

    Is there any FOC Software available for STM32 Nucleo-64 G474RE board?

    Hi everyone, I have recently bought an STM32 Nucleo-64 G474RE. I want to use this MCU for Field-Oriented Control (FOC or Vector Control) with a BLDC motor. I have seen there are many libraries available and there is the ST Motor Control Workbench tool available. But I am confused as to which...
  16. A

    Is python useful for telecom technician ?

    Hello, I'd like to know if python programming skills could be an asset for a telecommunication technician/engineer. Does anybody have some experience with python into the field ? I'm currently studying telecommunication electronics in a College in Montréal, Canada and i hold a diploma in...
  17. A

    Python for programming ESP8266/ESP32

    For all with interest in application of the ESP8266 and ESP32 family microcontrollers from Espressif, I would like to reccommend the following project we are working on. Based on Micropython, we havebuilt a basic framework for IoT projects with ESP chips. The framework has out of the box and...
  18. U

    Phase Drifts Detector

    Hello, everyone! I have a problem with approaching a university project, which aim is to detect the phase drifts (difference, deviation) between a mains supply voltage and either an internal reference and externally input reference signal. The system should be micro-controller based (MSP430)...
  19. A

    Using a microcontroller to control / play categorized audio

    Hello Everybody! I'm making a project which is essentially an audio player. In my project I have many audio files which are sorted in different categories. For an example, Assume that my categories are 1) Home Automation 2) Car Electronics and 3) Drones Now I have several audio files under...
  20. L

    pic12f683 push button problem

    Hi i just joined to try and get a little help after getting no further with my project all day. my project is one push button and one LED. my goal was to get the push button to swap from 1 mode to another and then off (reset to 0) i am new to all this so i got bits of code from here and there...
Top