Download SMAHO APK latest version Free for Android
Version | 1.0 |
Update | 7 years ago |
Size | 1.66 MB (1,738,000 bytes) |
Developer | SIRAI APPS |
Category | Apps, Tools |
Package Name | com.SIRAI_APPS.SMAHO |
OS | 2.0 and up |
SMAHO APPLICATION description
you can link you phone and arduino by using bluetooth module like HC-05 or HC-06 or other bluetooth module support serial communication.
SMAHO send letters to switch ON/OFF you device , uppercase to switch on and lowercase to switch off.
example for arduino:
char val; // variable to receive data from the serial port
void setup()
{
pinMode(2, OUTPUT); //
Serial.begin(9600); // start serial communication at 9600bps
}
void loop()
{
if( Serial.available() ) // if data is available to read
{
val = Serial.read(); // read it and store it in 'val'
if( val == 'A' ) // if 'A' was received
{
digitalWrite(2, HIGH); // turn ON the LED
}
if( val == 'a' ) // if 'a' was received
{
digitalWrite(2, LOW ); // turn OFF the LED
}
}
}
' end of code
so A/B/C/D/E/F/G/H to switch on and a/b/c/d/e/f/g/h to switch off.
![SMAHO screen 1](/img/1.gif)
![SMAHO screen 2](/img/1.gif)
![SMAHO screen 3](/img/1.gif)
![SMAHO screen 4](/img/1.gif)