Learning JavaScript Robotics

· Packt Publishing Ltd
eBook
160
페이지
검증되지 않은 평점과 리뷰입니다.  자세히 알아보기

eBook 정보

Design, build, and program your own remarkable robots with JavaScript and open source hardwareAbout This BookLearn how to leverage Johnny-Five's Read, Eval, Print Loop, and Event API to write robot code with JavaScriptUnlock a world of exciting possibilities by hooking your JavaScript-programmed robots up to the internet and using external data and APIsMove your project code from the Arduino Uno to a multitude of other robotics platformsWho This Book Is For

If you've worked with Arduino before or are new to electronics and would like to try writing sketches in JavaScript, then this book is for you! Basic knowledge of JavaScript and Node.js will help you get the most out of this book.

What You Will LearnFamiliarise yourself with Johnny-Five Read, Eval, and Print Loop (REPL) to modify and debug robotics code in real timeBuild robots with basic output devices to create projects that light up, make noise, and moreCreate projects with complex output devices, and employ the Johnny-Five API to simplify the use of components that require complex interfaces, such as I2CMake use of sensors and input devices to allow your robotics projects to survey the world around them and accept input from usersUse the Sensor and Motor objects to make it much easier to move your robotics projectsLearn about the Animation API that will allow you to program complex movements using timing and key framesBring in other devices to your Johnny-Five projects, such as USB devices and remotesConnect your Johnny-Five projects to external APIs and create your own Internet of Things!In Detail

There has been a rapid rise in the use of JavaScript in recent times in a variety of applications, and JavaScript robotics has seen a rise in popularity too. Johnny-Five is a framework that gives NodeBots a consistent API and platform across several hardware systems.

This book walks you through basic robotics projects including the physical hardware builds and the JavaScript code for them. You'll delve into the concepts of Johnny-Five and JS robotics.

You'll learn about various components such as Digital GPIO pins, PWM output pins, Sensors, servos, and motors to be used with Johnny-Five along with some advanced components such as I2C, and SPI. You will learn to connect your Johnny-Five robots to internet services and other NodeBots to form networks. By the end of this book, you will have explored the benefits of the Johnny-Five framework and the many devices it unlocks.

Style and approach

This step-by-step guide to the Johnny-Five ecosystem is explained in a conversational style, packed with examples and tips. Each chapter also explores the Johnny-Five documentation to enable you to start exploring the API on your own.

저자 정보

Kassandra Perch is an open web developer and supporter. She began as a frontend developer and moved to server-side with the advent of Node.js and was especially enthralled by the advance of the NodeBots community. She travels the world speaking at conferences about NodeBots and the fantastic community around them. When she's not building bots, she's knitting, sewing, sculpting, or playing video games with her cats.

이 eBook 평가

의견을 알려주세요.

읽기 정보

스마트폰 및 태블릿
AndroidiPad/iPhoneGoogle Play 북 앱을 설치하세요. 계정과 자동으로 동기화되어 어디서나 온라인 또는 오프라인으로 책을 읽을 수 있습니다.
노트북 및 컴퓨터
컴퓨터의 웹브라우저를 사용하여 Google Play에서 구매한 오디오북을 들을 수 있습니다.
eReader 및 기타 기기
Kobo eReader 등의 eBook 리더기에서 읽으려면 파일을 다운로드하여 기기로 전송해야 합니다. 지원되는 eBook 리더기로 파일을 전송하려면 고객센터에서 자세한 안내를 따르세요.