Quantcast
Channel: Microcontrollers
Browsing all 4923 articles
Browse latest View live
↧

How to implement non-blocking data flash erase functionality ?

Our project is Advanced Drive Assist Sytem (ADAS) Controller. This embedded controller is based on Renesas RH850 / U2A16 Microcontroller. Our design is based on Autosar RTOS by ETAS. Our software...

View Article


Implementing an Ethernet connection over USB using PIC32.

My new project requires a simple (for the User) interface to control a PIC32. I'm a long-term Linux user - haven't used M$ since last century - so my own executables will not work for a majority of...

View Article


Arduino power supply with Software Serial trouble

Hi everyone,I have been working this lasts month on a little Arduino project about making a remote control car. I'm using 2 Arduino Uno boards, one for the car and the other for the remote controller....

View Article

How to send signal from potentiometer to ras pi?

Hi so basically I’m making a robotics thing with a motor and potentiometers. I have a raspberry pi 4 which i think only has digital inputs. Obviously a potentiometer is analogue and needs an ADC of...

View Article

Concept of Preemptive multitasking

I have been reading about preemptive multitasking I don't have an idea of how the time is allocated to the task. Is each task takes an equal time or each task take time according to its priority? If we...

View Article


It is possible to let Raspberry pi Zero W send orders to some Arduino/Teensy ?

Hello friends, I am working on project that use Pi Zero and camera (OpenCV) for Detect object and according to that to navigate a robot car to the specific object. Because RPI isn't good at controlling...

View Article

sending uint data in spidrv

Hello , I Have defined uint8_t B31_B24=0b00000011; as the command i want to send to my DAC But when i do SPIDRV_MTransmitB(handle, B31_B24, 8); it gives me an error of SPIDRV_MTransmitB' makes pointer...

View Article

Remote control by location (PIC in Oshonsoft)

I'm making a couple of PCBs BASE/TRANSMITTER and REMOTE/MODEL RECEIVER using surface mount components, and PICs, for use as remote control by location (3D). Remote control by location, is when a...

View Article


low power IR detection circuit

Hi guys I am looking for a ultra low power (under 50uA) circuit to detect 38KHz IR signal, that one that normally uses in TV etc.. Anyone come across one? Here is what I am trying to do: I have a...

View Article


89S52 silicon lab TTL converter UART,

I have got an AT89S52 and a USB to TTL converter. Can anyone help me with programming the AT89S52 with the TTL. I downloaded a lot of IDEs and nothing seem to upload the code to MCU, is there a...

View Article

How to convert state diagram into process state diagram?

Hi, the main purpose of asking this question to understand the process state diagram with real example . I have seen many process diagram with no real example. The explanation given only to understand...

View Article

RS-485 vs Ethernet for a large automation system network

I am working on a automation system where 1 raspberry pi is running a server and a database. I need this raspberry PI to communicate to multiple slave devices (such as arduino UNO or NANO or other...

View Article

Helping with stablizing temperature with arduino PID code

Hello I am programing a PID temperature controller and i managed to program the Proportional to keep the actual temperature around 37 deg ( 36.5-37.5), which is different from the temperature readings...

View Article


2 sensors ( I2C type) for One Arduino

Hi everone , I am looking for a way to use two I2C sensors with the same I2C address of the same I2C port. Regards,

View Article

Image may be NSFW.
Clik here to view.

Analog sensor non-linear region

I'm working with a distance sensor that gives erratic readings when an object is <2". Here's a plot of MCU ADC counts (orange) and voltage input to ADC (blue). My first thought is to monitor the...

View Article


why its called using an interrupt

Hello, in the code bellow i see the use of USART register . Why do we need USART1->IEN = USART_IEN_RXDATAV; and NVIC_EnableIRQ(USART1_RX_IRQn); An interupt is a simething that stops the general code...

View Article

Interfacing camera module with MCU

Hello guys, I've got a project I'm working on right now which involves making use of a camera. I'd like to know what microcontroller would be the most suitable to interface a camera module to. I've...

View Article


interrupt condition in the example code

Hello, for my EFR32FG14 controller An interupt is when we stop the main code to run a sub code. In the example bellow our interrupt code is a function called USART1_TX_IRQHandler. We have these two...

View Article

How to create process state diagram with real project?

Hi, the main purpose of asking this question to understand the process state diagram with real example . I have seen many process diagram with no real example. The explanation given only to understand...

View Article

Oled frequency meter

I wanted to make a frequency meter that displays the frequency on an oled display. The first idea was to use pulseIn() but I discovered it's a blocking function and it messed up with the oled, as it...

View Article
Browsing all 4923 articles
Browse latest View live