With serial communications we can do two things: We can either send commands or receive data. Here are some examples to
use with Serial communications:
1. Find out what values your sensors are outputting.
2. Find out if your robot is making the right decisions (Drugs = FALSE;)
3. Change the value of a variable.
4. Control your robot's movement or other things in your robot
Remove these ads by
Signing UpStep 1: A BIT of information.
Each bit represents a certain number to add. the first bit (Far right) represents the ones place, similar to the common decimal system.
1 = 1 and 0 = 0.
the next bit's value is multiplied by two, so:
10 = 2, 11 = 3, 00 = 0 and 01 = 1.
similarly:
100 = 4,
1000 = 8,
10000 = 16,
100000 = 32,
1000000 = 64
10000000 = 128.
Now these bits can form a value up to 255 (11111111).
This value can be turned into ASCII encoded symbols and letters. Here's a list of them.








































Visit Our Store »
Go Pro Today »




Jaycon