Taking input from Processing and transmitting it wirelessly to control a remote set of leds

The nrf library allows us to send only integers , characters , bytes but not Strings objects (you can definitely send character arrays i.e strings). But it is really easy to communicate from Processing to Arduino using String objects because of the ease and the many ways in which we can manipulate Strings in complex … Continue reading Taking input from Processing and transmitting it wirelessly to control a remote set of leds

Advertisements

Practical Serial Communication

After establishing sound communication links from Arduino to Processing and vice-versa lets notch things up a bit. The basic idea is to simulate and develop a framework for real situations so that we can modify the code accordingly to suit the need. This is the video - http://www.youtube.com/watch?v=OiSyU3jdjyM Here we make a Processing based control … Continue reading Practical Serial Communication

Making Processing and Arduino talk – Part 2

This is just an extension of the previous post where we were sending different types of datatypes and observing their behavior. Here we will consider byte arrays. Byte arrays store the characters in ascii format. So we will see how to print the true characters from a byte array containing the ascii characters because the … Continue reading Making Processing and Arduino talk – Part 2

Making Processing and Arduino talk – Part 1

You can find a good tutorial on serial communication between arduino and processing HERE. We will use those ideas and do some practical stuff. In this example we send a mixed string to arduino which then converts it to character array and checks if certain elements match certain numbers, if yes then it does something … Continue reading Making Processing and Arduino talk – Part 1