The actual time during which a process or event occurs: "information updated in real time". This topic covers how to control the Raspberry Pi in real time, how to use software in real time, and any other use of the Raspberry Pi in which real time control is needed.

learn more… | top users | synonyms

0
votes
0answers
85 views

Raspberry Pi for real-time ARtoolkit & Opencv based recognition?

I im supposed to develop a real-time interactive display unit with marker recognition & other CV stuff. I m considering Raspberry Pi for this purpose & I have few questions, it would be great ...
2
votes
1answer
156 views

Raspberry Pi as near real time digital signal processor

I have a Pi with Wolfson Audio Card, running Raspbian with low latency kernel. Is it possible and feasible to use such a setup as a near real time digital audio processor, like a reconfigurable ...
0
votes
0answers
428 views

Use webrtc without a browser or some alternative method

Right now I am using this project here. It is a python script that runs a server using webrtc to send the clients/browsers webcam to the server and perform face recognition. What I want to do is do ...
1
vote
1answer
107 views

Update time whenever possible

The Pi running Raspbian does not have a hardware clock or RTC (serial is being used by XBee) and whenever its turned off and restarted again, the time goes out of wack and we need to SSH in to ...
0
votes
1answer
344 views

RaspberryPi Timer Interrupt with WiringPi

What I'd like to do is to create an interrupt one a timer expires after 1 ms ... 100 ms. It doesn't even have to be very accurate. Working with microcontrollers I'm used to start a timer say in ...
0
votes
0answers
74 views

Is it possible to use GPIO's simultaneously?

I'm interested in using raspberry to control a number of brushless motors. PWM should be executed parallely to work in needed rate. As far as I've heard, RPi provides only consequent requests to ...
2
votes
0answers
1k views

Best approach for real time operating system on Raspberry Pi

I need to use Raspberry Pi with a real time operating system. Of course, I want the best solution. I've searched some options, including custom kernel compilation, ready to install RTOS. So, which ...
0
votes
0answers
55 views

tsl235 and the RPi

I'm trying to get the tsl235 (https://www.sparkfun.com/products/9768) working with the PI and the bcm2835 library (or without it, just using a simpler mmio) and while the operation of the tsl235 ...
0
votes
1answer
222 views

DHT22 code not working (datasheet instruction and xenomai)

I'm trying to read temperature form DHT22 using Raspbian patched with xenomai real time system. I'm following steps of datasheet page 4 using gpio4. . the circuit is correctly wired(I can read with ...
1
vote
1answer
111 views

Real-Time Computaion! Processing Speed Problem!

I am pretty new to the c++ and raspberry pi. I am trying to run a real time sensor motor control with the help of Raspberry pi, using cpp. I am sniffing the sensor data through Ethernet and sending ...
2
votes
1answer
551 views

Raspbian - Real Time Kernel does not boot

I am trying to make a Raspbian kernel to support real time. To do that I cloned the latest kernel from raspbian github repository and applied the Real Time patch for 3.10.25-rt23 ...
0
votes
1answer
259 views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
0
votes
2answers
239 views

Software PWM as kernelspace module?

Has anyone tried doing a software PWM on the GPIO pins via a custom written module in kernel space? Wouldn't want to reinvent the wheel, so if there where tries, please forward me to them. Will ...
3
votes
1answer
4k views

Default kernel preemption vs real time patch?

Is the default Rasbian shiped with the real time patch? I'm using the .config of the default rasbian instalation as a base for a custom kernel compilation. In the section: >Kernel Features ...
8
votes
1answer
807 views

Zero-crossing activated relay

How could I go about programming a switch (based on solid-state relay or a triac) that triggers on zero-crossing power? For these not familiar with the subject: Switch 230V power on, when the sine ...
3
votes
1answer
2k views

Interrupts on the Raspberry Pi

What are the sources of interrupts on the Raspberry Pi. I currently have the model B, rev. 2.0. Example itop output: INT NAME RATE MAX 3 [ 8 Timer Tick] ...
4
votes
2answers
1k views

Arm timer in kernel module with precision less than microsecond

Good evening, i'm asking your help, to understand how to use a timer in kernel module to achieve periodic task with period less than a microsecond. I was searching on the web and i've found that ...
5
votes
5answers
15k views

Setting the time on the raspberry PI - one day out - what gives?

So I understand that the Raspberry PI works some magic with internet servers and whatnot to get its time and that I need to wave some magic dust over the localtime link and possibly /etc/timezoneinfo ...
1
vote
2answers
1k views

Raspberry Pi to iPhone Audio Streaming

I am trying to figure out how to get as close to real time streaming as possible from Raspberry Pi to an iPhone (more particularly just an HTTP stream so iPhone or Android could use it). The Raspberry ...
8
votes
3answers
3k views

Raspberry Pi for real time video processing

A project I'm working on involves wireless transmission of images from a camera to a host computer in real time. Can the Raspberry Pi be used as a DSP for the camera for image acquisition and ...
3
votes
0answers
997 views

Xenomai RTDM Skins for I2C, SPI [closed]

In another post I read that Xenomai could be used for real-time tasks like control loops. I'd need to implement a real-time task which also talks to I2C and SPI. In this mailing list message I read ...
4
votes
1answer
2k views

PREEMPT_RT and RPi Drivers

I'm planning to do some realtime control loop tasks with the RPi. In this post PREEMPT_RT and Xenomai were proposed. I'm thinking about trying PREEMPT_RT, as I'd like to keep it as simple as possible. ...
1
vote
0answers
206 views

Interfacing external device using accurate high-speed clock signal [closed]

I need to interface device using specific synchronous protocol that requires clock signal within 1..2MHz. Period instability shouldn't exceed 10%. Also, in certain condition protocol requres clock ...
0
votes
1answer
186 views

Should I buy an external device to store data on

I'm planning to use my pie 24/7, but SD cards are not made for this. Because of that I want to reduce the read and write jobs on the card so it will last longer. There are several options to do this; ...
35
votes
7answers
25k views

Is it possible to run real time software?

I know it runs Linux and there are real time patches available for Linux. Would those patches work? Has anybody tried another real-time-os on the Raspberry Pi? The idea is to use the board for ...