Quickly sharing 360 pictures

Last black friday I got a LG 360 Cam, a good cost-quality 360 camera. The only problem I am having with the camera is that there isn’t a good solution to where I can share the pictures (if you have a good solution, please share!). Google has released a VrView script that makes it much easier to embed 360 pictures on websites, but you still need to edit some html code.

I decided to make a super simple website that renders pictures uploaded to imgur (saving some space and bandwidth on my server) that anyone can use to easily share 360 pictures with family and friends.

After understanding how the Googles VrVire works, I could transform this:

Into this:

To share the 360 pictures, you need to upload them to www.imgur.com and get the picture-id. For example, the picture above is located at http://imgur.com/up6aRXr where up6aRXr is the picture-id. With the id in hands, you can share this url:

http://www.danielandrade.net/360/PHOTO-ID

for the past example:

http://www.danielandrade.net/360/up6aRXr

The website should open with the image showing in full-page, and same URL you can share on Whatsapp or anywhere else (it is mobile friendly!)

Maybe in a near future I will improve it, making it easier to share from within the phone and also creating galleries, what do you think? Ideas?

Cheers! 🙂

Opening a popup ninja from php

Checking the documentation from popup ninja plugin on how to open the popup from a link, the only available option is how to open from a blog post. But if you want to add the link in your website using php, you need to use the wordpress function do_shortcode. The documentation doesn’t show how to add a do_shortcode with content between the tags.

To open the popup with php, simply get the popup ID and use the code bellow. Just remember to change the text for your desired one.

< ?php echo do_shortcode( '[ninja-popup ID=1234]'.'text to open popup'.'[/ninja-popup]' ); ?>

One Dollar Board – Cheapest development board on the market

What if you could manufacture a very simple development board that is arduino compatible and have a final price of only ONE DOLLAR!? That’s what some crazy guys from my home country (Brazil) are trying to accomplish.

one dollar board

The main idea of the project is to enable every kid around the globe to leave school knowing how to program, the basic of electronics, and how to apply their knowledge by building cool things. Think like this, with only $25 you can buy 25 boards, which will enable pretty much an entire classroom to own these boards and create amazing things with it. It’s crazy to think the impact that the project can make in poorer areas of the world, enabling those engineering minds to flourish and change the world for better (why not?!).

Check their indiegogo video below and remember that for every dollar invested is one entire new board built!

Click here to check their campaign!

(of course the project is part of the open hardware movement)

Arduino Crash Course: Get up and running in 1 hour

Have you heard of the Arduino? Its a small but powerful micro-controller that can be used to create many amazing things. An Arduino can be used to sense its own environment, connect and communicate with the Internet, manipulate devices around it, send messages, and much much more. Last year, over 700,000 hobbyists were using and contributing to the Arduino environment.

This course is designed to take you from 0 to 100 with Arduino in less than an hour. At the end of the course, you’ll be fully familiarized with Arduino and ready to build your own applications and devices. Ideally, this course is for beginners who want to get their toes wet with the Arduino system but those already familiar with Arduino can still learn from the techniques used in this course.

What you’ll learn in this course:

– How to setup the Arduino software and start outputting code
– How to understand and write code that your Arduino can understand
– How to setup Serial communication
– How to use a breadboard, and RGB sensor, and a LED Pin.
– How to create a variety of functions that interact with your Arduino
– How to create a device that detects your rooms temperature and changes colors accordingly.

ALL IN LESS THAN ONE HOUR!

Continue reading

ProtoStack Atmega32A Dev Board

During the past few days I have been playing with ProtoStack’s Atmega32A Dev Board and have been very happy with it. Along with the Atmega(8/16/328) dev kit, so far it’s one of my favorite boards.

It comes with everything you need in order to have it going , the big IC-ATMEGA32A-PU µC, 10-pin connector (you can also use a 6-pin ICSP header), capacitors, resistors, voltage regulator for an external power supply and more… You can check the complete list and manual here.

If you are looking for an Atmega32A Dev Board, I would recommend this one for sure!

Continue reading

Relational Space #1

This work presents an urban intervention using interactive technology. Located within a pedestrian and small vehicles tunnel below a busy road, that connects two parts of the Federal University of Santa Catarina Campus, the intervention creates a new relationship between tunnel and road. It operates as a displacement, transposing the sound of the traffic above to the pedestrians below. A sound sensor captures the sound of cars on the road and transmits a signal to the Arduino board, bringing a sense of chaos into the tunnel from above. The installation was developed as part of the discipline of Interactive Technologies and Creative Processes of the Architecture and Urbanism department at UFSC.

This is the final project from an architecture class project that I helped with.

Check out more @ Nimbu

Script to Organize Dropbox’s Camera Upload folder

Dropbox has a great feature called Camera Upload, where you can automatically upload pictures from your phone, making life for lazy people like me easier. The problem is that I take so many pictures with my phone that the folder ends up with a huge amount of files, making the task of browsing and viewing them slow and annoying.

To fix this problem, I created a python script that will automatically organize pictures inside folders Year > Month.

DropboxCameraUpload

How to use:

In order to use the script, put the file organize.py inside the ‘Camera Upload’ folder and run it from the terminal:

python organize.py

Enjoy!

Code:

😉