RGB Leds are equivalent to three leds (red, green and blue) combined. This allows mixing the three colors which results in many different colors. There are two types of RGB leds: common cathode and common anode: Connection diagram for a...
This example is based on the connection diagram described here: https://www.b4x.com/android/forum/threads/rgb-leds.65998/ In this case we will control the led color with a B4J program. The B4J program is based on serial connector...
Hi, based on previous Analog Read Example, Analog Read Example using Ethernet, Analog Read Example using MQTT extended the solution by displaying the temperature (in C and F) from the TMP36 sensor on the Arduino LCD Shield. Full project (with...
Thanks to Erel for this great product !! (again) Here's a PIR example (presence detection) with Arduino and B4R; the PIR sensor is the PIR HC-SR501 Code: #Region Project Attributes #AutoFlushLogs: True #StackBufferSize: 300 #End...
In this example I'm using a BLE shield to broadcast the state of a connected button. The byte is sent as part of the advertising data so there is no need for a connection. Any device that scans for BLE peripherals will be able to detect it. The...
Hi, based on previous examples Analog Read Example, Analog Read Example using Ethernet, Analog Read Example using MQTT and Analog Read Example using LCD extended the solution by sending the temperature (in Celsius) from the Arduino UNO TMP36...
In this tutorial we will create a currency converter solution that shows the conversion from USD to other currencies on the LCD panel. The user can click on the up and down buttons to switch to different currencies. This is a nice example as it...
I've hacked my already hacky B4AHelp program to give tidier results when looking at B4R Xml files. EDIT: Updated to v1.1 to overcome a change in the Xml format that I just noticed.
Hi, based on previous Analog Read Example and Analog Read Example using Ethernet extended the solution by using the Arduino Ethernet Shield to publish the temperature from the Arduino to a B4J Server via MQTT. Full project (with comments)...
Hi, based on previous Analog Read Example extended the solution by using the Arduino Ethernet Shield to send temperature data to B4J server and receive confirmation. Full project (with comments) attached. //Next will be Analog Read Example using...