Questions tagged [real-time]
The real-time tag has no usage guidance.
24
questions
1
vote
2
answers
136
views
I2C peripheral fails after a single transaction
I am using this library to sample some sensors over the I2C bus using the PRUs on the Beaglebone Black.
It seems as if only the first transaction works correctly, after which the library seems to only ...
3
votes
3
answers
411
views
How to display real time data on analog scale if maximum send rate is 50ms
I have nextion display on witch is positioned analog scale. It needs to present Amps from device which mcu monitoring. Problem is that current can grow by several tens of amperes in just several ...
0
votes
0
answers
49
views
Not reading the start signal from DHT22 sensor
I'm trying to implement a program from scratch to read from a DHT22 sensor connected to an ESP-01 as a learning exercise. I am basing my implementation on the from adafruit DHT library. Following is ...
1
vote
2
answers
434
views
Bare metal coding for newest Intel or AMD processors with I/O access
I am working in the field of real-time simulation for power electronics.
The simulator is based on the most recent Intel and AMD processors.
The simulation consists in a loop of code executed the ...
0
votes
1
answer
67
views
RTC counter wrap mode
can any one plz help me out with the following queries
In synopsis datasheet for RTC we have one feature i.e Counter wrap mode enter image description here
my understanding for this feature -> RTC ...
6
votes
2
answers
1k
views
Does the circuit troubleshooting tool used in 2001 A Space Odyssey exist in the real world?
In the well known science fiction film 2001 A Space Odyssey there is a scene in which Bowman and Poole are trying to locate the fault in the AE-35 unit. If memory serves, they use a tool which allows ...
0
votes
1
answer
165
views
Programming stepper motors to smoothly show value that is refreshed at certain intervals
I am making analog speedo and rpm gauge for both a bike and a car using x27.168 stepper motors and AX1201728SG motor driver. I have encountered quite a problem with showing data that is not constantly ...
0
votes
1
answer
122
views
Early Deadline First (EDF) scheduling in real-time systems feasibility test proof
I am trying to prove Theorem 6.2 on page 127 of the book Real-Time Systems by Jane W. S. Liu:
http://www.cse.hcmut.edu.vn/~thai/books/2000%20_%20Liu-%20Real%20Time%20Systems.pdf
It is based on Early ...
1
vote
2
answers
365
views
PROGMEM problem with my project - dynamic allocation error
My project is and RTISR (Real Time Instant Signal Recognizer).
I'm sampling a signal from PIN A0 in the Arduino, and I have 6 types of Signals which I compare with (using squared cross correlation to ...
0
votes
2
answers
290
views
I2C bus for real-time communication
I'm working on a distributed real-time application, where 4 MCUs (PIC18F45k22) are connected to a network. The real-time kernel FreeRTOS is running on each of the four PICs, and all MCUs exchange data ...
0
votes
0
answers
71
views
BeagleBoneBlack PRU from Scratch
I am a newbie when it comes to embedded systems and I am an even bigger newbie when it comes to working with the BeagleBone Black (Rev C in my case). I want to play and discover the PRU on the BBB, ...
5
votes
1
answer
2k
views
Measuring pulse durations with microsecond precision or better
Problem
I'll be receiving pulses and want to know the relative times of pulse start/end with microsecond precision (or better).
Pulse characteristics:
pulse frequency: probably 1Hz to 10Hz
pulse ...
1
vote
2
answers
926
views
Can the USB interface be used in real-time works
USB works similar to the Master and Slave architecture. There is an Host which is manage the bus as like a Master. There can be various "devices" which is managed by host like slaves. I wonder that ...
0
votes
2
answers
954
views
Real-time measurement of motors' current draw for a mobile robot
Found an Arduino-compatible Voltage-Current Sensor; it could remove the need for a separate voltage sensor.
Is there a more recommended method to continuously and simultaneously measure the current-...
5
votes
0
answers
517
views
Is mbed OS suitable for hard real time systems [closed]
I have been developing embedded stm applications bare metal along with ST Hal for a few years and would still consider my self a beginner as the process of learning in a bare metal environment can be ...
2
votes
1
answer
255
views
Multi-tasking on an 8bit AVR -
I'm using an ATTINY816 (the new series AVRs) to manage a system that includes the following tasks:
Simple audio "effect processing" (delay, pitch up, pitch down...) using internal ADC + DAC
Storage ...
4
votes
2
answers
5k
views
How can I measure latency in a CAN bus?
Given a CAN bus with one master and 4 motor drivers, is there a way to measure the time between sending a command from the master (e.g. PC or PLC) and the execution of the said command (e.g. the motor ...
0
votes
0
answers
1k
views
Most accurate, available way to control a stepper motor with python
I am doing a project where I am controlling a nema 17 stepper motor with a raspberry pi 3b. The raspberry pi is controlling the motor through a pyqt5 gui (python 3 is the language). I am using tb6600 ...
0
votes
2
answers
213
views
Synchronize Clocks
I need to develop a system where there are 4 sensor boxes powered by USB and they have their internal clock. Each of these boxes are connected to a Linux pc and all these PCs are linked with WiFi. API ...
17
votes
9
answers
4k
views
Reading a huge number of analog sensors in real time
I'm trying to build a MIDI-like controller that has a neck like a guitar. On that neck, there is a huge matrix of pressure sensors. The controller will emulate 3 strings.
The way this works is:
...
0
votes
1
answer
69
views
Measuring generated power (kW) in a power plant and storing/logging values
Given an electric power plant (hydro energy) that currently has just an analog indicator for how much power (kilowatts) is generated, which components would be needed to measure the generated power ...
2
votes
2
answers
239
views
Can we replace an embedded system design with a general purpose computer or a smartphone?
I am a newbie to embedded systems design so this question might seem very fundamental in nature.
I have been working as part of an Avionics team to develop an on board computing device for a ...
0
votes
2
answers
650
views
RTOS and OS working side by side in cooperative work
I would like to use use a RTOS and OS side by side to implement a cooperative work.
The RTOS would perform time critical (real-time) task and the OS will perform the other non-critical ...
1
vote
2
answers
207
views
Multi-core processor and Real Time [closed]
Is it a good idea to design a real time system on a multicore processor? Task's execution time isn't determinist in these kind of processor because of core management. This makes scheduler's ...