My project (Refered to here as IR-SIGMA) is a BLUETOOTH enabled universal IR remote control that can be controlled from any Android device (Referred to in this page as UNIT A). It also comes with an additional hardware (Referred to in this page as UNIT B) that can be attached / plugged to electrical device to make it IR remotely controllable (Example: can be switched ON and OFF)
What I have in mind is that it should enable the user to remotely control several devices (even the ones that were earlier not remotely controllable) through UNIT A (Infra-red Transmitter Hub) and UNIT B (Infra-red Receiver) using a single easy to use android application interface as follows:
When I did surf on the internet to look at similar devices, I did not find an exact match as most of the devices I found are designed to handle ONLY specific brands and the application associated with their commercial products is mainly to setup the the universal remote control rather than to operate it, below is a list of some similar end products that I found :
The materials that that will be needed to fabricate the proposed project, the location from where it will be acquired and its cost will be 23.01 USD as below:
# | COMPONENT | COUNT | UNIT PRICE | TOTAL PRICE | VENDOR | URL | NOTES |
---|---|---|---|---|---|---|---|
1 | ATMEGA 328P-AU Micro-controller | 2 | 2.20 USD | 4.40 USD | FARNELL | LINK | |
2 | Crystal 16Mhz/18pF | 2 | 0.25 USD USD | 0.50 USD | FARNELL | LINK | |
3 | Green LED | 2 | 0.25 USD USD | 0.50 USD | FARNELL | LINK | |
4 | Red LED | 2 | 0.25 USD USD | 0.50 USD | FARNELL | LINK | |
5 | 10K Ohm Resistor | 2 | 0.05 USD | 0.1 USD | FARNELL | LINK | |
6 | 499 Ohm Resistor | 2 | 0.05 USD | 0.1 USD | FARNELL | LINK | |
7 | 22 Pf Capacitor | 4 | 0.1 USD | 0.4 USD | FARNELL | LINK | |
8 | 1K Ohm Resistor | 8 | 0.1 USD | 0.8 USD | Digi-Key | LINK | |
9 | FTDI Header | 2 | 0.25 USD | 0.5 USD | FARNELL | LINK | |
10 | Phototransistor IR | 1 | 0.41 USD | 0.41 USD | Digi-Key | LINK | |
11 | HC-05 Bluetooth Module | 1 | 7.5 USD | 7.5 USD | Hilegto | LINK | |
12 | IR Transmitter LED | 1 | 0.05 USD | 0.05 USD | RAM(LOCAL SHOP) | LINK | |
13 | IR receiver | 1 | 0.35 USD | 0.35 USD | RAM(LOCAL SHOP) | LINK | |
14 | 220v to 5v module | 1 | 3.5 USD | 3.5 USD | RAM(LOCAL SHOP) | LINK | |
15 | Solid State Relay | 1 | 3.4 USD | 3.4 USD | RAM(LOCAL SHOP) | LINK |
# | TASKS | PROCESS |
---|---|---|
IR TRANSMITTER (UNIT A) | ||
1 | Design Enclosure Using Autodesk Fusion 360. | Computer-Aided Design |
2 | Design Enclosure Accessories (PCB-Holders). | Computer-Aided Design |
3 | Fabricate the Enclosure Using laser cutter. | Computer-Controlled Cutting |
4 | Fabricate Enclosure Accessories (PCB-Holders). | 3D Printing |
5 | Circuit Design using Eagle. | Electronics Design |
6 | Produce the Electronic PCB. | Electronics Production |
7 | Program the Board. | Embedded Programming |
IR RECEIVER (UNIT B) | ||
8 | Design Enclosure Using Autodesk Fusion 360. | Computer-Aided Design |
8 | Design Enclosure Accessories (PCB-Mounting Kit). | Computer-Aided Design |
9 | Fabricate the Enclosure Using laser cutter. | Computer-Controlled Cutting |
10 | Fabricate Enclosure Accessories (PCB-Mounting Kit). | 3D Printing |
11 | Circuit Design using Eagle. | Electronics Design |
12 | Produce the Electronic PCB. | Electronics Production |
13 | Program the Board. | Embedded Programming |
ANDROID APPLICATION INTERFACE | ||
14 | Design application User Interface using MIT App Inventor. | User Interface (GUI) |
15 | Coding and Testing Application. | User Interface (GUI) |
INTEGRATION, ASSEMBLY AND DOCUMENTATION | ||
16 | Integrate All parts and Systems. | All Above |
In this section I will document 2 embedded programs since I have TWO ATMEGA micrcintrollers on 2 seaprate PCB boards, In the programming there are common facts that applies to both my programs as follows:
For both boards perform the following Steps: