Hurray!!. This is my first Arduino project and would like to share
with all makers out there. I am just getting started in this wonderful
world of electronics and circuitry. After playing with few example
projects that was part of the arduino starter kit, I wanted to do
something useful which I can use everyday. The idea of having always-on
display with bus arrival information seemed as a good starting point to
take my learning to the next level. Lets get into the ABC of this :) APILTA publishes variety of transport related data as rest API's for public and community use. Just quickly created an account received the API keys, tested few request from using RequestMaker.. Bingo the data is ready!! Bill Of MaterialsNow lets do some shopping. This little device will be in my living room connected to my home WiFi so need a arduino compatible WiFi board and a decent LCD. After some quick search in google I narrowed down to the following
ESP8266
was my pick as it was super cheap and I immediately ordered few from
Ali Express. While waiting for the board to arrive (Usually Ali Express
orders take 20~30days turnaround time for free shipping) found that
there are many variants of ESP8266 and the one I ordered was not a good
choice. Head to this post to know more on ESP8266 variants.
Circuit & CodeCircuit connections are pretty simple and straight forward as below.I2C LCD just has four pin to connect as below.
Here is the high level breakup of the code
The code is available in GitHub. I am completely aware that my code can be fine tuned and optimized. My code is sort of copy-paste work from various online resources available. I have tried to give attributions as much as possible. Library's UsedLittle tricky part working with arduino is to know which library to use for your hardware. After some trial and error found the following libraries works good for my setup. PicsIn ActionEnjoy Making & Hacking!! |
Arduino >