E-mail : kftronik@gmail.com , Call/SMS/WhatsApp : 08563000767, BBM : 73DBA034 , YM/Line/FB koko joni

Friday, November 23, 2018

Servo Hk15298B High Voltage Coreless Digital MG BB





HK15298B High Voltage Coreless Digital MG/BB Servo

Spec.
Torque: 18kg @ 6v, 20kg @ 7.4v
Weight: 66g
Speed: 0.18 / 60deg @ 6v, 0.16 / 60deg @ 7.4v
Voltage: 4.8v~7.4v
Motor type: Coreless
Plug: JR Style

Features:
Alloy Heatsink
Dual Ball-Raced
Harga Rp. 650.000,-

Monday, October 22, 2018

pelatihan iot

source code utnuk cek chip ID

void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.println("");
  Serial.println("");
  Serial.println("Check ID in:");
  Serial.println("https://www.wemos.cc/verify_products");
  Serial.printf("Chip ID = %08X\n", ESP.getChipId());
  Serial.println("");
  Serial.println("");
  delay(5000);
}



ini adalah sourcode untuk pelatihan iot
code untuk server :
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>

const char* ssid = "free@WIFIUGMCLUB";
const char* password = "hotelugm10";

ESP8266WebServer server(80);

const int led = 13;

void handleRoot() {
  digitalWrite(led, 1);
  server.send(200, "text/plain", "Hello from esp8266!");
  digitalWrite(led, 0);
}

void handleNotFound(){
  digitalWrite(led, 1);
  String message = "File Not Found\n\n";
  message += "URI: ";
  message += server.uri();
  message += "\nMethod: ";
  message += (server.method() == HTTP_GET)?"GET":"POST";
  message += "\nArguments: ";
  message += server.args();
  message += "\n";
  for (uint8_t i=0; i<server.args(); i++){
    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";
  }
  server.send(404, "text/plain", message);
  digitalWrite(led, 0);
}

void setup(void){
  pinMode(led, OUTPUT);
  digitalWrite(led, 0);
  Serial.begin(115200);
  WiFi.begin(ssid, password);
  Serial.println("");

  // Wait for connection
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.print("Connected to ");
  Serial.println(ssid);
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());

  if (MDNS.begin("esp8266")) {
    Serial.println("MDNS responder started");
  }

  server.on("/", handleRoot);

  server.on("/inline", [](){
    server.send(200, "text/plain", "this works as well");
  });

  server.onNotFound(handleNotFound);

  server.begin();
  Serial.println("HTTP server started");
}

void loop(void){
  server.handleClient();
}

berikut adalah code untuk konek ke thinkspeak.com
#include <ESP8266WiFi.h>

String apiWritekey = "30CVYJA6791ULL7K";
const char* ssid = "kj";
const char* password = "12345678" ;

const char* server = "api.thingspeak.com";
float resolution=3.3/1023;
WiFiClient client;

void setup() {
  Serial.begin(115200);
  WiFi.disconnect();
  delay(10);
  WiFi.begin(ssid, password);

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.print("NodeMcu connected to wifi...");
  Serial.println(ssid);
  Serial.println();
}

void loop() {
  float temp = ((analogRead(A0) * resolution) * 100)+23.89;

  if (client.connect(server,80)) {
    String tsData = apiWritekey;
    tsData +="&field1=";
    tsData += String(temp);
    tsData += "\r\n\r\n";

    client.print("POST /update HTTP/1.1\n");
    client.print("Host: api.thingspeak.com\n");
    client.print("Connection: close\n");
    client.print("X-THINGSPEAKAPIKEY: "+apiWritekey+"\n");
    client.print("Content-Type: application/x-www-form-urlencoded\n");
    client.print("Content-Length: ");
    client.print(tsData.length());
    client.print("\n\n");
    client.print(tsData);

    Serial.print("Temperature: ");
    Serial.print(temp);
    Serial.println("uploaded to Thingspeak server....");
  }
  client.stop();

  Serial.println("Waiting to upload next reading...");
  Serial.println();
  delay(15000);
}
KOntrol 1 lampu
/*************************************
 * Program : Project 1 Kontrol LED
 * Input : -
 * Output : LED1
 * Iot Starter Kit Inkubatek
 * www.kf-tronik.blogspot.com
 * ***********************************/

#include <ESP8266WiFi.h>
const char* ssid = "kj";
const char* password = "12345678";

int ledPin = D5;
WiFiServer server(80);

void setup() {
  Serial.begin(115200);
  delay(10);
  pinMode(ledPin, OUTPUT);
  digitalWrite(ledPin, LOW); 
  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);
  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi connected"); 
  server.begin();
  Serial.println("Server started");
  Serial.print("Use this URL to connect: ");
  Serial.print("http://");
  Serial.print(WiFi.localIP());
  Serial.println("/");
}

void loop() { 
  WiFiClient client = server.available();
  if (!client) {
    return;
  }

  Serial.println("new client");
  while(!client.available()){
    delay(1);
  }

  String request = client.readStringUntil('\r');
  Serial.println(request);
  client.flush();

  int value = LOW;
  if (request.indexOf("/LED=ON") != -1)  {
    digitalWrite(ledPin, HIGH);
    value = HIGH;
  }
  if (request.indexOf("/LED=OFF") != -1)  {
    digitalWrite(ledPin, LOW);
    value = LOW;
  }

  client.println("HTTP/1.1 200 OK");
  client.println("Content-Type: text/html");
  client.println(""); //  do not forget this one
  client.println("<!DOCTYPE HTML>");
  client.println("<html>");

  client.print("Led pin is now: ");

  if(value == HIGH) {
    client.print("On");
  } else {
    client.print("Off");
  }
  client.println("<br><br>");
  client.println("<a href=\"/LED=ON\"\"><button>Turn On </button></a>");
  client.println("<a href=\"/LED=OFF\"\"><button>Turn Off </button></a><br />"); 
  client.println("</html>");
  delay(1);
  Serial.println("Client disonnected");
  Serial.println("");
}
 

Tuesday, January 10, 2017

YW 3S 11.1V 5200mAh 35C Lipo Battery T Plug XT60



Name: YW 3S 11.1V 5200mAh 35C Battery 
Capacity: 5200mAh 
Size: 136*42*31mm
Plug Style: T plug / XT60 plug
Weight: 406g
Colors:Standard Colors
One cell rated voltage: 3.7V
One cell full voltage: 4.2V
Three cell rated voltage: 11.1V
Three cell full voltage: 12.6V
Discharge rate: 35C
Charge rate: 10C
Note: due to the difference between the measurement, the battery dimension and weight may have little error.


Harga Rp. 650.000,-

Lipo Battery Eachine 11.1V 2200mAh 3S 35C XT60

Brand: Eachine 
Item name: 11.1V 2200mAh 3S 35C XT60 Lipo Battery
Capacity: 2200mAh     
Continuous discharge rate: 35C
Plug: XT60
Size: 107mm x 31mm x 25mm
Weight: 199g
Usage: for RC Multirotors
 
Capacity(mah) 2200
Cell(s) 3
Discharge Rate(C) 35
Weight(g)        199        
A(mm) 107
B(mm) 31
C(mm) 25

 







Harga Rp. 375.000,-





EMAX CF2812 1534KV Brushless Outrunner Motor




Brand:Emax
Item:CF2812 Motor
Cell count:3S
RPM/V:1534
Propeller:7x4Inch,7x6Inch
RPM:12250,11000
Max Current:15.5A
Max Thrust:730g/1.61lb
Number of cells:2~3X Li-Poly
Stator dimension:22x10mm
Shaft:3mm
Weight:39g/1.38oz
Recomended model weight:200~600(RC Model, Not Included)


Harga Rp. 200.000,-


Diatone DIY FPV 250 V1 G10 Mini Quadcopter Frame Kit 250mm

Brand: Diatone
Item No: 250 V1
Item name: FPV 250 V1 Mini Quadcopter Frame Kit
Width: 250mm
Height: 80mm
Weight: 110g(without electronics)
Motor Mount Bolt Holes: 12/16/19mm
 

Built from high quality and ultra durable polyamide nylon.
One-piece nylon construction for durability.
Mounting support for a 2 servo pan and tilt camera and video transmitter.
Large 55×55mm cage bay to protect flight controller.
Wide range of motor and power potions.

Harga Rp. 200.000,-


Saturday, November 5, 2016

APM2.6 ArduPilot Mega 2.6 APM Flight Control Board



Features:
 
- Arduino Compatible!
- Can be ordered with top entry pins for attaching connectors vertically, or as side entry pins to slide your connectors in to either end horizontally
- Includes 3-axis gyro, accelerometer and magnetometer, along with a high-performance barometer
- Onboard 4 MegaByte Dataflash chip for automatic datalogging
- Optional off-board GPS, uBlox LEA-6H module with Compass.
- One of the first open source autopilot systems to use Invensense's 6 DoF Accelerometer/Gyro MPU-6000.
- Barometric pressure sensor upgraded to MS5611-01BA03, from Measurement Specialties.
- Atmel's ATMEGA2560 and ATMEGA32U-2 chips for processing and usb functions respectively.
 

Harga Rp. 475.000,-