An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts.

learn more… | top users | synonyms

0
votes
0answers
26 views

Touch Screen Design - General Approach Questions [on hold]

Myself and another engineer are considering a design for a product that involves capacitive/resistive touch in an automotive environment. We’ve worked on slow speed microcontroller PCB designs but we ...
1
vote
0answers
33 views

Interface co-processor with ZYNQ

I have made a custom IP in VHDL which has a data input bus of 128-bit width, and a simple 1-bit control signal in order to activate it. Also, it takes a clock and a reset signal as well as an 11-bit ...
1
vote
2answers
97 views

Bit-Structured Registers for Embedded Hardware

So I've designed a piece of hardware that has an Atmega168pa microcontroller communicating with an external IC over an SPI bus. The external device has a few registers, with hardware mapped bits. I'...
0
votes
1answer
31 views

Passing port/pin to a user defined function in 89c52 code

I want to pass a pin value in user define function in 89c52 code like given below ...
-5
votes
0answers
47 views

cost of consumer embedded systems vs Raspberry pi [closed]

I've been wondering what the cost of designing and manufacturing a custom Embedded system with the following specs would be: A quad core ARM chip 1.2Ghz+, decent GPU (1080p will suffice) HDMI, 1GB ...
1
vote
1answer
52 views

PIC16f84A Unable to delay properly

It was one of my first experiments related to embedded systems.I was following this document : http://groups.csail.mit.edu/lbr/stack/pic/pic-prog-assembly.pdf Problem emerged at Tutorial 6.I was ...
0
votes
0answers
46 views

How to make Microcontroller enter into ISP mode

I am using P89LPC954 micro-controller from NXP. In the user manual it was mentioned that microcontroller comes with inbuilt firmware from the factory which is required for entering into ISP mode. ...
0
votes
0answers
17 views

Why does my camera program get stuck on the frame check?

I'm working the the FLIR Lepton thermal camera which is run by a python program that can be found here. The program used to run fine and I was able to use pylepton_capture to take a picture and then ...
0
votes
0answers
78 views

UART baudrate steps

I'm trying to connect 2 devices to each other based on the UART peripheral. First one support up to 1.875 Mb/s & the other one up to 1228.8 KBd. Both work correctly on the 115200 but I need more ...
1
vote
1answer
65 views

Reading 2D Arrays into a Microcontroller [closed]

I have a scenario where I have 2D arrays of variable sizes and various data types (double and boolean as of now). These arrays should be read and processed by a microcontroller which has 256KB of SRAM....
0
votes
0answers
30 views

Simple assembly bit banging on PIC12f683 working reg issue

Trying to control a ring of addressable LEDs (see datasheet below) by bit banging data using assembly language on a PIC 12f683 as it only accepts data at sub uS speeds, plus it feels like a good ...
1
vote
0answers
66 views

Help Identifying a Firmware Chip and Flashing New Firmware [closed]

I got an interesting piece of mail today that played videos. Naturally, I immediately disassembled it. Imgur album here. I've gotten it to play my own videos, but I'd be interested in flashing new ...
0
votes
1answer
63 views

How is the integration time set for a camera?

I using the TSL1401R-LF Linescan Camera Module, which reads in a 1 X 128 line of pixels, and I'm having trouble understanding how the integration time is set for this device. I understand from page 9 ...
1
vote
1answer
101 views

Sampling analog data

I'm working with a device that has an array of 102 sensors(link here). For each low-high transition detected on one of its inputs, it outputs an analog level according each sensor respectively. Once ...
0
votes
1answer
40 views

How works the ePWM block?

I know it's a basic question but I want to understand how works the ePWM block from simulink ? On Matlab documentation I find just the configuration..
0
votes
0answers
29 views

OS Context Switch in ISR [migrated]

I am just eager to know how OS actually does context switch when some asynchronous event raise ISR that make higher priority task ready to run. As far as I know when CPU enter ISR it puts some of ...
1
vote
2answers
156 views

Indecipherable Data on Serial Monitor

I have ready made working electronic product. I am applying reverse engineering on it. The WiFi module is connected to micro-controller via UART( RX & TX). The android app sends command to WiFi ...
0
votes
2answers
309 views

Why embedded systems are called as embedded systems? [closed]

In most of the times we try to guess the meaning of terms from its name or title itself. For example diodes are electronic devices with two (di) electrodes connected together. Resistors are electronic ...
0
votes
1answer
33 views

Does anyone on here know why a camera's accuracy would drop when you reduce the delay time after the pulses?

I'm using a TSL1401R-LF Linescan Camera that reads in a 1 X 128 array of pixels. Here is the datasheet. When I used 170-microsecond delay the accuracy was pretty high and the camera's outputted values ...
0
votes
0answers
27 views

Connecting microcontroller to battery of working mobile phone

Is it safe to use battery of working mobile (ex. Nokia 6310i) through voltage regulator as power supply for MCU? If so, is it safe to charge phone while MCU working?
2
votes
1answer
36 views

Language/file format for circuit-diagram description

Is there any language/file format that can describe the block circuit diagram? For example, the following circuit diagram might be represented by something like: A { P00: VDD, P01, P02: GND, ...
0
votes
0answers
61 views
2
votes
4answers
352 views

Remove spikes from Load Cell readings

I have developed load indicator interfaced with load cell to display the value of load. The device is to be used in on-line weighing of a bag that is moving over the conveyor. Due to the mechanical ...
0
votes
1answer
123 views

Minimum Requirements of a microcontroller to run embedded Linux? [closed]

I am looking for the cheapest microcontroller to run embedded Linux. what should I be looking at, which class of microcontrollers or microprocessors is compatible? is there a minimum system ...
0
votes
2answers
60 views

When has an embedded PC finished its shutdown process?

We have a product that has a PC running on a small board. Our product generally runs for weeks, if not months. One thing that is not very well implemented is the shutdown process. The device does ...
1
vote
1answer
56 views

Atmega16 flash memory address space

The atmega16 data sheet says that it has 16KB on-chip flash program memory, but the memory map for flash memory ranges from 0x0000 to 0x1FFF(8192, i.e, 8KB) only, which gives a range of only 8KB flash ...
0
votes
0answers
48 views

The simplest sensor for a door opening detector

I'm designing a very simple system (not much more than a toy) to detect if someone has entered a certain room before I did (it will be hidden inside the room). It will have two LEDs: the first one ...
11
votes
3answers
2k views

What resides in the different memory types of a microcontroller?

There are different memory segments to which various types of data are put into from C code after compilation. I.e: .text, .data,...
0
votes
0answers
26 views

Convert byte by byte CRC-15 to table driven

I am attempting to convert a byte by byte CRC to a table driven method for speed, and am having issues with that. The provided information for the CRC is: Polynomial (\$x^{15} + x^{14} + x^{10} + x^{...
0
votes
3answers
86 views

Is this a good method to detect 120VAC

I need an embedded micro controller to detect some 120V AC signals, I decided it would be safest and most likely the best to use an opto-isolator. Below is my circuit, I rectify the incoming 120V and ...
0
votes
0answers
40 views

Product Category

I am designing a single phase energy meter with below Spec - Input Voltage 240Vac - Input Current 0.5mA - Product will be sealed in plastic enclosure - Line and Neutral line, No earth Input in product ...
1
vote
4answers
200 views

A Guaranteed Way to Corrupt SD Card

I am working on an embedded Linux project that it is important to be sure that the file system won't be destroyed when some unexpected thing occurs (e.g., power failure during a write operation on SD ...
1
vote
4answers
247 views

What features of C++ lead to extra resource usage that I should be aware of when developing for an embedded system?

Some features of C++ have implied run-time cost or can lead to significant code size increases. Which features should I consider avoiding when developing for a bare-metal resource constrained ...
1
vote
2answers
190 views

Protection of BeagleBone Black from eMMC corruption on power loss

I'm considering an application where a BeagleBone Black, preferably running one of the recommended Debian images loaded in eMMC, is powered by a 5V source that can be removed at any moment. I want to ...
0
votes
0answers
21 views

usbasp erasing fuses

I'm trying for the first time to program an attiny45 with a USBasp and avrdude. After about an hour of frustration, i found that when the programmer erases the flash, it also erases the fuses. So i ...
0
votes
0answers
49 views

Looking for a compatible microphone - need advice

I have bought a HIO EMB 1200 HW development board which runs Yocto Linux. I plan to do some audio processing on this board. For that reason, I also had to add the HIO 1240 IO module which provides the ...
2
votes
1answer
83 views

Impact of PCB revisions on its embedded software

Over the past couple of years we have done some minor revisions to our PCB, including Different component selection (resistors / caps / ...) based on availability / price (while still taking into ...
0
votes
0answers
72 views

When should one use a RTOS (real-time OS) over a simple infinite while loop in an embedded system? [duplicate]

The Arduino uses a simple infinite while loop. It works fine for me so far. What are some situations when a more complex RTOS is needed?
0
votes
2answers
92 views

Will RS 485 to RS 232 converter change the half duplex mode to full duplex mode?

I am using an RS 485 serial connection through which I need to send S19 files for my boot loader project. Since it is a half duplex mode of connection, I need to toggle a dedicated pin before sending ...
0
votes
2answers
65 views

Can we send a file through Half Duplex connection?

I am working on a boot loader design for a kinetis controller. I am using this Terminal application ( https://sites.google.com/site/terminalbpp/ ) . I am able to send texts like, " Hello world" ...
-1
votes
2answers
73 views

Methods of testing interrupts

I am maintaining and developing software in C for S12X micro controllers. The ISR for each interrupts (like I2C, Timer Interrupts etc) are very lengthy, like around 20 to 30 lines with several ...
2
votes
1answer
54 views

FFT Bin Problem with external 24 Bit ADC(FFT bins changing with time)

Currently I am working on one project that includes 24 Bit external MCP3919 and MCP3914 ADCs and Tiva C series 32 Bit MCU. I am trying to calculate harmonic values of input signal. I am using CMSIS ...
0
votes
0answers
45 views

CFI flash interface in verilog

I am working on an Intel’s CFI - Flash (28F640J3) interface in verilog. I have written a code and tested it for many commands; read, write, erase. But I am facing problem with 'Write Buffer’ and read ...
1
vote
1answer
82 views

Digital filter implementation in C (embedded)

I am a recent grad and my new project at work deals with taking the signal from an electret microphone and getting SPL values for 10 standard frequency bands. The analog amplification/conditioning is ...
0
votes
2answers
67 views

Programming ADC

I have written a code for ADC for s12x microcontroller. My doubt is the datasheet tells me to check for hardware flag to be set to know that conversion is complete.To know this I have used infinite ...
-9
votes
1answer
75 views

How to interface water sensor to LPC2148 ARM 7 kit? [closed]

I am making a prototype of automatic car wiper system using lpc2148 kit as a part of my course project, but I am unable to find the code (.c format) to configure the water sensor. There are some code ...
-4
votes
1answer
78 views

RFID card number? [closed]

CARD 18 DIGIT NUMBER :- 0009008413 137,29981strong text But one problem is my overall project interfacing done now me try to expand system .how to get card number ? yes i have one ready rfid reader ...
-3
votes
1answer
43 views

size of program in ROM

I am newbie. I want to copy my full program from ROM to RAM using DMA operation. But how can I calculate the size of my program?
8
votes
4answers
3k views

Run code once in lifetime of an embedded C program

How can I make a code snippet run only once in the lifetime of a program? It can be turned off and turned on many times. The only option to run the code snippet again must be flashing the board again. ...
0
votes
3answers
88 views

PIC18 control registers

I'm setting the Analog Channel Select bits in the ADCON0 A/D control register. In the data sheet it list "CHS<4:0> Analog Channel Select bits". In MikroC I write the below to set up my input ...