-
download the installer available here:
-
Run the installer, the default options are fine
- (you might want to create shortcuts on the desktop for Xming and XLaunch)
-
Launch Xming
- on your first launch, it will ask you which types of networks you want to allow... if you work in a lot of coffee shops, you should also include Public Networks (excluded by default)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sharing your Git repository using Git daemon (for pull & push) | |
1. In a git repository run the following command to share it in read-only mode (pull only): | |
git daemon --export-all --base-path=. | |
(from the folder with the project to be shared) | |
and then clone directly, like: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// analog-plot | |
// | |
// Read analog values from A0 and A1 and print them to serial port. | |
// | |
// electronut.in | |
#include "Arduino.h" | |
void setup() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
ldr.py | |
Display analog data from Arduino using Python (matplotlib) | |
Author: Mahesh Venkitachalam | |
Website: electronut.in | |
""" | |
import sys, serial, argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf8 -*- | |
from kivy.app import App | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.graphics import Line | |
from kivy.uix.label import Label | |
from kivy.core.window import Window | |
from kivy.clock import Clock | |
import serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
AnalogReadSerial | |
Reads an analog input on pin 0, prints the result to the serial monitor. | |
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. | |
This example code is in the public domain. | |
Upload this to the Arduino using the Arduino IDE! | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ambidextrous SCARA Kinematics with optimized mathematics | |
*/ | |
// Lengths of the arm segments | |
// If the lengths are the same the maths can be optimized | |
arm1_length = 5; | |
arm2_length = 3; | |
arm_sum = arm1_length + arm2_length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ADS1256 simple library for Arduino | |
ADS1256, datasheet: http://www.ti.com/lit/ds/sbas288j/sbas288j.pdf | |
connections to Atmega328 (UNO) | |
CLK - pin 13 | |
DIN - pin 11 (MOSI) | |
DOUT - pin 12 (MISO) | |
CS - pin 10 | |
DRDY - pin 9 | |
RESET- pin 8 (or tie HIGH?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
translate([0,0,0]) sector(30, 20, 10, 90); | |
translate([22,0,0]) sector(30, 20, 300, 30); | |
translate([0,22,0]) sector(30, 20, 30, 300); | |
translate([22,22,0]) sector(30, 20, 10, 190); | |
module sector(h, d, a1, a2) { | |
if (a2 - a1 > 180) { | |
difference() { | |
cylinder(h=h, d=d); | |
translate([0,0,-0.5]) sector(h+1, d+1, a2-360, a1); |
Internet of Things yang bisa disebut dengan IoT menjadi bagian yang penting dalam kemajuan teknologi. Contohnya adalah dengan mengirimkan data penggunaan air dari sensor ke cloud sehingga bisa dengan mudah melihat hasilnya. Untuk mengirimkan data penggunaan air dari sensor ke cloud maka dibutuhkan internet. Sehingga jika berbicara tentang IoT maka kira berbicara tidak terlepas dari 2 hal, yaitu: sensor dan internet.
- NodeMCU Lua WiFi (Rp85.000)
- Water Flow Sensor (Rp70.000)
- Lampu LED (Rp350)
OlderNewer