Cheerlights is an awesome example of an IOT (Internet Of Things) collaborative project. It allows all users lights across the world to synchronize to one color. For that, it uses a Thingspeak channel and API. More information about the project you can visit its page.
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 .
- 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)
I bought a new MinimOSD MAVLink OSD from Bangood to use with my CC3D Flight Controller and had trouble to connect it to the computer. After a while, I managed to have success. Here’s how
Mine is green
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.
This post is part I of a III part series of posts related to Arduino and Raspberry PI Wireless Bluetooth communications.
- Part II
- Part III (coming soon)
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.
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
After reading about LED cubes with Arduino doing nothing else than just fading between colors, i decided to build my one, but instead of just fading colors, why not gather information from the surrounding environment ?
Using the Adafruit TSL2561 and some assumptions (more on that later) I build this cube !
Para um workshop onde ia falar sobre Arduino, tinha que mostrar um projeto mais interessante – então, nada como um robô controlado por Wifi.
- Arduino UNO R3
- L298 Dual H-Bridge Motor driver – dx.com
- Adafruit CC3000 wifi-shield
- Partes de robô compradas na dx.com – Funduino Tracking Maze Car for Arduino
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.
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.