Thursday, July 6, 2017

Arduino Software Downloads

Main Software:

  1. Arduino IDE  

  2. CH340 for Windows 


 

CH340for Other OS (Windows, MAC, Linux), https://sparks.gogo.co.nz/ch340.html

 

Other Software 其他開發環境:

mBlock

S4A

S4A Firmware

Python

 

 

WeMos D1

Monday, July 3, 2017

Thermometer using TO-92 with Light Indicator



 

//This program sense temperature using TO-92 to A0 analog input, with lighting indicator to digital pin 2,3,4, and output voltage level through serial output at 9600bps

//20C -> OFF, OFF OFF

//22C-> ON, OFF OFF

//24C-> ON, ON OFF

//26C-> ON ON ON

 

const int sensorPin = A0;
const float baselineTemp = 20.0;

void setup(){
Serial.begin(9600);

for(int pinNumber = 2; pinNumber<5; pinNumber++){
pinMode(pinNumber,OUTPUT);
digitalWrite(pinNumber, LOW);
}
}

void loop(){
int sensorVal = analogRead(sensorPin);
Serial.print("Sensor Value: ");
Serial.print(sensorVal);

float voltage = (sensorVal/1024.0) * 5.0;
Serial.print(", Volts: ");
Serial.print(voltage);
Serial.print(", degrees C: ");
float temperature = (voltage -0.5) * 100;
Serial.println(temperature);

if (temperature < baselineTemp){
digitalWrite(2,LOW);
digitalWrite(3,LOW);
digitalWrite(4,LOW);
}else if (temperature >= baselineTemp+2 &&
temperature < baselineTemp+4){
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
}else if (temperature >= baselineTemp+4 &&
temperature < baselineTemp+6){
digitalWrite(2, HIGH);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
}else if (temperature >= baselineTemp+6){
digitalWrite(1, HIGH);
digitalWrite(3, HIGH);
digitalWrite(4, HIGH);
}
delay(1);
}

Resistor Color Code

https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code-4-band

 

Friday, June 23, 2017

Arduino Starter Kit

Official Site:

https://store.arduino.cc/usa/arduino-starter-kit

 

Projects you can make:

  • 01 GET TO KNOW YOUR TOOLS an introduction to the basics

  • 02 SPACESHIP INTERFACE design the control panel for your starship

  • 03 LOVE-O-METER measure how hot-blooded you are

  • 04 COLOR MIXING LAMP produce any color with a lamp that uses light as an input

  • 05 MOOD CUE clue people in to how you're doing

  • 06 LIGHT THEREMIN create a musical instrument you play by waving your hands

  • 07 KEYBOARD INSTRUMENT play music and make some noise with this keyboard

  • 08 DIGITAL HOURGLASS a light-up hourglass that can stop you from working too much

  • 09 MOTORIZED PINWHEEL a colored wheel that will make your head spin

  • 10 ZOETROPE create a mechanical animation you can play forward or reverse

  • 11 CRYSTAL BALL a mystical tour to answer all your tough questions

  • 12 KNOCK LOCK tap out the secret code to open the door

  • 13 TOUCHY-FEEL LAMP a lamp that responds to your touch

  • 14 TWEAK THE ARDUINO LOGO control your personal computer from your Arduino

  • 15 HACKING BUTTONS create a master control for all your devices!


 

 

Video Tutorial

 

 

Specification

1 Projects Book (170 pages),

Arduino / Genuino Uno,

USB cable,

Breadboard 400 points,

70Solid core jumper wires,

Easy-to-assemble wooden base,

9v battery snap,

1 Stranded jumper wires (black),

1 Stranded jumper wires (red),

Phototransistor,

Potentiometer 10kOhms,

10Pushbuttons,

Temperature sensor [TMP36],

Tilt sensor,

alphanumeric LCD (16x2 characters),

1LED (bright white),

LED (RGB),

LEDs (red),

LEDs (green),

LEDs (yellow),

LEDs (blue),

Small DC motor 6/9V,

1 Small servo motor,

Piezo capsule [PKM17EPP-4001-B0],

H-bridge motor driver [L293D],

Optocouplers [4N35],

Mosfet transistors [IRF520],

Capacitors 100uF,

Diodes [1N4007],

Transparent gels (red, green, blue),

Male pins strip (40x1),

20 Resistors 220 Ohms,

5Resistors 560 Ohms,

Resistors 1 kOhms,

Resistors 4.7 kOhms,

20 Resistors 10 kOhms,

5Resistors 1 MOhms,

Resistors 10 MOhms

Monday, April 24, 2017

LazyTomato Lab 軟爛番茄工作室

一群熱 (ㄊㄧㄢ) 血 (ㄓㄣ) 的台灣工程師、設計師與跨領域創作者,
致力於開源社群 (Open Source) 與開放教育 (OER) 的耕耘。
我們是 LazyTomato Lab 軟爛番茄工作室!

免費又優質的好頻道,不追蹤嗎?ヽ(●´∀`●)ノ

✏ 官方網站:http://www.lazytomatolab.com/
✏ 頻道網址:https://www.youtube.com/c/LazyTomatoLab
✏ 範例程式:https://gist.github.com/lazytomatolab

 

【軟爛番茄小檔案】

栽種作物特色:
✏ 精簡扼要、清楚說明、循序漸進

目前栽種項目:
✏ Arduino 教學、自造者 (Maker) 運動

Arduino 教學系列:
✏ LazyTomato Lab 秉持開源與開放精神,將「看起來很難」、「自己摸索不容易」、「沒有資源或機會去聽課」等喪失踏 (誤) 入 Arduino 學習之路的困擾排除,打造一個利於自造者 (Maker) 「熱愛自主學習」的優良環境。課程中也設計了大量的專題練習,幫助各位好學的 Maker 好消化、好吸收!

 

【內容授權】

LazyTomato Lab 之內容以創用 CC 姓名標示-非商業性-相同方式分享 4.0 國際授權條款釋出。
更多資訊請造訪:http://creativecommons.org/licenses/by-nc-sa/4.0/

 

https://www.youtube.com/watch?v=B4T8hzO0IYc

 

https://www.youtube.com/watch?v=TJ8IqbyuTu4

 

https://www.youtube.com/watch?v=6oh5jG1e-gQ

 

https://www.youtube.com/watch?v=hY33--luLYs

 

https://www.youtube.com/watch?v=xIlhSKaM4yo

 

https://www.youtube.com/watch?v=b-Dnn5djs9o

 

https://www.youtube.com/watch?v=cWEJMusT-hI

 

https://www.youtube.com/watch?v=8lfrjiA4nAg

 

 

Monday, April 17, 2017

Arduino Video Tutotial

Video

http://list.youku.com/albumlist/show?id=5058091&ascending=1&page=1

http://hkcn.rs-online.com/web/generalDisplay.html?id=arduino

Monday, April 3, 2017

Arduino 101

https://www.arduino.cc/en/Main/Products

 

 

入門級





 

進階 (較快 / 處理複雜的指令)