Showing posts with label Android Apps. Show all posts
Showing posts with label Android Apps. Show all posts

Friday, January 1, 2021

Raspberry Pi stream camera video using raspivid in rtsp protocol, view in Android using VLC app.

Work on Raspberry Pi 4B/8G running Raspberry Pi OS (32 bit), stream video from Camera Module to port 8000 in rtsp protocol, enter the command:

$ raspivid -o - -t 0 -n -w 800 -h 600 -fps 30| cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8000/}' :demux=h264

where:
-w 800 : width=800
-h 600 : height=600
-fps 30 : 30 frame per second
8000 : the port to stream video

Open VLC App, Open Network Stream
rtsp://<Raspberry Pi IP>:8000/
e.g. rtsp://192.168.1.30:8000/

Wednesday, April 22, 2015

Raspberry Pi Python to set Brightness of Camera Module and preview

Example code of Python 2, run on Raspberry Pi, to control Camera Module, set Brightness and preview. Control Camera Module with picamera, and implement GUI with Tkinter. It's a Tkinter.Scale to set brightness.


Because the preview will be shown on main display, so I run the Python code remotely on Android tablet with Microsoft Remote Desktop app.


testBrightness.py
import picamera
from time import sleep
import Tkinter

def quit():
    camera.stop_preview()
    global tkTop
    tkTop.destroy()

def setBrightness(ev=None):
    global camera
    global tkScale
    camera.brightness = tkScale.get()

camera = picamera.PiCamera()
camera.start_preview()
camera.brightness = 50

tkTop = Tkinter.Tk()
tkTop.wm_title("Raspberry Pi Camera - Brightness")
tkTop.geometry('400x200')

tkButtonQuit = Tkinter.Button(
    tkTop, text="Quit", command=quit)
tkButtonQuit.pack()

tkScale = Tkinter.Scale(
    tkTop,
    from_=0, to=100,
    length=300,
    orient=Tkinter.HORIZONTAL,
    command=setBrightness)
tkScale
tkScale.set(50)
tkScale.pack(anchor=Tkinter.CENTER)

Tkinter.mainloop()


Next:
Python to capture image from Raspberry Pi Camera Module

Thursday, March 26, 2015

Microsoft Remote Desktop on Android, login xrdp on Raspberry Pi

Easy install xrdp on Raspberry Pi (suppose it work on any Linux), remote login from Android with Microsoft Remote Desktop app.


In Raspberry Pi, enter the command to install xrdp:
$ sudp apt-get install xrdp


In Android, install the Microsoft Remote Desktop app from Google Play:


This video show how to login Raspberry Pi xrdp using Microsoft Remote Desktop on Android.

Monday, January 6, 2014

Android App - RPi Hardware Guide

This App, RPi Hardware Guide, sets out, in one convenient location, detailed information on all the hardware components of your Raspberry Pi.

It will assist new users as well as experienced Pi enthusiasts with a comprehensive understanding of the device and its capabilities.

It includes (but is not limited to):
- An interactive guide of Raspberry Pi Model A
- An interactive guide of Raspberry Pi Model B
- A powerful search function
- An image gallery (Paid version only)
- Quick reference section
- Extensive Information on /boot/config.txt
- Extensive Information on the Official Raspberry Pi Camera Board

RPi Hardware Guide
RPi Hardware Guide
Google Play:


Monday, December 9, 2013

Wednesday, November 27, 2013

Use your Android device as wireless mouse and keyboard for your Pi

Simple Computer Remote is the a Android remote app that supports Windows, Linux, Mac OS X, and even the Raspberry Pi. Simple Computer Remote is a wireless touchpad style mouse and keyboard for your desktop computer that works over wifi. This allows you to replace or supplement your mouse and keyboard for control of your media center computer, desktop computer, laptop, raspberry pi, or any other Windows, Linux, or Apple Mac OS X based desktop computer.

Simple Computer Remote is now open source!

DOWNLOAD SERVER
http://philproctor.github.io/SimpleComputerRemote/

FEATURES
* Open Source!
* Zero Configuration
* Touchpad style mouse control
* Use your normal Android keyboard
* Use Swype or voice recognition if your device supports it
* Configurable mouse sensitivity
* No IP Address configuration, works well with dynamic IP
* Landscape or portrait touchpad
* Excellent for presentation or media center control
* Two-finger scrolling
* Push and hold to drag
* Two-finger tap for right click

Sunday, November 10, 2013

Login Raspberry Pi's VNC server from Android, with Remote Ripple



Android App Remote Ripple (RFB/VNC Viewer) is a free remote desktop client from the developers of TightVNC. View and control your desktop remotely, in real time, just as if you were sitting in front of remote PC, Mac or Unix system. It’s a VNC viewer so it can connect to any type of VNC server (including built-in screen sharing found in Mac OS X).

It can be used as VNC Viewer on Android devices to login Raspberry Pi remotely. In my test, TightVNC server is running on Raspberry Pi side, the App Remote Ripple run on HTC Flyer (Android 3.2.1).

Remote Ripple run on Android device, login Raspberry Pi
Install Remote Ripple (RFB/VNC Viewer) from Google Play.

- Click New Connection.

- Click More Options.

- Entaer Raspberry Pi's IP address in Host field, and tunnel number(in 590X form) in Port field, then click Connect.

- Enter VNC server Password, and click OK.