bookmark_borderAD5204 Digital Potentiometer Breakout Board

board-pic

The AD5204 is a Digital Potentiometer with four internal 10kΩ, 50kΩ or 100kΩ potentiometers. It’s a 8 bits chip which means it has 2^8 = 256 steps from 0Ω to 100kΩ. It can be easily controlled by any microcontroller as it uses a Serial Peripheral Interface Bus (SPI).

I was working on a project where I needed to use some of those AD5204, so I developed a tiny breakout board in order to be able to prototype it using a SMD chip on the breadboard.

Now I’m sharing the Eagle Cad files, so whenever you need to use this chip, you can make some breakout boards with OSH PARK and use it with your projects.

Below you can find an Arduino code example along with useful links.
Hope this can be useful for you!

Any question just let me know!

Continue reading “AD5204 Digital Potentiometer Breakout Board”

bookmark_borderRaspberry Pi Using Whole SD Card Memory

When you install a Raspbian Operation System on your Raspberry Pi (I’m currently using Minibian) you can notice that it created a file system with very little space, which can be annoying if you are using a bigger SD card.

I only noticed it when I started to apt-get all those packages that I needed, when suddenly got the message:

cannot copy extracted data for './usr/sbin/php5-fpm' to '/usr/sbin/php5-fpm.dpkg-new': failed to write (No space left on device)

Looking into the SD card’s memory I get:

It’s full!!
Continue reading “Raspberry Pi Using Whole SD Card Memory”

bookmark_borderScript 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:

😉

bookmark_borderReboot Buggy

Industrial designer, Joey Ruiter brings his modern day carriage to life by ignoring the parameters of what a car is supposed to be and asking what a car wants for itself. It’s a story about steel and horsepower, but really it’s a story about what happens when we aren’t afraid to be curious.

“For some people is enough to just think about it, or talk about it, or watch on tv or read a book about it… My advice is to get your hands dirty, and wonder and not be afraid to ask questions like ‘Why is that this way?’. People say there are no dumb questions, and thats true, but I think we get criticized for wondering too often. In everything we do there are parameters, to ignore those is the key.”

bookmark_borderMounting a Filesystem via SSH on OSX Mavericks

fuse SSH’ing to a server and doing all the configuration through terminal is easy and very fast, but when you want to edit files and set a remote development environment on your local machine, mounting a remote filesystem over ssh and editing them as the files were in your computer is the way to go.

Right now I’m using the just released OSX Mavericks (OSX 10.9), so for mounting a remote system you will need to do some tricks and tweaks to have it working. I will try to explain step-by-step on how to do it.

Continue reading “Mounting a Filesystem via SSH on OSX Mavericks”