Author: Heng Zhen Jing
Title: Sprint 2 - Raspberry Pi2 7 inch Touch Display
Following up from the last blog entry, the long-awaited new lamp had arrived! Thus it is time for us to move up to Sprint 2. We are divided into 2 main groups in which 1 of the groups will be responsible for the Mechanics side (i.e Servo movements of Head, Midjoint, Base) and the other one will be in charge of Embedded System Design - ESD (i.e Sound, Face Detection, GUI interface, Thread, etc). Initially, I was in the mechanics side, helping Filipe with the parts at Midjoint. After a brief discussion with the lads, I've decided to switch to ESD side. I will be responsible for Lampbotics GUI interface, in which a 7 inch Raspberry Pi Touch Display will be used to interact with users. At the meantime, I'll still be helping on Mechanics side during spare time.
The idea is that when user starts up the Lampbotics, the associated GUI script file will be run at the startup, so as to prompt users for different modes he/she wishes to run. The available modes are:
- Programming Mode: This mode will turn off all the other modes and go directly to Raspberry Pi Home to enable programming / modification of the codes. Like this, programmers can code the programs without having to plug in/out the monitor to the boards. Also, this can enhance one's interest in programming, especially kids as this seems to be fun and interesting.
- Face Detection Mode: In this mode, Lampbotics will recognize the face and move accordingly with the movement/position of one's face.
- Shape/Colour Detection Mode: Lampbotics will detect the colour/shape of an object.
- Silent Mode: It will remain silent and stays in the same position, acting like a normal lamp.
Note that above are just some fundamental modes ought to be implemented, any extra modes might be added into it in future.
In term of (800 x 480) 7 inch Touch Display, it is available at the following site:
It connects via an adapter board which handles power and signal conversion. Only two connections to the Pi are required; power from the Pi’s GPIO port and a ribbon cable that connects to the DSI port present on all Raspberry Pis. Moreover, Touchscreen drivers with support for 10-finger touch and an on-screen keyboard will be integrated into the latest Raspbian OS for full functionality without a physical keyboard or mouse. This could even save up more time as no external keyboard and monitor are required for programming purpose. Below shows the package that comes in one.
The installation guide and additional infos can be found from here:
Heng Zhen Jing
Blog Entry #4