Software apps and online services
The Windows Remote Arduino Experience app is where you can adjust the LED status like the Serial Monitor.
NOTE: If you are using the Network, you only load the library, don't need to upload StandardFirmata sketch.
First, open Arduino IDE and choose Sketch => Include Library => Manage Libraries and search for Firmata. Like this:
Now at the top result, install it! But I was installed it in the sake of time.
NOTE: If you are using Wi-Fi Shield, NEVER using Pin 7! This pin use to connect to your Arduino.
First, connect the Ground pin from the Arduino to the Ground pin on the breadboard and the 5V pin to the positive pin. I recommend you use the color of the wires same as the positive pin and the ground pin on the breadboard and use those color all the time for the Bluetooth so the wired process will be easier.
Next, connect the Bluetooth device to the breadboard and connect the Ground of the Bluetooth with the resistor and the other end of the resistor will connect to the ground pin on the breadboard.
Next, connect the TX pin on the Bluetooth to the RX pin on the Arduino and connect the RX pin on the Bluetooth to the TX pin on the Arduino.
Connect the longer leg of the LED to the resistor and connect the shorter leg to any pins on the LED, In this case we will use pin 13.
Final step result:
StandardFirmata uses the Serial lines to talk to a Bluetooth device or over USB. By default, it uses a baud rate of 57,600 bps. Depending on the configuration of your Bluetooth device, you may need to modify that rate. It can be found in the
method and looks like this:
NOTE: The baud rate depending of the Bluetooth you using. Change the 57600 value at the code above to your Bluetooth baud rate. If your Bluetooth baud rate is 57,600 bps, leave this code to 57600. If you are using USB instead of Bluetooth, this value depending on both device and the Windows Remote Arduino connections parameters. Make sure you enter the correct baud rate before deploying this code.
NOTE: Disconnect the TX and RX pins from the Bluetooth before upload the code to the Arduino. When your Arduino says: 'Done uploading', you can reconnect the Bluetooth wires. Now just deploy it and sees it's work!
First, this is the connection page:
Choose a connect method in the Connection dropdown and the baud rate at the Baud rate dropdown. If you choose Network connection method. The baud rate status will be: IsEnabled = false and the IP or Host Name and Port textbox will required. Enter them to connect to your Arduino.
The Digital page is where you can adjust the power of your Arduino device and you can adjust the pin mode like Output and Input. If you choose a pin is Input, the digitalRead() will use instead for digitalWrite(). Example, you can let the Windows Remote Arduino Experience app read the button status, the 0v of the Input mode shows the button status has not pressed and 5v is when the button has pressed. In output mode. You know it's written by digitalWrite(). Turn on the toggle to set the pin to 5V.
NOTE: You can't adjust the status of the pin 0 and pin 1 because they are serial and they are TX and RX pins. You use these pins to connect to the Bluetooth at Step 2.
The PWM page is where you can adjust the Analog (PWM) value for the PWM pins on your Arduino. The PWM page is the code analogWrite().
NOTE: You can't adjust 0v or 5v by the Digital page if PWM has turned on for the PWM pins you want. To adjust by the Digital page, turn off the PWM status for the pins you want.
Now you got a taste for the Windows Remote Arduino Experience app and the Arduino. Learn more about this technology at windowsondevices.com.