The Computational Virtual World and the Real Physical One

Posted by:

Preamble

It is always fascinating when the virtual reality starts to compete with real world, particularly when one can track user’s locomotion, head movement, gestures, EEG and vital statistics etc. Here is just a little teaser project about virtual reality.

Parts needed

  1. Breadboard
  2. Arduino Uno or other board
  3. Hc-sr04 Ultrasonic Distance Measuring Sensor
  4. connecting wires

The fritzing schematic

ultra_distancefzz_bb.png

The Ultimate Emailing Agent with Mu4e and Emacs

Posted by:

Continue Reading →
2

Ways to control Arduino – Javascript, Python and Internet

Posted by:

Preamble

There is always different ways to achieve the same goal. This is very true in programming, so is in life. Most times we like to think there is only one way – our way.

set up Arch Linux system for node and johnny-five etc.

This is a good tutorial for this subject and Arduino Experimenter’s Guide for NodeJS.

  1. install Arduino IDE for your system
  2. upload ...

Continue Reading →
0

On Arduino Interrupts

Posted by:

Arduino Interrupts and some of its Usage

Background and rational

In the process of developing a device, we come across a situation that we needed a responsive way to abort the device; However Arduino will be stuck in the middle of loop and only response after that, esp when the only communication to Arduino is via a serial port. We have adapted a very wasteful way of putting the whole ...

Continue Reading →
0

Arduino Installation on Raspberry PI 2B Running Arch Linux

Posted by:

Official Arduino IDE does not agree with PI and it sucks any way.

[update] Platformio is a better way!

There are two major ways to compile and upload sketch files to Arduino: a. use IDEs (Arduino IDE, Emacs IDE, Fritzing or ArduIDE). or b. use a terminal. Arch official site explains well, however, most of it does not apply to RasPi with Arch Linux. It DOES work with regular ...

Continue Reading →
0

Raspberry Pi2 and Pi3 -Installing Arch Linux and Raspbian

Posted by:

An inexpensive credit-card-size computer

From official site: “The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.”

Pi2ModB1GB.jpg

IMG_4655.JPG

Arch Linux installation on Raspberry Pi

UPDATE: ...

Continue Reading →
0

Ubuntu Server Installation and Others

Posted by:

Ubuntu Server Installation and Set Up

Following are some quite notes about intallation of Ubuntu Server.

  1. install with 14.1 server CD Download ISO image from official site: http://www.ubuntu.com/download/server Burn on a disk and install following on-screen instructions.
  2. Install Packages There are not too many packages needed for the server package, but update,upgrade and istall whatever you need.
  3. ClamAV Antivirus -preinstalled already

Continue Reading →
0

Dual-Views with Arch Linux

Posted by:

Set Up Multiple Displays

Multi-views represent a setup when multiple display devices are attached to a computer. This is an easy configuration adapted from Arch office site.

Three ways to setup multiple-head displays with xrandr:

  1. to use xrandr to id and setup up monitors manually,
  2. to use arandr (gui version) -the easiest way, yet it is very powerful comparing with MS Windows.
  3. or with the help of a script to automatically detect monitors hooked ...
Continue Reading →
0

Issues with Fcitx-Sougou for Chinese input in Emacs

Posted by:

Fcitx to input Chinese in Emacs

This should only be used in some case, including emacs and java. Emacs has ahistorical bug, that under en_US.UTF-8 or similar locale, it will never use XIM (Though emacs is a gtk app, it use XIM). The only way to walkaround this is to use LC_CTYPE to fix this.

This was one of most obnoxious problems. With installation of my favorite Sougou(搜狗) IME, I can input Chinese ...

Continue Reading →
2
Page 6 of 7 «...34567