Bringing wayland on raspberry pi - raspberry-pi

Can any one tell implementation of wayland on raspberry pi. Also some basic concept about how
wayland interacts with kernel.What are main components involved in it.

You can go through the following links for basic understanding of linux graphics stack and wayland implementation in the graphics stack.
http://blog.mecheye.net/2012/06/the-linux-graphics-stack
http://lca2009.linux.org.au/slides/205.pdf
Hope this would be useful.

Related

Real time OS (RTOS) for Raspberry Pi to make a CNC Controller

this is my first post please be kind.
I have experience programming C++, but it has been a few years since I did anything...
I would like to program a real-time CNC controller, to run CNC machines without a motion controller. I will use a Raspberry Pi and connect it to a MESA card for running all the physical inputs and outputs.
The application and GUI for touch screens will in the future support a small simple slicer for 3D printers, and some simple CAM operations for graphically programming CNC machines for simple tasks.
What RTOS would you recommend to build my program on?
-I have thought about making a Linux based system run realtime, or maybe use Zephyr OS.
Please share your thoughts.
Regards William

how could monitor device status using raspberry pi

I want to build a small project which will monitor some devices(pump,ac etc) status(on/off, current/voltage level etc). I have decided to use raspberry pi 3 as a server. I am thinking about scada. is it efficient to do these works? also i am not familiar to scada. is there anyone to guide me--
where should i start?
what is the suitable software for doing it??
You could just use Python and the RPi.GPIO module to control and monitor the GPIO pins on the Raspberry. Python is powerful, open-script and easy to get into.
You would need to develop a bread-board to protect your Raspberry and allow for monitoring higher voltages.
Some example code on using GPIO with Sockets here: https://github.com/matzpersson/raspberry-gpio-sockets
You may use ScadaLTS on Raspberry.
In ScadaLTS have available modbus protocol among many others.
This is web oriented software with graphics views drag and drop editor.
For now you may read GPIO data programmatically to file and use ASCII File Reader DataSource.
We plan to have datasource dedicated for GPIO.
ScadaLTS based on ScadaBR - fast tutorial https://www.youtube.com/watch?v=JjOQWwoaQuQ.
you could also check out mySCADA. they make a solution for Raspberry pi at http://www.smarthouse.cloud
you can use the GPIO on the Pi or talk to industrial PLC's.

Do I need an OS for a RaspberryPi Game Console?

I want to create a game console with my Raspberry Pi and create my own game with an SD Card. Do I need an OS loaded with games or can I insert various SD Cards with different games?
In order to use the Raspberry Pi as a retro gaming console you will have to set it up. Go to the RetroPie Download page and choose the appropriate download for your version of your Raspberry Pi. The go to the RetroPi first installation page and follow the directions. After you complete that you will have to move your roms to the Raspberry pi into the /RetroPie/roms folder on the SD card. I use a Raspberry Pi for classic gaming and I love it.
I think there is some confusion here.
RetroPi IS technically the OS. You then "add" games to it.
If you want to create your own games then you have plenty of options.
You can technically create your own games and export them as NES games to be read by the NES emulator. This is very difficult and requires you to use tools that might be out of scope for beginners. The advantage is that you can put them in eprom chips and play them on an actual NES.
I would instead try to create a game using something like PyGame and play them on a RaspberryPi. Yo uwon't need RetroPi for something like this. Instead you'd need an OS like Raspbian
Yes definately. A raspberry pi without an operating system will not do anything. Its like asking a human to function without a brain. You should check out the retropie project. Its an operating system for the raspberry pi that lets you install roms and play the. You can even use controllers such as a ps3 controller.
Retropie
Head to RetroPie to download the image to your computer. Then, flash it on to the MicroSD with either Win32DiskImager on Windows or RPI-sd card builder on a Mac.
Have any other questions I can help with?

JavaFX UI Controls running slow

I'm trying to run javafx8 application on raspberry pi model B. but keyboard input & mouse motions are seems bit slow. as a example I did it with one textfield on raspberry pi. when I typing to textfeild there is a delay. tableview also same. when I click on a raw. there is a delay between mouse click and selection. I read some blogs on internet that oraclejvm's performances are great on raspberry pi. Is it possible to run javafx controls without delay on raspberry pi? I done couple of optimization on raspberry pi. is it problem with javafx8 or raspberry pi performance?
As you are probably aware the pi does not like graphics very much. I have had the same problems (with swing rather than javafx). This can happen for multiple reasons. First check your OS version. I assume that your using raspbian which had a soft float version for a while. The armel version is way slower particularly in these areas. I would run apt-get upgrade and update first and if the problem persisted, download the latest version of the OS. You are correct that oracle jvm performance is quite good on the pi so the issue is likely to do with your particular setup.

NXP Explore NFC using libnfc on Raspberry Pi

I am thinking of starting a project where I use the NXP Explore-NFC board for the Raspberry Pi so that I can write NDEF messages to the NFC via an Android device. I currently own the Raspberry Pi and the NXP Explore-NFC board. I have been doing some research and know that you can use the libnfc library with the board. My background is in Java and Android development, so I have very little experience in embedded systems. This is why I wanted to use the libnfc library.
I wanted to know if anyone has managed to get this working with the same NFC board and if so, do I need to learn any new programming languages to achieve this. If anyone has any information about this please let me know. Thank you in advance.