+
Skip to content

andrewgodwin/vfrmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

VFRMap

This is the source code for my live aviation weather map. It's designed for the Particle Photon, and would be easy to adapt to any Particle board, and slightly more difficult to adapt to a normal Arduino-compatible board (you'd need to handle the server SSL connection and JSON decoding yourself).

It uses the Adafruit neopixel library (version 1.0) to drive the LEDs from a single digital output pin; the LEDs' power and ground are hooked up to the microprocessor's power regulator pins.

To drive this particular piece of code using Particle, you need a Webhook integration tied into the get_metar event with the following settings:

  • Full URL: https://avwx.rest/api/metar/{{{PARTICLE_EVENT_VALUE}}}?format=json&onfail=cache
  • Request type: GET
  • Request format: Query Parameters
  • Headers: {"Authorization": "your-avwx-token-here"}
  • Response topic: metar_response
  • Response template: {{{station}}},{{{flight_rules}}}

About

Code for my live, LED-based aviation weather map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载