Questions tagged [real-time]

22 questions
17
votes
9 answers

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: There are 3 long strips of double sided copper tape…
d.oelert
  • 319
  • 2
  • 7
6
votes
2 answers

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 for probing the circuit board and seeing on a…
user296683
5
votes
1 answer

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 length: 1μs to 200ms pulse spacing: >10μs between…
Mark K Cowan
  • 285
  • 2
  • 11
5
votes
0 answers

Is mbed OS suitable for hard real time systems

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 tedious. My aim is to be able to develop hard…
Hadi Jaber
  • 61
  • 3
4
votes
2 answers

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 moving)?
mohsen
  • 41
  • 1
  • 4
2
votes
1 answer

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 and retrieval of audio data from external serial…
user733606
  • 435
  • 4
  • 14
2
votes
2 answers

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 unmanned aerial vehicle which would need to interact with…
1
vote
2 answers

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 fastest possible together with some I/O access to…
Christian
  • 11
  • 1
1
vote
2 answers

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 avoid using sqrt() function). Any way, to avoid…
1
vote
2 answers

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 whether USB can be used in real-time motion control…
doner_t
  • 105
  • 1
  • 6
1
vote
2 answers

Multi-core processor and Real Time

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 elaboration hard to do.
M.Ferru
  • 3,926
  • 3
  • 22
  • 48
0
votes
0 answers

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 my code: #include #include…
kovac
  • 343
  • 1
  • 8
0
votes
1 answer

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 is 32bit i.e 2^32 = 4295947296 seconds counter will…
Sukanya U
  • 21
  • 2
0
votes
1 answer

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 updated (or at least as often as would be needed…
0
votes
1 answer

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 Deadline First(EDF) scheduling. It says on the…
Matt
  • 109
  • 3
1
2