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.
Soft serial communication C code with explanation – Can someone explain soft serial communication with C code? Read more
HX711 mV/V information needed – I am making an HX711 based Weighing Scale using PIC16F877A. The datasheet https://cdn.sparkfun.com/datasheets/…11_english.pdf mentions that for input channel A that is A+ and A- then gain can be 64 or 128 and if 128 is chosen as gain then differential input can be +/-40mV. Does it mean that input can be -40mV to +40mV = 80 mV range? 80 mV = 2^24 = 0 to 16777215? Read more
Voltage reading without ADC – How do I read an analog signal without an ADC using a digital input on the microcontroller? Read more
dsPIC30F2010 – 30 I/SP restarts at an interval of 20seconds – I have a simple code for blinking LEDs in dsPIC30F2010. I am using MPLABX v5.20 and XC16 v1.36. I notice the dsPIC restarts at approximately 20seconds. Please, what could be the cause? I have tried on different boards and same result. Here is my code: Read more
Reliable GPS and compass sensors – I want to know what is the best and reliable GPS and compass sensors to connect to a microcontroller? Read more
PIC16f877a + SPI + 93LC46A-I/OT EEPROM – I’m working on pic16f877a microcontroller, I want to interface 96LC46A-I/OT EEPROM with pic controller using SPI module.
my PIC oscillator is about 20MHz, and EEPROM Fclk is max 2MHz. Now I’m unable to generate clock at SCL pin. Read more
ADC reading, timer interrupt – I am trying to read ADC channel 0 using Timer interrupt to trigger it. I am using dspic33ch128mp508 curiosity development board for analog reading using potentiometer analog channel 0. When I debug, I don’t get any value on the analog channel 0. I am using MPLAB X IDE 5.10 for debugging. Read more
8×8 DOT MATRIX_o/p is flip scrolling and brightness issues – I am trying to convert the code written for AVR into XC8 16F877A (https://circuitdigest.com/microcontr…th-avr-atmega8) and the modified code. The ckt diagram and dot matrix with internal pin configuration(from datasheet) what I am using is also been attached. But why not getting EXPECTED O/P in the display? Only getting invert character. Read more
PID algorithm for BLDC controller – I want to apply PID algorithm for my BLDC drive, But I want to know more about PID concept.
I searched on the internet and the understand little about this algorithm. Read more