microcontroller

  1. M

    Program for LED blink

    Hello, I am newbie in programming the microcontroller. I would like to test the micro by blinking the LED in a pin. The micro is SAMR35J18B and I am using ATMEL ICE programmer and ATMEL studio software for the programming. I am able to detect the micro in the software but I could not find proper...
  2. N

    What are possible reasons for NVM data corruption during embedded controller shutdown?

    Consider a typical autonomous embedded Steering Control Module. This controller is mounted in a Commercial Truck. It assists in keeping the vehicle in it's lane. During transition to sleep mode, real camera calibration data is written from RAM to NVM. This data written to NVM is corrupted...
  3. D

    Proteus x Mplab Source Code

    Hi guys. What is the difference between these two procedures for the reset and interrupt vector. One in mplab and one in the Proteus? org 0x00 ;reset vector goto Start org 0x04 ;interruption vector goto Start PGM code 0x0 Goto Start ORG 4 ;some code here PGM code Start
  4. J

    What to use ESP32?

    Hi, I am doing a small smart home project (model). I'm going to use an LCD, 2 led strips, 4 sensors, 2 micro servos and 4 leds. I counted that I would need about 29 pins and now I wonder what microcontroller is best to use, from the beginning I thought about Esp32 but one Esp32 is not enough and...
  5. D

    Enabling conversion on other AN ports (Assembly)

    Hello, I am trying to implement a weight sensor. Tension simulates weight, and I've already made a sensor which is working. But when I try to enable conversion on the other sensors, ie the other AN ports, it doesn't recognize when I call adcon1,adcon2, etc. I appreciate if you can help me...
  6. A

    120vac to 5vdc sensor signal to controller

    Hello guys, I am not sure if this is the correct thread to post this topic on, but it is related to microcontroller, so here is goes. I have a 120vac input signal coming from an existing sensor that i need to sense to my controller and then act accordingly. I have tried 2 circuitries and have...
  7. Samwilliams_4

    Help with dice game code errors on PIC 18F452 microcontroller

    Im trying to finish a dice game code on a PIC 18F452 microcontroller using assembly language by tomorrow morning and only have 7 errors left in his code. If i can fix the remaining 7 errors, i won’t have to drop the class so if anyone can help out tonight that would be greatly appreciated. Here...
  8. A

    detect pressure of the arm coming together

    hi I am developing simple circuit where I am trying to detect pressure when arms coming together when hand bended. the device will be placed near the L bow of hand and when user bend the arm, the device measure the pressure and beep if pressure is higher than set limit. I know micro controller...
  9. praveenmax

    Doubts related to L239D motor driver

    Hi all, A begineer here. I am making a simple DC motor based car. I am using the following components, Two 12v DC motor (1000RPM, No-Load Current: 70mA (max) ) L239D Motor Driver Arduino D1 board Eight 3.7v 3800mah Li Battery (4 batteries for each motor ) My doubt is, 1. I want to run...
  10. cikalekli

    Stack and Program counter boxes after the CALL DELAY and at MOVLW 0xAA?

    How can I stack and Program counter boxes after the CALL DELAY and at MOVLW 0xAA? #Define PORTB 0xF81 MYREG EQU 0X08 ORG 0 BACK: MOVLW 0X55 MOVWF PORTB CALL DELAY MOVLW 0XAA MOVWF PORTB CALL DELAY GOTO BACK ORG 300H DELAY: MOVLW 0XFF MOVWF MYREG AGAIN: NOP NOP DECF...
  11. ashokraj

    what are the safety/protection I will have to take when converting 0 to 240V to 0 to 1V , feeding to adc pin of microcontroller

    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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top