Arduino Bluetooth 4.0 LE Android controlled RGB lamp

For an event here in my home town (Eletrónica e Informática, pela AICB), I decided that I wanna do some Bluetooth project and while browsing through a Chinese store, I stumble into a wood phone booth – and it just hit my mind – another RGB lamp, controlled with Bluetooth and an Android app. I did the wiring and the programming, my lovely wife has taken care of the aesthetics .

Hardware needed

  • 1x Arduino Micro (any other could do – but beware of the pwm pins)
  • 1x Bluetooth 4.0 LE HM-10
  • 1x Adafruit Neopixel Ring 16 x 5050 (or anyone compatible with WS2812 5050)
  • 1x Power Supply 5V, 2A for Arduino Micro (the end mus be micro usb)

(more…)

Bluetooth communication between Raspberry PI and Arduino

This post is part II of a III part series of posts related to Arduino and Raspberry PI Wireless Bluetooth communications.

  • Part I
  • Part III (coming soon)

In another post, I’ve shown how to communicate with Arduino through Bluetooth. Arduino is a very nice platform for electronics, but sometimes, we need a full computer for more expensive workload.

Here, I’ll show how to share information between the Arduino and the Raspberry PI. Imagine that you have the Arduino taking measurements and send them to the Raspberry PI to work on the data – a web server for example.
(more…)

Arduino Bluetooth Wireless Communication

This post is part I of a III part series of posts related to Arduino and Raspberry PI Wireless Bluetooth communications.

For a project I’m working on, I was searching for a method of sharing information between the Arduino and a Raspberry PI and Bluetooth came to mind. So, I start exploring.

Here’s a small example of a Wireless connection between Arduino and an Android Phone using Bluetooth.
(more…)

Arduino L293D DC motors control

A long time ago, i wrote a little tutorial on how to use a L298 Dual H-bridge motor driver, but i thought i could go further and this time I tried with a L293D chip.

The L293D Chip is a Dual H-Bridge Motor Driver for DC or Step motors. It can handle two Motors or one step motor. It can power motors until 36V and 600mA of steady current  – Max of 1.2A.

The chip is easy to use and takes little space

In this tutorial will see how to use it to power 1 or 2 DC Motors

(more…)

Arduino Robô controlado por Wifi com o Adafruit CC3000 Wifi-shield

Para um workshop onde ia falar sobre Arduino, tinha que mostrar um projeto mais interessante – então, nada como um robô controlado por Wifi.

Componentes usados

Se não sabem o que é o wifi-shield da Adafruit CC3000, podem consultar no Adafruit learning center, escrito por Rick Lesniak. Além de explicar como soldar, também explica as ligações e algumas das funções.

Para funcionar, não podem esquecer de efectuar o download das bibliotecas (podem consultar o github ou descarregar directamente a ultima versão) e adicionar ao vosso IDE do Arduino.

Após efectuarem o download e terem adicionado ao vosso IDE, podem executar os exemplos existentes.

Este tutorial para o Robô é baseado no existente no Adafruit Learning Center – WiFi controlled Mobile Robot – , escrito por Marco Schwartz. As diferenças é que o driver de motor que eu usei não é o mesmo, logo, há funções que no código não iriam funcionar, então, alterei e adicionei funções e instruções ao código que irei colocar aqui.

Podem sacar o codigo completo do projecto na minha página do bitbucket – arduino-wifi-robot
(more…)