In this tutorial, we’ll hook up an gesture sensor to a dizmo; we’re going to use an Arduino and WebSockets. Parts needed Sparkfun APDS-9660 Gesture Sensor Arduino Ethernet Level converter Breadboard Jumper cables Serial to USB Adaptor: https://www.sparkfun.com/products/9716 Electrical hookup Our sensor, the Avago APDS-9960, offers ambient light and color (as clear, red, green, and […]
To kick off this multi-part series, we will build a basic to-do dizmo, using the dizmoElements library and later Backbone.js. Getting started Start by creating a new dizmo project for your todo list with $ grace new Name your project ‘Todo’, choose ‘dizmo’ as your default plugin and ‘joose’ as your skeleton. Change into the […]
Recreate the game ‘Snake’ In this tutorial, we will recreate the classic video game ‘Snake’, using dizmo. Snake consists of the following three components: the field, the snake and the direction. The field The field is a two dimensional array (18×18). A ‘1’ indicates a wall and ‘0’ indicates empty space. The actual field is […]
The dizmoElements library includes a new element. You can now use the List element to easily add ordered or unordered lists with scrollbars to your dizmos. Here is an example of a static list. Define the list and it’s content in index.html: <div id=”my-list” class=”list no-dizmo-drag” data-type=”dizmo-list”> <ul> <li>Take out trash</li> <li>Wash dishes</li> <li>Walk the […]
We are proud to announce that the Linux User and Developer Magazine has written a tutorial using dizmo. The tutorial is featured in print issue 152 and shows how to monitor the temperature of a Raspberry Pi CPU when it is set up as the brain for the Internet of Things at home or office. […]
This tutorial is another variation of how a dizmo can connect to third party systems. And – we will write a moon phase display dizmo. This time, we will use jQuery’s Ajax library for web service calls. As the name of our moonphasedisplay dizmo suggests, it will display moon and sun information at the current […]
This is the starting post of the series of how to become a dizmo developer. As the title says, I have started recently to develop dizmos. I am the head of delivery and a Ruby programmer. Essentially, a dizmo is a HTML page with all its assets concatenated, that is the HTML page is packaged […]