Fork me on GitHub

The Blog

Turn your old phone into a security Alarm System for Android

If you are an Android fan like me, you probably have several old Android Smartphones collecting dust in your drawer. In this post I will present to you the Irdroid AlarmBug – Electromagnetic Alarm Sensor Accessory for Android that will turn your OLD Android Smartphone into a Security Alarm System which will notify you every time someone opens / closes the door where the Irdroid AlarmBug is installed.

The Irdroid AlarmBug comes with a free and open source app for Android that will detect the Irdroid AlarmBug accessory and act in accordance with the door state – opened or closed. It also has a tamper protection – in case someone disconnects the Accessory it will send alarm to the email that you have specified for alarm reception.

The Irdroid AlarmBug accessory has two parts – a magnet and a sensor unit with cable, both equipped with a sticker band thus allowing you to easily fix the magnet and the sensor unit to the door that need to be monitored. The magnet is to be fixed on the movable part of the door – the wing and the sensor unit somewhere near the magnet, so that when the door is closed the distance between the magnet and the sensor unit is not more that 2.5 cm. The sensor unit connects to your Android device via a 4 Pole 3.5mm Audio Jack.

The Irdroid AlarmBug accessory is designed in accordance with the AOSP 3.5 mm Headset: Accessory Specification . The specification defines Functional, Mechanical and Electrical characteristics for the 3.5mm headset accessory.

fig.1

In our case the magnetic sensor that we use has a reed relay inside. When a magnet is close to the reed relay its state becomes closed and it acts like a simple switch. When the magnet is away, the circuit is open. Considering the above we can use one of the buttons defined in the AOSP 3.5mm headset specification and represent its state by connecting the magnetic sensor to the Android device in accordance with the above schematic.

The Irdroid AlarmBug is using function  / button “C” shown on figure 1

If we comply with the connection shown on fig 1 then in Android we can listen in our App for a keypress that correspond to the relevant function (in our case function C / Volume Down and take action – trigger and Alarm or send message, once the action is performed.
 

The Irdroid AlarmBug Open Source Software Application has a simple user interface. It will indicate the magnetic sensor states – open / close

 

The Irdroid AlarmBug App is available from Google Play. Once downloaded you need to setup your email notification address in the App Settings. Once you set your email address for notification , connect the Irdroid AlarmBug to your smartphone and tap the magnet to the sensor unit several times in order to activate it.

If the sensor unit is close to the magnet < 2 cm the App screen turns Green with indication “System Armed” , if the magnet is at a distance greater than 2 cm from the sensor unit the screen turns Red with indication “Security Breach Police are on their way!”. In both cases an email is sent to the target email address configured in the app with information about the last state and date / time timestamp in the email. There is also a tamper protection feature which notifies the owner if the sensor unit cable is unplugged from the smartphone.

The Irdroid AlarmBug App is Open Source Software , you can freely modify it to fit for your particular purpose, add more features or whatever you decide to do.

Resources:

Purchase:

Playing with Irdroino Infrared (IR) Shield for Arduino

Irdroino IR Shield for Arduino

Irdroino IR Shield for Arduino

Playing with Arduino for controlling your IR controlled Robot, your TV or just to adjust your Air conditioner temperature setting had always been Fun  !  The Irdroino shield is a good start if you want to start experimenting with Infrared (IR) remote control on Arduino. The Irdroino Infrared (IR) Shield has a high quality Infrared Receiver IC that support wide range of IR carrier frequencies, and it provides almost universal infrared reception in the range between 36 and 40 Khz. The Irdroino Infrared (IR) Shield is a open source hardware and open source software project. All the production files, schematics and Documentation is available for free from Irdroid’s GitHub repository

The unit is equipped also with 2 powerful IR LEDs that provide a wide infrared transmit angle and also IR light amplification. The Irdroino Infrared (IR) Shield for Arduino is specially designed for Arduino but it can also be used for any of the Arduino-like boards such as the Olimex Olimexino 328. The Irdroino Infrared (IR) Shield has two buttons that are used to switch between transmission of IR / Reception of IR (IR Learning) when used with the Demo application. The unit is designed with long headers so that when you attach it to your Arduino it will expose all Arduino pins on its female pin headers.

 

The Irdroino Infrared (IR) Shield comes with a demo Open Source Software Application that will allow you to record and then reproduce infrared signals from your favorite remote control. The Application is free and open source and it can be downloaded from the Irdroid’s GitHub repository mentioned above.

Below is a short video , that demonstrates how to use the Irdroino Infrared (IR) Shield with your Arduino, to control a TV Set with the Open Source Software Demo application that comes with the unit.

 


Downloads:

Purchase:

IR Blaster for Android

 

 

We have a new product in stock – The IR Blaster for Android. It turns your smartphone into fully featured infrared remote control for Android. The module comes with a free app for Android which supports most of the home appliance manufacturers and their remote control codes.  The IR Blaster for Android has a extended remote control range 5-8 meters and it does not need batteries to operate. It uses power and signal from the 3.5mm power jack of your Android Smartphone.

Product page:

– https://irdroid.eu/product/ir-blaster-for-android/

 

 

Windows Server 2012 Drivers workaround for Irdroid

USB Infrared Transceiver kit

USB_to_Infrared_transceiver3

Windows Server 2012 requires that all drivers need to be signed, The USB Infrared Transceiver can work with Windows 8 but the workaround is that you need to turn off the signed driver requirement.

You can deactivate the forcing of signed drivers by using following Settings. Open a Command Prompt (cmd) as Administrator and type in following two commands. bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS bcdedit -set TESTSIGNING ON With bcdedit you´re configurating the bootmenu of windows, so be careful. If something goes wrong you´ll need a windows dvd to repair the bootmanager. After a restart you can install the driver normally. You just have to confirm to install the unsigned driver, just like in older versions of Windows.

Using the Irdroid USB Infrared transceiver with the Raspberry Pi

The Irdroid USB IR Trasnceiver working with Raspberry Pi

The Irdroid USB IR Trasnceiver working with Raspberry Pi

There is a Blog post @ the Irdroid Blog  , that describes in detail how to make the Irdroid USB Infrared Transceiver work on the Raspberry Pi and in particular the recommended and official Raspbian. If you wish to follow that tutorial, and purchase a Irdroid USB Infrared transceiver module , please note that for Raspberry Pi owners you can get one with a significant discount – 20% (use the “raspberry” coupon code during checkout.) You can purchase the Irdroid USB Infrared Transceiver modules by clicking on the link below:

http://irdroid.eu/product/usb-infrared-transceiver/

Below is a video, showing the result:

Irdroid-Rpi infrared transceiver for Raspberry Pi

The latest gadget that we are working on is the Irdroid-Rpi Infrared Transceiver HAT / Add-on board for Raspberry Pi. The board provides Infrared Transmitter , Infrared Receiver and UEXT interconnect for Olimex sensors and boards designed with the UEXT connector. The board can be stacked on top of the Rpi board and you could turn your Rpi into a fully functional Infrared remote control for you home infrared consumer electronics. The Irdroid-Rpi is compatible with the LIRC/ Lirc GPIO driver for raspberry Pi and the LIRC utilities for recording and transmitting infrared signals can be used. The Irdroid-Rpi uses a optical IR amplification technique that allows to transmit high power IR signal by signal amplification after the IR light is emitted.

Irdroid-Rpi board features:

  • Infrared Transceiver add-on / HAT for Raspberry Pi
  • Infrared Transmitter @940nm with 10+ meters range
  • Infrared Receiver up to 40khz and 10+ meters of receive range
  • On-board UEXT Interconnect for connecting Olimex sensors and boards.
  • Open source hardware.

The Irdroid-Rpi infrared transceiver for Raspberry Pi is also designed with the possibility to connect sensors and boards from Olimex (https://www.olimex.com) by using the on-board UEXT connector, designed by Olimex. You can check here what sensors are supported http://www.olimex.com/Products/Components/Sensors/ .

You can order now (external link) a board below. We will ship within 2 days from placing the order. All the orders are shipped via registered Airmail with a tracking number @ fixed $6

In Stock

Price: $19.90


 Downloads:

 

Develop custom infrared remote control Apps with Irdroid

Last two months we have digitized a number of remote controls from Vendors like Tesy, Lasko and Samsung and we have designed a nice looking custom designed Apps for them. The Apps are designed for Smartphones with builtin infrared blasters like HTC One m8,m9,m9+ , LG G2,G3,G4 , Samsung S5, S6

We have developed this remote for TESY panel heater mode TESY MC2014. The remote is a exact copy of the original TESY MC2014 remote and offers exactly the same functions. We have also tested it on HTC One M9, Xiaomi mi4c, LG G2, LG G3 . The App uses Android Api level 19 consumer IR manager.

We have developed this remote for LASKO FANs . The remote is a exact copy of the original LASKO Fan remote and offers exactly the same functions. We have also tested it on HTC One M9, Xiaomi mi4c, LG G2, LG G3 . The App uses Android Api level 19 consumer IR manager.

We have developed this remote for LASKO Air Purifier . The remote is a exact copy of the originalLASKO Air Purifier and offers exactly the same functions. We have also tested it on HTC One M9, Xiaomi mi4c, LG G2, LG G3 . The App uses Android Api level 19 consumer IR manager.

We have developed this remote for LASKO FANs model 4890 . The remote is a exact copy of the original LASKO Fan  model4890 remote and offers exactly the same functions. We have also tested it on HTC One M9, Xiaomi mi4c, LG G2, LG G3 . The App uses Android Api level 19 consumer IR manager.

 

If you need your remote digitized visit the following link for a proposal:

Irdroid code update on GitHub

Github-banner

We have decided to push all our apps and sources to GitHub – https://www.github.com/Irdroid . The apps and firmware sources that we currently maintain are as follows:

 

Irdroid Wifi Relay Board – Introduction

Irdroid WiFi Relay BoardThe First presentation of our new product Irdroid Wifi Relay board was carried out at the premises of the hackafe hackerspace in Plovdiv, Bulgaria. The Idea of that event was to inspire young people to start working with embeeded hardware and embedded systems programming. The Irdroid Wifi Relay board allows you to control and monitor 5 250V / 5A relays via a Smartphone with Android or IOS or via PC. The Irdroid Wifi Relay board also features a Internet router, working as an Access Point in its default mode. The Irdroid Wifi Relay board can be configured to set ON/OFF schedules , so you can setup a switch ON  / switch OFF timer for every single relay thanks to the build in realtime clock.

At the event we have presented the control and monitor of the Irdroid Wifi Relay board via a Android smartphone and the Irdroid Wifi Relays application for Android.

We have designed the board to use the HLK-RM04 Wifi To Serial Module .The module is based on the RT5350 SoC it has a 16MB RAM and it runs Linux. We have also used a Atmega168 MCU and a DS1307 RTC to communicate with the WiFi module as the initial requirement was that the board should be able to set ON / OFF schedules for every single Relay. The WiFi to serial module assures the WIFI to Serial connectivity and the ATMEGA168 MCU runs a port of the FreeModbus protocol stack that assures control and monitoring of the 5 Relays.

Below is a Block Diagram that shows the actual nodes and interfaces of the Irdroid Wifi Relay board

Irdroid WiFi Relay Board Diagram

Video:

Downloads:

You may also be interested in:

Irdroid Apps & code at GitHub

Github-banner

We have decided to push all our apps and sources to GitHub – https://www.github.com/Irdroid   . The apps that we currently maintain are as follows: