Quantcast
Channel: Microcontrollers
Browsing all 4923 articles
Browse latest View live

Stuck in ISR, RCIF is not Firing when uart with pic18f5420 and Sim800

Hello, I am new to PIC, I am able to transmit through pic18f4520 and sim800 but could not able to receive it. I run debugger, program is stuck in ISR but RCIF is not fired at all. here are my codes /*...

View Article


INDUSTRY 4.0 IMPLEMENTATION IDEAS

Hello everyone, could you please help me with what kind of software, programs, embedded pieces, microcontrollers o microprocessors might I use to implement a project like this: Ideas for the...

View Article


Eval Board search for driving motor

Hello there, Please could you help me in selecting an evaluation board for programming and driving the IGBT which in turn drives a switched reluctance motor?

View Article

Conditional statement in c language

I had been reading about conditional statement (if, else or if else or if or if) and Now I want to use conditional statement in Program. Let’s suppose, four switches and one LED connected to...

View Article

16bit vs 8bit MCU flash userage

Hi guys I find that a 16bit mcu use the flash a lot faster than a 8bit muc. In my case, 4K flash is lot for a simple project if i use pic/avr, but because I am using a msp430, the code size is just...

View Article


How long does DS18b20 Sensor can withstand in hot area?

As mentioned in DS18b20 Sensor datasheet, it can measure any temperature in range of -25 up to 125 degrees Celsius. I want to measure a liquid temperature which is between 10 and 95 degrees Celsius and...

View Article

Powering Arduino Mega R3 with 5V

My power supply board for this project has reverse diode protection. My master supply is 12V, but I don't want to apply that to Vin for reasons beyond my question, which is: I'm wondering can I still...

View Article

Arduino programming port pinout ideas

I want to create a programming port connected to serial0 on my Arduino. One of the reasons for this is that once the project is in the box I will not have access to the usb port. Another is a power...

View Article


lcd with stm.

Hello , I'm trying to interface a 16x1 lcd with the stm8. My code is as follows: (I'm using the 16MHz internal clock) # include "stm8l.h" # include "stm8s.h" void lcdinit(void) { LCD_CR1 = 0x06;...

View Article


Quickest way to get a pulse from an Attiny?

Hi there, A bit of a newbie question here: I’ve programmed an Attiny to perform a single pulse on power-up, that is, when 3 volt is applied to the chip it simply sets a pin to HIGH (on void setup) and...

View Article

XPT2046 & ADS7843 touch screen controller setup problem.

With a PIC 32MX I have been struggling to get a touch screen working via SPI using the most popular China-made 7"TFT ensemble. The board comes equipped with an XPT2046 resistive touch screen controller...

View Article

PIC16F877A; having trouble with ADC module (more detail below)

Let me begin slowly and clear: recently I started with PIC microcontrollers; having done several basic projects for newscomers to PIC microcontrollers such as flashing an LED on/off, interfacing a...

View Article

wiring and control method to connect an arduino to a PWM dc controller

https://www.aliexpress.com/item/NEW...11237.html?spm=2114.10010108.1000023.1.jILm8k $us 46.39 $nz 63.44 free ship. This looks like an appropriate unit to use. The motor is 12V, 700W rated, potential...

View Article


buck converter using atmega328p

Hi all I have recently planned to install solar panels at my home.I have planned to make the charge controller myself.I planned to be it as MPPT controller.For the controller,I will use atmega328p.It...

View Article

Create Thread: Looking for insight to improve serial communication circuit...

Hi, I'm a beginner and hoping someone can point me in the right direction. I have a project based off two Arduino Due. I've designed some circuit boards so the Arduinos can plug into them and overall...

View Article


how to make car audio player

hello, which controller is used in audio player work in car?

View Article

4x4 keypad arduino non blocking

1. I am using ATMega 2560 arduino board & want to interface 4x4 keypad in it. It has lots of other peripherals like graphical lcd, relay, 3 uart peripherals. SO bit of large code in it. 2. Need to...

View Article


[solved] lcd with stm.

Hello , I'm trying to interface a 16x1 lcd with the stm8. My code is as follows: (I'm using the 16MHz internal clock) Code (C): # include "stm8l.h" # include "stm8s.h"   void lcdinit(void) {...

View Article

Atmega2560 - Can flash with AVR Studio fine, when flashing with avrdude via...

Hello, I have been working on a project where I am using a raspberry pi with avrdude to bit bang an atmega2560. If I use, for example, the blink sketch for a Mega, and flash it through my raspberry pi,...

View Article

SystemCoreClock config FAILS on STM32F411RE Custom PCB

Hello All, I designed a custom PCB that was supposed to run an STM32F411RET6 off an external 8Mhz cystal oscillator. This is the first custom PCB I have done for an STM32 chip, so I am never quite sure...

View Article
Browsing all 4923 articles
Browse latest View live