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.
Problem measuring output impedance of CMOS inverter – Why am I getting negative output impedance using the following test circuit? Read more
Flash memory programming for DSPIC33EP256MU806 – I want to store a 2D array of abc[400][256] in Flash program memory to store random values for noise generation. My device has a capacity of 87296 Words. I’m able to use only 34% of memory. I’m getting an error message that array size is too large. Read more
Proteus testing port input signal and timer – I’m doing some tests in Proteus, I did timer 0 as a timer with overflow test. I know Proteus isn’t perfect and could have some faults. I can take out the test board and check the results in real, but I thought it would be much more simple to do them in software. Two tests didn’t work. I think I did all the proper SFRs configurations:
1. Testing port input signal on PORTA and produce an output on PORTD
2. Configure timer 0 as a counter with a digital clock input on PORTA pin RA4
Reading ADE7758 registers – I am reading AVRMS register directly. The values are increasing as follows :
I am using Variac to increase/decrease AC voltage magnitude.
Low ———–> High Voltage AC .
32767 —>65535—–>131071—–>262143—->524287…..and so on till 2097151 in decimal.
It is actually doubling instead of incrementing. Read more
Modbus Schneider data through UART – I have a Modbus Schneider connected to an Orange Pi via UART using RS485 converter. I need to read the Schneider data through UART. How can I read the registers of Modbus(3901) via UART? Read more
Draw a circle in CNC using AT89S52 – I have made a small CNC machine, in which I have made a square shape. I want to draw a circle with this method. I also want to convert the g code to make it more usable but I am confused with the coordinates. Read more
MAX7219 and common anode LED display – I have to interface LED DISPLAY (6 Digits) from PIC MCU thru’ MAX7219 IC. MAX7219 for common cathode display. I have used ULN2003 and PNP (BC557) transistors to make it work on MAX7219. I am using bitbanging (not SPI module) method (RA1 – SDO, RA2 – SS, RA3 – SCK). The Code works OK. But, if data sent to one digit, it writes on all digits. Read more
PIC12F519 communication protocol – I have a PIC12F519 UC-based board which works as something like a USB device. It communicates with the main board with 2 ports (RB0/ICSPDAT & RB1/ICSPCLK) and I have watched its protocol via a Saelig logic analyzer. The protocol seems to be I2C but after looking at data it does not have a meaningful protocol. I checked it as UART protocol and it did not mean anything either. Read more
AVR GCC error ATtiny13 – I am making a simple project with Attiny13
Trying to read ADC value while making program am getting Error as follows
Error 1 in extract_insn, at recog.c:2109
Error 2 unrecognizable insn:
It shows whenever I return the Unint16 value from a float value. Read more
Reading more than one analog value – I can read one analog value in one channel just fine. But using two or more seems to be a problem. It seems the ADRES(ult) register does not get refreshed with the new value from the second channel. I think that the capacitor in the ADC is not discharged. Read more
Leave a Reply