Quantcast
Channel: Microcontrollers

Bionaire BW2300-N window fan modification - Arduino - questions

Hi. I bought Bionaire BW2300-N window fan, which does what it's supposed to, and on LOW setting it's quiet enough to allow me to sleep. However, current fan's controller is quite bad, as it reads...

View Article


Memory allocators on an MCU

Do people sometimes use 3rd party memory allocators when developing C code on (say) STM32 boards? In C we have lib functions malloc and free and the basic implementations we use can be replaced with...

View Article


MCU architectures and their classifications

I’m trying to understand microcontroller (MCU) architectures and their classifications. Could you please confirm if my understanding below is accurate or if I’m missing anything? My Understanding:...

View Article

What is a T/R package in Microchip

Hi, I just received some Microchip Pics, and when I ordered them I saw in the package section, tray, T/R or tube. I chose package, and my 5x pics arrived in a foot long tray, and they wouldn't go...

View Article

Using RCtime with Potentiometer-Arduino

Hello, I ran out of analog inputs on my Arduino Nano, so trying RCtime with a 10k linear potentiometer. The circuit I'm using is attached. The code I'm using comes from the Arduino tutorial example,...

View Article


AT89S52 memory mapping in C?

I've AT89S52 microcontroller (8051 family), and before writing my own code, I want to clearly understand its memory layout. I am familiar with the typical C language memory model, where memory is...

View Article

Detecting Top Dead Centre of crankshaft using STM 32

Hi, This is my first message to this forum so I hope I have landed in the correct place. The below shot is of a cleaned up signal coming out of my motorbike crank shaft. this signal is made up of 23...

View Article

Image may be NSFW.
Clik here to view.

Relay Flickering at Startup

I have a relay module attached with esp-01 and it turns on/off at pin 2 state on/off The circuit works fine and does intended work but my esp-01 is pulled-up at pin-2 which causes the relay to turn on...

View Article


Will USB-to-TTL converter communicate with the AT89S52?

I have a quick question about UART communication between the AT89S52 and my laptop. I’m trying to send data from the AT89S52 over UART, and I know there are different interface standards like TTL and...

View Article


read back using TI LaunchPad?

Hello everyone, I am helping someone for a while now with his interests that make use of circuits but very little or no experience with troubleshooting etc. So far everything revolved around circuits...

View Article

LCD Initialization issue | Display Hello World on LCD

Description: ------------ A C program for 8052 microcontroller to display Hello World message on a LCD. LCD is a 2x16 character type. Hello must be on the first line. World on the second line. Clear...

View Article

Learning to program the PIC16LF1823

I'm completely unfamiliar with any of Microchip's products, but now it has become imperative that I work on a small project involving the PIC10LF322. As a reference, I consider myself quite proficient...

View Article

Compiler Error for CMSIS-core_cm3.c

Hi, I am currently using the following microcontroller (STM32F100C8T6B) in my design. I am using the STM32CubeIDE and I trying to build the project, but I am getting the following compiler errors from...

View Article


Crystal Pins Orientation

I am using a crystal oscillator with a processor, and I need clarification regarding the correct connection of the crystal pins to the processor's oscillator interface. The crystal I’m using has 4...

View Article

AT89S52 UART Code – Info in Datasheet

Hey mate! I want to send data from an AT89S52 to my laptop over UART. I was going through the AT89S52 datasheet to figure out how to write my own UART code but I couldn’t really find detailed info...

View Article


Programmer Needed

Looking for a programmer that is experienced in C and TI GRACE (which I know is not really used much anymore) and has knowledge of the Ti MSP430 family of MCU's. The one I'm using is Ti MSP430G2211....

View Article

Which Timer to Use on AT89S52 -1ms Timer Interrupt ?

Hey mate, I want to set up a 1ms timer interrupt in AT89S52. I noticed in the datasheet that it has 3 timers — Timer 0, 1, and 2. From what I understand, Timer 2 seems to be the best choice for this,...

View Article


How to connect a logic level shifter and voltage regulator to the Seeed XIAO...

Hello to everyone. I'm trying to create a phone or maybe a handheld based on FreeBSD. I'm not sure what the final form is. I would like it to be something like this,more or less :...

View Article

ESP32 not comunicating with IDE

Hey everyone, I just received my first ever SMD only board and i really thought it was gonna work on the first try as a followed a tutorial on how to implement it without changing to many things on my...

View Article

Ethernet Switch on PCB

I'm currently designing a board that is using a SoC to get a first design iteration off the ground. The SoC is a SAMA5D27-SOM1 from Microchip. Part of the requirements is to have at minimum dual...

View Article