Peer-to-peer, engineer-to-engineer questions and answers from the EDABoard.com engineering community around microcontrollers. Click the “Read more” link and follow the entire conversation and maybe add your two cents by logging in to EDAboard.com.
Interfacing LM35 with 8051 using ADC0804 to display temp – I am using the LM35 temperature sensor with 8051 using ADC0804 to display 2 digits temperature data in 2 seven segment display. i couldn’t find the error either in the circuit or the source code. The circuit image is attached, plz rectify me the error in circuit and the code. Read more
Parallel processing of PWM and comparator – I have configured my PWM for 20khz and implementing the logic of space vector modulation in the interrupt routine in PWM interrupt. The problem is the hall sensors are analog and given as input to the comparator of controller to convert to digital. But sometimes I am finding that controller is missing to generate the pulses in between and randomly around one hall change. Read more
Trying to pass and return a variable – I’m using Mikroc pro for pic and PIC16F877A . I’m trying to pass a variable to a function that calls and returns with the variable unchanged. Tested by setting a flag in the function and also just adding a number to “sum” in the function and returning with “sum”. Still the same result unchanged. Everything in function is declared except “sample”. Any ideas what am I missing here? Read more
My controller malfunctioning – My controller is malfunctioning when I bring the 350Mhz Walkie Talkie equipment type: Motorola GP328 Plus 350 MHz, Model No: AZH38PDC9AA3. What are the ways to arrest the radiated emission? Read more
ATOI command causes program to fail – I’m trying to read a string from EEPROM and use ATOI to convert to an int. Converting into string and writing to EEPROM works fine but when I add the following line the program fails (nothing displays on LCD or any outputs). Read more
UART condition in PIC18F65K40 – What are the conditions for asynchronous Uart transmission in PIC18F65K40? Read more
How to make demo hex file – I want to make a demo .hex file. Can anyone tell me how can I make it? Read more
Code compiles with no errors but will not run at all – I’ve been having this same problem intermittently while writing/testing this code, Basically each routine/loop will run fine separately but when added all together code compiles with no warnings/errors but will not run. Read more
Unable to communicate SIM808 module – I have tried to communicate the SIM808 module using PL2303 but not able to see the status(RDY) of SIM808 module through PL2303 in PUTTY terminal. Read more
How to reset ATmega32 with code – How do I reset the ATmega32 with code? I am using C with Atmel studio app but I can’t use hardware to reset the MCU. Read more
Leave a Reply
You must be logged in to post a comment.