These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Arduino, LCD and API

Author
Ryan Easte
Caldari Provisions
Caldari State
#1 - 2011-12-10 11:09:56 UTC
Hi all, I am learning all about Arduino at the moment but just a quick question.

Can I get the Arduino to pull data from the api and display things on the lcd like skill que time or the mineral index etc Question

Very new to this and just curious as this is the direction I would like to go in.

Cheers
Hylomar
French Kiss Singularity
#2 - 2011-12-10 12:55:51 UTC
Hi!

I don't know exactly that you are looking for, so I would just explain some random things P
Yeah, you can display any data you want on small LCD screens (alphanumeric 16*2 screens or so typically) using Arduino. There are plenty of exemples about that around the net.

The problem here are pulling the Eve API. It return XML data, which can be a pain to parse on a device like Arduino, so I think the best method is to link it to a PC. The latter gather all the data you're interested in, and send it back to the Arduino (via USB).
It's the simplest and cheapest method (don't require an ethernet shield), but I don't know if it's your goal Big smile

I hope this answer some of your questions.
Ryan Easte
Caldari Provisions
Caldari State
#3 - 2011-12-11 00:32:43 UTC
Alright thanks for that, Its a start which is all I want :) USB sounds fine, I do have the Ethernet option available but that can wait till I am more knowledgeable on the subject. Just wanted to know if I was way off course.

Thanks so much for the prompt reply, I will add to this thread as my project gets underway Cool
Deamos
Hideaway Hunters
The Hideaway.
#4 - 2011-12-17 02:12:49 UTC  |  Edited by: Deamos
I've actually done a little work connecting Eve API data -> Arduino -> 16x2 LCD screen.

TBH, your best bet is to interface Arduino via serial to a PC and let a Python script handle the API processing. There are several python API libraries around which you can use to pull the information and then use something like PySerial to pass the info over to the Microcontroller.

Let me know if you would like a hand because I need a good excuse to finish my version of such a program as well.
Hylomar
French Kiss Singularity
#5 - 2011-12-20 18:50:33 UTC
Indeed, python is a good choice to get the things done fast, I used it to communicate via the serial interface too.
I currently never used a LCD screen (althougth I have one somewhere ...), but if you need help with PySerial, let me know Big smile (it's really simple).
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#6 - 2011-12-20 19:30:01 UTC
Another option, while a lot less diy, is to try using something like the Logitech G13. Built in small lcd screen, which can be controlled from the attached PC. (Evemon does it. you could write something yourself to do it, probably)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Hylomar
French Kiss Singularity
#7 - 2011-12-20 20:50:10 UTC
Ideed, there is an API for doing such things with some Logitech keyboards, but last time I checked, the documentation was a bit light, and you must own such hardware.
And yeah, it doesn't have the "do it yourself" touch Lol