jonhassall.com
The personal site of Jon Hassall
Photographs that I have taken A place to post interesting snippets and thoughts A place for me to show you some of the projects I am working on A brief summary of my skills, education, and experience Get in touch!

26 face 360 Shape

A 26-face printed object made from a recent 360 pho­to­graph. This shape turned out to be the best:

26 Face 360 shape

You can see more 360 shapes here.

Funny Facebook message

As a Face­book Com­mu­nity Mod­er­a­tor, I get lots of mes­sages every day. This one made me laugh today:

 

Good day I want to go into a time capsule, please help me

360 shapes

Shapes made from 360 photos:

Cut-out template

This is a lit­tle too ambi­tious (cut-out shape). The black areas are fold­ing tabs.

 

Happy New Year — 2012

I wish every­one suc­cess and good health for 2012.

For me, 2011:

  • Taught myself elec­tron­ics and Arduino, and built two time­lapse cameras
  • Learnt and used NGinx with HTTPS, and HAProxy
  • Learnt Android programming
  • Per­fected my 360 pho­tog­ra­phy, achieved sur­round sound, and my first pro­fes­sional 360 photograph
  • Con­tin­ued busi­ness success

Excited for the oppor­tu­ni­ties 2012 brings.

Research and Development

This week I have been per­form­ing highly unse­cret research for Medi­aDroid Ltd. Pro­to­types:

Reminder to myself

Reminder to myself to read this:

Cre­at­ing a Night Panorama

Today’s exper­i­ments involve this:

360 Video

First test using 360 Video (warn­ing, needs a pow­er­ful com­puter to view it properly):

Click here to load the 360 Panoramic Video test

HAProxy is fun

HAProxy is funHAProxy

Amazon Wishlist

http://www.amazon.co.uk/registry/wishlist/3LD0HULGGQ930

Project Photofly Testing

Here are a cou­ple of tests I did using Autodesk’s Project Photofly. It cre­ates 3D mod­els from pho­tographs taken in a cir­cle around an object. It doesn’t work well with shiny objects, hence the prob­lem with the car, but it is still impres­sive technology:

 

DIP switch with Arduino

Here is a use­ful func­tion to read DIP switches with Arduino. Wire the switches to ground, as this uses pull-up resis­tors:

Photograph of a DIP switch

 

  1. int myDip­Pins[] = {2, 3, 4, 5, 6}; //DIP Switch Pins
  2. void setup()
  3. {
  4. Serial.begin(9600);
  5. for(int i = 0; i <= 4; i++)
  6. {
  7. pinMode(myDipPins[i], INPUT);       //Set DIP switch pins as inputs
  8. digitalWrite(myDipPins[i], HIGH); //Set pullup resis­tor on DIP switch pins
  9. }
  10. delay(100);
  11. }
  12. void loop()
  13. {
  14. byte DIP­Value = readDIP(myDipPins, 5);
  15. Serial.print(DIPValue, BIN);
  16. Serial.print(“\n”);
  17. switch (DIP­Value)
  18. {
  19. case B00000:
  20. Serial.print(“Match 00000\n”);
  21. break;
  22. case B00100:
  23. Serial.print(“Match 00100\n”);
  24. break;
  25. case B11011:
  26. Serial.print(“Match 11011\n”);
  27. break;
  28. case B11111:
  29. Serial.print(“Match 11111\n”);
  30. break;
  31. case B01001:
  32. Serial.print(“Match 01001\n”);
  33. break;
  34. case B10000:
  35. Serial.print(“Match 10000\n”);
  36. break;
  37. }
  38. delay(1000);
  39. }
  40. //Read binary from DIP switches
  41. byte readDIP(int* dip­Pins, int numPins)
  42. {
  43. byte j = 0;
  44. //byte j;
  45. //Get the switches state
  46. for(int i = 0; i < numPins; i++)
  47. {
  48. if (!digitalRead(dipPins[i]))
  49. {
  50. j += 1«(numPins — 1 — i);
  51. }
  52. }
  53. return j; //Return result
  54. }

 

 

Be sure to check ” and ’ sym­bols haven’t been made fancy by Word­Press, or you’ll have errors in your code.

Datasheets

The past few months have involved a lot of dia­grams like this:

Secret mystery project