microcontroller

  1. M

    Sampling battery voltages efficiently in low-power wireless mesh networks

    I want to use an off-the-shelf LPWAN radio product -- which has mesh networking capability and features an embedded microcontroller -- to sample a 12V battery's voltage. I don't want to do it often, so I'll configure the radio's interface to do synchronized sleep routines to wake it up and...
  2. Arjune

    I can't program my pic16f627a with pickit3

    I am using the mp lab x ide and the mp lab x ipe with the pickit 3 to program my pic16f627a to blink an led. I include two screenshots programming with the IDE since the IPE failed also. I am powering the chip (target device) with a 5 volt power supply. I am concerned with the expected and...
  3. Kruikje

    Designing a led conversion for a vintage bureaulamp. Begginer at electronic and pcb designs

    Hi, I'm Felix a 19 year old aerospace student and i have a vintage lamp for my bureau. I got it from the office where my mom used to work, why i got it is also the problem I'm having with it. It gets really hot. There is an old 50W transformer in the base and there is an halogen bulb inside. It...
  4. POU_117

    Do 8-bit Microcontrollers Have a Future in ML & DL?

    Hi everyone! I’m currently conducting an academic research project on the potential role of 8-bit microcontrollers in lightweight AI applications. As we know, Artificial Intelligence has been evolving rapidly and increasingly demands more computational resources. While 8-bit microcontrollers...
  5. N

    Why J1939 XBR message checksum needs to be right shifted by 4 bit and added to the checksum ?

    Attached is External Brake Request(XBR) J1939 message checksum calculation. SAE J1939 Digital Annex(DA) specifies this checksum algorithm. The result of the calculation is 4-bit checksum. Why is checksum right shifted by 4 bits and added to checksum? Why not just take 4 least significant...
  6. SpoNNw

    Why can't I flash my microcontroller?

    Hi there, I need your help. I am working on a project where I have been using the LaunchPad LP-MSPM0G3507 to test and debug my firmware. Now, I have implemented my circuit hardware with the MSPM0G3507 microcontroller, but I’m facing a problem, I can’t flash it. I was trying to use the XDS110...
  7. J

    Compiler Error for CMSIS-core_cm3.c

    Hi, I am currently using the following microcontroller (STM32F100C8T6B) in my design. I am using the STM32CubeIDE and I trying to build the project, but I am getting the following compiler errors from the "core_cm3.c" file Error: registers may not be the same -- strexb r3,r2,[r3]' Error...
  8. K

    LCD Initialization issue | Display Hello World on LCD

    Description: ------------ A C program for 8052 microcontroller to display Hello World message on a LCD. LCD is a 2x16 character type. Hello must be on the first line. World on the second line. Clear the screen after 10 seconds and repeat. The microcontroller used is...
  9. H

    I am in need of a PCB design review in order to troubleshoot an issue with my design.

    I have designed a PCB for a small battery powered hand-held gaming device that utilises the ESP32-S3. I used the ESP32-S3 Zero dev board as a reference and closely followed the recommended layout from the chip’s datasheet. The PCB was manufactured by JLCPCB however it is not able to connect to a...
  10. E

    Designing an AVR for Diesel Generator

    I am in the process of designing an Automatic Voltage Regulator (AVR) for a diesel generator's alternator, utilizing a microcontroller-based approach. Currently, I do not have access to the specific generator to provide detailed specifications, but my general design framework is as follows...
  11. N

    Do Embedded Systems log faults with key switch off ?

    Consider a embedded system such as Electro Hydraulic Power Steering ECU mounted in a heavy duty commercial truck. When key switch is turned off, the ECU should executes very limited functionality in sleep. It is not suppose to log faults in sleep mode?
  12. B

    Genie18 Flowchart Output Command Issue

    Hello, I am looking for advice and guidance on a small project using a Genie18 Board and Microcontroller and the Circuit Wizard software. I have attached the flowchart here below, I am wondering why when my program reaches the High output command it registers as a stop command? The system...
  13. xThornx

    Bi Directional Level Shifter Unexpected Output

    Hi, I'm currently trying to get a 3.3V microcontroller (Freenove ESP32 WROOM) to work with a stepper motor controller that requires 5V control signals (DM542T) and I am trying to use Sparkfun's Bi-Directional Logic Level Converter which has a design based on 4 BSS138 N Channel mosfets. When I...
  14. M

    Toshiba TMP95 chip select signal sequencement modify

    Hello, I am currently working on an old micro controller, the TMP95C64F/265F. I am currently experiencing a problem with the chip select functionality for accessing external memory. In our case, we also use this functionality to activate flip-flops with the nWR and nCS pins. The nWR and nCS...
  15. ashokraj

    Looking for a possible chip which can do the following

    Hi, currently i am using onsemi RSL10 to communicate with digital accelerometer. Currently it is sampling at 6KHz. I would like to change the acclerometer to a higher G which samples at 25.6KHz. in order to that the current controller does not support because of the limitation of RAM...
  16. N

    [SOLVED] difficulty to connect the ST-LINK/V2 to microcontroller

    I am having difficulty connecting the ST-LINK/V2 to my microcontroller. An error appears in the ST-LINK utility. I have already verified all the connections, including the decoupling capacitor, all the pin connections, power supply connections, and USB drivers, but I am still unable to resolve...
  17. L

    Question about a control logic needed to be implemented

    Hello everybody.I have to implement the in house circuit cc-ih circuit which is an energy harvester circuit using simscape electrical. The description of the circuit can be found on page 7 of the pdf at Finite element-based assessment of energy harvesting in composite beams with piezoelectric...
  18. lucky930

    What is wrong with my Timer/Counter?

    I'm using ATMEGA8 for my project. I want to make a LCD display a clock. The below code works fine and displays a code in proper format on the LCD. But the problem is the timer/counter is not getting synced with real clock, it is having 2-3 second difference with the real time on my watch. I've...
  19. M

    How to connect two MCU using SPI? What are the requirement and how I should processed?

    My slave MCU is STM32G0B1 and for master Im going to use SOM which has 3 SPI interface.
  20. sidd342

    Microcontroller Based DC Converter

    Hey, I'm trying an ambitious project, making a DC converter using a microcontroller. I'm using a PNP transistor to drive both the high side and the low side MOSFET. When I'm trying the circuit, even if I keep the duty cycle as low as 20%, there is a path to the ground for the current (I'm...
Top