- September 2015
- August 2015
- May 2015
- December 2014
- November 2014
- March 2014
- January 2014
- December 2013
- November 2013
- October 2013
- August 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- January 2012
- July 2011
- June 2011
- March 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
I have been spending the past month on a new Internet of Things set of experiments, this time with a focus on the Leap Motion controller. It’s a neat little device that detects hand motion.
I made three demos:
- Switching on different 8 LED lights on an Arduino with hand motions
- Muting an incoming phone call by circling my finger in the air as it rung, then nicely sending a busy message 😉
- Playing music in the air using hand movements and a MIDI Arduino shield
The demos were made to present specifically for the monthly IoT Sydney meetup which was held last night. It was a bunch of fun and if you’re into the Internet of Things, definitely try to get a spot in sometime.
I’m hoping to make videos showing the demos in action for anyone who couldn’t make it last night. Stay tuned!
For those that attended and anyone else who might be interested, my slides can be found here:
I’ve got the Call Controller code here:
I’ve got the MIDI Controller code here***:
I’ll be writing a proper tutorial regarding the LED lights soon, so haven’t put that up on Github just yet. A lot of the code is in the slides though for that one.
Special thanks go to Justin Mclean for organising a great event and allowing me to do a few demos, and to Andrew Fisher for giving me a hand with a few mind explosion moments with the MIDI Controller. They are both brilliant people!
*** Fun fact, that MIDI code actually can do something I forgot to mention in the presentation. If you hold your hand outstretched with all five fingers, find an instrument you like and then close your fist – you capture that instrument and it will stick to playing that one instrument until you open your hand once more.
After my recent obsession with new technologies and the Internet of Things, the team at Leap Motion was interested to know my thoughts on how their technology would fit in this new Internet enabled technology world. I thought it’d be a fun topic to explore and so wrote a guest post for them on that very topic!
If you’re interested in taking a look, it’s right here:
It was an absolute pleasure to work with the team at Leap Motion on this, I want to extend a huge thank you to them for the honour of a guest post on their site 🙂
I’m currently expanding a website I built last year to include custom post types (CPT) and a custom permalink structure for these post types. I was finding this a bit tough as a few CPT plugins I tried require customising the functions.php file to achieve this. I didn’t want that. I wanted to be able to set this stuff up in the admin area to keep things simple.
I ended up sticking with CPT-onomies. It is a plugin that lets you create CPTs but also provides enough additional settings to really customise things without needing to change that functions.php file for this stuff.
I already had set up a custom permalink structure on the site like this:
This was because previously posts were only used for blogs on the site. Everything else on the site was a page. No longer the case with my CPTs!
I needed to override this permalink. To do this, here are the steps I followed to make the CPT:
- Go to Settings > CPT-onomies and click “Add a new custom post type”.
- Add in your label and name as you usually would. The most important bit is next.
- Click to view the Advanced Settings and scroll down to the “Rewrite” section.
- Make sure that “Enable Permalinks” is set to true.
- Add in the slug you’d like (e.g. “monkey” if you want www.mysite.com/monkey/the-monkey-post)
- Change “With Front” to be false. This takes away the blog (or whatever your custom permalink structure already includes) part of your permalinks for these. e.g. www.mysite.com/blog/monkey/the-monkey-post becomes www.mysite.com/monkey/the-monkey-post
- Click “Save changes” and create a new post of that type. If all goes well, you’ll have a custom permalink appear that is just what you’re looking for!
Totally simple when you know where to look!