Tag Archives: arduino

Install Arduino IDE 1.6.6 di Linux Mint 17.2

Baca post sebelum ini terlebih dahulu, klik disini.

  1. Setelah itu, silahkan unduh installer Arduino IDE 1.6.6 32bit atau 64bit, sesuaikan dengan komputer kita.
  2. Ekstrak file hasil unduhan yaitu arduino-1.6.6-linux32.tar.xz atau arduino-1.6.6-linux64.tar.xz
  3. Masuk ke direktori hasil ekstrak, yaitu arduino-1.6.6
  4. Klik kanan > Open in terminal
  5. Jalankan perintah berikut:
    sudo chmod 777 * -R
    ./install.sh
  6. Cek di desktop, sudah ada shortcut untuk Arduino IDE. Double click. Kalau ada warning silahkan pilih Always trust..
  7. Selesai

Terima kasih, semoga bermanfaat

 

Arduino Software Update Introduces Command-Line Tool, Serial Data Plotter

Yesterday’s update to the Arduino IDE software offers Arduino fans a new tool to play with. Version 1.6.6 of the software can be downloaded for free (though donations are encouraged) directly from Arduino.cc. Though, with hourly builds underway, you may want to wait a day or so for any kinks to be ironed out.

Arduino IDE 1.6.6 Serial Plotter

Continue reading Arduino Software Update Introduces Command-Line Tool, Serial Data Plotter

Move 4 Stepper Motors Synchronously

.

Part of the machine inside FreeCAD

This is the algorithm that plans the trajectory and syncs the movements of the stepper motors, in the new CNC machine that I’m designing (and building!)

The input is an int array { MA, MB, MC, MD } where each int means the number of steps (positive or negative).

The stepper movement logic is stored into a boolean[8] array { SA, DA, SB, DB…. } where SA means step for motor A and DA is the direction bit of the motor A (for a 2 wire stepper driver, like the a4988). This array is erased and re-computed every loop cycle with the next movement, so real motor stepping has to take place inside this loop.

The image below (created with FreeCAD) shows a representation of the algorithm output for a requested movement of ( 5, 15, 25, 40 ) steps. Continue reading Move 4 Stepper Motors Synchronously

Arduino and 7 segment LED display decoder

In this instructable i will explain how to connect 7 segment display, decoder and arduino. It´s pretty easy. At first we have to learn something about decoder. I´m using BCD to 7 segment decoder. My is D147D, this is old chip, but the newer are similar. Documentation about one of them you can find here . Description of D147D you can see on picture two. There are four pins for sending BCD code to the decoder (ABCD). Table of BCD code you can see on third picture. But there is small problem. I thing, that pins are inside of chip connected to VCC source. If you want set logic zero on input, you must connect this input to the ground. Continue reading Arduino and 7 segment LED display decoder

How to use MQ2 Gas Sensor – Arduino Tutorial

The MQ series of gas sensors use a small heater inside with an electro-chemical sensor. They are sensitive for a range of gasses and are used indoors at room temperature. The output is an analog signal and can be read with an analog input of the Arduino.

The MQ-2 Gas Sensor module is useful for gas leakage detecting in home and industry. It can detect LPG, i-butane, propane, methane ,alcohol, hydrogen and smoke.

Some modules have a built-in variable resistor to adjust the sensitivity of the sensor. Continue reading How to use MQ2 Gas Sensor – Arduino Tutorial

[Arduino] Memprogram Arduino Due di Ubuntu 14.04

Bismillah,

Beberapa waktu yang lalu, saya mencoba memprogram arduino due (bukan milik saya, hehe) melalui ubuntu milik saya. Sama halnya dengan saya akan memrogram arduino uno, saya buka Arduino IDE dan mencari board menu tool. Namun ternyata arduino due tidak masuk dalam list.

Setelah tanya salah seorang teman, katanya harus menggunakan Arduino IDE terbaru untuk memprogram arduino due. Sayangnya arduino ide yang ada di repo ubuntu belum update ke latest version.

Pada kesempatan kali ini saya dokumentasikan bagaimana cara memprogram arduino due pada ubuntu.

Langkah-langkah…

  1. Unduh arduino ide versi terbaru di https://arduino.cc/en/main/software , pilih yang linux version 32bit/64bit sesuaikan dengan ubuntu yang anda gunakan.

    https://arduino.cc/en/main/software
    https://arduino.cc/en/main/software
  2. Ekstrak hasil unduhan
  3. Buka terminal dan masuk ke folder hasil ekstrak kemudian jalankan perintah ./arduino

    Menjalankan Arduino IDE dari terminal
    Menjalankan Arduino IDE dari terminal
  4. Setelah itu akan tampil antarmuka Arduino IDE
  5. Klik Tools > board > Arduino due (programming port)

    Memilih jenis board arduino pada arduino ide
    Memilih jenis board arduino pada arduino ide

Semoga bermanfaat, terima kasih.

signature
signature