Hello everybody.I have to implement the in house circuit cc-ih circuit which is an energy harvester circuit using simscape electrical. The description of the circuit can be found on page 7 of the pdf at Finite element-based assessment of energy harvesting in composite beams with piezoelectric...
I'm using ATMEGA8 for my project. I want to make a LCD display a clock. The below code works fine and displays a code in proper format on the LCD.
But the problem is the timer/counter is not getting synced with real clock, it is having 2-3 second difference with the real time on my watch. I've...
Hey,
I'm trying an ambitious project, making a DC converter using a microcontroller.
I'm using a PNP transistor to drive both the high side and the low side MOSFET. When I'm trying the circuit, even if I keep the duty cycle as low as 20%, there is a path to the ground for the current (I'm...
Hi All,
I have a small PCB circuit with a brushless motor being driven by a Arm Cortex STM32F302K8 microproccessor it also contains mosfets and microswitches. This PCB has a 4 pin header for an external programming card, but this programming card has not been released and it has been 2 years...
Hi, I'm a beginner so please understand if I... you know... don't understand.
I have the attached circuit built and when I run the motor it works fine, but when the motor stops it (sometimes) resets the microcontroller. I know it is not too little current from the supply, but more likely the...
I know how to extract code hex files from ATmega328p microcontroller with ISP Programmer method is there any way I can do it with Analog Devices Microcontroller?
Please consider some professional embedded system with 16-bit microcontroller.
I know embedded software build tools report program flash memory usage. I think they also report RAM usage but do they report maximum RAM usage?
Build tools may not know how much heap will be used during run-time...
Hi Guys,
noob here.
- I have board A and board B. Both have MCUs.
- I have a reset signal going from board A to board B. The reset signal is normally HIGH (3.3V)
- I have a digital input signal (logic 3.3V) going from board B to board A.
- current implementation is two wires going to board A...
Hey all! :)
I was looking for a solution to protect the analog pins of the ESP32 microcontroller. My circuit can produce voltages up to 5V and the analog pins of the ESP32 can only withstand 3.3V max.
I found a solution online (picture attached) but I don't understand how the circuit works. I...
Hello all,
I am currently working on a project where I have to divide a 100 MHz frequency by n. where n could be any integer1,2,3,4,...9. where I want to give these n integer from external keypad or any software control. Is it possible to do it with #microcontroller based system or FPGA...
Hi,
I am trying to read the RS485 Absolute encoder from EK-TM4C129. I am using the MAX485 module to convert RS485 to ttl, which is half duplex, where DE is Active high, and RE is active low. I have written the code to enable the Transmitter and receiver, where needed. we must transmit the data...
I have been trying to use the USB2244 on a board but i can't seem to get it working and I am not sure what the problem is. I have went over and over the datasheet but can't seem to figure out what i'm missing . I have attached my schematics, I have verified i have 3.3V, and also that the 1.8...
Hello all, I will start off by saying that I don't know <snip> when it comes to circuit design or anything of that sorts, I am familiar with stuff like resistors, transistors, pots, and components like that, but I do not know about complex circuit design. I turn wrenches for a living and would...
I am currently trying to develop a pulse oximeter. For this I use the MAX30102 sensor and the NXP LPC1768 microcontroller. The communication is done via I2C.
I have configured the MAX30102 sensor to generate an interrupt as soon as the FIFO is full.
As soon as I start the program in debug...
I am playing around with an optical encoder built into a linear drive motor. There is a wire that is described as "Home indicator, TTL, Active high".
I have connected it to PA4 on my Nucleo-F446RE (STM32), have set it to "GPIO_input" and have set the GPIO to "Pull down". I am trying to read...
Hi,
Im looking for microphone to microcontroller. It is important that the microphone should have automatic gain. Im looking for microphone similar to https://wiki.dfrobot.com/Gravity__Analog_Sound_Level_Meter_SKU_SEN0232#target_5 but more cheaper.
I found only max9814 and sen-12642 but that...
Hi,
An initially charged capacitor in a resonance circuit undergoes periodic voltage reversal (blue line), as shown below:
A possible circuit to address this problem uses 2 capacitor banks & switch modules, as shown:
C₁ and C₂ represent metallized film capacitor banks of equal capacitance...
Dear all,
this hobby project I setup is using an encoder to make the stick to be 90 degress which is at 1500 steps (0 degrees=perfectly horizontal using PID control). My encoder counter code is obtained from video here and I have tested it which works perfectly well. Since this encoder is 1200...
Hi everyone!, im currently a student, i know about electrical circuits, basic electronics, digital circuits, basic digital design, microcontrollers, programming and other things, im a biomedical engineer and currently im working as service engineer (giving maintenance to medical equipment) but...