Skip navigation

PiCasso Design Challenge

10 Posts authored by: wesee
These are some of the pictures of the current setup.                   There is a REST API server implemented using express.js framework.  Here is the code:   const express = require('express')  const app = express()   app.get('/', (req, res) => {   res.end('end'); }) app.get('/blue', (req, res) => {   const { spawn } = require('child_process');   const pyProg = spawn('sudo', ['pyt ...
Now is the time to connect lantern to the Snips Assistant and test if it works.  First, put the NeoPixel together with the Raspberry Pi controlling it inside the plastic lantern container (see earlier blog about how to make the container).  Currently the Pi has there python scripts which will turn on red, blue and green lights.  Other colors can be added later.  There is a REST API service implemented using express framework.   There isn't much needed to change to the S ...
After creating a Snips Assistant at Snips web console, I need to install the assistant on the Maker Kit.  The Maker Kit is pre-installed with the Snips Platform.  I will use the Sam CLI to install the assistant.  First, I ssh to the Raspberry Pi of the Maker Kit.  Then, run "sam install assistant" and select the "my lantern" assistant.  Below is a video of testing the assistant:   ...
I signed up and login to snips.ai to create a Snips Assistant.  I called the assistant "my lantern"  which has one app called the same name.  There are only three intents in the app.       The action code is hosted at GitHub and the link is here. ...
I am adding a voice component using a Snips Maker Kit.  However you can use a Raspberry Pi.  Follow this link to setup the Snips Maker Kit.  If you are using a Raspberry Pi, follow these manual instructions at this link.     ...
I have attached the Raspberry Pi and NeoPixel Ring to the lantern.  I tested it with a few color patterns.  Here are the pictures:                  Next, I intent to add a voice component to the setup. ...
Getting the right colors for the project   I did a google on "color therapy".  There are tons of articles about the topic.  I read some of the articles trying to find out what colors and combinations of colors for my project.   I have selected the following colors for the different modes of the lantern:   Green - most balancing and safest color Yellow - brings energy, intelligence and wisdom Orange - signifies abundance, pleasure, well-being and sexuality Red - mor ...
Getting the NeoPixel to work with Raspberry Pi   I am using a NeoPixel Ring as the lighting element of the lantern.  The changing of colors and rotation of lights will be a nice fit to make a rotating lantern.  Last week, I was just to get NeoPixel Ring to work with Raspberry Pi.  I make use of this Python library.   I have done a few tests with the library.  Next I will move on to fine tune colors and intensities based on modes.     ...
Making the structure of the lantern   I have been thinking a lot the structure of the lantern and some ways to hang lantern from the top or a stand to hold the lantern.  But they all post some mechanical constrains to the rotation of the lantern.  Instead, I finally decided to use a rotating light to emulate the sense of rotation.  In this project I used some recycable materials like plastic drinking water bottle and some gift wrap paper.  Below are some pictures of the ...
Introduction   Colorful Rotating Chinese Lantern: A rotating lantern with changing colors that is both, artistic and holistic.  It provides healing color moods, making a more peaceful environment.  Lanterns have a long history in Chinese culture.  You can sight lantern during moon cake festival and chinese new year, just to name a few.  I have going to make a rotating lantern with changing colors.  Here I am combining artistic and health themes into the project. ...