Quantcast
Channel: Microcontrollers
Browsing all 4921 articles
Browse latest View live
↧

Problem with Arduino Nano Coding

i'm doing voltage indicator but the input voltage is different from output voltage show on lcd display. can someone help me how to solve the problem? Code: // include the library code: #include...

View Article


Trying to understand why bit shifting allows PWM output to work correctly

Hi, student new to pic here. I've written a simple piece of code that reads the value of a potentiometer using ADC and generates a PWM output to dim an LED. C: void main(void) { // initialize the...

View Article


How to resolve hardware resource conflict in Multi-core embedded system?

Our application is Advanced Drive Assist Systems(ADAS). Our Electronic Control Unit(ECU) contains Two Renesas RH850 / U2A16 Microcontrollers. Each microcontroller has Four cores. Our Embedded Software...

View Article

STM32 and LWIP help with CubeMX

Looking for help with the STM32 platform and LWIP when using CubeMX. I have been trying to find a demo that works. Unfortunately, all the demos are pre CubeMX. I have tried to reverse engineer it and...

View Article

Interfacing 433MHz RF Module with PIC16F688

I am trying to interface the RF module which comes with Transmitter (FS1000A) and Receiver (MX-RM-5V) in pairs and interfacing with 2 sets of the circuit consists of 2 PIC16F688. After sourcing the...

View Article


NUCLEO-STM32F767ZI no ST-LINK detected problem

I have just purchased STM32 nucleo board F767ZI. I have generated cubeMX project and opened it using Keil uVision. I have used all default settings for projects and connected the board to my PC using...

View Article

Covert from analog to digital control using arduino

How can I convert this circuit to digital using arduino ? It has two stage : the first generate triangular wave then generate pulses

View Article

Image may be NSFW.
Clik here to view.

Staircase LEDs using Arduino

Hello AAC forum, Started this project using PIR sensors to trigger a 555 timer that turns on LEDs for twenty seconds for a walker on a staircase. But then the concept of directionality popped up and it...

View Article


How to install library. Please help

How to install library. Please help

View Article


HID Mouse Emulation

I want the esp32 to emulate a hid compatible USB mouse on windows. can I somehow use CP2102 USB UART and ESP32 Wroom SoC to make this possible? Please give some suggestions. Thanks

View Article

First time interfacing MCU with external SDRAM

(Links are component datasheets or application notes.) I have a project using the STM32H series MCU that requires external SDRAM for data storage. Due to the size, the PCB is going to cost near $1,000...

View Article

ESP8266-01 Interrupts

I'm trying to setup interrupt in arduino based environment using board ESP8266-01, based on help i found on different sites i wrote following code, but when i program my device it continuously shows...

View Article

Sending power over data, 24 volt Dc communication

How, can i send data through power supply cable( 24 Volt DC) for communicating between 2 microcontrollers ? Tried with rs 232, manchester encoding, In transmitter side, with capacitor coupling to power...

View Article


Image may be NSFW.
Clik here to view.

NUCLEO-STM32F767 debugging using Keil printf undefined

Hello. I have bought this nucleo board and learning c programming. I am using internal st link to program the microcontroller. However, right off the bat I have noticed that I am not able to use printf...

View Article

Image may be NSFW.
Clik here to view.

Circuit fails after adding 7805

Noob at the helm. I am attempting to use an Atmega328 on a board. I have the same circuit designed without the 7805 and it is fine. I tried to add the 7805 in and I get a convergence failed error after...

View Article


Brown-out detection with an external clock ATmega1280

I'm using ATmega1280 with an external clock and I have some questions about the "safe operating area" for preventing EEPROM corruption with BOD. The external clock is: Crystals 14.7456MHz 18pF HC49S...

View Article

I2C bit banging and interfacing analog ADC

1. I need to interface NAu7802 datasheet attached. 2. MCU is operating at 16Mhz, writing I2C code by bit banding. 3. took reference from Microchip AN1488 note for bit banding and wrote below code. 4....

View Article


Walsh Functions for RMS calculation

I'm working in an application similar to the one described in the paper attached. Does someone have experience using Walsh Functions for RMS calculation? I think they are not used much in the industry...

View Article

PICKIT3 with 74LS inputs connected to PGC and PGD

Will the PICKIT3 be OK programming and debugging with a 74LS input on each of the PGC and PGD connections to the target? The 74LS is driving LEDS so the LEDs will flicker but that doesn't matter.

View Article

PIC16f676 I attach potentiometer 10k but its not working any one please help me.

C: #include <HTC.H> __CONFIG(0x3E54); //PWRTEN #define _XTAL_FREQ 4000000 #define LED1 RC0 //PIN NO10 #define LED2 RC1 //PIN NO9 #define RELAY RC2 //PIN NO8 #define ECHO RC5 //PIN NO5 #define...

View Article
Browsing all 4921 articles
Browse latest View live