Monday, 9 March 2015

FTP

Penjelasan singkat tentang FTP

FTP is a transfer protocol designed to aid in the moving of files from one location to another over a network.

FTPs are widely used to access the contents of webservers, and many enthusiast groups will create FTP servers as a way to share files between members.

While you can connect to an FTP server using your browser, you will find a lot more functionality if you use a dedicated FTP client.

Tools:

1. 1 Buah FTP client.
Misal: FileZilla, SmartFTP (https://www.smartftp.com/download)

Data/Informasi yang dibutuhkan untuk melakukan koneksi FTP:

1. Alamat IP server FTP atau nama domain server FTP yang anda tuju.
2. Username dan password yang legal.
3. Alamat Port: port 21.

Sunday, 8 March 2015

Halo, video singkat ini akan membahas  Digitalread serial.

Komponen yang digunakan:
1. 3 buah kabel jumper (Red, black and white) sebagai jumper ke breadboard
2. 1 buah resistor 1 Kohm sebagai resitor pull-down
3. dan, 1 buah switch tactile sebagai
4. Arduino sketch software tempat untuk memasukkan program

Yang pertama kita lakukan adalah:
1. Membuka software sketch arduino
2. Klik file, examples, basic, digital read seria
3. Kemudian upload program ke board arduinonya
4. Kemudian klik serial monitor untuk membaca


Yang perlu kita perhatikan:
1.





Saturday, 7 March 2015

Algorithm to make Raspberry PI

1. Berapa pin gpio yang kamu butuhkan untuk menyalakan rangkaian?
2. Berapa pin gpio dari poin 1 diatas yang kamu jadikan mode input?
3. Berapa pin gpio dari poin 1 diatas yang akan kamu jadikan mode output?



1. Mengimport library atau mengimpor modul
2.


#!/usr/bin/python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.cleanup()
GPIO.setwarnings(False)
GPIO.setup(17,GPIO.out)
GPIO.setup(27,GPIO.out)
print "Lights On"
GPIO.output(17, GPIO.HIGH)
GPIO.output(27, GPIO.HIGH)



Friday, 6 March 2015

algorithm to design a logo

1. Determine the text.
Contoh: kedai kopi yuli.

2. Choose the color of your text

3. Draw your text

3. Determine your main word
For instances:
grocery, bakery, goods delivery, cleaning service, etc.

4. Choose a symbol to present the main word

5. Draw your logo behind your text

4. Determine your word (adjective word):
For instances:
1. Forever; loop; continuous
2. Pure
3. Saint;
4. Happines
5. Courage
6. Strength
7. Fellow
8. Instant / flash
9. All over the world


5. Choose a symbol to perform your adjective word
For instances
1. An omega symbol is for forever or loop or continuous symbol.
2. A crystal for
#!usr/bin/python --> to show where the python interpreter resides.



Rasp PI very basic and usefull commands


1. You want to view a file?


1. You want to back up a file?
backup file is basically copy-ing a file.

Tuesday, 3 March 2015

Raspberry GPIO

Untuk menghubungkan projek Raspberry Pi kamu dengan dunia luar, kamu perlu belajar:
1. Pengenalan Python
2. GPIO
3. Cara mengimport
4. Komponen elektronika yang akan kamu pasang, contoh: LED, 7 segment display, Sensors: Windspeed sensor, heat sensor (built-in), etc.


Pin GPIO:
3
5
7
8
10
11
12
13
15
16
17
18
19
21
22
23
24
26

Pin Ground
6
9
14
20
25

Pin 5 Volt
2
4

Pin 3.3 Volt
1
17

Pin GPIO bisa berfungsi sebagai
1. Input

Tidak bisa sekedar menghubungkan pin 3 ---> switch ---> ground. Karena akan float.


2. Output

Pin 3 --> LED ---> Resistor ---> Ground / pin 6



GPIO layout



Steps:
In python script
1. Import GPIO module
2. Set the board mode to that of your preference
3. Set up the pins you want to use, and
4. Turn them on
Contoh:
import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BCM)  # set board mode to Broadcom

GPIO.setup(17, GPIO.OUT)  # set up pin 17
GPIO.setup(18, GPIO.OUT)  # set up pin 18

GPIO.output(17, 1)  # turn on pin 17
GPIO.output(18, 1)  # turn on pin 18