arduino_wifi_pcs 1.1.0 APK

arduino_wifi_pcs 1.1.0 Icon
0/5
0 Ratings
Developer
c.s.park
Current Version
1.1.0
Date Published
File Size
~50M
Package ID
com.arduino_wifi_pcs
Price
$ 0.00
Downloads
100+
Category
Android Apps
Genre
Education

APK Version History

Version
1.1.0 (*)
Architecture
all
Release Date
November 17, 2022
Requirement
Android 7.0
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot
  • arduino_wifi_pcs Screenshot

About Radio FM 90s

아두이노 보드에 와이파이 모듈을 장착하고, 휴대폰에서 본 앱을 작동시켜 휴대폰과 아두이노 간에 와이파이 통신을 연결시킨 다음, 휴대폰에 구비된 10개의 버튼을 눌러서 그 버튼의 눌러짐을 아두이노에서 인식하여 원하는 동작을 시키도록 하는 앱
- 단일 버튼 : 10개

(각 버튼을 눌렀을 때 아두이노에 전송되는 데이터)
버튼 1 : ‘0’ (16진수 30) 버튼 2 : ‘1’ (16진수 31)
버튼 3 : ‘2’ (16진수 32) 버튼 4 : ‘3’ (16진수 33)
버튼 5 : ‘4’ (16진수 34) 버튼 6 : ‘5’ (16진수 35)
버튼 7 : ‘6’ (16진수 36) 버튼 8 : ‘7’ (16진수 37)
버튼 9 : ‘8’ (16진수 38) 버튼 10 : ‘9’ (16진수 39)

(아두이노에서의 프로그램 예)
아두이노의 디지털포트5번에 연결된 LED를 버튼 1을 한번 누르면 켜지고, 또 누르면 꺼지게 함.(토글 동작)

///// 와이파이로 LED 제어하기
첫부분에 SoftwareSerial.h를 include 한다.
SoftwareSerial esp8266(2,3);

void setup()
{
Serial.begin(9600);
esp8266.begin(9600); // esp의 baud rate
pinMode(5, OUTPUT);
digitalWrite(, LOW);

sendData("AT+RST\r\n",2000); // 모듈 reset
sendData("AT+CWMODE=2\r\n",1000); // AP(access point)로 설정
sendData("AT+CIFSR\r\n",1000); // ip 주소 얻음
sendData("AT+CIPMUX=1\r\n",1000); // multiple connection으로 설정
sendData("AT+CIPSERVER=1,80\r\n",1000); // port 80으로 서버 on
}

void loop()
{
if(esp8266.available()) // esp가 메시지를 전송중이면
{
if(esp8266.find("+IPD,"))
{
delay(200); // 모든 시리얼데이터 리드
int connectionId = esp8266.read();
esp8266.find("?");
int Number = esp8266.read();

if(Number==0x30){
if(digitalRead(5)==HIGH) digitalWrite(5, LOW);
else digitalWrite(5, HIGH);
}

// close 커맨드
String closeCommand = "AT+CIPCLOSE=";
closeCommand += connectionId; // connection id를 붙임
closeCommand += "\r\n";
sendData(closeCommand,1000); // close 커넥션
}
}
}

String sendData(String command, const int timeout)
{
String response = "";
esp8266.print(command); // 읽은 문자를 esp8266으로 전송
long int time = millis();
while( (time+timeout) > millis())
{
while(esp8266.available())
{
// esp에 수신 데이터가 있으면 시리얼로 전송
char c = esp8266.read(); // 다음 문자 읽음
response+=c;
}
}
return response;
}
----
개발자 연락처 :
+821037569668

What's New in this version

2022.11.18 Version 1.1 출시. minSDK : 26에서 24로 변경