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

Image may be NSFW.
Clik here to view.

PIC micro controller oscillator frequency

Hello guys The internal clock (Q1–Q4) of PIC Micro controller runs at a quarter of the oscillator frequency (FOSC/4). My question is if i divide the frequency with 4 Then the timer period of each clock...

View Article


Hello, how can i send signal from fm radio to arduino

Hello, i already finish my fm receiver, but now i want to connect to arduino, i dont know how to do it? i am new to Arduino thnx

View Article


AVR Timer: CTC mode

Hello, I learning AVR programming, I have made a code to toggle AVR pin at an interval using interrupts Here' the code Code (Text): #include <avr/io.h> #include <avr/interrupt.h>   //...

View Article

Design relay circuit which can be control by wireless temperature sensor...

Hi, I have ordered the wireless temperature sensor reading the sensor at longer range but I need some suggestion to design a relay circuit which will be operated by wireless zigbee device. I need to...

View Article

PIC16F18446 Xpress board PWM generation

I received a free PIC16F18446 Xpress board and I tested it by blinking LED and toggling GPIOs. My application needs 4 PWMs for SPWM generation of a single phase AC motor. Out of 4 PWMs 2 are SPWM which...

View Article


Compass module XYZ analysis

Hi, I'm programming a PIC 18L4620 with a compass module AK8963C using Oshonsoft (BASIC) I have the PIC READing the module and outputting serial DATA. (see txt) I have programs Magmaster and Magmaster...

View Article

SPI timing issue with max35101

I've been trying to test the time to digital converter max35101 with an stm32f407vg6 microcontroller and am stuck for some reason. The timings for the SPI communication seem to be extremely strict for...

View Article

store different values into two variables from rotary encoder

Hi All, I am trying to store two variables within a while loop after reading a rotary encoder but it stores the same value of w1 when switching over to w2 Code (C): #include<PinChangeInterrupt.h>...

View Article


Determine what interrupt triggers

Hi Been struggeling a bit, and can't get my interrupts to work, PIC16F690 Code (Text): #include <htc.h> #include <stdio.h> #include <stdlib.h> #include "lcd.h" #include...

View Article


Access ETM of Nucleo F401RE without using a debug kit

Hi i’m using Nucleo board F401RE. i want to access to ETM with code, without debug kit. i'm using IAR workbench. My code: Code (C):   #define ETM_CR 0xE0041000 // Address of ETM_CR #define ETM_LAR...

View Article

Getting started to Computer embedded systems

Hi everyone, I would like to learn about embedded systems, memory management, computer architecture or what I would need for build smart electronic devices, so maybe I could design and build my own PC,...

View Article

Image may be NSFW.
Clik here to view.

Can't init more than one line on LCD

Hi My init for LCD seems to malfunction,( but do proberly what i have told it to do Get only line 1 active. Here is LCD.c code Code (Text):     #ifndef _XTAL_FREQ // Unless specified elsewhere, 8MHz...

View Article

How to Use a Rotary Encoder with an MCU

I have gone with this link https://accautomation.ca/plc-programming-example-shift-register-conveyor-reject/. I'm not familiar with PLC. I have knowledge of microcontroller. I want to interface Rotary...

View Article


Guide to Sensor Interfacing

I have Photoelectric sensors and I want to interface it with mcu AT89C51. Sensor work with I have looked at datasheet But I don't have idea. I'm attaching datasheet of the sensor. A sensor is working...

View Article

unable to toggle a led on port pin using interrupt, went through code & can't...

trying to use interrupt on port pin to toggle a led & when i run the code the led stays on , i increase the counter to 50 & the led stays off i can't seem to figure out whats wrong in the code...

View Article


Domains active during Microcontroller Sleep mode?

Hi all, Can some one tell me what are the domains active during the MCU sleep mode? I tired google. but unable to find the exact answer. Thanks.

View Article

Simplifying my USART code [ char string]

Hey guys, so i created this code Code (Text): int main(void) { //    PLL_Config();     SystemCoreClockUpdate();     char string[]= "Hello World";     int i=0;...

View Article


Intoduction to battery powered systems and wifi.

Hello Everyone, I decided to take a dive into battery powered micocontroller systems and i need to know a few details before i go in any further. Basically how do i design a battery operated...

View Article

18LF4520-Module works 18F4620-Module doesn't work, Oshonsoft,

Hi, I have PCB test circuit with 18LF4520, and I'm testing a compass module (AK8963C), which is working. I'm just finishing second update PCB, with 18F4620. The compass module doesn't work with this...

View Article

Zero crossing detector using 741 IC to measure frequency

I want to make a zero crossing detector using 741 IC to measure frequency of the supply (220V). I am using 12 V supply for 7 pin of IC. fig shows the detail but I am not getting 12 V and 0 V as...

View Article
Browsing all 4921 articles
Browse latest View live