Getting Started with Intel IoT and Intel Galileo

by Agus Kurniawan 18. October 2014 19:47
The Intel Galileo board is the first in a family of Arduino-certified development and prototyping boards based on Intel architecture. Intel provides Intel IoT Developer Kit which you can build and deploy application on top of Intel Galileo board. Now I released my new book, Getting Started with Intel IoT and Intel Galileo. This book helps you getting started with Intel IoT and Intel Galileo. Table of Content 1. Preparing Development Environment 1.1 Intel Galileo 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 Getting Started 2. Working with Arduino IDE Software 2.1 Intel Galileo and Arduino IDE Software 2.2 Intel Galileo Board 2.3 Connecting Intel Galileo to Computer 2.3.1 Windows Platform 2.3.2 Linux Platform 2.4 Updating Intel Galileo Firmware 2.4 Hello Intel Galileo and Arduino 2.4.1 Hardware Configuration 2.4.2 Building Application 2.4.3 Testing 2.5 Demo: Seven-Segment Display 2.5.1 Getting Started with 7 Segment Display 2.5.2 Deploying Hardware Wiring 2.5.3 Building Application 2.5.4 Testing 2.6 Working with Serial Communication (UART) 2.7 Reading Analog Input 2.7.1 Hardware Configuration 2.7.2 Writing Application 2.7.4 Testing 2.7 Working with Analog Output 2.7.1 RGB LED 2.7.2 Hardware Configuration 2.7.3 Writing Application 2.7.4 Testing 3. Accessing Internal Linux OS 3.1 Getting Started 3.2 Accessing File 4. Connecting to Internet Network 4.1 Getting Started 4.2 Connecting via Wired Ethernet 4.3 Connecting via Wireless Module 4.4 Building Web Server 4.5 Telnet 5. Yocto Embedded Linux-based OS 5.1 Getting Started 5.2 Preparation 5.3 Running 5.4 SSH 5.5 Change Password 5.6 Change Date/Timezone 5.7 Web Server 5.7.1 Adding HTML File 5.8 SFTP 5.9 Development on Yocto Linux 5.9.1 Python 5.9.2 Node.js 5.9.3 C/C++ with GCC 5.10 Reboot and Shutdown 5.11 Updating Software 6. Intel Galileo I/O Programming from Yocto Linux 6.1 Getting Started 6.2 GPIO 6.3 Reading Analog Input 6.4 UART 6.5 SPI 6.6 I2C/TWI 7. Intel Galileo Development using C/C++ 7.1 Getting Started 7.2 GPIO 7.3 Reading Analog Input 7.4 SPI 7.5 I2C/TWI 8. Intel Galileo Development using Node.js 8.1 Getting Started 8.2 GPIO 8.3 Reading Analog Input 8.4 SPI 8.5 I2C/TWI 9. Working with XBee IEEE 802.15.4 9.1 XBee IEEE 802.15.4 9.2 Getting Hardware 9.3 Connecting XBee IEEE 802.15.4 to Intel Galileo 9.4 XBee with AT Command 9.5 Demo Chatting Program 9.5.1 Hardware Configuration 9.5.2 XBee Configuration 9.5.3 Writing Python Program for Intel Galileo 9.5.4 Testing 9.6 XBee with API Mode 9.7 Further Reading   How to Buy You can get this book on the following book stores. Lulu,  Amazon Kindle,  Google Play Books,  Kobo Store,   iBookStore,


Books | C/C++ | Embedded System | Node.js | Python

Raspberry Pi I/O Programming using Python

by Agus Kurniawan 28. September 2014 13:43
I just released a new book “Raspberry Pi I/O Programming using Python”. This book describes how to work Raspberry Pi I/O and how to access it using Python. Table of Content 1. Preparing Development Environment 1.1 Raspberry Pi 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 Hello World 2. Raspberry Pi GPIO 2.1 GPIO 2.2 Python Library for GPIO 2.3 Writing Data to GPIO 2.3.1 Hardware Configuration 2.3.2 Building Application 2.3.3 Testing 2.4 Reading Data on GPIO 2.4.1 Hardware Configuration 2.4.2 Building Application 2.4.3 Testing 2.5 Demo: Seven-Segment Display 2.5.1 Getting Started with 7 Segment Display 2.5.2 Deploying Hardware Wiring 2.5.3 Building Application 2.5.4 Testing 3. Serial Communication - UART 3.1 Raspberry Pi UART 3.2 Demo: Communicating Raspberry Pi UART and Arduino UART 3.2.1 Hardware Configuration 3.2.2 Writing Program for Arduino 3.2.3 Writing Python Application 3.2.4 Testing 4. Raspberry Pi I2C/TWI 4.1 Getting Started 4.2 Configuring I2C for Raspberry Pi 4.3 Demo 1: Hello I2C-Connecting Raspberry Pi and Arduino 4.3.1 Writing Arduino Program 4.3.2 Hardware Configuration 4.3.3 Testing I2C Bus 4.3.4 Writing Python Program 4.3.5 Testing 4.4 Demo 2: Connecting to External Real-Time Clock (RTC) Through I2C 4.4.1 Hardware Configuration 4.4.2 Writing Python Program 4.4.3 Testing 5. Raspberry Pi SPI 5.1 Getting Started 5.2 Configuring SPI on Raspberry Pi 5.2 Demo 1: Hello SPI 5.2.1 Hardware Configuration 5.2.2 Building Python Application 5.2.3 Testing 5.3 What's Next? 6. Working with DAC and ADC 6.1 Getting Started 6.2 Digital-to-Analog Converter 6.2.1 Hardware Configuration 6.2.2 Building Python Application 6.2.3 Testing 6.3 Analog-to-Digital Converter 6.3.1 Hardware Configuration 6.3.2 Writing Python Application 6.3.3 Testing   How to Buy You can get this book on the following book stores. Lulu,  Amazon Kindle,  Kobo,   Google Play Books, iBookStore,


Books | Python | Raspberry Pi

XBee IEEE 802.15.4 Programming

by Agus Kurniawan 22. June 2014 14:28
Are you working with Wireless Sensor Network? I have just finished writing a book, XBee IEEE 802.15.4 Programming. This book helps you how to get started with IEEE 802.15.4 programming through XBee device. All sample codes were written in Python to illustrate how to work with IEEE 802.15.4. Table of Content 1. Preparing Development Environment 1.1 XBee IEEE 802.15.4 1.2 Getting Hardware 2. Hello XBee IEEE 802.15.4 2.1 Understanding IEEE 802.15.4 2.2 Connecting XBee to Computer 2.3 XBee Driver 2.3.1 Windows Platform 2.3.2 Linux and Mac 2.3.3 Connection Testing 2.4 X-CTU Software 2.5 Test Query 2.6 Test Terminal 2.7 Modem Parameter and Firmware 2.8 Updating Modem Configuration 3. XBee AT Command 3.1 Getting Started 3.2 A List of XBee AT Command 3.3 Demo Building Chatting Application 3.3.1 Hardware Configuration 3.3.2 Configuring Network 3.3.3 Testing 3.3.4 Troubleshooting 3.4 Updating XBee Parameters Using X-CTU 3.5 Restore to Default Configuration 4. XBee Programming 4.1 Getting Started 4.2 Enabling API Mode on XBee 4.3 XBee Programming using X-CTU 4.3.1 Understanding XBee Frame 4.3.2 Communicating with X-CTU 4.3.3 Remote Command 4.4 Python 4.4.1 Working with AT Command 4.4.2 Demo: Building Sender and Reader XBee 5. XBee Digital I/O and ADC 5.1 XBee Pins 5.2 Connecting XBee to Breadboard 5.3 XBee Digital Output 5.4 I/O Line Passing 5.5 Forcing Sampling (IS Command) 5.6 XBee Analog I/O 6. Working with Sleep Mode 6.1 Getting Started 6.2 Hibernate 6.3 Doze 6.4 Cyclic Sleep 6.4.1 Cyclic Sleep - SM 4 6.4.2 Cyclic Sleep - SM 5 7. XBee IEEE 802.15.4 Networking 7.1 Getting Started 7.2 Peer-to-Peer Networks 7.2.1 One-Way Communication 7.2.2 Two-Way Communication 7.3 Point-to-Multipoint Network 7.4 Broadcast Network 7.5 Received Signal Strength (RSS) 8. XBee and Arduino 8.1 Getting Started 8.2 Demo: XBee, Arduino and PC 8.2.1 XBee Configuration 8.2.2 Arduino Program 8.2.3 Python Client Program 8.2.4 Testing 8.3 xbee-arduino Library 8.3.1 Configuring XBee 8.3.2 Arduino Program 8.3.3 Python Program 8.3.4 Testing 9. XBee and Raspberry Pi 9.1 Getting Started 9.2 XBee Programming for Raspberry Pi 9.3 Demo: Raspberry Pi and PC Communication Through XBee 9.3.1 XBee Configuration 9.3.2 Writing Program for Raspberry Pi and PC 9.3.3 Testing 10. XBee and TI MSP430 LaunchPad 10.1 Getting Started 10.2 Demo: XBee, TI MSP430 LaunchPad, and PC 10.2.1 XBee Configuration 10.2.2 Writing Program for TI MSP430 LaunchPad 10.2.3 Writing Program for PC 10.2.4 Testing 10.3 What's the Next?   How to Get You can obtain this book on the following online store: Lulu, Amazon Kinddle,  Google Play Book,  Kobo Books,  iBookStore, 


Books | Python | Wireless Networks

Getting Started with Arduino and Python

by Agus Kurniawan 17. February 2014 04:13
Finding the power of Python on Arduino development. I wrote this book to help readers to learn how to develop Arduino application using Python. Exploring several Python libraries to access Arduino. Table of Content 1. Preparing Development Environment 1.1 Arduino 1.1.1 Arduino Uno 1.1.2 Arduino Leonardo 1.1.3 Arduino Mega 2560 1.1.4 Arduino Due 1.2 Electronic Components 1.2.1 Arduino Starter Kit 1.2.2 Fritzing 1.2.3 Cooking-Hacks: Arduino Starter Kit 1.2.4 Arduino Sidekick Basic kit 1.3 Python 1.4 Arduino Software 1.5 Testing 2. Hello World 2.1 Arduino World 2.1.1 Arduino Hardware Driver on Windows 8/8.1 2.1.2 Simple Testing 2.2 Arduino and Python 2.3 Testing Serial Port using Python 2.4 Testing for Arduino and Python 3. Exploring Python Libraries for Arduino 3.1 Python Arduino Prototyping API v2 3.2 Python Firmata 3.3 pyFirmata 4. Analog Sensor 4.1 Sensor Devices 4.2 Reading Sensor 4.3 Running Program 5. RGB LED 5.1 RGB LED 5.1.1 Arduino Analog output (PWM) 5.1.2 Controlling RGB LED Color 5.2 Arduino Implementation 5.3 Python Implementation How to Buy Lulu,  Amazon Kindle,  Google Play Book,   iBookStore,  Kobo,  Nook, 


Books | Embedded System | Python

//CP Code - Code Repository for Programming Problem

by Agus Kurniawan 4. February 2012 16:37
Bagi rekan-rekan yang berkecimpung dalam bidang pengembangan aplikasi, masalah yang terjadi dalam membuat aplikasi merupakan hal yang umum dihadapi. Permasalahan satu dengan lainnya kadang memiliki kesamaan kasus. Oleh karena itu, kemunculan portal CP Code,, akan memberikan warna lain bagaimana memberikan solusi terhadap beberapa kasus yang dapat diselesaikan dengan kode program. Untuk mengakses kasus dan solusinya pada CP Code diperlukan voucher dan ini memang tidak gratis tapi anda dapat mengakses gratis secara gratis selama 3 hari ketika mendaftar anggota baru. Secara harga memang tidak begitu mahal tetapi anda dapat menikmati konten yang banyak dengan berbagai kasus dan bahasa pemrograman. Sekarang harga promonya sangat murah dan dapat dibaca disini. Setiap minggu dan bulan akan selalu banyak konten disediakan oleh CP Code. Kita dapat juga berpartisipasi dengan mengirim kasus melalui CP Code disini. Semoga ini berguna untuk semuanya.


.NET | C/C++ | Python | Lifestyle

Python Programming Using Eclipse In Windows 7 Environment

by Agus Kurniawan 15. January 2012 17:06
Python adalah salah satu bahasa keluarga dynamic programming language yang banyak dipakai untuk beberapa keperluan. Di dunia penelitian, bahasa pemrograman cukup banyak dipakai. Pada tutorial ini saya akan sharing pengalaman bagaimana menggunakan Python pada Windows 7 dan IDE tool yang digunakan adalah  Eclipse. OS Windows 7 yang saya gunakan adalah Windows 7 x64. Instalasi Python Runtime Untuk menjalankan kode program Pyhton dan melakukan kompilasi, kita harus memerlukan runtime pada OS Windows. Python runtime ini dapat diunduh pada alamat Pilih runtime yang sesuai dengan kebutuhan x86 atau x64. Disini saya mengunduh runtime Pyhton 3.2.2 untuk Windows x86-x64. Setelah mengunduh, install runtime ini sehingga kita akan memperoleh tampilan dialog seperti dibawah ini Pilih user yang akan digunakan untuk instalasi, kalau saya pilih semua user. Klik tombol Next untuk memulai instalasi dan memilih folder dimana instalasinya. Jika selesai, kita akan memperoleh tampilan dialog seperti dibawah ini Klik tombol Finish untuk mengakhiri proses instalasi. Akhirnya kita sudah menginstall Python runtime kedalam OS Windows. Instalasi Eclipse Apabila anda sudah menginstall Eclipse maka abaikan lagkah proses instalasi ini. Untuk yang beli menginstall, anda harus mengunduh dan menginstall Eclipse ini pada alamat Minimal yang dipilih Eclipse Classic. Anda dapat menggunakan Eclipse yang lain. Selanjutnya Install atau Extract file hasil unduh. Kemudian jalankan aplikasi Eclipse sehingga kita akan memperoleh IDE seperti dibawah ini Instalasi Python Untuk Eclipse Pada Eclipse, klik menu Help dan pilih menu Install New Software sehingga kita akan memperoleh kotak dialog seperti dibawah ini Klik tombol Add sehingga kita akan mendapatkan kotak dialog seperti dibawah ini Isi alamat (Location) dengan  dan Name sesuai kehendak misalkan Python. Selanjutnya nanti akan muncul seperti dibawah ini Centang semuanya atau minimal PyDev untuk memprogram Pyhton. Klik tombol Next untuk instalasi dan ikuti petunjuknya. Pastikan komputer anda terhubung dengan internet. Konfigurasi Python Plugin Pada Eclipse Setelah melakukan instalasi, kita harus melakukan konfigurasi sehingga kita dapat menggunakan Python dalam Eclipse. Pada Eclipse, klik menu Window dan pilih menu Preferences sehingga kita akan memperoleh kotak dialog seperti dibawah ini Pada bagian kiri, klik kategori PyDev  dan pilih Interpreter – Python . Klik tombol New sehingga kita akan mendapatkan kotak dialog seperti dibawah ini Isi bagian Interpreter Executable dengan file python.exe pada direktori dimana Python runtime ini diinstall pada awal diatas. Jika selesai klik tombol OK. Selanjutnya Eclipse akan mendeteksinya sehingga kita nanti akan mendapatkan tampilan seperti dibawah ini Centang bagian terpenting terutama yang berhubungan dengan folder Python runtime. Jika selesai, klik tombol OK. Akhirnya kita akan memperoleh tampilan akhir konfigurasi seperti dibawah ini. Klik tombol OK jika selesai semua. Kemudian Eclipse akan melakukan konfigurasi seluruhnya. Pada beberapa kasus, Eclipse akan diminta disuruh restart artinya Eclipse ditutup dan kemudian dipanggil lagi. Akhirnya Eclipse sudah disiap untuk digunakan untuk memprogram Python. Memulai Pemrograman Python Dengan Eclipse Melalui Eclipse, kita buat project baru dan pilih Pilih PyDev Project dan selanjutnya klik tombol Next. Kemudian kita akan mendapat kotak dialog seperti dibawah ini Isi nama project, tipe, Grammar dan Interpreter . Pilih Create ‘scr’…, contohnya seperti diatas Jika sudah, klik tombol Finish dan kita akan mendapatkan tampilan Eclipse seperti dibawah ini Langkah selanjutnya adalah kita menambahkan module Python untuk menulis kode program. Klik kanan pada folder src diatas dan pilih New –>PyDev Module seperti yang terlihat pada gambar dibawah ini Kemudian kita akan mendapatkan kotak dialog seperti dibawah Isi Name dengan nama modul. Jika selesai, klik tombol Finish. Akhirnya kita dapat memulai memprogramnnya. Tulis kode program seperti dibawah ini print('Hallo Indonesia') Simpan file ini. Kompilasi Dan Eksekusi Untuk menjalankan kode pilih menu Run –> Run As dan pilih Python Run seperti dibawah ini Jika sukses kita akan memperoleh hasil pada bagian bawah seperti dibawah ini Bagaimana selanjutnya? Sekarang baru mulailah dengan memprogram bahasa Python. Semoga tutorial ini berguna. Jika suka, mohon disebarkan ke lain-lainnya.


Eclipse | Windows | Python

About Agus Kurniawan

Agus Kurniawan

For more detail about me click here [V]

Please entry your name into my guestbook [V]

If you want to contact me, please go here [V]

Go here for my professional services [V]

My Books

Teensy Development Workshop Teensy 3.5 and Teensy 3.6 Boards Edition OpenMV Development Workshop

ESPresso Lite V2.0 Development Workshop  MicroPython for ESP32 Development Workshop

Arduino FIO Development Workshop  Getting Started with Android Things for Raspberry Pi 3

Pycom WiPy 2.0 Development Workshop  XBee ZigBee Development Workshop

SparkFun ESP32 Thing Development Workshop Getting Started With BBC micro:bit

Getting Started With Raspberry Pi Zero W Espruino Pico Development Workshop

Getting Started with ASP.NET Core for OS X, Linux, and Windows  Arduino TIAN Development Workshop

SimpleLink Wi-Fi CC3200 LaunchPad Development Workshop  MicroPython for ESP8266 Development Workshop

Smart Internet of Things Projects  Arduino UNO WiFi Development Workshop

XBee Wi-Fi development workshop SparkFun Simblee BLE Development Workshop

Mengenal Microsoft Azure ML Getting Started with Windows 10 IoT Core for Raspberry Pi 3

Arduino and Genuino Zero Development Workshop Go and SQL Server Programming By Example

Arduino and Genuino MKR1000 Development Workshop  Mengenal Microsoft Azure IoT

Getting Started with Raspberry Pi 3 PHP and PostgreSQL Programming By Example

Arduino and Genuino 101 Development Workshop Getting Started with Raspberry Pi Zero

Getting Started with Arduino Wiring for Windows 10 IoT Core Getting Started with Wolfram Language and Mathematica for Raspberry Pi

Arduino Uno: A Hands-On Guide for Beginner Arduino Leonardo and Arduino Micro: A Hands-On Guide for Beginner

RedBearLab CC3200 Development Workshop The Photon Kit Development Workshop

Python Programming by Example Raspberry Pi LED Blueprints

Bluno Beetle Development Workshop BeagleBone Black Programming using Matlab

Arduino Programming using MATLAB Digispark USB Development Workshop

Near Field Communication (NFC) for Embedded Applications Arduino Development for OSX and iOS

SparkFun ESP8266 Thing Development Workshop Teensy Development Workshop

Getting Started with Windows 10 for Raspberry 2 NodeMCU Development Workshop

Getting Started with ASP.NET 5 for OS X, Linux, and Windows Getting Started with Windows Remote Arduino

Redis Programming by Example The Hands-on ARM mbed Development Lab Manual

Getting Started With STM32 Nucleo Development Getting Started with Windows IoT and Intel Galileo

Learning C by Example Getting Started with Raspberry Pi 2

Getting Started with Arduino and Go The Hands-on Arduino Yún Manual Lab

The Hands-on MEAN Lab Manual, Volume 1 Go Programming by Example

Getting Started with Scratch for pcDuino Raspberry Pi Wireless Networks

BeagleBone Black Programming by Example Database Programming Using R

Learning R in 120 Minutes The Hands-on Intel Edison Manual Lab

Getting Started with pcDuino3 TI ARM Cortex-M LaunchPad Programming by Example

Raspberry Pi I/O Programming using Python Getting Started with Intel IoT and Intel Galileo

Pemrograman Java Tingkat Lanjut PHP and MongoDB Programming By Example

ASP.NET SignalR Programming By Example KnockoutJS Programming by Example

Getting Started with Java ME Embedded 8 and Raspberry Pi XBee IEEE 802.15.4 Programming

Raspberry Pi System Programming for Beginner Backbone.js Programming By Example

PHP and SQL Server Programming By Example AngularJS Programming by Example

jQuery Programming by Example Getting Started with Arduino and Ruby

Raspberry Pi Command Line for Beginner Getting Started with Arduino and Python

MSP430 LaunchPad Programming TypeScript Programming by Example

Getting Started with Matlab Simulink and Arduino SQL Server for Node.js

Pocket Reference: Netduino for Beginner Database Programming using Matlab

Pocket Reference: Basic Sensors in Windows 8 Getting Started with Matlab Simulink and Raspberry Pi

Getting Started with Arduino and Java  Pocket Reference: Raspberry Pi Programming

Getting Started with Arduino and Matlab Getting Started with Arduino and .NET

Pocket Reference: Raspberry Pi Getting Started with Arduino and Node.js

MongoDB for VB.NET Panduan Praktis Windows Azure

Network Forensics: Panduan Analisis Dan Investigasi Paket Data Jaringan Menggunakan Wireshark Object-Relational Mapping (ORM): MongoDB, Mongoosejs and Node.js By Example

Nodejs Programming by Example MongoDB for by Example

Pemrograman Parallel Dengan MPI dan C Panduan Lengkap iPad 2 Untuk Pemula

Pemrograman Jaringan Dengan Java Aplikasi Pilihan iPad Untuk Anak-Anak

Buku lainnya [V]

Agus Kurniawan is Microsoft MVP (Most Valuable Professional)

Agus Kurniawan- Github Profile

Agus Kurniawan- Codeplex Profile

Follow Me

Follow agusk2010 on Twitter

Month List