Archive

Archives de l'auteur

Using Arduino as serial to usb converter

As some might know there are several FTDI chip based usb to serial converter breakout boards. Sparkfun produced several of them through time , and recently Adafruit launched a new product called ”FTDI friend”. Those are the well known ones. But if you have an Arduino board with usb connectivity ( like Duemilanove ) , you don’t need to buy any of those for basic usb to serial converting tasks. If you have a Seeeduino, you are luckier!

First some technical stuff. The Atmel chips inside the Arduino boards come with a special bootloader firmware. That allows user to program the chip without needing of any other ICSP , JTAG , etc.. programmers. That bootloader firmware uses hardware UART module of the chip. So you can program the chip with a standart RS232 cable.

Early versions of Arduino (i guess that one called Arduino Serial) used MAX232 level converter chip to match computer’s RS232 signals to TTL signal for loading new sketches(actually, firmwares). Later on, since RS232 ports started to dissapear from notebooks , they started to use FTDI chips to create serial port connection between computer and the chip. And here comes the story.

If we look at the schematic of Duemilanove, we will see that the RX and TX pins are connected to the FTDI chip (as we expected) and theese pins are pinned out at the Arduino board as pin 0 and pin 1 . That means we can use those pins for using the FTDI chip itself.

To do that, you don’t need to unplug the Atmel chip from its place. Before using your Arduino board as usb-serial converter you can upload that piece of code.
void setup()
{
pinMode(0,INPUT);
pinMode(1,INPUT);
}
void loop()
{

}
By doing that, you are guaranteed that Atmel chip wont interfere your communication between FTDI chip and other device.

Also, if you have a Arduino clon named Seeeduino ,like me, you can talk with your external devices both with 3.3V and 5V levels. It has ability to work both 3.3 volts and 5 volts.

Sparkfun sells 3v and 5v versions of FTDI breakout board seperately and FTDI Friend has ability to work at both levels but you need to make a little jumper soldering to change voltage levels. At Seeduino board, it is simple as changing a switch.

I hope it helps someone out there.

Categories: Geek Tags: , , ,

Devinez la suite logique

Je suis tombé sur cette suite logique que j’ai bien aimé.
Saurez-vous trouver la solution ?

Categories: Geek Tags:

Trouver un mot de passe hashé

findmyhash est un script python pour trouver des hashs crackés. Il se base sur des sites fournissant des bases de données de hash et supporte un grand nombre d’algorithmes

Source : findmyhash

Categories: Geek, Hacking Tags: , , , ,

Détecteur de code malicieux

Voici un petit outils simpas qui permet de detecter la présence de code malicieux dans votre site web

http://iscanner.isecur1ty.org/

Categories: Geek Tags: , , ,

Lettre ouverte de Roonui, jeune polynésien, au Président Temaru

Une lettre de mon ami à notre Président. Je suis entièrement d’accord avec ses propos.

Lien : http://roonui.mblog.pf/2011/09/09/lettre-ouverte-a-monsieur-oscar-manutahi-temaru

Categories: Politique Tags:

Sniffjoke : Ou comment perturber un sniffer

http://www.delirandom.net/sniffjoke/

Categories: Geek Tags: , ,

SparkleShare : Un clone de DropBox opensource

Categories: Geek Tags: ,

Hack Wii

Categories: Geek Tags: ,

Faire sa console avec un Arduino

http://pragprog.com/magazines/2011-08/make-your-own-video-game-system

Categories: Geek Tags:

Travailler le bois

http://woodgears.ca/

Categories: Geek Tags:

Hacking QR codes

http://wordpress.mrreid.org/2011/08/06/hacking-qr-codes/

Categories: Geek Tags: ,

Echapper à la censure sur internet

Ce n’est qu’un projet mais le concept est intéressant ttps://telex.cc/

Categories: Geek Tags:

Une mélodie sympas avec des klaxons

Categories: Geek Tags:

Tutorials Arduino

http://tronixstuff.wordpress.com/tutorials/

Categories: Geek Tags: ,

Après Pi, voici Tau en musique

Categories: Geek Tags:

Elevage de Scolopendre

L’autre jour en débroussaillant mon terrain j’ai trouvé une Scolopendre, plus connus sous le nom de « cent-pieds ». J’ai décidé de la garder vivante dans un terrarium qu’il me reste à aménager.

Espèce : Scolopendrina Subspinipes

Une Scolopendre femelle en train de garder ses oeufs

Ring juggling, optical illusion

Joli !!

Categories: Geek Tags:

Babbage Difference Engine made with LEGO

Categories: Geek Tags:

Une machine pour prévoire les eclipses

Categories: Geek Tags:

Un calculateur mécanique

Categories: Geek Tags: