Tag: Arduino

Beaglebone + thermal sensor with ROS

Robots self testing

As we build more complex robots we need more feedback from them to know what state they are in. In my case I want to know some temperature information about my rover. These things are the motors, the outside environment, and the battery temperature. For this purpose, I want to create an Arduino thermal sensor. Later it will be only an Atmel chip with the sensors but for prototyping and developing the Arduino is the best solution.
The central computer on the Rovers will be Beaglebone. So after I create the thermal sensor, I need to make the communication between these devices. If that is done, the only thing is left to make the ROS package. I have chosen ROS because in the near future I want to make more sensors and ROS is ideal for information distributing.



Homebrew Arduino Duemilanove

I had some free time around the end of 2012 and a few parts lying around so I decided to put them to use. As an extra I also wanted a reason to practice soldering.

SAM_2299arduino d


Cheat sheet bonanza

Lately I’ve been working a lot with Atmega328P on a custom breadboard and found it troublesome to always look up the pdf on my computer so instead I put together a nice cheat sheet and hung it up on the wall so I can check it any time I feel like it.

Enough talk, here’s the stuff:


Firmware update on Arduino UNO

So the story is that I had this Arduino UNO with me which I was unable to use.

I think that it’s owner did not really use it for anything serious or used it with Windows. After a bit of googling around I found out that rev1 Uno’s are shipped with a firmware that’s not working with Linux (and requires special drivers on Windows).

The problem is with the guy marked red on the image, namely the Atmega 8u2 which is the replacement for the FTDI chip that can be found on other boards. The trick with this chip is that one can define the most important parts of USB communication: the USB id fields. Other boards using the FTDI chip carry the vendor and product id of FTDI for USB communication therefore the drivers associated to it will be the standard USB-RS232 converter driver. With the use of the Atmega 8u2 we have the freedom to tell the system which driver to attach to the device. So still the problem is that these USB communication id fields are not fit to be used with Linux so a firmware update was released.

There are several tutorials out there addressing this problem and I’m going to introduce the one found on the Arduino website (references below).



Sonar sensor on ATtiny85 using Arduino

Not so long ago I did an experiment with an ATtiny85 and Arduino with 3 LEDs.


I set up a small piece of code that’s reading the measures from the sensor and turn on an LED accordingly.

As for the previous one I’m only using the Arduino to program the ATtiny85 chip and for power supply in the video.



A tiny Arduino project

This topic was already discussed at Make Magazine but I’d like to publish my own attempt.


I hooked up my ATtiny85 (which I just received for my birthday) with my Arduino Duemilanove and some LEDs. I have more complex plans for the ATtiny85 so this post is only  a quick test for me to see how things are working.



PyBBIO for the BeagleBone

I was looking around to find a C++ or Python library for handling analog pins on the BeagleBone  and found the PyBBIO project. It provides an Arduino-style hardware handling which is quite cool since it helps to move things to a more standardized way. Nice work!

Check it out here: