Serial library and binary data - getting chatty with Arduino and crunching numbers (Lesson 4)

Rxtxled
Serialdata
Learning Arduino, programming, electronics? Here's a MASSIVE tutorial on serial library and binary data with Arduinos - Ladyada is on a roll...

Ah, Arduino, I remember when you were just crawling around and blinking LEDs. Now you're ready to learn how to speak! In this lesson we'll learn how to use the Serial Library to communicate from the Arduino board back to the computer over the USB port. Then we'll learn how to manipulate numbers and data.

For this lesson we won't be using the shield, so simply remove it (keeping the mood light LEDs on it you'd like). The shield doesn't contain any programs or data, This way we can examine the RX and TX LEDs which will help you with debugging

Serial library and binary data - getting chatty with Arduino and crunching numbers (Lesson 4) - Link.

More:

  • Lesson 0 - Pre-flight check...Is your Arduino and computer ready? - Link.
  • Lesson 1 - The "Hello World!" of electronics, a simple blinking light - Link.
  • Lesson 2 - Sketches, variables, procedures and hacking code - Link.
  • Lesson 3 - Breadboards, resistors and LEDs, schematics, and basic RGB color-mixing - Link.

Related:
Starterpack Lrg
Arduino @ Adafruit... Arduino is a project from Ivrea University. A simple microcontoller board with an ATmega168, and a USB connection. Its great for learning and small projects - Link (starter pack!).

Mkardie-2
Arduino @ MAKE! Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Arduino is open source! - Link.

Make 1161-1-1
Making Things Talk. THE ARDUINO BOOK!!! Programming microcontrollers used to require an expensive development environment costing thousands of dollars and requiring professional electrical engineering expertise. But recent innovations, such as open-source physical computing platforms with simple i/o boards and development environments, have given hobbyists, hackers and makers new options for homebrewing video games, robots, toys, and more.

This book contains a series of projects that teach you what you need to know to get your creations talking to each other, connecting to the Web, and forming networks of smart devices. Whether you need to plug some sensors in your home to the Internet or create a device that can interact wirelessly with other creations, Making Things Talk shows you exactly what you need.

The projects in this book are powerful but inexpensive to build: the Arduino and Wiring microcontroller kits themselves cost around $40. The networking hardware covered here includes Ethernet, Wi-Fi, Zigbee, and Bluetooth, and can be had for $50 to $100. With a couple of microcontroller kits and the networking gadgets of your choice, you can make things and make them talk to each other! - Link.


Recent Entries

Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog