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 !
Related
As the title states, I'm looking for a way to use it as a second/extended display, preferably through USB. I don't want mouse/keyboard functionality, all I'm looking for is a second display. I've tried iDisplay, Air display, Teamviewer, RDP, ScreenSlider, and VNC. All are laggy/buggy, and cannot be used as a second/extended display. If anyone knows of a way to do this, could you please point me in the right direction?
Thanks
Are you meaning a duplicated display (so it shows the same on both) or an extended display ?
I use Splashtop Remote (and Splashtop Remote HD), and if I'm on the local LAN, I can actually use it to duplicate what is on either of my two main monitors with a split-second of lag, which actually is enough to use it for displaying Star Wars: The Old Republic instead of relying completely on the main monitor. Now, it's not perfect, but it is a good alternative for when you're local. If you're doing anything remotely - such as you're out in the field / friend's place, and you wanna access your PC from there, it works great, too - but the lag is a lot more. I use it to access my seed-box and check my linux seeds, as well as keep track of my invoicing for my job.
So that's my suggestion - give it a shot. It was a FAotD at Amazon a few months ago, which is why I snagged it. Grabbed the HD version from the Market a couple weeks ago, and they both are pretty good.
ve6ay said:
Are you meaning a duplicated display (so it shows the same on both) or an extended display ?
I use Splashtop Remote (and Splashtop Remote HD), and if I'm on the local LAN, I can actually use it to duplicate what is on either of my two main monitors with a split-second of lag, which actually is enough to use it for displaying Star Wars: The Old Republic instead of relying completely on the main monitor. Now, it's not perfect, but it is a good alternative for when you're local. If you're doing anything remotely - such as you're out in the field / friend's place, and you wanna access your PC from there, it works great, too - but the lag is a lot more. I use it to access my seed-box and check my linux seeds, as well as keep track of my invoicing for my job.
So that's my suggestion - give it a shot. It was a FAotD at Amazon a few months ago, which is why I snagged it. Grabbed the HD version from the Market a couple weeks ago, and they both are pretty good.
Click to expand...
Click to collapse
Thanks for the reply, but I'm looking for an extended display. I'll still look into this though.
Have you tried iDisplay, or AirDisplay? They arent free but they should do the trick.
haxin said:
Have you tried iDisplay, or AirDisplay? They arent free but they should do the trick.
Click to expand...
Click to collapse
turdferguson92 said:
...I've tried iDisplay, Air display, Teamviewer, RDP, ScreenSlider, and VNC. All are laggy/buggy, and/or cannot be used as a second/extended display...
Click to expand...
Click to collapse
iDisplay is too laggy for practical use and AirDisplay is full of bugs.
It looks like those are going to be my only choices. Oh well
If you have a second display already plugged in, but don't want to use it for some odd reason, then you could use Splashtop, as it'll work for displaying. But you have to have the second there already, so that kinda negates that.
Sorry mate. No other ideas at the moment.
http://sourceforge.net/projects/synergyandroid/
This looks to be the closest to what your asking for, but still in early stages.. I use Synergy at work to use an iMac as a second display, works well. My current setup has a Windows 7 notebook in the middle, 23" display left and 20" iMac right. My Touchpad sits just below the notebook in its Touchstone charger. Tomorrow I'll give this a try and I'll let you know how it works.
Sent from my cm_tenderloin using Tapatalk 2
Thanks for all the replies guys!
I just decided to shell out the extra bucks for a real monitor lol. Though I was kinda interested in a couple of these remote desktop clients's.
Nomedias said:
http://sourceforge.net/projects/synergyandroid/
This looks to be the closest to what your asking for, but still in early stages.. I use Synergy at work to use an iMac as a second display, works well. My current setup has a Windows 7 notebook in the middle, 23" display left and 20" iMac right. My Touchpad sits just below the notebook in its Touchstone charger. Tomorrow I'll give this a try and I'll let you know how it works.
Sent from my cm_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
Well, got it to "work", but not really usable yet. Cursor wasn't visible, jumped around alot, keyboard mapping had many issues. Also, once the app started, the only way I could get soft keyboard back was to reboot. When I have time later maybe I'll look into helping debug it.
Sent from my cm_tenderloin using Tapatalk 2
Lots about going Glass to PC but what about the other way around? Like TeamViewer etc?
Don't need input, just streaming display.
Thoughts ?
jewnersey said:
Lots about going Glass to PC but what about the other way around? Like TeamViewer etc?
Don't need input, just streaming display.
Thoughts ?
Click to expand...
Click to collapse
I think; glass processing power, glass data streaming, and glass battery life while data streaming are the limiting factors. These may change with updated hardware.
However, small screen size, and the lag that comes with all RDP streaming would also make it impractical.
Lastly I don't see how it would be that useful (I'd love to hear what you have in mind though) and I still haven't addressed the other problem, which is is it sounds like a lot of work to code.
I'm doing my PhD (psychology) and will be using Glass throughout. Essentially, I need a computer to 'talk' to glass in real time and have a series of computer streams be available to the Glass wearer, either by swipeable cards, or some type of quad view layout. I was hoping that a direct video stream would be simpler than writing full software (especially since I've only just begun to learn java).
Battery can be dealt with (external battery pack).
Data over WiFi should be good enough.
I found this
https://developers.google.com/glass/develop/mirror/static-cards?hl=en#attaching_video
But we run into programming limitations at the moment.
And I saw someone had made an app that streamed from a Go PRO camera via a URL , with camera connected to PC, but I think updates have killed that option, for now. I have tried to sidleoad several VNC client apps but I can't access any of the fields to fill in server information.
t
jewnersey said:
I'm doing my PhD (psychology) and will be using Glass throughout. Essentially, I need a computer to 'talk' to glass in real time and have a series of computer streams be available to the Glass wearer, either by swipeable cards, or some type of quad view layout. I was hoping that a direct video stream would be simpler than writing full software (especially since I've only just begun to learn java).
Battery can be dealt with (external battery pack).
Data over WiFi should be good enough.
I found this
https://developers.google.com/glass/develop/mirror/static-cards?hl=en#attaching_video
But we run into programming limitations at the moment.
And I saw someone had made an app that streamed from a Go PRO camera via a URL , with camera connected to PC, but I think updates have killed that option, for now. I have tried to sidleoad several VNC client apps but I can't access any of the fields to fill in server information.
Click to expand...
Click to collapse
I think it is definitely possible with cards but I don't think streaming is. I have a GoPro hero 3 black edition and it is capable of streaming because it creates its own WiFi hotspot that a phone can connect to and stream from although it gets very hot while doing it and reduces battery quickly.
I think the cards option would work best, what type of data are you going to be displaying? Lastly I think once the newer model comes out with more RAM, a better processor, and a better battery that it will be much more possible to stream a live feed from the computer. It is definitely possible in terms of software, its just a matter of how difficult. I'm not sure if the current Glass software is going to be able to do the trick. But since glass is really an android phone you might be able to talk to th developer of an already-existing android phone app that streams from a computer (there are lots of them). They might give you a general idea of how to code for it.
I did look at the link but I know very little about Java (although that will change soon) and I only know some C++ so sadly I can't help you with the actual code.
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 all!
I am trying to control a Roku from a Raspberry Pi. I know that I could use the included Roku remote as well as the app on my phone, but I plan to control much more with the Pi. I built a PHP webpage with buttons that execute Python scripts to send commands to the Roku (i.e. menu functions, navigation arrows). However alit takes about 2-3 seconds for the command to work (versus instantaneous from remote or app). I bypassed the web server on my Pi and run the Python scripts directly in the shell, but still experiencing delayed control. Thinking it was a wifi induced delay, I connected the Pi’s wired NIC to the same switch as my Roku (same subnet). Still delayed. Is this a hardware limitation or am I doing something wrong? Thanks in advance!
I would say that it's possibly a hardware limitation. I would say to try to run it in verbose to see how long the response time is and see if it's timing out or something like that. Just a possibility, but potentially the issue. Also, it probably doesn't matter, but what Pi model are you running also?
NTGDeveloper said:
I would say that it's possibly a hardware limitation. I would say to try to run it in verbose to see how long the response time is and see if it's timing out or something like that. Just a possibility, but potentially the issue. Also, it probably doesn't matter, but what Pi model are you running also?
Click to expand...
Click to collapse
Thanks for your response! I’ve got a 3B+. Not the latest but not too old either. I’ll give verbose a shot to see how long it takes for a response. I may also try (if possible) running commands directly thru Putty. It doesn’t get any more direct than that. I’m hoping it’s not a hardware limit but for $35, sheesh, I can’t complain too much!