python · raspberry pi

Hot-wording on a Raspberry PI – “Computer! Do my bidding!”

Picovoice.ai There is a great video for getting started: I’ve distilled the commands out for you… First pull out the repository – this took a long time for me… its BIG (4.2G at the time of this writing): git clone https://github.com/Picovoice/Porcupine.git Now that you have the repo.  There are a good number of hotword models… Continue reading Hot-wording on a Raspberry PI – “Computer! Do my bidding!”

Electronics · python · raspberry pi

[FIXED!!!] Turn on a lamp with a gesture – Image Processing! Machine learning!

Source: http://makezine.com/projects/raspberry-pi-potter-wand/ Make has a write-up on wand-control with a simple reflective wand… …it *was* broken.  Fixed it. Back in January 2017 when I first read the article I was so excited to try it, I ordered a bunch of parts, downloaded the Git, and then figured out it didn’t work. Not to worry though.  A fellow… Continue reading [FIXED!!!] Turn on a lamp with a gesture – Image Processing! Machine learning!

kids · lessons · programming · python · raspberry pi

Lessons on PI: Lesson 5 Make your PI Speak!

Computers that speak… There is something magical about making a computer speak.  I remember just getting started with them and my friends and I would attempt to convince the computer to say all manner of, ahem, interesting things.  None the less.  Getting early starters in on the fun is a great way to keep them interested.… Continue reading Lessons on PI: Lesson 5 Make your PI Speak!

kids · lessons · programming · python

Lessons on PI – Lesson 3 (cont.): A little programming…

The conditional… or “IF” statement Programs that count really fast or create MADLIBs are a ton of fun, but part of encoding knowledge is the ability to make decisions in code.  To do that we need something that will allow the code to take two different paths… the “if” statement. The if statement checks a value… Continue reading Lessons on PI – Lesson 3 (cont.): A little programming…

kids · lessons · programming · python · raspberry pi

Lessons on PI – Lesson 2(cont.) A little programming…

What is programming? Programming is the process of recording knowledge or tasks into code.  Code like Python, or Javascript is a bridge “language” that allows humans to write their intent into formulas that a computer can then use like a recipe for action. Computers don’t get bored… In the previous lesson we used git to get some… Continue reading Lessons on PI – Lesson 2(cont.) A little programming…

Electronics · kids · lessons · python · raspberry pi

Lessons on PI – Lesson 4: The Sense Hat (and a little VIM)

The Sense Hat What’s a hat? Hats are the term that the Raspberry PI community uses to identify bits of hardware that are made to plug into the Raspberry Pi’s GPIOs (General Purpose IO) – that row of pins along one side of your pi.  There are lots of these out there to make interacting with… Continue reading Lessons on PI – Lesson 4: The Sense Hat (and a little VIM)

lessons · python · raspberry pi

Lessons on PI – Lesson 2: On the shoulders of giants (apt-get, and git)

On the Shoulders of Giants That phrase, “On the shoulders of giants”, has come to mean, “discovering truth by building on previous discoveries” which just about sums up all of computer science. That idea, is the reason Computers are moving so fast!  When you can reuse the work being done by hundreds of thousands of people… Continue reading Lessons on PI – Lesson 2: On the shoulders of giants (apt-get, and git)

Electronics · python · raspberry pi

Raspberry PI Controlling Power through GPIO (no wifi needed)

Digital Logger’s IOT Logic Outlets In my previous two articles – we show two ways the Raspberry Pi can control power through Wifi: Raspberry PI for controlling TP-Link POWER Raspberry PI for Controlling Wemo Power These assume wifi-enabled outlets, which are great, but there are some cases where you really want the Raspberry PI to… Continue reading Raspberry PI Controlling Power through GPIO (no wifi needed)

python · raspberry pi

MagPi Issue #53 is Fantastic for an Intro To Python Programming!

MagPi Issue #53 This issue of the MagPi magazine has a great set of intro-to-programming articles that are short and sweet.  To boot these folks have made this magazine available for Download.  Its a tremendous resource.  When teaching kids, having something that gets it done fast is important, and they’ve done a great job with… Continue reading MagPi Issue #53 is Fantastic for an Intro To Python Programming!

python · raspberry pi

Teaching Kids Programming – with a game!

I’ve started trying to get my kids interested in programming in python by giving them a simple word-adventure game they can modify. They can gather weapons, armor, and treasure while battling monsters of their own design. Feel free to download it for your kids and make updates! Made to run on Python3 https://github.com/mamacker/kidgame