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, http://www.lulu.com/shop/agus-kurniawan/raspberry-pi-io-programming-using-python/ebook/product-21826227.html  Amazon Kindle, http://www.amazon.com/dp/B00NZR3106  Kobo, http://store.kobobooks.com/en-US/ebook/raspberry-pi-i-o-programming-using-python   Google Play Books, https://play.google.com/store/books/details?id=3bWjBAAAQBAJ iBookStore, http://itunes.apple.com/us/book/isbn9781312557710

Tags:

Books | Python | Raspberry Pi

PHP and MongoDB Programming By Example

by Agus Kurniawan 21. September 2014 13:26
I just finished my new book “PHP and MongoDB Programming by Example” . It helps you how to get started with PHP and MongoDB. Several code examples are provided to illustrate how to work PHP and MongoDB. Table of Content 1. Setup Development Environment 1.1 Windows Platform 1.1.1 Web Server 1.1.2 Deploying PHP on IIS 1.2 Linux Platform 1.3 Database MongoDB 1.4 MongoDB Driver for PHP 1.5 Development Tools 2. Hello World - PHP and MongoDB 2.1 Connecting to MongoDB 2.2 Writing PHP Code 2.3 Running 2.4 MongoDB with Authentication 3. Manipulating Database 3.1 Creating Database 3.2 Getting A List of Database 3.3 Deleting Database 4. CRUD Collection Operations 4.1 Collections 4.1.1 Creating Collection 4.1.2 Getting Collection 4.1.3 Deleting Collection 4.2 Creating Data 4.3 Reading Data 4.4 Update Data 4.5 Deleting Data 5. Working with Identity, Date and Time 5.1 Identity 5.2 Date and Time 6. Finding and Querying Data 6.1 Finding Data 6.2 Query Data 7. Working with Image and Blob Data 7.1 Image and Blob Data 7.2 Uploading Image 7.3 Listing Image Data 8. Data Modeling 8.1 Collection Relationships 8.2 Demo: Working with Collection Relationships 9. Embedded Document 9.1 Simple Embedded Document 9.2 Embedded Document Collection   How to Buy You can get this book on the following bookstore: Lulu, http://www.lulu.com/shop/agus-kurniawan/php-and-mongodb-programming-by-example/ebook/product-21815954.html  Kobo, http://store.kobobooks.com/en-US/ebook/php-and-mongodb-programming-by-example  Google Play Books, https://play.google.com/store/books/details?id=9YqSBAAAQBAJ  Amazon Kindle, http://www.amazon.com/dp/B00NRUMXRS   iBookStore, http://itunes.apple.com/us/book/isbn9781312538580   

Tags:

Books | Database | PHP

Proyek Indonesia Menulis

by Agus Kurniawan 2. September 2014 11:28
Apakah anda mengalami kesulitan mencari materi kuliah ataupun materi professional untuk segala bidang? atau anda ingin belajar menulis? mungkin proyek Indonesia menulis dapat menjadi solusinya. Proyek Indonesia Menulis bertujuan menyiapkan SDM Indonesia yang berkualitas dengan menyediakan sumber pengetahuan dalam bentuk buku elektronik. Selain mengajak orang2x untuk gemar menulis buku. Konsep proyek ini mirip dengan project otak yang pernah saya pimpin dimana 1 buku ditulis ramai2x dengan beberapa penulis. Untuk phase 1, sudah disiapkan buku akademik dan professional. Anda dapat berkontribusi dengan menulis 1-3 bab atau lebih. Tidak perlu takut untuk bergabung, seluruh team dan orang lain akan membantu karena ini merupakan kolaborasi. Jika tertarik, silakan menulis nama/email ke topi disini. https://docs.google.com/spreadsheets/d/1GmNFg_5b9WvCcACOm_IPogMNss4FHCYkQc26sgzoszo/edit?usp=sharing Saya tunggu topik/bab yang ingin berkontribusi. Jika memiliki ide topik lain, silakan ditulis sehingga yang lain dapat ikut berkontribusi juga. Silakan kalau yang mau jadi leader per bukunya. Tugas leader adalah menjaga konsistensi konten dan menjaga version control dokumennya (admin version controlnya). Tata Cara Penulisannya Penulis akan menulis bukunya dalam format latex, template bab sudah disediakan. Semua dokumen akan di host di github.com jadi buat akun disana terlebih dulu. Detail teknis dan template nanti akan informasikan selanjutnya. Tidak perlu memiliki skill khusus mengenai latex, anda cukup menulis seperti di text editor pada template yang disediakan. Semua gambar disimpan dalam file dengan format PNG/JPG. Kompilasi buku akan dilakukan oleh leader buku atau project admin. Informasi lainnya akan dikomunikasi secara internal dalam proyek ini.

Tags:

Books | Indonesia Menulis

Pemrograman Java Tingkat Lanjut

by Agus Kurniawan 28. August 2014 17:38
Buku Pemrograman Java Tingkat Lanjut ditulis dari inspirasi bahwa minimnya buku-buku Java tingkat lanjut. Kebanyakan buku berfokus ke bahasa dan dialek Java. Buku ini membantu para pembaca bagaimana memprogram Java dengan beberapa kasus yang real di lapangan. Buku ini diterbitkan oleh Andi Publisher dan kontennya dirancang agar mudah dibaca dan diikuti lab nya. Semoga buku ini berguna untuk pengembangan khazanah pemrograman Java. Daftar Isi Bab 1. Collection        1.1 Apa Itu Collection?        1.2 Mengenal dan Menggunakan Objek Collection            1.2.1 List            1.2.2 Set            1.2.3 Map            1.2.4 Queue                1.2.5 Stack    Bab 2. Pemrograman Generic        2.1 Apa Itu Pemrograman Generic?        2.2 Kelas Generic        2.3 Method Generic        2.4 Operator Diamond        2.5 Membatasi Parameter Tipe Generic            2.5.1 Unbounded Wildcard            2.5.2 Upper Bounded Wildcard                2.5.3 Lower Bounded Wildcard        2.6 Tipe Erasure    Bab 3. Graphical User Interface        3.1 Mengenal Graphical User Interface            3.1.1 Swing atau AWT?            3.1.2 Frame                3.1.3 Hello GUI Java        3.2 Menangani Input GUI        3.3 Manajemen Layout            3.3.1 Border Layout            3.3.2 Grid Layout            3.3.3 Bo Layout            3.3.4 Eksekusi Aplikasi        3.4 Membuat GUI Melalui IDE        3.5 Input Pilihan            3.5.1 Combo o            3.5.2 Check bo            3.5.3 Radio button            3.5.4 Demo        3.6 Menu        3.7 Common Dialog        3.8 Mengenal JavaF    Bab 4. Multithreading        4.1 Apa Itu Thread?        4.2 Membuat Thread Sederhana        4.3 Mengenal Objek Thread            4.3.1 Konstruksi Thread            4.3.2 Menjalankan Thread            4.3.3 Menghentikan Thread            4.3.4 Informasi Thread        4.4 Thread Dengan Eecutor Framework        4.5 Mengenal Objek Timer        4.6 Sinkronisasi Thread             4.3.1 Teknik Sinkronisasi Thread            4.3.2 Contoh Sinkronisasi Thread    Bab 5. Serialization        5.1 Apakah Itu Serialization?         5.2 Serialization Objek        5.3 Deserialization Objek        5.4 Demo Serialization                5.4.1 Serialization            5.4.2 Deserialization    Bab 6. Internet dan Jaringan        6.1 Konsep Internet dan Jaringan            6.1.1 Arsitektur Jaringan Model OSI            6.1.2 Topologi LAN            6.1.3 Arsitektur Internet Protocol (IP)            6.1.4 IP Address                    6.1.4.1 Kelas Address                6.1.4.2 Subnet Mask            6.1.5 Penamaan Host        6.2 Apa Itu Socket?        6.3 Socket Pada Windows            6.3.1 Arsitektur Winsock 2.0            6.3.2 Windows Socket dan Model OSI        6.4 Socket Pada Linu        6.5 Implementasi Socket Dengan Java            6.5.1 Aplikasi Server            6.5.2 Aplikasi Client            6.5.3 Testing        6.6 Mengenal Potokol Connectionless-Oriented        6.7 Implementasi Protokol Connectionless-Oriented Pada Java            6.7.1 Konstruksi DatagramSocket            6.7.2 Melakukan Koneksi            6.7.3 Menerima Data Packet            6.7.4 Mengirim Data Packet        6.8 Studi Kasus Client Server UDP            6.8.1 Server UDP            6.8.2 Client UDP            6.8.3 Eksekusi Aplikasi        6.9 Mengenal Protokol HTTP            6.9.1 Prinsip Kerja            6.9.2 Metode Akses HTPP Request        6.10 Praktikum: Akses Protokol HTTP Dengan Telnet            6.10.1 Telnet Pada OS Windows            6.10.2 Telnet Pada OS Linu        6.11 Solusi Untuk Mengakses Protokol HTTP Dengan Java        6.12 Socket HTTP    Bab 7. Relational Database dan NoSQL        7.1 Mengenal Relational Database        7.2 NoSQL        7.3 MySQL and Java        7.4 Manipulasi Data Pada Database MySQL            7.4.1 Koneksi Ke MySQL            7.4.2 Menambahkan Data            7.4.3 Menampilkan Data            7.4.4 Mengedit Data            7.4.5 Menghapus Data        7.5 MongoDB dan Java            7.5.1 Instalasi MongoDB Pada Windows            7.5.2 Instalasi MongoDB Pada Linu        7.6 Manipulasi Data Pada Database MongoDB            7.6.1 Koneksi Ke MongoDB            7.6.2 Menambahkan Data            7.6.3 Menampilkan Data            7.6.4 Mengedit Data            7.6.5 Menghapus Data    Bab 8. XML        8.1 XML dan Java        8.2 DOM ML Parse            8.2.1 Membaca File XML            8.2.2 Membuat File XML        8.3 SA ML Parser            8.3.1 Membaca File XML    Bab 9. Multimedia        9.1 Java dan Multimedia        9.2 Memainkan Audio dan Musik            9.2.1 Audio WAV            9.2.2 Musik MP3        9.3 Memainkan Video    Bab 10. Java Applet        10.1 Apakah Itu Java Applet?        10.2 Hello World – Java Applet            10.2.1 Membuat Aplikasi Java Applet            10.2.2 Menjalankan Aplikasi Applet            10.2.3 Menjalankan Java Applet Pada HTML        10.3 Animasi Pada Java Applet    Bab 11. Internationalisasi        11.1 Internasionalisasi        11.2 Hello Java Internasionalisasi        11.3 ResourceBundle        11.4 Demo Java Swing dengan Multi Bahasa            11.4.1 Membuat Tampilan GUI            11.4.2 Membuat Resource Multi Bahasa            11.4.3 Menyambung GUI dan Resource Bahasa            11.4.4 Testing    Bab 12. Cryptography        12.1 Message Digest            12.1.1 Hashing MD5            12.1.2 Hashing SHA        12.2 Java Cryptography            12.2.1 Symmetric Cryptography            12.2.2 Asymmetric Cryptography    Bab 13. Pemrograman Serial Communication        13.1 Serial Communication        13.2 Java Library Untuk Serial Communication        13.3 Demo Pemrograman Serial Communication            13.3.1 Instalasi Program Arduino            13.3.2 Konfigurasi Hardware            13.3.3 Membuat Program Arduino            13.3.4 Membuat Program Java 1            13.3.5 Membuat Program Java 2    Cara Mendapatkan Buku Buku ini dapat diperoleh di toko buku di seluruh Indonesia. Pembaca juga dapat memesannya secara online di Andi Publisher dengan alamat website ini, http://andipublisher.com/produk-0814005371-pemrograman-java-tingkat-lanjutcd.html

Tags:

Books | Java

KnockoutJS Programming by Example

by Agus Kurniawan 28. August 2014 06:42
Today I published my new book about KnockoutJS Programming by Example. This book is a practical guide to KnockoutJS programming and provides how to integrate with several web technology such as HTML5, Bootstrap CSS, RequireJS, PHP, ASP.NET MVC, Node.js and Socket.io. It describes all the elements of the KnockoutJS API and illustrates their use with code examples. Table of Content 1. Preparing Development Environment 1.1 Knockout 1.2 Development Tools 1.3 Hello World 2. Model-View-ViewModel (MVVM) 2.1 Geting Started 2.2 Building Simple MVVM Knockout 2.2.1 Creating Model 2.2.2 Creating ViewModel 2.2.3 Creating View (HTML) 2.2.4 Testing 3. Observables 3.1 Observables 3.2 Observable Arrays 3.3 Computed Observables 3.4 Computed Observables Writeable 4. Data Binding and Templates 4.1 Basic Data Binding 4.1.1 Handling Input Element 4.1.2 Select Element 4.1.3 Radio Button Element 4.14 Date Input 4.1.5 Range 4.1.6 CheckBox 4.1.7 Button 4.1.8 Output Result 4.1.9 Running Application 4.2 Repeating Data 4.3 Nested Repeating Data 4.4 The with Binding 4.5 The if and ifnot Binding 4.6 Knockout Template 4.7 Knockout with External Template File 4.8 Virtual Binding 5. Interacting with Server 5.1 Introduction 5.2 Getting Data 5.3 Posting Data 6. Knockout Modular: KnockoutJS and RequireJS 6.1 Knockout and RequireJS 6.2 Case Study: Smartphone Shop 6.2.1 Project Structure 6.2.2 Module Loader 6.2.3 Knockout Models 6.2.4 Knockout ViewModels and Template 6.2.4.1 ModelViews 7.2.4.2 Knockout Templates 6.2.5 Knockout View - index.html 6.2.6 Testing 7. KnockoutJS, PHP and MySQL 7.1 KnockoutJS on PHP 7.2 Building Database 7.3 Building Back-End 7.3.1 Handling CRUD 7.3.2 Handling JSON 7.4 Building Front-End 7.4.1 Knockout Model and ViewModel 7.4.2 HTML 7.5 Testing 8. KnockoutJS, ASP.NET MVC and SQL Server 8.1 AngularJS on ASP.NET MVC 8.2 Building Database 8.3 Building Back-End 8.3.1 Data Model and Database Access 8.3.2 ASP.NET MVC Controller 8.4 Building Front-End 8.4.1 Knockout Model and ViewModel 8.4.2 ASP.NET MVC Layout 8.4.3 ASP.NET MVC View with Knockout 8.5 Testing 9. KnockoutJS, Node.js, Express and MongoDB 9.1 KnockoutJS on Node.js and Express 9.2 Building Database 9.3 Initializing Project 9.4 Building Back-End 9.4.1 Database Access 9.4.2 Node.js and Express 9.5 Building Front-End 9.5.1 Knockout Model and ViewModel 9.5.2 HTML 9.6 Deployment 9.7 Testing 10. KnockoutJS, Node.js and Socket.io 10.1 Socket.io and Node.js 10.2 Initializing Project 10.3 Building Back-End 10.3.1 Generating Stock Data 10.3.2 Node.js and Socket.io 10.4 Building Front-End 10.4.1 Knockout Model and ViewModel 10.4.2 Building HTML 10.5 Deployment 10.6 Testing   How to Buy You can obtain this book on the following book online store. Lulu, http://www.lulu.com/shop/agus-kurniawan/knockoutjs-programming-by-example/ebook/product-21778018.html Kindle Amazon, http://www.amazon.com/dp/B00N2WPO18 Kobo Store, http://www.kobobooks.com/ebook/KnockoutJS-Programming-By-Example/book-WMMU76bQj0OjhyBuImzTRA/page1.html  Google Play Book, https://play.google.com/store/books/details/Agus_Kurniawan_KnockoutJS_Programming_By_Example?id=ysFbBAAAQBAJ  iBookstore, http://itunes.apple.com/us/book/isbn9781312465954

Tags:

Books | KnockoutJS

ASP.NET SignalR Programming By Example

by Agus Kurniawan 20. July 2014 21:21
I just finished my new book, ASP.NET SignalR Programming By Example. This book helps you how to build a real-time web using SignalR. Several scenario will be given with code illustration examples.   Table of Content 1. Preparing Development Environment 1.1 ASP.NET SignalR 1.2 Development Tools 2. Persistent Connections 2.1 Getting Started 2.2 Building ASP.NET SignalR Persistent Connections 2.2.1 Creating A Project 2.2.2 Adding SignalR Library 2.2.3 Writing SignalR Persistent Connections 2.3 Building Client App Using HTML5 2.4 Testing 3. ASP.NET SignalR Hubs 3.1 Getting Started 3.2 Creating Project for Sensor Hub 3.3 Building Sensor Hub Server 3.4 Building Sensor Feeder Client 3.5 Building Sensor Getaway 3.6 Testing 3.7 Establishing Connection via Client Proxy 4. ASP.NET SignalR Groups 4.1 Getting Started 4.2 Building Smart Building Application 4.3 Creating Project 4.4 Building Hub Server with Grouping 4.4.1 Writing Program for Publish/Subscribe Server 4.4.2 Writing Program for OWIN 4.5 Generating SignalR Proxy for JavaScript 4.6 Building Sensor Monitoring 4.7 Building Sensor Gateway 4.8 Testing 5. SignalR and ASP.NET MVC 5 5.1 Getting Started 5.2 Creating ASP.NET MVC 5 5.3 Building SignalR Application 5.4 Creating SignalR Proxy 5.5 Building ASP.NET MVC Client 5.6 Testing 6. SignalR and .NET Client 6.1 Getting Started 6.2 SignalR Server 6.3 Microsoft ASP.NET SignalR .NET Client 6.4 Sensor Gateway 6.5 Testing 7. SignalR and Windows Store 7.1 Getting Started 7.2 Building Stock Server 7.2.1 Creating Stock Server Project 7.2.2 Writing Program 7.3 Building Windows Store Application 7.3.1 Creating Windows Store Project 7.3.2 Adding SignalR to Project 7.3.3 Building Application 7.4 Building Stock Generator 7.5 Testing 8. Publishing SignalR on Microsoft Azure 8.1 Getting Started 8.2 Publishing SignalR to Microsoft Azure 8.3 Testing 8.4 Enabling WebSocket on Windows Azure Web Site 9. SignalR and Windows Phone 8.1 9.1 Getting Started 9.2 Building Stock Server and Stock Generator 9.3 Building Windows Phone 8.1 Application 9.3.1 Creating Windows Phone 8.1 Project 9.3.2 Adding SignalR to Project 9.3.3 Write Program 9.4 Testing 10. SignalR and Java 10.1 Getting Started 10.2 SignalR Client for Java 10.3 Stock Watch Server 10.4 Building Stock Client Application 10.4.1 Creating Project 10.4.2 Adding SignalR Client for Java Library 10.4.3 Write Program 10.5 Building Stock Generator 10.5.1 Creating Project 10.5.2 Adding SignalR Client for Java Library 10.5.3 Write Program 10.6 Testing   How to Buy You can obtain this book on the following book online store. Lulu, http://www.lulu.com/shop/agus-kurniawan/aspnet-signalr-programming-by-example/ebook/product-21723132.html  Amazon Kindle, http://www.amazon.com/dp/B00LZ4LK7W  Kobo, http://www.kobobooks.com/ebook/ASP-NET-SignalR-Programming-By/book-g9FlfMquek6gXHZBZ0-tig/page1.html  Google Play Book, https://play.google.com/store/books/details?id=MRYOBAAAQBAJ  iBookStore, http://itunes.apple.com/us/book/isbn9781312369917   

Tags:

.NET | Books | SignalR

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, http://www.lulu.com/shop/agus-kurniawan/xbee-ieee-802154-programming/ebook/product-21683673.html Amazon Kinddle, http://www.amazon.com/dp/B00L6L47FQ  Google Play Book, https://play.google.com/store/books/details?id=XEHeAwAAQBAJ  Kobo Books, http://store.kobobooks.com/en-US/ebook/xbee-ieee-802-15-4-programming  iBookStore, http://itunes.apple.com/us/book/isbn9781312296282 

Tags:

Books | Python | Wireless Networks

Getting Started with Java ME Embedded 8 and Raspberry Pi

by Agus Kurniawan 31. May 2014 12:52
Oracle just released Java ME Embedded 8 with supported Raspberry Pi as development target. Now I would like to share my new book, Getting Started with Java ME Embedded 8 and Raspberry Pi. This book helps you to get started writing program to access device I/O on Raspberry Pi.   Table of Content 1. Preparing Development Environment 1.1 Raspberry Pi 1.2 Getting Hardware 1.3 Development Tools 2. Java ME Embedded 8 and Raspberry Pi 2.1 Java ME Embedded 8 2.2 Installing Java ME Embedded 8 2.2.1 Installing Java ME Embedded 8 on Raspberry Pi 2.2.2 Installing Java ME 8 on Local Computer 2.2.2.1 Install Java ME 8 SDK 2.2.2.2 Installing Java ME SDK 8 Plugin for Netbeans 8 2.3 Connecting Netbeans 8 with Raspberry Pi 2.4 Deploying SSH on Raspberry Pi 2.5 Deploying FTP Server on Raspberry Pi 3. Hello World - Java ME Embedded 8 and Raspberry Pi 3.1 Hello World 3.2 Hardware Configuration 3.3 Connecting Local Computer and Raspberry Pi 3.4 Building Java ME Embedded 8 Application 3.4.1 Creating a New Project 3.4.2 Writing Application 3.4.3 Configuring Permission 3.4.4 Running Application from Netbeans 3.4.5 Running Application on Raspberry Pi Device 3.5 Debugging Application 4. Raspberry Pi GPIO 4.1 GPIO 4.2 Lab Preparation 4.3 Writing Data to GPIO 4.3.1 Getting Started with 7 Segment Display 4.3.2 Deploying Hardware Wiring 4.3.3 Building Application 4.3.4 Configuring Permission 4.3.5 Testing 4.4 Reading Data on GPIO 4.4.1 Hardware Configuration 4.4.2 Building Application 4.4.3 Configuring Permission 4.4.4 Testing 5. Serial Communication - UART 5.1 Raspberry Pi UART 5.2 Java ME Embedded 8 and Raspberry Pi UART 5.3 Demo: Communicating Raspberry Pi UART and Arduino UART 5.3.1 Hardware Configuration 5.3.2 Writing Program for Arduino 5.3.3 Building Java ME 8 Embedded Application 5.3.4 Configuring Permission 5.3.5 Testing 6. Raspberry Pi I2C/TWI 6.1 Getting Started 6.2 Configuring I2C for Raspberry Pi 6.3 Demo 1: Hello I2C-Connecting Raspberry Pi and Arduino 6.3.1 Writing Arduino Program 6.3.2 Hardware Configuration 6.3.3 Testing I2C Bus 6.3.4 Building Java ME Embedded 8 Application 6.3.5 Configuring Permission 6.3.6 Testing 6.3.7 Reset I2C Bus 6.4 Demo 2: Reading and Writing on I2C 6.4.1 Writing Arduino Program 6.4.2 Hardware Configuration 6.4.3 Building Java ME Embedded 8 Application 6.4.4 Configuring Permission 6.4.5 Testing 7. Raspberry Pi SPI 7.1 Getting Started 7.2 Configuring SPI on Raspberry Pi 7.3 Demo 1: Hello SPI 7.3.1 Hardware Configuration 7.3.2 Building Java ME Embedded 8 Application 7.3.3 Configuring Permission 7.3.4 Testing 7.4 Demo 2: Digital-to-Analog Converter (D/A Converter) 7.4.1 Hardware Configuration 7.4.2 Building Java ME Embedded 8 Application 7.4.3 Configuring Permission 7.4.4 Testing   How to Buy You can get this book on the following store. Lulu, http://www.lulu.com/shop/agus-kurniawan/getting-started-with-java-me-embedded-8-and-raspberry-pi/ebook/product-21652192.html Amazon Kindle, http://www.amazon.com/dp/B00KO9F4MQ  Google Play Book, https://play.google.com/store/books/details?id=M1CuAwAAQBAJ   Kobo, http://store.kobobooks.com/en-US/ebook/getting-started-with-java-me-embedded-8-and-raspberry-pi  

Tags:

Books | Java

Backbone.js Programming By Example

by Agus Kurniawan 19. May 2014 19:32
I just finished my new book, Backbone.js Programming by Example. This book is a practical guide to Backbone.js programming and provides how to integrate with several web technology such as HTML5, Bootstrap CSS, RequireJS, PHP, Node.js and Socket.io. It describes all the elements of the Backbone API and illustrates their use with code examples. The following is a list of highlight topics: * Preparing development environment * Model, View, and Collection * Events and Model Validation * Backbone View Templates and Data Binding with case study: Underscore.js, Handlebars, Mustache.js * Backbone Router * Interacting with Server: Backbone Sync * Building Backbone mdular: Backbone.js, Handlebars, and RequireJS * Case study 1: Building web application with Backbone.js, PHP RESTful and MySQL * Case study 2: Building web application with Backbone.js, Node.js, Express RESTful, RequireJS and MongoDB * Case study 3: Building web application with Backbone.js, Node.js, Express and Socket.io   Table of Content 1. Preparing Development Environment 1.1 Backbone.js 1.2 Development Tools 1.3 Model View Controller 1.4 Hello World 2. Model, View, and Collection 2.1 Model and View 2.1.1 Creating Model 2.1.2 Setter/Getter for Model 2.1.3 Creating View 2.1.4 Using Model in View 2.2 Collection 2.2.1 Creating Collection 2.2.2 Adding Data 2.2.3 Retrieving Data 2.2.4 Finding Data 2.2.5 Removing Data 2.2.6 Testing 2.3 Working with Model Id 3. Events and Model Validation 3.1 Events 3.1.1 on() and once() 3.1.2 Demo once() 3.1.3 Removing Event 3.1.4 Trigger Event 3.1.5 listenTo(), listenToOnce(), and stopListening() 3.1.6 Events on Backbone View 3.2 Model Validation 4. Backbone View Templates and Data Binding 4.1 View Templates in Backbone View 4.2 Underscore.js 4.2.1 Getting Started 4.2.2 Binding Model and Collection into Template 4.2.3 Binding Model into HTML5 Elements 4.2.4 External Template File 4.2.5 Loading External Template File using jQuery 4.3 Handlebars 4.3.1 Getting Started 4.3.2 Binding Model to Handlebars Template 4.3.3 Binding Model and Collection to Handlebars Template 4.3.4 External Handlebars Template 4.4 Mustache.js 4.4.1 Getting Started 4.4.2 Binding Backbone Collection 4.4.3 External Mustache.js Template 4.5 Deploying Template Files on Web Server 5. Router 5.1 Getting Started 5.2 Dynamic Routing 5.3 Initializing Routers 5.4 Integrating Routers, Models, Collection, and Views 5.4.1 Wrapping Object 5.4.2 Defining Model and Collection 5.4.3 Building Backbone Views 5.4.4 Building Backbone Router 5.4.5 Template and HTML 5.4.6 Testing 5.5 Navigation 6. Interacting with Server: Backbone Sync 6.1 Getting Started 6.2 Case Study: Backbone Sync, PHP, and MySQL 6.2.1 Backbone Model and Collection 6.2.2 Backbone Sync 6.2.3 Backbone View 6.2.4 Backbone Template and HTML5 6.2.5 Database MySQL 6.2.6 Server Application - PHP 6.2.7 Deployment 6.2.8 Testing 7. Backbone Modular: Backbone.js, Handlebars, and RequireJS 7.1 Backbone Modular Using RequireJS 7.2 Case Study: Smartphone Shop 7.2.1 Project Structure 7.2.2 Module Loader 7.2.3 Models and Collections 7.2.4 Backbone Template with Handlebars and HTML5 7.2.4.1 Views 7.2.4.2 Handlebars Templates 7.2.4.3 HTML5 - index.html 7.2.5 Testing 8. Backbone.js, PHP RESTful and MySQL 8.1 Backbone.js on PHP 8.2 Project Structure 8.3 PHP RESTful: Slim Framework 8.3.1 Web Server IIS Windows 8.3.2 Enabling HTTP PUT and DELETE on Web Server IIS 8.3.3 Web Server Apache 8.4 Building Database 8.5 Building Back-End 8.5.1 Handling CRUD 8.5.2 Creating a PHP RESTful 8.6 Building Front-End 8.6.1 Backbone Loader 8.6.2 Backbone Model and Collection 8.6.3 Backbone Views 8.6.4 Handlebars Templates 8.6.5 HTML 8.7 Testing 9. Backbone.js, Node.js, Express RESTful, Require.js and MongoDB 9.1 Backbone.js on Node.js and Express 9.2 Building Database 9.3 Initializing Project 9.4 Project Structure 9.5 Building Back-End 9.5.1 Database Access 9.5.2 Node.js RESTful and Express 9.6 Building Front-End 9.6.1 Backbone Loader 9.6.2 Backbone Model and Collection 9.6.3 Backbone Views 9.6.4 Template and HTML 9.7 Testing 10. Backbone.js, Node.js, Express and Socket.io 10.1 Socket.io, Node.js and Express 10.2 Initializing Project 10.3 Project Structure 10.4 Building Back-End 10.4.1 Generating Stock Data 10.4.2 Node.js, Express and Socket.io 10.5 Building Front-End 10.5.1 Backbone Loader 10.5.2 Backbone Model and Collection 10.5.3 Backbone View 10.5.4 Building HTML with Handlebars Template 10.6 Deployment 10.7 Testing   How to Buy You can obtain this book on the following online bookstore: Lulu,  http://www.lulu.com/shop/agus-kurniawan/backbonejs-programming-by-example/ebook/product-21633845.html  Kindle Amazon, http://www.amazon.com/dp/B00KFN16SM  Google Play Book, https://play.google.com/store/books/details?id=ANuYAwAAQBAJ  Kobo Store, http://store.kobobooks.com/en-US/ebook/backbone-js-programming-by-example 

Tags:

Backbone | Books | Node.js | PHP

Raspberry Pi System Programming for Beginner

by Agus Kurniawan 26. April 2014 14:49
I just finished a book about Raspberry Pi System Programming for Beginner. This book helps you to start learning system programming for Raspberry Pi. All code illustration is written in C language.   Table of Content 1. Preparing Development Environment 1.1 Raspberry Pi 1.2 Compiler and Development Tools 1.3 Hello World 2. File I/O 2.1 Opening and Closing File 2.1.1 open() and close() 2.1.2 creat() 2.1.3 Creating a New File 2.2 Reading Data from File 2.3 Writing Data into File 2.4 Appending Data Into File 2.5 Truncating Files 2.6 Copying File 2.7 Seeking 3. Buffered I/O 3.1 Opening and Closing File 3.2 Reading Data File 3.2.1 fgetc() 3.2.2 fgets() 3.3 Writing Data File 3.3.1 fputc() 3.3.2 fputs() 3.4 Binary File 3.4.1 Writing Binary Data 3.4.2 Reading Binary Data 3.5 Seeking 4. Process 4.1 Process ID 4.2 Running Process 4.3 Terminating Process 4.4 Creating Child Process 5. Threading 5.1 Creating Thread 5.2 Thread ID 5.3 Terminating Thread 5.3.1 Terminating Itself 5.3.2 Terminating Others 5.4 Joining Thread 5.5 Thread Mutex 5.6 Condition Variables 5.6.1 Signaling 5.6.2 Broadcasting 6. Interprocess Communication 6.1 Pipe 6.1.1 popen() 6.1.2 pipe() 6.2 FIFOs 6.2.1 FIFO Server 6.2.2 FIFO Client 6.2.3 Running 6.3 Message Queues 6.3.1 Message Queue Sender 6.3.2 Message Queue Receiver 6.3.3 Executing 6.3.4 Removing Message Queue 6.4 Shared Memory 6.4.1 Server 6.4.2 Client 6.4.3 Running 6.4.3 Removing Shared Memory 7. Socket Programming 7.1 Getting Local Hostname 7.2 Creating and Connecting 7.2.1 Server 7.2.2 Client 7.2.3 Testing 7.3 Data Transfer 7.3.1 Server 7.3.2 Client 7.3.3 Testing 7.4 Datagram Socket 7.4.1 Server 7.4.2 Client 7.4.3 Testing 7.5 Case Study: Building Client-Server with Multi Clients 7.5.1 Server 7.5.2 Client 7.5.3 Testing 7.6 Case Study: Socket with HTTP Protocol 7.6.1 HTTP Get 7.6.2 HTTP Post 8. Serial Communication 8.1 Working with Serial Port 8.2 Arduino for Target Serial Port 8.3 Attaching Arduino to Raspberry Pi 8.4 Reading Serial Communication 8.4.1 Arduino Program 8.4.2 Reading Application 8.4.3 Testing 8.5 Writing Data to Serial Port 8.5.1 Arduino Program 8.5.2 Writing Application 8.5.3 Testing 9. GPIO 9.1 Review GPIO 9.2 GPIO Libraries 9.2.1 BCM2835 C library 9.2.2 WiringPi 9.3 Reading Data from GPIO 9.3.1 Arduino as Digital Source 9.3.2 Implementing with BCM2835 C library 9.3.3 Implementing with WiringPi   How to Buy You can obtain this book on the following online bookstore: Lulu, http://www.lulu.com/content/e-book/raspberry-pi-system-programming-for-beginner/14643661  Kindle Amazon, http://www.amazon.com/dp/B00JY7AS8Y  Google Play Book, https://play.google.com/store/books/details?id=h_NsAwAAQBAJ  Kobo Store, http://store.kobobooks.com/en-US/ebook/raspberry-pi-system-programming-for-beginner    iBookStore, http://itunes.apple.com/us/book/isbn9781312139220             

Tags:

Books | C/C++ | Raspberry Pi

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