Using PROGMEM to save memory By Erel Sep 19, 2016 The smaller Arduinos like the Arduino Uno have 2k of RAM. The subs stack and the global variables use this memory. If your program includes constant data then you can use PROGMEM to store the... Click to expand...
The smaller Arduinos like the Arduino Uno have 2k of RAM. The subs stack and the global variables use this memory. If your program includes constant data then you can use PROGMEM to store the...
Ultrasonic Ranging module HC-SR04 By inakigarm Apr 13, 2016 Testing the HC-SR04 to measuring distances Spoiler: Physics Info The accuraccy of the sensor depends greatly on... Last edited by a moderator: Sep 6, 2016 Click to expand...
Testing the HC-SR04 to measuring distances Spoiler: Physics Info The accuraccy of the sensor depends greatly on...
sub for Date Time adding By Tayfur Sep 2, 2016 Hello; I needed date time functions; And some write codes. it is first sharing with B4R use this variables for date &time Public Time_HH As Int Public Time_MM As Int ... Last edited: Sep 5, 2016 Click to expand...
Hello; I needed date time functions; And some write codes. it is first sharing with B4R use this variables for date &time Public Time_HH As Int Public Time_MM As Int ...
Intel Arduino 101 By Erel Sep 5, 2016 The Arduino 101 is an Arduino board developed by Intel. It is mostly compatible with standard... Attachments boards.zip boards.zip 2.5 KB · Views: 1,249 B4R_Serial_Connector_Arduino101.zip B4R_Serial_Connector_Arduino101.zip 4.9 KB · Views: 1,160 Last edited: Sep 5, 2016 Click to expand...
Servo motor and Arduino By inakigarm Apr 20, 2016 Thanks to @Erel and the new rservo library (Beta#7), we've access to servo motors. Servos are a motor type that allows for precise control of angular or linear position, velocity and... Last edited: Aug 26, 2016 Click to expand...
Thanks to @Erel and the new rservo library (Beta#7), we've access to servo motors. Servos are a motor type that allows for precise control of angular or linear position, velocity and...
Inertial Measurements (MPU 6050) and Magnetometer (HMC5883L) By derez Apr 17, 2016 With big help from Erel here are two examples of connecting two boards by the I2C/TWI (A4 and A5 pins), using the rWire library. Inertial Measurements (mpu6050) : Code: Copy ' MPU 6050 board - Inertial... Last edited: May 27, 2023 Click to expand...
With big help from Erel here are two examples of connecting two boards by the I2C/TWI (A4 and A5 pins), using the rWire library. Inertial Measurements (mpu6050) : Code: Copy ' MPU 6050 board - Inertial...
Stepper motor By derez Apr 15, 2016 Edit: see post #5 for an updated version. This application is controlling a stepper motor which can be turned by a wanted angle and speed. I use this motor... Last edited: Aug 15, 2016 Click to expand...
Edit: see post #5 for an updated version. This application is controlling a stepper motor which can be turned by a wanted angle and speed. I use this motor...
Memory, Variables and Objects By Erel Apr 11, 2016 Memory is a big issue in Arduino. 1. The available RAM is very small compared to other platforms. For example the Uno has 2k of RAM. 2. There is no sophisticated heap management which means that... Last edited: Aug 13, 2019 Click to expand...
Memory is a big issue in Arduino. 1. The available RAM is very small compared to other platforms. For example the Uno has 2k of RAM. 2. There is no sophisticated heap management which means that...
B4R Change Log (version history) By Erel Jul 7, 2016 v4.20 - October 29, 2026: https://www.b4x.com/android/forum/threads/b4r-v4-20-is-available-for-download.172424/ The new version includes recent features added to the other B4X tools... Last edited: Oct 29, 2026 Click to expand...
v4.20 - October 29, 2026: https://www.b4x.com/android/forum/threads/b4r-v4-20-is-available-for-download.172424/ The new version includes recent features added to the other B4X tools...
[Hint] HC-05,06 Power supply By Beja Jul 6, 2016 Hello all, I read a few posts asking about the power supply requirements of the Bluetooth module. I thought I can put this hint so people can use the right voltage or power supply. The HC-x comes... Click to expand...
Hello all, I read a few posts asking about the power supply requirements of the Bluetooth module. I thought I can put this hint so people can use the right voltage or power supply. The HC-x comes...
B4R/B4J Experiment - Control Servo Motor connected to Arduino via Browser By rwblinn Jun 20, 2016 This experiment moves a Little Crane arm (used some Lego parts) up and down via browser connected to a B4J websocket server. When the arm moves, the Red LED is turned on else the Green LED is on... Attachments b4rhowtoservomotorbrowser.zip b4rhowtoservomotorbrowser.zip 254 KB · Views: 1,181 Last edited: Jun 20, 2016 Click to expand...
This experiment moves a Little Crane arm (used some Lego parts) up and down via browser connected to a B4J websocket server. When the arm moves, the Red LED is turned on else the Green LED is on...
Touch switch By Beja Jun 25, 2016 Hello all This is the same as Erel's "Button Example" modified by Klaus. All what I did is replacing the mechanical switch with a touch switch module. So simple that the images speak for... Last edited: Jun 25, 2016 Click to expand...
Hello all This is the same as Erel's "Button Example" modified by Klaus. All what I did is replacing the mechanical switch with a touch switch module. So simple that the images speak for...
Tutorial vs Creation : Clarification By Cableguy Jun 16, 2016 Hi Guys EREL is a very busy guy, and sometimes he prefers to give us some freedom on some emplacements for our Posts. Since the advent of B4R many tutorials have been posted portraying the usage... Click to expand...
Hi Guys EREL is a very busy guy, and sometimes he prefers to give us some freedom on some emplacements for our Posts. Since the advent of B4R many tutorials have been posted portraying the usage...
Servo Motor controlled via IR Remote Control By rwblinn Jun 16, 2016 Hi, an experiment to move a Little Crane arm (used some Lego parts) up and down via IR Remote Control (Key1=UP,Key2=DOWN). When the arm moves, the Red LED lights else the Green LED is... Attachments B4RHowToServoMotorCrane.zip B4RHowToServoMotorCrane.zip 245 KB · Views: 1,460 Last edited: Jun 17, 2016 Click to expand...
Hi, an experiment to move a Little Crane arm (used some Lego parts) up and down via IR Remote Control (Key1=UP,Key2=DOWN). When the arm moves, the Red LED lights else the Green LED is...
Mini Weather Station with LCD By rwblinn Jun 13, 2016 Hi, a Mini Weather Station experiment displaying on a 16x2 LCD the Temperature + Humidity (Line1) and Pressure + Altitude (Line2). In addition, a trendindicator (=,+,-) is shown for each... Attachments B4RHowToLiquidCrystalWeather.zip B4RHowToLiquidCrystalWeather.zip 114.6 KB · Views: 1,073 Last edited: Apr 19, 2022 Click to expand...
Hi, a Mini Weather Station experiment displaying on a 16x2 LCD the Temperature + Humidity (Line1) and Pressure + Altitude (Line2). In addition, a trendindicator (=,+,-) is shown for each...
Analog Read Example By rwblinn Apr 11, 2016 Hi, a simple analog read example which reads the temperature from sensor TMP36 and logs the result. Code: Copy Sub Process_Globals Public Serial1 As Serial Private TempSensorPin As Pin... Click to expand...
Hi, a simple analog read example which reads the temperature from sensor TMP36 and logs the result. Code: Copy Sub Process_Globals Public Serial1 As Serial Private TempSensorPin As Pin...
B4A, B4i, B4J and B4r API documentation - B4X Object Browser By Vader May 13, 2016 B4x Object Browser will soon support B4R and is free. https://www.b4x.com/android/forum/t...r-api-documentation-b4x-object-browser.25682/ Click to expand...
B4x Object Browser will soon support B4R and is free. https://www.b4x.com/android/forum/t...r-api-documentation-b4x-object-browser.25682/
[B4R & B4J] DHT11 Data via RF24 to display as Google Chart By rwblinn May 25, 2016 Hi, please find a B4R & B4J HowTo Project: DHT11 Sensor Data send via RF24 Client to RF24 Gateway which routes to a Webserver displaying the Data in Google Chart B4R RF24 Client ... Attachments B4RHowToDHT11RF24GoogleChart.zip B4RHowToDHT11RF24GoogleChart.zip 98.8 KB · Views: 1,067 Click to expand...
Hi, please find a B4R & B4J HowTo Project: DHT11 Sensor Data send via RF24 Client to RF24 Gateway which routes to a Webserver displaying the Data in Google Chart B4R RF24 Client ...
B4R & B4J MQTT display DHT11 sensor data Google Line Chart By rwblinn May 23, 2016 Hi, as an example build a B4R & B4J solution to display DHT11 sensor data (Temperature & Humidity) in a google line chart created and refreshed by a B4J webserver. Update 2016.05.24 There... Attachments B4RHowToDHT11MQTTGoogleChart.zip B4RHowToDHT11MQTTGoogleChart.zip 29.2 KB · Views: 1,209 Last edited: May 24, 2016 Click to expand...
Hi, as an example build a B4R & B4J solution to display DHT11 sensor data (Temperature & Humidity) in a google line chart created and refreshed by a B4J webserver. Update 2016.05.24 There...
B4R sending DHT11 data to B4J server which displays a Google Line Chart By rwblinn May 17, 2016 An example of a DHT11 sensor connected to an Arduino interacting with B4J server application. A B4R program gathers every 10s sensor data and sends the data in JSON format via UDP to a B4J... Attachments B4RHowToDHT11UDPGoogleChart.zip B4RHowToDHT11UDPGoogleChart.zip 14.3 KB · Views: 1,107 Click to expand...
An example of a DHT11 sensor connected to an Arduino interacting with B4J server application. A B4R program gathers every 10s sensor data and sends the data in JSON format via UDP to a B4J...