Has anyone seen or heard of possibly using an old smartphone touchscreen as a monitor for the pi?
Seems like everyone has old spare phones laying around. Maybe the adaptation is too difficult, but thought I'd just put it out there.
VNC Is the solution!
Lemmiwinx said:
Has anyone seen or heard of possibly using an old smartphone touchscreen as a monitor for the pi?
Seems like everyone has old spare phones laying around. Maybe the adaptation is too difficult, but thought I'd just put it out there.
Click to expand...
Click to collapse
I suggest you to setup a VNC Server on the raspberry pi, download a VNC Client on the smartphone, and connect the client to the server. Now you will be able to use your touch phone as both screen, mouse and keyboard for the raspberry pi. You can also just use it as a screen, but it will be pretty low resolution, depending on how large the screen is.
If you don't know what VNC is, it is basically a "remote screen control thing", as I like to call it.
Check out some links here:
Phone VNC Client (Android): play.google.com/store/apps/details?id=android.androidVNC&hl=en
VNC Server for Raspberry Pi: gettingstartedwithraspberrypi.tumblr.com/post/24142374137/setting-up-a-vnc-server
Just a tip, lol.
(Any questions/problems setting up vnc, pm me or email me: [email protected])
-Mpb907#
Source: en.wikipedia.org/wiki/Vnc
MpB907 said:
I suggest you to setup a VNC Server on the raspberry pi, download a VNC Client on the smartphone, and connect the client to the server. Now you will be able to use your touch phone as both screen, mouse and keyboard for the raspberry pi. You can also just use it as a screen, but it will be pretty low resolution, depending on how large the screen is.
If you don't know what VNC is, it is basically a "remote screen control thing", as I like to call it.
Check out some links here:
Phone VNC Client (Android): play.google.com/store/apps/details?id=android.androidVNC&hl=en
VNC Server for Raspberry Pi: gettingstartedwithraspberrypi.tumblr.com/post/24142374137/setting-up-a-vnc-server
Just a tip, lol.
(Any questions/problems setting up vnc, pm me or email me: [email protected])
-Mpb907#
Source: en.wikipedia.org/wiki/Vnc
Click to expand...
Click to collapse
I was thinking more of inline of just hardware. Ive got a GS3 that bricked, so i was thinking of taking apart and hooking up the screen that way. plus ive got another half dozen phones that arent in use. Didnt know if anyone ever tried it before, seems like such an obvious idea.
Not from a smartphone but you can search for Siemens S65 or Nokia 6610/3310 for Raspberry Pi...
Those are working!
I had not found someone who has got make a smartphone display work...
Gesendet von meinem GT-I9100
So, hardware...
Lemmiwinx said:
I was thinking more of inline of just hardware. Ive got a GS3 that bricked, so i was thinking of taking apart and hooking up the screen that way. plus ive got another half dozen phones that arent in use. Didnt know if anyone ever tried it before, seems like such an obvious idea.
Click to expand...
Click to collapse
I don't really know what to do here, but I saw some people hook up a broken smartphone (With working screen) to the raspberry pi via GPIO cables.
Maybe this'll help you: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=34469
If you know what you are doing then I do not think it should be any problem to do so.
I was looking for something like this, because I have some old phones with good screens that would come in handy as status screens (I'm already using VNC)
¿Has someone tried to drive any phone screen with the bare GPIO or is a shield needed?
Thanks for the link. Its definitely going to work for one of my many pi projects. Love this this community !
Hey Guys
First of all: I realize that this is a rather long text, so I appreciate the effort of everyone who is going to read it!
Also, I asked a questions about 2 weeks ago, which was related to this topic, but was very specific about android wear (which I gave up on since then!).
So, actual post:
I want to build, or already am building an informational system for my motorcycle.
As the result of my work, I imagine a display (about 7 inches) in the dash of my motorcycle. It shall display information from my Smartphone (for example notifications about incoming calls etc.) as well as giving me the possibility to control the music on the smartphone (Android 5.1).
Also, I want to display further information, like speed, average speed, altitude etc. (hope you got the idea, basically just an advanced trip computer).
I started developing something, but ran into issues. I will explain my two concepts or ideas I had so far and explain, what the issues were I ran into. I then hope, that somebody here has a solution for my problem (which includes recommending hard- and software).
Firstly about my skills: I am experienced in programming "low level hardware", like Atmel's AVR Series (in plain old C) and developing the associated hardware for it. Also making custom pcb's at home isn't a problem for me, as long it doesn't come to some fancy BGA or SMD packages
On the programming side I am experienced the most in Java (and Android, which is basically Java of course). I know also C# and the .NET framework.
But I am willing to learn something new
The two ideas I had so far differed on the way how I wanted to let the raspberry pi (which I wanted to place in the cockpit) communicate with the smartphone.
In both concepts, I planned to have a raspberry pi with attached display in the cockpit on which I wanted to run a JavaFX application (already started programing). This application would then communicate with the smartphone over:
Idea 1: Java serialization:
I wanted to communicate over command objects. So for example I'd have an object for asking the altitude from the smartphone.
I'd then serialize this command object on the pi's side and deserialize on the smartphone. This isn't a problem, because there's java on either side (already got that piece working).
The smartphone would, after receiving and deserializing the object, get the actual altitude from the GPS sensor, pack the result in an answer-object, serialize it and send it back to the pi.
The issues I ran into were the following:
-Java Bluetooth library: I wasn't able to find a good, up-to-date, java library for communicate over Bluetooth in java. I then stuck to RXTX Library which did the job, but I always had the feeling of doing something "not so good". In particular I didn't want to just write on a COM-Port (which is emulated from the Bluetooth-module), because I had the feeling that COM-Ports may change after reboots if the OS feels like it, and I didn't want to build something which needed constant "tinkering". Also, writing to COM-Ports in 2015 just feels wrong, but this may be my personal problem
Idea 2: HTTP and Web Sockets
The basic idea was to have a webserver running on the smartphone and offering a REST-like API which I could access from the pi.
I also got this concept working, like so:
By using the NanoHTTPD library (from github) I was able to start a webserver on the android device. When then someone issued a POST-request on, for example, <IP>:<port>/api/music/next, the WebServer would receive this request and switch to the next song.
Actualizing data on the pi which changes often, for example the altitude, would have been achieved by using a WebSocket connection between the Java-App on the pi and the android webserver (which I also got to work).
I figured out that it would be a power consumption problem to let the smartphone offer a wifi hotspot (I don't want to have to connect the smartphone to cables on the motorcycle), so I decided to let the pi start a wifi access point (which isn't a power problem, because the pi is connected to on-board-power of the motorcycle).
However I then realized that the smartphone won't connect to an access point which doesn't offer internet access but only LAN-access.
And even if there was a way to force the smartphone to let it connect anyways, it isn't guaranteed that this will work too on future devices. And: The whole notification-stuff would have been needless, because as long as the smartphone is connected to a "dead-end wifi", it wouldn't receive emails or whatsapp-messages.
Idea 3: Using Bluetooth low energy:
It seems like the new, modern way, to let devices communicate over Bluetooth is to use Bluetooth low energy (BLE). (But I never worked with it before!).
However, there seems to be little to no support on raspberry pi for it, and it seems to be impossible to find a library for java which helps in using BLE. (If anyone knows one, please let me know).
I then thought about replacing the raspberry pi with an android board, because android has support for BLE. But I wasn't able to find a board which is supported from android 5.1+ and offers support for BLE. Even the Odroid-boards don't seem to support android >4.4 and BLE.
Summary:
In general I liked the second and third option much better. It seemed to be the the more versatile, modern way. The first way felt a bit like a hack.
However I found those problems I presented above, and until now, I couldn't think of a way around it.
If anyone here:
1) Solved this problem already
2) Knows a really good, NON-HACKY, community supported, Java (BLE) Bluetooth library
3) Knows a language or framework which would be well suited to solve the problem
4) Has another good idea how to solve it
Please let me know!
I just want to build something sophisticated, (which I could maybe make an open source project out of it) which isn't hacky.
I mean, the problem has to be solvable, look at the Pebble smartwatch. They also solved it without android wear.
I really want to emphasise that this is an open question. I am not limited / fixed on Java, Raspberry pi or anything.
I those have two requirements.
1) I don't want to connect the smartphone to a cable, either for data or for power
2) The solution needs to be something power saving, so no hotspot on the android device
3) Non-hacky, sophisticated solution
Best regards
Me =)
PS: As English isn't my native language, I maybe put some sentences wrong or wasn't able to express something clearly and unambiguous.
Please feel free to ask, I'd be pleased to clear any questions!
Any updates?
Hi!
I know this is an old thread, but I'm struggling with a similar issue - except I want to use it for roadcycling. Did you have any luck with your project?
All the best
Marius
Hi.
Look at me, some new jerk with his first post being a request for screen mirroring on the Pi. What a douche right?
I have been doing a lot of research into this and nothing really seems too promising. Who the hell needs screen mirroring right? Just "play to", share the network, use lodi with custom repos or buy a chromecast and gtfo!
Dont get me wrong, I love the Pi, great device. Main problem is it is slow. Now Kodi running on my tablet screen mirrored over to my TV sure sounds a lot better. Since my TV, Xbox, playstation etc all currently do not want to screen mirror with me just yet, I think the Pi might be a good way to mirror the tablet to the TV since the tablet has a bit more CPU and 4 times the ram. The goal is of course to spend $0.
Raspberry Pi (original) model B (overclocked to over the highest settings)
Xbox One
Nexus 7-2 Tablet (rooted)
A slew of wires, none that go from usb to hdmi. One that goes from usb to VGA and another that goes from AV to hdmi)
An OTG cable (male microusb to female reg usb)
I feel like with the above I should be able to control the world :cyclops:, but I just cant seem to get anything going? What are your thoughts, I need a second pair of eyes on this as I could totally be thinking about this all wrong.
Thanks
https://github.com/lanceseidman/PiCAST/tree/picast2?files=1
https://github.com/codemonkeyricky/piracast
I think this is what you are looking for..
Screen Monitoring D:
i am also facing this .. hope #2 help
Hello guys, I'm planning to build my first carputer. 2 years ago I have modified a tablet, Asus zenpad 8, very similar to Nexus 7 in my opinion. Now I want something more.
What I want:
Fully automated pc that works exactly like an android head unit but much better and more flexibility when it comes to external devices like an external DAC with optical output. Actually this is the main reason for not buying an android head unit, didn't find one that works very well with an external DAC. Some other things that I want from this carputer: the compatibility with steering wheel controls, backup camera, fm or even DAB radio, gps, phone calls( via bluetooth), 4G internet and so on. Many of those things are pretty simple to integrate, will talk about them later.
The components:
1. The pc - didn't think about it yet because there are loads of mini pc on the market for good prices. The only problem I'm thinking is the start up on ignition. First I wanted to go for a Remix mini pc but I don't know how could I make it start on ignition and after that automatically play the last song. If I would go for a normal PC, I found a smart PSU which has the possibility of ignition start and stop and puts the computer in sleep mode. That way I will avoid the waiting time for the boot, in fact the computer will be permanently turned on. The only problem I can think of, is the compatibility of this PSU with the android Remix OS. Is it possible?
I've tested the Remix OS and I like it, very quiq, easy to use in car with a touch screen, support all the external devices( wifi, 4g, fm and DAB, external DAC with optical output) and the launcher can be changed. I know I can opt for Windows OS and that way I will be sure that the PSU works but in my opinion windows is not so "mobile friendly", not so easy to use in car.
2. The screen: not so many to talk about, found on ebay some 9" tft touch screens, very good resolution, hdmi connectivity and USB for touch. The best thing with these screens is the AV2 input for the backup camera. The screen automatically switch to this input, has guidance lines, and this way I solved the problem with the camera. And also is quite cheap.
3. Steering wheel controls. Found on ebay the Joycon steering wheel adapter that is compatible with Android. I just have to make an initial configuration and that's it, nothing more, simply works through USB.
4. The other external devices: all of them can be found on ebay for good prices. The only thing that worries me is the bluetooth compatibility. I remember when I built that Asus zenpad tablet, I couldn't find a solution for this. Now my question is, what type of bluetooth adapter should I buy and how do I integrate this in the carputer. And I'm not talking about physical connection, I think I will need some kind of software, app, that knows what to do with this bluetooth adapter.
So, in the end, I would need some help regarding the ignition start, just the hardware part of it, all the other automatic things (launch the app and play the song) can be made with tasker very easy. Also I would need some help with the bluetooth phone calls.
Hope I didn't miss any important thing and I will appreciate any help. Thanks.
yoiedi said:
Hello guys, I'm planning to build my first carputer. 2 years ago I have modified a tablet, Asus zenpad 8, very similar to Nexus 7 in my opinion. Now I want something more.
What I want:
Fully automated pc that works exactly like an android head unit but much better and more flexibility when it comes to external devices like an external DAC with optical output. Actually this is the main reason for not buying an android head unit, didn't find one that works very well with an external DAC. Some other things that I want from this carputer: the compatibility with steering wheel controls, backup camera, fm or even DAB radio, gps, phone calls( via bluetooth), 4G internet and so on. Many of those things are pretty simple to integrate, will talk about them later.
The components:
1. The pc - didn't think about it yet because there are loads of mini pc on the market for good prices. The only problem I'm thinking is the start up on ignition. First I wanted to go for a Remix mini pc but I don't know how could I make it start on ignition and after that automatically play the last song. If I would go for a normal PC, I found a smart PSU which has the possibility of ignition start and stop and puts the computer in sleep mode. That way I will avoid the waiting time for the boot, in fact the computer will be permanently turned on. The only problem I can think of, is the compatibility of this PSU with the android Remix OS. Is it possible?
I've tested the Remix OS and I like it, very quiq, easy to use in car with a touch screen, support all the external devices( wifi, 4g, fm and DAB, external DAC with optical output) and the launcher can be changed. I know I can opt for Windows OS and that way I will be sure that the PSU works but in my opinion windows is not so "mobile friendly", not so easy to use in car.
2. The screen: not so many to talk about, found on ebay some 9" tft touch screens, very good resolution, hdmi connectivity and USB for touch. The best thing with these screens is the AV2 input for the backup camera. The screen automatically switch to this input, has guidance lines, and this way I solved the problem with the camera. And also is quite cheap.
3. Steering wheel controls. Found on ebay the Joycon steering wheel adapter that is compatible with Android. I just have to make an initial configuration and that's it, nothing more, simply works through USB.
4. The other external devices: all of them can be found on ebay for good prices. The only thing that worries me is the bluetooth compatibility. I remember when I built that Asus zenpad tablet, I couldn't find a solution for this. Now my question is, what type of bluetooth adapter should I buy and how do I integrate this in the carputer. And I'm not talking about physical connection, I think I will need some kind of software, app, that knows what to do with this bluetooth adapter.
So, in the end, I would need some help regarding the ignition start, just the hardware part of it, all the other automatic things (launch the app and play the song) can be made with tasker very easy. Also I would need some help with the bluetooth phone calls.
Hope I didn't miss any important thing and I will appreciate any help. Thanks.
Click to expand...
Click to collapse
Have you thought about using a rock 64 single board computer like a Raspberry Pi that Android is really supported something like that could work really well as it has gpio outputs for various functions USB inputs for audio dacs and DAB radio and can work with touch screens or even projectors for heads up.
The truth is I know nothing about raspberry pi, heard about them but nothing more. Can you please explain a bit more? Is it possible to make it automatically turn on/off on ignition? How? Apparently that's the hardest part of the job. I've read on the internet that Remix OS doesn't work very well with stand-by function and if I'll make it to shut down completely, I'm afraid that will take too long to boot back. I was thinking about Remix mini pc and a controller that simulates pressing of the on/off button simultaneously with the ignition but it has to be tested.
So, quickly searched on google about raspberry pi and banana pi possibilities, there are some power supplies for in car use, basically they simulate a shut down from the button with a delay. That looks very good, very easy to do and also very cheap. But, how fast can boot a raspberry or banana pi running Remix OS? Does anyone know?
yoiedi said:
The truth is I know nothing about raspberry pi, heard about them but nothing more. Can you please explain a bit more? Is it possible to make it automatically turn on/off on ignition? How? Apparently that's the hardest part of the job. I've read on the internet that Remix OS doesn't work very well with stand-by function and if I'll make it to shut down completely, I'm afraid that will take too long to boot back. I was thinking about Remix mini pc and a controller that simulates pressing of the on/off button simultaneously with the ignition but it has to be tested.
Click to expand...
Click to collapse
To make it turn off and on with the ignition, just plug it into a 12v line that is powered when ignition is on. Generally the 12v line to your head unit fits that criteria. If you want constant power to keep the device in standby mode, you can connect a relay to an a wire that is powered when the car is powered, then use the relay to short the pins of the standby button.
For boot time, you can achieve quite a bit of improvement by getting the fastest sdcard you can buy.
Thanks for advice. I've searched on youtube how android works with raspberry pi and in my opinion they don't do it very well, I mean it struggles even on youtube playing videos. So, I bought an ssd hdd, 32gb and made some tests on my pc. Found a version of android 7 special made for in car use and I'm quite happy with it until now. This android has a "special" feature, when the power button is pressed the pc shut down without displaying any confirmation message on screen. That means it will work perfectly with an intelligent power supply like m2-atx, m3-atx etc. In the next few days I'll get a new pc, micro atx mainboard so I'll begin the tests on that. Until now I've got a boot time around 30-40 seconds. Is not a bad time but I'll try to remove the unnecessary apps from startup and see what happens then. I'll post some pictures or even videos when I'll have good results. Any advice is welcome. Thanks.
yoiedi said:
Thanks for advice. I've searched on youtube how android works with raspberry pi and in my opinion they don't do it very well, I mean it struggles even on youtube playing videos. So, I bought an ssd hdd, 32gb and made some tests on my pc. Found a version of android 7 special made for in car use and I'm quite happy with it until now. This android has a "special" feature, when the power button is pressed the pc shut down without displaying any confirmation message on screen. That means it will work perfectly with an intelligent power supply like m2-atx, m3-atx etc. In the next few days I'll get a new pc, micro atx mainboard so I'll begin the tests on that. Until now I've got a boot time around 30-40 seconds. Is not a bad time but I'll try to remove the unnecessary apps from startup and see what happens then. I'll post some pictures or even videos when I'll have good results. Any advice is welcome. Thanks.
Click to expand...
Click to collapse
Check these out http://www.hardkernel.com/main/main.php
yoiedi said:
Thanks for advice. I've searched on youtube how android works with raspberry pi and in my opinion they don't do it very well, I mean it struggles even on youtube playing videos. So, I bought an ssd hdd, 32gb and made some tests on my pc. Found a version of android 7 special made for in car use and I'm quite happy with it until now. This android has a "special" feature, when the power button is pressed the pc shut down without displaying any confirmation message on screen. That means it will work perfectly with an intelligent power supply like m2-atx, m3-atx etc. In the next few days I'll get a new pc, micro atx mainboard so I'll begin the tests on that. Until now I've got a boot time around 30-40 seconds. Is not a bad time but I'll try to remove the unnecessary apps from startup and see what happens then. I'll post some pictures or even videos when I'll have good results. Any advice is welcome. Thanks.
Click to expand...
Click to collapse
Why don't you get an android head unit?
gtxaspec said:
Why don't you get an android head unit?
Click to expand...
Click to collapse
I think you didn't read, I couldn't find any that works with an external sound card(DAC). My audio system is quite expensive, made for sound quality, and of course I want the head unit to be as good as possible. An external sound card with optical output I think is the best you can get.
Google search "raspberry pi alternative" theres lots of these little gadgets now adays, raspberry pi 3B is one of the most popular ( and cheapest) but there are more out there that are more powerful & better hardware.. The ASUS Tinkerboard is becoming popular as well I think I may be getting one for a streaming machine.
I've already purchased the PC and ordered the PSU. The price for all those components(+ a 30gb ssd) was under 100£ so not very expensive. Why I went for a pc instead of a single board pc? I don't know, maybe because I have no previous experience with them. Yes is true that is way much bigger than a raspberry alternative and the power consumption as well but I don't mind, maybe in the future when I'll get bored again I will try one of those pc's.
So, I've tried to install the Android X86 64bit (there is one version on internet with a patch that removes the confirmation message when you want to shut it down) on this pc with no success, all I've got was a black screen or a continuous reboot. Found out that Android X86 64bit is not so friendly with AMD cpu's. Should've search for that before buying it. Anyway, tried the 32bit version so that one works very well but I didn't find any with that patch installed. How can I remove that confirmation message when the power button is pressed?
Thanks.
first tests, quite happy with it, still lot of work to do.
https://youtu.be/lNJmRjXG81A
Odroid C2 with android + kodi