Smart Citizen: Arduino-compatible And Packed With Sensors

smartCitizenBoard

If you’re going to develop another Arduino-compatible board these days, you might as well take a “kitchen sink” approach. The Smart Citizen Kit piles it on, including Wi-Fi, an SD card slot, and EEPROM on its base. The attached shield—dubbed the “Ambient Board”—is a buffet of sensors: temperature, humidity, CO, NO2, light intensity, and a microphone for reading sound levels. The board’s intended purpose is to provide an open-source, interactive, environmental database by crowdsourcing data from multiple Smart Citizen Kits, but you can add your own stuff or yank the shield off altogether. Additional shields are also under development, aimed at providing agricultural data, monitoring biometrics, and more.

Stick the Smart Citizen somewhere and it can send sensor data to the web over a WiFi connection. The result is worth a look. Here’s the map with the real-time data from early release models scattered over Europe, most of which appear to be solar-powered with a small LiPo battery to keep them going overnight. There’s also an accompanying iPhone app that lets you set up the Smart Citizen, retrieve data from nearby sensors, and allows you to match your phone’s GPS location to any data you collect while carrying the board around.

The developers met their Kickstarter goals earlier this summer and the board has recently entered the manufacturing process, Rummage through their GitHub files here, and watch a video preview of the Smart Citizen below.

Continue reading “Smart Citizen: Arduino-compatible And Packed With Sensors”

Passive Bluetooth Keyless Entry System

Modern smart keys allow you to keep the key fob in your pocket or purse while you simply grab the handle and tug the door open. [Phil] decided he would rather ditch the fob altogether and instead implemented a passive Bluetooth keyless entry system with his Android phone. It’s probably unlikely for car manufacturers to embrace phone-based keys anytime soon, and [Phil] acknowledges that his prototype poses a landslide of challenges. What he’s built, however, looks rather enticing. If the car and phone are paired via Bluetooth, the doors unlock. Walk out of range and the car automatically locks when the connection drops.

His build uses an Arduino Mega with a BlueSMiRF Silver Bluetooth board that actively searches for his phone and initiates a connection if in range.  Doors are unlocked directly through a 2-channel relay module, and an LED indicator inside the vehicle tells the status of the system. A pulsing light indicates it’s searching for the phone, while a solid ring means that a connection is established.

We hope [Phil] will implement additional features so we can make our pockets a bit lighter. Watch a video demonstration of his prototype after the break, then check out the flood of car-related hacks we’ve featured around here recently: the OpenXC interface that adds a smart brake light, or the Motobrain, which gives you Bluetooth control over auxiliary electrical systems.

Continue reading “Passive Bluetooth Keyless Entry System”

Breadboard Tetris Is Wire Artwork

RGB-module-breadboard-tetris

Look closely at the colored pixels on this pair of 8×8 RGB LED modules and you’ll be able to pick out some of the familiar shapes of Tetris pieces. It’s impressive that [Jianan Li] built his own color Tetris including the theme music, but look at this breadboard! The layout of his circuit is as equally impressive as the code he wrote to get the game up and running. It takes a fair amount of planning to get a circuit of this complexity to fit in the space he used, right?

There are two microcontrollers at work, each running the Arduino bootloader. The main chip is an ATmega328 which is responsible for monitoring the buttons and controlling game play. The other is an ATmega85. The eight pin chip listens to it’s bigger brother, playing the theme song when the game starts, and pausing or resuming to match the user input So is the next stop for this project playing Tetris on the side of a building?

Don’t miss the demo video after the break. We’ve also rolled in a video of his Arduino-based piano. It’s built on a breadboard that’s nearly as impressive as this. But what delights us is his skill at playing Pokemon themes on the two-octave tactile switch keyboard. Obviously those piano lessons his parents shelled out for really paid off!

Continue reading “Breadboard Tetris Is Wire Artwork”

Wi-Fi Enabled Garage Door Opener

Normally, internet-controlled household devices are a cobbled together mashup of parts. This is great for a prototype, but if you’re looking for something that will last a decade in your garage, you’ll need something a little cleaner and more robust. [Phil]’s Internet-enabled garage door opener is just that, replete with a custom-made enclosure for his Arduino powered system.

The main hardware for [Phil]’s build is a Freetronix EtherTen, an Arduino clone with a built-in Ethernet interface. Aside from that, the electronics are simple: a relay, transistor, and diode provide the connection from the EtherTen to the garage door opener.

The software for this setup consists of a main file that sets up the web page, the serial monitor, and loops through the main program. There are a bunch of classes for initializing the web page, writing passwords to the EEPROM, activating the door, and setting the MAC and IP addresses.

Opening the door with this remote is a snap: with any WiFi enabled smartphone or tablet, [Phil] only needs to log onto his network, surf on over to the page hosted on the Arduino, and enter a password. From there, opening the door is just a press of a button. Passwords and other configuration settings cane be entered with MegunoLink. This software also includes a serial monitor to log who opened the door and when.

It’s an interesting and compact system, and handy to boot. You might sometimes forget your garage door opener, but we’re thinking if you ever find yourself without your phone, a closed garage door is the least of your problems.

Self-balancing Arduino Does It Without An IMU

The miniscule size of this self-balancing robot makes it a cool project. It actually uses the motor and wheels from a small toy car. But when you look into how the balancing act is performed it gets way more interesting. The larger versions of this trick pretty much all use Inertial Measurement Units (IMUs) which are usually made up of an accelerometer and a gyroscopic sensor. This has neither.

The black PCB seen to the right of the robot is an IR reflectance sensor. It shines an IR led at the floor and picks up what reflects back. [Sean] added this hack because the gyro sensor he ordered hasn’t arrived yet. The board has a trimpot which is used to adjust the sensitivity. You have to tweak it until it stands on its own. See for yourself after the break.

Self balancing robot builds are a great way to teach yourself about Proportional-Integral-Derivate (PID) algorithms used in a lot of these projects.

Continue reading “Self-balancing Arduino Does It Without An IMU”

Arduino-based Temp Control Via SMS

smsTempController

As connected as we are, reliable and affordable internet is still a luxury in the far reaches. [kohleick’s] country home is not just remote; with temperatures dropping to -30C in the winter, it’s practically Arctic. His solution for controlling the thermostat from afar was to take advantage of the GSM network and implement a SMS-based heater controller. The unit typically operates in “antifreeze mode,” but sending a simple text message prior to visiting causes the heater to kick it up to a more comfortable setting for your arrival. Daily logs report the system’s status, and an alert will trigger when temperatures fall below a set limit, thus indicating potential faults with the heater.

The build uses a Freeduino paired with an external GSM modem for communication and an LCD to display current status and menus, which users access via three buttons on the side of the picture frame. [kohleick] connected two temperature sensors: one directly to the Freeduino’s shield and a second outside the house. After the temperature sensors detect deviance from the set point, or upon SMS instruction, the Freeduino will crank up the heat through a 5V relay attached to the home’s boiler. Head over to the Instructables page linked above for a bill of materials, schematics, and the code. The Siemens GSM modem in this build is nothing to worry about, but be careful if you try to reproduce this project with an Arduino GSM shield, or your house might really heat up.

Automatic Bluetooth Module Programmer

automatic-bluetooth-programming

Before we dive in don’t be confused by the title. This doesn’t flash firmware to the device. But it does automate the process of setting up the Bluetooth to serial module for use in your projects.

We’re often confused by the lack of a standard way of describing these inexpensive modules. We would look at this can call it an HC-05, but we’re not sure if that’s right or not. [James Daniel] calls it a JY-MCU board. If you have a handle on the differences (or lack of) please let us know in the comments. Either way we know that these boards can be frustrating to work with. They can be found with a wide variety of different firmwares, which can make the configuration process a bit different for each.

[James’] solution connects the device to an Arduino running a sketch that he wrote. Connect the device, launch the terminal monitor in the Arduino IDE, then give it your desired settings. The sketch will poll the Bluetooth module to see what speed it is set to run at. It will then establish which firmware version the board is running, displaying this info in the terminal. It then uses that information to program the board with your desired settings.

In this case [James] is using one of the modules to drive his 3D printer without being tethered to his laptop.

Continue reading “Automatic Bluetooth Module Programmer”