Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
ivansanchez

Avatar / Picture

Registered:
Posts: 113
Reply with quote  #1 
Hi all,

I finally had a bit of time to work on a small project that has been in my head for quite a lot of time: displaying ship information on a LCD screen.

The ingredients for this are: a Raspberry Pi (this might be possible with similar embedded platforms, but that's what I have around), a 1602 LCD display (16x2 characters, backlighted) with a i2c microcontroller (they are quite inexpensive, just make sure to get the i2c controller and not just the screen), a few cables, and some knowledge on how to run programs on a RPi.

The result, in my opinion, is quite nice:

node-asbs-lcd-SDC11075.JPG 

I just finished hacking this (and uploading all the code to the node-asbs-lcd repo) half an hour ago, so don't expect an out-of-the-box experience, or any fancy features. Right now there is just one possible screen (heading, impulse/warp speed, energy, shields up/down status), even if in my head there are a few things planned (turn off backlight when the ship is impacted; ordnance counts; callsign, bearing and distance display for targets selected by weapons/science/captain; scrolling comms; bearing-distance to nearest starbase, etc etc).

I want to encourage the hardware hackers out there to have a look at i2c devices - the wiring is pretty much trivial. Also, it would be possible to hook up 8 of these LCD screens to the same computer (but that requires some skill with a soldering iron and making quite a lot of changes to my code).

Anyway, this opens up the door for new peripherals - custom cheap i2c keypads being the next obvious thing to hack.


__________________
Need more bling for your bridge? Try out Artemis-Glitter today!
notsabbat

Avatar / Picture

Registered:
Posts: 1,297
Reply with quote  #2 
Neet!
__________________
-Captain of the TSN Gungnir JN-001
-Eastern Front online group member
-My continuing bridge build:
http://artemis.forumchitchat.com/post/immersion-bridge-build-in-progress-7335195?pid=1290158413
eurobusker

Registered:
Posts: 108
Reply with quote  #3 
very nice [smile]
Arrew

Avatar / Picture

Registered:
Posts: 2,737
Reply with quote  #4 
Super creative.
CzarAlex

Avatar / Picture

Registered:
Posts: 12
Reply with quote  #5 
I have all of these components laying around but I'm not sure what to do next? How do I run this on my Pi? Where does the input come from?
ivansanchez

Avatar / Picture

Registered:
Posts: 113
Reply with quote  #6 
Quote:
Originally Posted by CzarAlex
How do I run this on my Pi?

I thought the instructions on https://github.com/artemis-nerds/node-asbs-lcd would be sufficient - are you stuck on anything in particular?

Quote:
Originally Posted by CzarAlex
Where does the input come from?

The "input" comes from an Artemis game server. You specify the IP (or hostname) of the game server when starting node-asbs-lcd.

__________________
Need more bling for your bridge? Try out Artemis-Glitter today!
CzarAlex

Avatar / Picture

Registered:
Posts: 12
Reply with quote  #7 
That's perfect! I'd didn't see those instructions earlier. Thanks [smile]
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.