PIP-GRL 31415

From Technologia Incognita
Revision as of 02:42, 22 March 2013 by ZTiK (talk | contribs)
Jump to: navigation, search
Projects
Pipboy3k.png
Participants ZTiK
Skills Arduino, Basic electronics, Coding, UI Design, Not Being on Fire
Status Active
Niche Electronics
Purpose World domination

What is it?

A wristcomputer similar to the PIP Boy 3000 from the game series Fallout.

The device is made up of several modules and sensors such as:

-2.8" TFT touchscreen

-MicroSD card (contains images and logfiles)

-GPS

-Compass

-FM Radio

-6 Degrees Of Freedom motionsensor

-Altitude/pressure sensor

-Light sensors

-Audio sensors

-3x Ultrabright white LED's

-1x non-diffused RGB LED

-Laserpointer

The PIP Boy 3000 from the game series Fallout also contains a geigercounter, but I do not think this is a realistic addition :( and it turns out this is actually doable :) More updates on this will follow soon.


Things to know

-To use the touch sensitive screen a stylus is... useful unless you have small fingers.

-The option pages (Page_100-103) can be opened by touching/pressing the topright corner of the screen, there is a 5x5 px square (invisible) that activates it.

-Before power up, check if the laserpointer is still properly connected. Its wires unplug rather easily.


What happens when you turn it on

When the device is powered up, the first thing it will ask is to select the proper password.

You have 4 tries, after which the device will enter 'bricked mode'.

At the moment of writing, this is bypassable by restarting the device (ie. bricked mode is NOT permanent during prototype phase).

The password selection page is a direct copy from the ROBCO's Computer Terminals primarily present in the game series Fallout.

There has been a small change made, this device will not display the amount of correct characters in the chosen password as the game does.

Once logged in, the user has a choice of several 'pages':

Page_1, Page_2 & Page_3 are 'normal' pages which contain functions the enduser is able to use.

Page_100, Page_101, Page_102 & Page_103 are 'option' pages, much like the settings screen of any computergame.

Page_99 is the 'bricked' page


Overview of page functionality

Page_1 a.k.a. STATS

The STATS page is divided into 5 menu's, each menu can have several submenus


-Status menu which has 3 submenus:

--CND (displays endusers health)

--RAD (displays geigercount, actually average of 3 random numbers)

--EFF (displays the armor the enduser is wearing, also not functioning... RFID tags in clothes?)


-S.P.E.C.I.A.L. menu which has 7 submenus:

--Strength (displays description with value 5)

--Perception (displays description with value 9)

--Endurance (displays description with value 9)

--Charisma (displays description with value 7)

--Intelligence (displays description with value 9)

--Agility (displays description with value 8)

--Luck (displays description with value 9)


-Skills menu (doesnt display anything yet)


-Perks menu (doesnt display anything yet)


-General menu (doesnt display anything yet)


Page_2 a.k.a. ITEMS

The ITEMS page still needs to be filled, the layout exists but nothing has been added (yet).


Page_3 a.k.a. DATA

The DATA page is where most of the magic happens, it has 5 menus:


-Local Map

The Local Map displays a map of the Netherlands, and once the GPS has a fix, a rectangle will appear as a 'You are here' indicator.

The plan is to divide this into 3 submenus, each showing a different zoom level of the map (1=country, 2=province, 3=city)


-World Map

Same as the Local Map, except this displays a map of the world.

The plan is to divide this into 2 submenus, each showing a different zoom level of the map (1=world, 2=continent)


-Quests

The Quest menu should display your active/finished quests, but because I do not know how to implement this yet, I decided to add the Audio sensors output here.

The code written for reading the microphones peak-to-peak is horrible, and doesnt function properly yet (should make use of interupts, not a timed interval).


-Misc

The Misc menu displays the values from the Light Dependent Resistor.

The goal is to use this value to decrease the backlight on the TFT using a digital potentiometer automatically.


-Radio

The Radio menu contains all controls for the FM Radio.

Turn on/off, Mute on/off, Seek up/down, Tune up/down, Volume up/down.

It also displays the freq. you are listening to, and if this is a mono or stereo signal.

At the moment RDS is not being processed, but will be in the near future.


Page_99 a.k.a. BRICKED

This page will be displayed if you choose the wrong password 4 consecutive tries.

Turn the device off and on to retry, bricked mode is not permanent while prototyping :)


Page_100 a.k.a DISPLAY

The DISPLAY options contain:

-Backlight brightness level (not functioning until I have the dig. potentiometer).

-Image quality low/medium/high (this defines the prefix folder where images are stored).

-HUD color (to change foreground colors)

-Background color (to change... you guessed it...)

-Return button to return to last used page/menu/submenu


Page_101 a.k.a AUDIO

-Mute on/off (to mute the speaker, NOT the radio!)

-Return button to return to last used page/menu/submenu


Page_102 a.k.a CONTROL

The CONTROL options contain:

-LED1 on/off (turns on/off ultrabright LED1)

-LED2 on/off (turns on/off ultrabright LED2)

-LED3 on/off (turns on/off ultrabright LED3)

-LED4 on/off (turns on/off RGB LED4 RED)

-LED5 on/off (turns on/off RGB LED4 BLUE)

-LED6 on/off (turns on/off RGB LED4 GREEN)

-LASER on/off (turns on/off LASER pointer)

-ALL on/off (turns on/off everything)

-Return button to return to last used page/menu/submenu


Page_103 a.k.a GAMEPLAY

The GAMEPLAY options contain:

-PAGE1 (shortcut to goto page1)

-PAGE2 (shortcut to goto page2)

-PAGE3 (shortcut to goto page3)

-Return button to return to last used page/menu/submenu


List of parts and suppliers

http://pastebin.com/raw.php?i=eZutwJnw (prices are in euros)

Project page on PJRC.com

http://forum.pjrc.com/threads/17717-PIP-GRL-31415-(not-spam!)

Project videos on youtube

http://www.youtube.com/playlist?list=PLU5nSKNLjNrutxzlRTsA0mQmNgPrwgW7h