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

Arduino HCSR04 Crack Measuring

Hi all, I used to detect the small crack on wall using HCSR04 Ultrasound sensor, But i cant sense the crack , i only getting the Distance, how can i sense the crack separately Regards, Ajin nadh .v.a

View Article


Image may be NSFW.
Clik here to view.

Pic18f4550 microcontoller to IOT

Hey guys, I want to sent my sensor data from my pic18 up to IOT (Thingspeak.com). Can anyone advise me on were to get started for the codes. I know the hardware part where I have to use a wifi module...

View Article


HAL (SPI DMA) check how many bytes received during operation

I am transferring 10 bytes from master to slave over SPI+DMA. How can I check whether how many bytes the receiver has at that moment and if all the 10 byte has not been received then stops the process....

View Article

Interrupt based UART while running VUSB on ATmega8

I've built a wireless mouse that sends data through UART over RF to base station which is just an ATmega8 with VUSB Ckt and RF reciever connected. things that i've tried : 1. Running UART on interrupt...

View Article

AC Motor control with microc and PIC18F46K22

Hello everybody I would like to control an AC motor (three phase),with a potentiometer connected to an RA0 of the PIC18F46K22,the potentiometer is used for setting the frequency of the sine wave signal...

View Article


asm rlc versus c shift

I want to rotate a variable through another variable so that D7 bit of variable 0 will enter into bit D0 position of variable 1 ( like ASM: rlc variable 0, rlc variable 1 ) . But in c...

View Article

Probelm with PIC16F777

I am making a three phase AC motor speed control using ICD3 as downloader but when uploading codes to my PIC the MPLAB says "Error - Could not find Generic linker commands for this device." Could you...

View Article

pic switching code does not work as i want.

hello, i am try to code switching code which work some thing like this when code start pin 1 on and pin 2 off and continuously check if pin 3 off than pin 1,2 off else if last time pin 1 on than do...

View Article


Pause in UART Transmitted Values

Hi, I am working with dspic33fj128mc804. UART used to send values from the PCB to the computer., transmits all the values but there is a tiny pause between the readings. I am sampling data at 8KHz . As...

View Article


I Need help for AT89c2051 programming.

I am doing project in which i will be having two dc sources. One is Consistent 12v and onther one is fluctuating... I will be using analoge comparator of AT89C2051, I am having two problems 1)during...

View Article

I2c bit banging, AT89C55WD, EEPROM BL24C04 interfacing

1. I am using AT89C55WD(40 pin DIP), with 12Mhz crystal. Have to interface BL24C04 with it. 2. System is +5V powered & I have made bit banging code in C for it. I have kept 50kbps speed. Took...

View Article

Problem with IR2110 to drive an H-Bridge

Hello everybody,I have a problem which made me to spend two weeks trying to find the error but not find,please can you help me to handle?? I am making an H-bridge which is controlled by the IR2110(2)...

View Article

Arduino to control DC motor

Hello everyone, I am new to arduino and I need your help in a code. I need to control a DC motor direction by 2 pushbutton connected to arduino and H-bridge. where I want to press and hold 3 second on...

View Article


Help Troubleshoot Board Design (Atmega3289) not opperating

Hi there. Thanks for reading my post, So I have created a schematic and have produced a few boards for testing, in terms of what it does it uses a 9DoF chip and an atmega chip to provide information...

View Article

LPC1768 to floating point processor

Hi all, I am currently using the LPC1768 development board for a project. Since I am using a lot of floating point calculations, I wish to replace the MCU with a floating point processor. Is there an...

View Article


GSM , GPS and Arduino

hi my project is use GSM, GPS and Arduino for tracking system , how I can change the bing map to google map? Code (Javascript):         strcpy(message, "http://www.bing.com/maps?");...

View Article

PIC18F6520 delay error

Hi all I am doing my coding subject for uni and i am struggling as to why one of my delay routines works correctly but the other does not. My first sub routine simply holds a high logic for 400ms and...

View Article


Interface Arduino with RC Remote to control RC Car

I've searched but I could not find a direct answer to what I'm trying to do. Like the title says I am trying to wire an Arduino to the four buttons on the remote(attached pic) that control movement of...

View Article

SDCC Compiler Z80 - Strange use of registers

Hi all, I am using the SDCC for my ZBM project and have begun writing a library so the C program can interface with system calls (RST). I am having some trouble with this and the manual is not very...

View Article

PIC32 two uart interrupts

I have the below program, in which data is not coming to second UART, first uart is working, someone kindly help me Code (Text): void main() {       AD1PCFG = 0xFFFD;   // Configure AN pins as digital...

View Article
Browsing all 4922 articles
Browse latest View live