วันอาทิตย์ที่ 8 มีนาคม พ.ศ. 2558

Control Raspberry Pi using Windows ( Over VNC Network )



Control Raspberry Pi using Windows ( Over VNC Network )

ควบคุม Raspabrry Pi ผ่านทาง Windows ใช้ VNC Network

You will see the desktop of the Raspberry Pi inside a window on your computer. You'll be able to control it as though you were working on the Raspberry Pi itself. Using VNC.


VNC ( Virtual Network Computing )

VNC is a graphical desktop sharing system that allows you to remotely control the desktop interface of one computer from another. It transmits the keyboard and mouse events from the controller, and receives updates to the screen over the network from the remote host.


For your Raspberry Pi Board

Install the TightVNC package

 $ sudo apt-get install tightvncserver 

Install already then start TightVNC Server which will prompt you to enter a password and an optional view-only password.

 $ tightvncserver 

Then Start VNC Sever

 $ vncserver 


On on your Computer PC or Notebook , install and run the VNC client.
Download VNC

When the installation is complete. You shuld find TightVNC Viewer on the start menu.
Open TightVNC Viewer.
You need power on your raspberry pi and connect to the same network already and you must know your raspberry pi IP Address and screen number ( :0 or :1 )  For example 192.168.0.104:1




Click the Connect button and you will be prompted for the password that was specified when configuring the VNC server on the Raspberry Pi earlier. You should then find yourself at the Raspberry Pi desktop.




Now, you remote control on your raspberry pi board.



<< บทความต่อไป >>


My Website
email : info@softpowergroup.net   Tel .081-6452400



วันเสาร์ที่ 7 มีนาคม พ.ศ. 2558

Python Remote Development on Raspberry Pi with PyDev and Eclipse

Python Remote Development on Raspberry Pi

with PyDev and Eclipse

เขียน Python PyDev บน Raspberry Pi ด้วย Eclipse



Download and Install



Install Eclipse Python plugin


Open eclipse goto menu Help --> Install New Software



Install New Software
use Pydev Plug in Link "http://pydev.org/updates" then Next


New Software Plug in to install
Show "PyDev for Eclipse"  and Version  then Next


Installing  wait for a minute


When Install already
Goto Menu  Window --> Preferences
It show PyDev Menu
Now Install Plug-in Already ! after that need to config in Eclipse.


Configuration of Eclipse

Goto Menu  Window --> Preferences -- > PyDev --> Interpreters --> Python Interpreter
Then Click  New...



Browse your Python Interpreter Executable
Then OK


System Python Path OK


When PyDev  and Python path Ok.
Now need to Setup Remote System for connect eclipse to raspberry pi board.


RSE - Remote Systems Explorer

Goto menu Help --> Install New Software 
1 .Work with  change to All Available Sites
2. Use type filter text  = remote


Then Select General Purpose Tools
and Select  Remote System Explorer End-User Runtime
and Remote System Explorer User Actions
then Next to Install

Finish the installation and restart Eclipse.



Connect to Raspberry Pi
Goto Menu Window --> Open Perspective  -- > Other
Double click Remote System Explorer



Then Right Click on Local
and New -- > Connection


New Connection
Select SSH only


Remote SSH only System Connection
Host Name your Raspberry Pi IP Address


Now Connect and Remote to Raspberry Pi



So,you can open python file and write code in Raspberry Pi using eclipse





<< บทความต่อไป >>


My Website
email : info@softpowergroup.net   Tel .081-6452400

วันพฤหัสบดีที่ 5 มีนาคม พ.ศ. 2558

Raspberry Pi Tools

Raspberry Pi Tools


Remote Access to Raspberry Pi Tool
( เครื่องมือ โปรแกรมรีโมท ไปยัง Raspberry Pi )
You can remotely gain access to the command line of a Raspberry Pi from another computer on the same network using  SSH (SECURE SHELL).

Note you only have access to the command line, not the full desktop environment. For full remote desktop use VNC.
You can enable or disable the SSH server on your Raspberry Pi (it is enabled by default). This is done using  raspi-config.

Use Program  PuTTY ( For Windows )






Transfer Files to Raspberry Pi Tool.
เครื่องมือ โปรแกรมโอนย้ายไฟล์ ไปยัง Raspberry Pi และสามารถแก้ไข file ได้
Transfer Files Across Your Network from Windows to a Raspberry Pi.


Use SCP ( Secure Copy )
Copies a file from one computer to another using ssh. 

Download WinSCP for Windows
http://winscp.net/eng/download.php








WinSCP use sudo

In the WinSCP login options window:


  • Click Advanced options

  • Go to Environment --> SCP/Shell (on left)

  • Select Shell: "sudo su -"



For MAC OSX user for Raspberry Pi Command line.

Use Terminal ( don't need external program )


Then you'll need to know Raspberry Pi IP address to connect it.

ssh pi@<IP>



<< บทความต่อไป >>


My Website
email : info@softpowergroup.net   Tel .081-6452400