background preloader


Facebook Twitter

Question : Le #Maroc a-t-il acheté un #Eagle d’#Amesys. Hackaday sur Twitter : ".@philip_freidin has OSHChip at #hackadayBAMF... Hack the Arduino Robot: the results are impressive! (And you can vote them) Hack the Arduino Robot: the results are impressive!

Hack the Arduino Robot: the results are impressive! (And you can vote them)

(And you can vote them) dcuartielles — March 12th, 2014 During the last months we’ve been involved with RS components in launching the “Hack the Arduino Robot” competition. It has been a bit of a special competition where people would participate by posting their ideas and a committee of experts would choose which could be the most interesting challenges for the Arduino Robot to perform. I was part of the committee and I am pleased to say that I am not disappointed. I think everyone should look at the videos just to see that robots can be so much more than whatever it is we conceptualized them for. Now it’s time to express your vote too: the likes of the videos on the playlist will be counted until 23rd of March 2014. Tutorial: Arduino timing methods with millis() - Birds on the Wire.

Welcome back fellow arduidans! In this article we introduce the millis(); function and put it to use to create various timing examples. Please ensure you are running version 13 or upwards of the Arduino IDE . Millis? Nothing to do with lip-syncers… hopefully you recognised milli as being the numerical prefix for one-thousandths; that is multiplying a unit of measure by 0.001 (or ten to the power of negative 3). Interestingly our Arduino systems will count the number of milliseconds (thousands of a second) from the start of a sketch running until the count reaches the maximum number capable of being stored in the variable type unsigned long (a 32-bit [four byte] integer – that ranges from zero to (2^32)-1. (2^32)-1, or 4294967295 milliseconds converts to 49.71027-odd days. Where start is an unsigned long variable.

Modifier la fréquence d'un PWM. Un signal PWM est défini par son rapport cyclique (le temps au niveau haut par rapport à la période totale) mais aussi par sa fréquence.

Modifier la fréquence d'un PWM

C’est cette fréquence qui nous intéresse aujourd’hui : il faut l’adapter à l’usage qu’on va faire, de quelques centaines de Hertz à plusieurs kHz. Pour un usage courant en électronique ludique, 500 ou 1000 Hz sont suffisant pour modifier l’intensité d’une led, notamment pour obtenir des couleurs variées sur un éclairage RGB, ou pour commander un dispositif externe en faisant varier une tension.

Mais ces fréquences sont audibles et si un résonateur est connecté au signal PWM, vous devriez être rapidement gêné. Débogage d’un arduino écrivant sur le port série. ShiftOut. Learning Examples | Foundations | Hacking | Links Started by Carlyn Maw and Tom Igoe Nov, 06 Shifting Out & the 595 chip At sometime or another you may run out of pins on your Arduino board and need to extend it with shift registers.


This example is based on the 74HC595. The datasheet refers to the 74HC595 as an "8-bit serial-in, serial or parallel-out shift register with output latches; 3-state. " How this all works is through something called "synchronous serial communication," i.e. you can pulse one pin up and down thereby communicating a data byte to the register bit by bit. The "serial output" part of this component comes from its extra pin which can pass the serial information received from the microcontroller out again unchanged. "3 states" refers to the fact that you can set the output pins as either high, low or "high impedance. " Here is a table explaining the pin-outs adapted from the Phillip's datasheet. Example 1: One Shift Register The Circuit 1. Make the following connections:

Arduino BitBang. Sources Tuto qu'on a suivi.

Arduino BitBang

Rh_count. Relative Humidity Measurement using the Humirel HS1101 Sensor Arduino, BasicX BX24 and PICAXE-18X copyright, Peter H.


Anderson, Baltimore, MD, Nov, '07 (Nov, '07). The discussion has be reworked to also include the Arduino. Introduction This discussion focuses on a relatively simple technique for measuring relative humidity using a sensor. It is desireable to measure temperature as people are usually interested in both the relative humidity and temperature. Ressources pour l'interactivité. Arduino est distribué avec la logithèque Wire qui permet une communication I2C et Two Wire.

Ressources pour l'interactivité

La logithèque Wire utilise un adressage à 7 bits pour l'écriture et la lecture. Pour convertir une adresse I2C à 8 bist en adresse I2C à 7 bits, les bits doivent être décalés vers la droite ( >> 1 ). Par exemple, le capteur TPA81 à l'adresse I2C 8 bits de 0xD0 (B11010000) par défaut. En décalant les bits vers la droite, l'adresse I2C devient 0x68 (B01101000): Rp=1.8k 5.1 Écriture. Arduino to Twitter over USB - There are many reasons to want a project with the ability to provide status feedback.

Arduino to Twitter over USB -

One useful method for providing feedback is by posting updates to Twitter. This enables one (or many people) to monitor a system from anywhere. It is even possible to, then, receive SMS updates to your phone. The World Famous Index of Arduino & Freeduino Knowledge. Arduino at leech me. Teague Labs-Mozilla Firefox. RESTduino - Arduino hacking for the REST of us - jjg's posterous. Enregistrer données port série dans un fichier ? Top 40 Arduino Projects of the Web. Arduino hacks.