The Particle.io community Pi Day contest 2019 is posted here:
https://community.particle.io/t/announcing-the-particle-pi-day-contest/48409
The rules are simple... create a Particle-powered project that has a Pi theme. Could be physical pie that you eat or the number Pi. Rules were fairly open.
How simple can you make a Pi Day project... probably not as simple as this one. I use the on-board LED built into the D7 pin to flash the first 100 decimal places of Pi (102 digits total including the decimal point and the number 3 to the left of it.) The code uses a simple finite-state machine to switch between the flashing of Pi and a configurable delay (I use 10 seconds between iterations). Simply plug in the Xenon, wait 10 seconds, then brush up on your Morse coding skills to because you have 100 digits of Pi coming at you.
Steps to re-create:
1. Buy some Particle hardware and claim the device to your account. Any Particle device will do (Photon, Electron, Xenon, Argon, Boron). If you buy a Xenon, you also need to get an Argon or Boron to act as the gateway for your mesh network. Buy the hardware here: https://store.particle.io. Instructions for claiming here: https://docs.particle.io/quickstart/xenon/.
2. Go to build.particle.io and create a new project. Name it whatever you like. Copy and paste the code attached to this project into your build workspace.
3. Make sure you are targeting the desired device by "starring" the device in the "devices" area of your build workspace.
4. Click the flash to device icon (looks like a lightning bolt at the top left of the screen.
5. Behold the wonders of Pi flashing in Morse code. To restart the sequence (instead of waiting for the 102nd digit) press the reset button on the device.
Comments
Please log in or sign up to comment.