sábado, 21 de setembro de 2013

LDR (ligh sensor) and blink with arduino and minibloq



Follow the code; (Segue o código):
#include "stdlib.h"
#include "IRremote.h"
#include "pitches.h"
#include "Minibloq.h"

void setup()
{
      initBoard();
      float s0 = 0;
      while(true)
      {
                s0 = AnalogRead(sensor0);
               DigitalWrite(D13_LED, true);
               delay((s0*5));
               DigitalWrite(D8, false);
               delay(((1/s0)*500));
               DigitalWrite(D8, true);
               delay(((1/s0)*500));
               DigitalWrite(D13_LED, false);
               delay((s0*5));
      }
}
void loop()
{
}

quinta-feira, 12 de setembro de 2013

Low cost equipment to observe fluorescent organisms

The last number of the Journal "Zoologia" of the Brazilian Zoological Society brings an interesting article dealing with the assembling of a low cost equipment to observe fluorescent organisms using LED' s and ATMEL microcontroller.

The paper is titled "Equipment based on high power UV and white light LEDs to collect and observe scorpions (Arachnida: Scorpiones) and other fluorescent organisms" Ramires et al 2013. Click here to get the article PDF

quarta-feira, 11 de setembro de 2013

Copying a book using Mindstorm Lego




A university professor in Austria has released a video, showing how he has set a Lego Mindstorm and a computer to copy a Kindle book. A simple and smart idea! read more

DIY kindle scanner from peter purgathofer on Vimeo.

segunda-feira, 9 de setembro de 2013

Improving Blink "Hello World", arduino





















This is one of our work in the 1st classes on prototyping and visual programing, arduino + minibloq. We were simply doing the blinking leds, however we put them to blink sincronically. The second step was to control the blink frequency in response to the reading of a LDR sensor.



How is the waether? An arduino weather station


quinta-feira, 5 de setembro de 2013

Arduino IDE installing on Ubuntu and debian derived distros

It is not a hard task =)

Open your terminal and type (without the "$"): 
                                         $sudo apt-get update
                                                 $sudo apt-get install arduino

Bang!

terça-feira, 3 de setembro de 2013

Barcode scanner to Arduino using USB Host Shield / Leitor de Código de barras + arduino (En)


An addition of Human Input Device Class support to USB Host Shield library 2.0, announced several days ago allows using powerful and inexpensive input devices with USB interface in Arduino projects. Sample sketches demonstrating sending and receiving data to one of the most useful HID device types – boot keyboard/mouse, has been released along with the library. The beauty of boot protocol lies in the simplicity of device report – a data packet containing information about button presses and mouse movements. However, samples were designed to demonstrate all features of the class and because of that, they are somewhat heavy. In real-life applications, it is often not necessary to implement each and every virtual function – only what is needed. In today’s article I will show practical application of HID boot device building a simple gadget... Keep reading [circuitsathome.com]




Para começar!