Profile cover photo
Profile photo
John Ellis
155 followers
155 followers
About
John's posts

Post has attachment
A fully featured Hack Clock - streaming audio, today's weather - all defined in Blockly (and Python)

http://hackclock.deckerego.net/
Photo

Post has attachment
This weekend I will be releasing +IFTTT support for the Hack Clock - and a few other surprises. Handy for turning on your bedroom lights when your alarm clock goes off!

http://hackclock.deckerego.net/
Photo

Post has attachment
Hack Clock v2 is out as a stable release!

This contains a lot of changes, such as:
* I2C audio
* +Raspberry Pi Zero support
* Programming by block (using Blockly)
* Multiple simultaneous buttons (input pins)
* Support for switches (output pins)
* Debian packaging for ease of installation

Also full tutorials for +Blockly and +Python are available to demonstrate how to keep your clock updated, how to blare music as an alarm, and even show the weather on a seven-segment LED display!

http://hackclock.deckerego.net/
Photo

Post has attachment
Hack Clock v2 is heading to final QA. I should mention... final QA is me hiring my daughters to beta test.

Special thanks to both +SparkFun Electronics and +Adafruit Industries for powering the Hack Clock. The I2S amp was especially helpful - and so far more dependable than the Pi's headphone jack.

This +Raspberry Pi powered clock now includes +Blockly - so you can drag & drop blocks to build your alarm clock! Awesomesauce!

Installation is also now performed using native dpkg - so it should be a WHOLE LOT easier to deploy. Hardware build instructions are more carefully crafted this time as well, so you can build both buttons and switches to connect to your alarm clock.

This is actively maintained, so if you find any issues or errors let me know. I found two gaffes tonight, so I'm sure more are hiding out in the shadows.

http://hackclock.deckerego.net/

Photo

Post has attachment
New Hack Clock site is out! Better layout and interface, with better installation and hardware setup instructions. Four lessons are written for both Python and Blockly, with probably three more to come.

Post has attachment
In light of the DeVos hearing and the privatization of US education, may I recommend...
Photo

Post has attachment
Simultaneous inputs (buttons) and outputs (switches) on the Hack Clock! Also a preview of the built-in web IDE, which can switch between Python editing and Blockly program-by-blocks!

https://github.com/deckerego/hack-clock/
Video
Video
1/13/17
2 Photos - View album

Post has attachment
Coding with blocks is now in beta for the Hack Clock! Switch between Python and Blockly if you like!

https://github.com/deckerego/hack-clock/#in-beta---coding-with-blocks
Photo

Post has attachment
This is what the final HackClock lesson looks like using block programming. It's a bit big - and I think I need to change the syntax to make it a bit more clear. Bear in mind the point is not DRY programming, but instead to hammer home some fundamentals about how objects interact with other objects.

I do like how Blockly generates readable Python from these blocks. The editor will allow clock hackers to switch from block programming to raw Python... although you really can't do vice-versa since it would require way more parsing intelligence & inference.

One more lesson to code with blocks, then moving on to including backup/restore functionality.

https://github.com/deckerego/hack-clock/tree/blocks
https://developers.google.com/blockly/
Photo
Photo
12/16/16
2 Photos - View album

Post has attachment
Pizza night is redefined! My RetroPie cocktail cabinent is complete.

http://blog.deckerego.net/2016/12/arcade-addiction.html
PhotoPhotoPhoto
12/15/16
3 Photos - View album
Wait while more posts are being loaded