0%
0%

CTRL.BA

The IoT thing

traxtrax

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests
Similar projects worth following
1.3k views
View Gallery
*** PLEASE GO TO NEW VERSION OF THIS PROJECT: https://hackaday.io/project/4595-ctrl-ba What is CTRL.BA? Controlling things in your house or even outside is kind of cool especially when there is an official Android app with good user interface. This project consists of Base Station which you put to your home appliance and connect to internet via WIFI or even GPRS. Base Station then communicates with Server (Cloud) where you create your free account or even download source code of that server and run it on your own internet-connected PC (local server). But why another IoT project? Just want to see if it can be done with the cheapest chips out there. Entire thing is built using custom protocols to provide a secure and reliable system with the smallest code footprint as possible. Whether you need to turn stuff on/off in your house, monitor air temperature and quality outside or even measure amount of honey your bees collected in the field, this is the project for you.

This project is still under development. Actually, version 1 was completed in 2013 with these specs:

1. Server: PHP REST API (not socket server), MySQL
2. Hardware (Base Station):
a) ATmega328P
b) ENC28J60 with TuxGraphics TCP/IP stack
c) nRF24L01+ RF module
3. Hardware (Modules):
a) ATmega328P
b) nRF24L01+ RF module
c) various hardware related to each different Module Type

Problems with version 1 were:
1) RF communication between Modules and Base Station was encrypted using ARC4 where I actually added one incrementing-byte into the payload in order to prevent replay attacks. Later I realized that it was the same problem that WEP encryption has. More details about this problem here: http://crypto.stackexchange.com/questions/14926/is-this-an-acceptable-implementation-of-arc4-encryption-for-my-system
2) Another problem was that the Tuxgraphics Stack was used in Server-Mode, meaning that when you want to control some module in your home (or wherever), Server had to connect to your Base Station. This means that you had to open a port in your ADSL router for system to work. This is not very user friendly.

Version 2 is under development now. Server has been rewritten in NodeJS and the system is now using sockets for communication between Base Station and Server. Encryption is accomplished with AES-128. Each transmission is unique, encrypted and protected by AES-CMAC.


1. Server (socket server): NodeJS + MySQL
2. Hardware (Base Station): ESP8266EX or SIM900 GPRS

  • 1 ×ばつ SIM900 Optional SimCom GPRS Module
  • 1 ×ばつ ESP8266EX WIFI Module

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Does this project spark your interest?

to follow this project and never miss any updates

Cancel

AltStyle によって変換されたページ (->オリジナル) /