Link
2 notes
·
View notes
Text
Weather forecast
A weather forecast written in Go ready to deploy on google cloud functions.
git clone [email protected]:rfiestas/forecast.git
Resources
Apixu, free, fast, simple and fully managed JSON and XML Weather API and Geo Developer API
weather-icons, Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into Bootstrap, or any project that needs high quality weather, maritime, and meteorological based icons!
Google Cloud Functions, Serverless application backends. Trigger your code from GCP services or call it directly from any web, mobile, or backend application.
Cloud Functions
Create a Apixu account, free plan offers 10.000 API calls per month. Get the API Key
Log on Google cloud functions console,then create a project and 2 cloud functions.
Name Runtime Memory allocated Executed function Environment variables index Go 1.11 128 MB ForecastAPIV1 forecast Go 1.11 128 MB GetIndex apixu_key = YOUR KEY
You can upload the go code to each cloud function or you can attach to a Google source cloud repository.
Also you can create cloud functions using gcloud sdk command line.
gcloud functions deploy index --entry-point "GetIndex" --runtime go111 --trigger-http --memory 128 gcloud functions deploy forecast --entry-point "ForecastAPIV1" --runtime go111 --trigger-http --memory 128 --set-env-vars "apixu_key=**YOUR KEY**"
Now you project is ready on https://us-central1-PROJECT.cloudfunctions.net/index
2 notes
·
View notes
Link
0 notes
Link
Python micro:bit simulator
0 notes
Text
javascript level tool version to BBC micro:bit
New version of level tool written in javascript.
Check the simulator
or check repo
https://github.com/rfiestas/microbit_level_tool
0 notes
Text
BBC micro:bit level tool

BBC micro:bit
It is a pocket-sized computer 70 times smaller and 18 times faster than the original BBC Micro computers used in schools.
On this script i use the accelerometer as a level tool, it can be used to indicate how parallel (level) a surface is relative to the earth.
Read more on:
https://github.com/rfiestas/microbit_level_tool
0 notes
Text
audio_visualization_fft

A Realtime Audio Visualization in Python using a Raspberrypi a Sense HAT and a USB microphone. On this script i use a USB microphone to get the audio, then calculate Fast Fourier transform to represent in the 8 x 8 RGB LED matrix,
Read more on:
https://github.com/rfiestas/audio_visualization
#sensehat#sense hat#sense-hat#raspberrypi#raspberry-pi#python#fourier#fft#sound#audio#audio_visualization_project#sense_hat_project
0 notes
Text
audio_visualization

A Realtime Audio Visualization in Python using a Raspberrypi a Sense HAT and a USB microphone.
Read more on:
https://github.com/rfiestas/audio_visualization
#sense-hat#SenseHAT#Sense HAT#RaspberryPi#raspberry-pi#python#audio_visualization_project#microphone#sense hat project#sense_hat-project
2 notes
·
View notes
Text
level_tool

The Sense Hat is an add-on board for Raspberry Pi, made especially for the Astro Pi mission.
On this script i use IMU sensor as a level tool, it can be used to indicate how parallel (level) a surface is relative to the earth. Led matrix show a point.
Read more on:
https://github.com/rfiestas/level_tool
#sense hat#sense-hat#raspberry pi#raspberry-pi#imu#python#gyroscope#accelerometer#magnetometer#level_tool-project#sense_hat-project#sense hat project
0 notes
Link
Over the last few months, we’ve been working with US-based startup Trinket to develop a web-based emulator for the Sense HAT, the multipurpose add-on board for the Raspberry Pi which is also the core component of the Astro Pi units on the International Space Station. We wanted to provide a unique, free learning resource that brings the excitement of programming our space-qualified hardware to students, teachers, and others all over the world.
0 notes