Connecting an actual building\house alarm PIR sensor By Peter Simpson May 20, 2017 This is a tutorial on how to connect an actual building\house alarm PIR sensor to an Arduino and how to interpret 5 alert states (the resistance results). The advantages of using the PIR sensor in... Last edited: May 23, 2017 Click to expand...
This is a tutorial on how to connect an actual building\house alarm PIR sensor to an Arduino and how to interpret 5 alert states (the resistance results). The advantages of using the PIR sensor in...
How I2C communications works - Video... By Peter Simpson May 2, 2017 Not exactly a tutorial, but still education for those not in the know... Click to expand...
DHT11 & DHT22 temperature and humidity sensors ARDUINO UNO Code By inakigarm Apr 22, 2016 This B4R example/library works with DHT11 and DHT22 temperature and humidity sensors: This inexpensive device (DHT11) allows for measure temperature and humidity: Very Low cost 3... Attachments upload_2016-4-22_12-12-25.png 11.7 KB · Views: 1,881 DHTlib.zip DHTlib.zip 10.1 KB · Views: 1,855 rDHTv2.zip rDHTv2.zip 1.2 KB · Views: 1,624 Last edited: Apr 29, 2016 Click to expand...
This B4R example/library works with DHT11 and DHT22 temperature and humidity sensors: This inexpensive device (DHT11) allows for measure temperature and humidity: Very Low cost 3...
Adafruit MPR121 capacitive Keypad By atiaust Apr 9, 2017 Hi All, The attached zip files have the Arduino libraries and the B4R libraries together with a small B4R app showing how to use the Adafruit MPR121 capacitive touch 12 key keypad. Big thanks to... Attachments rMPR121.zip rMPR121.zip 1.2 KB · Views: 817 rMPR121-Libraries.zip rMPR121-Libraries.zip 4.6 KB · Views: 779 MPR121keypad.jpg 71.1 KB · Views: 1,057 Click to expand...
Hi All, The attached zip files have the Arduino libraries and the B4R libraries together with a small B4R app showing how to use the Adafruit MPR121 capacitive touch 12 key keypad. Big thanks to...
How to connect an Arduino Pro Mini to a PC via a USB to Serial module By Peter Simpson Mar 6, 2017 So you are interested in using an Arduino Pro Mini or compatible board instead of one of the other larger boards to interact with your hardware devices. The Pro Mini does have some advantages over... Last edited: Mar 7, 2017 Click to expand...
So you are interested in using an Arduino Pro Mini or compatible board instead of one of the other larger boards to interact with your hardware devices. The Pro Mini does have some advantages over...
Relays, don't get caught out By Peter Simpson Mar 1, 2017 Not really a tutorial as I'm no good at writing tutorials, but important to know nevertheless. WARNING: Relays can be used to switch very high voltages. Here in the UK 240VAC can easily... Last edited: Apr 2, 2017 Click to expand...
Not really a tutorial as I'm no good at writing tutorials, but important to know nevertheless. WARNING: Relays can be used to switch very high voltages. Here in the UK 240VAC can easily...
[Tool]LCD Char maker By rwblinn Jun 14, 2016 Hi, LCD Char Maker Tool. Functionality Create custom LCD character with 5 pixel horizontal (cols), 8 pixel vertical (rows). Each row is represented by a byte with 5... Last edited: Mar 10, 2020 Click to expand...
Hi, LCD Char Maker Tool. Functionality Create custom LCD character with 5 pixel horizontal (cols), 8 pixel vertical (rows). Each row is represented by a byte with 5...
AsyncStreams Prefix Mode By Erel Feb 26, 2017 rRandomAccessFile v1.80 adds support for AsyncStreams in prefix mode. All B4X development tools use AsyncStreams for network communication and now all of them support prefix mode... Click to expand...
rRandomAccessFile v1.80 adds support for AsyncStreams in prefix mode. All B4X development tools use AsyncStreams for network communication and now all of them support prefix mode...
Arduino to WeMos pin mapping By Peter Simpson Feb 20, 2017 Hello, Not exactly a tutorial, but informative nevertheless. This is how to map your Arduino projects to your WeMos. So for example in the blink demo, you just choose pin 2 for a WeMos instead of... Last edited: Feb 21, 2017 Click to expand...
Hello, Not exactly a tutorial, but informative nevertheless. This is how to map your Arduino projects to your WeMos. So for example in the blink demo, you just choose pin 2 for a WeMos instead of...
Pull up resistors and buttons By Peter Simpson Feb 14, 2017 Understanding why you might need a pull up resistor... Not exactly a tutorial from directly within this forum, but nevertheless I'm more than sure that this will help a few new B4R users... Last edited: Feb 14, 2017 Click to expand...
Understanding why you might need a pull up resistor... Not exactly a tutorial from directly within this forum, but nevertheless I'm more than sure that this will help a few new B4R users...
Creating libraries for B4R By Erel Apr 12, 2016 Libraries are written in C++. Libraries are made of a single h file and one or more cpp files. Libraries can also include other h files which will not be exposed. All the files should be in the... Attachments B4Rh2xml.jar B4Rh2xml.jar 98 KB · Views: 1,996 Last edited: Mar 23, 2020 Click to expand...
Libraries are written in C++. Libraries are made of a single h file and one or more cpp files. Libraries can also include other h files which will not be exposed. All the files should be in the...
Writing and reading from the EEPROM By Erel Apr 12, 2016 The EEPROM is in most cases the only persistent storage available. As a persistent storage we can use it to store data that will not be lost when the board is turned off. The rEEPROM library... Click to expand...
The EEPROM is in most cases the only persistent storage available. As a persistent storage we can use it to store data that will not be lost when the board is turned off. The rEEPROM library...
Timers, Loopers and CallSubPlus By Erel Apr 19, 2016 Arduino C example #1: Code: Copy void setup() { pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the... Last edited: Jan 8, 2017 Click to expand...
Arduino C example #1: Code: Copy void setup() { pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the...
[Hint] 10 methods to easily destroy your Arduino By Beja Jul 6, 2016 Some of us may already know how to do that http://www.rugged-circuits.com/10-ways-to-destroy-an-arduino/ Click to expand...
Some of us may already know how to do that http://www.rugged-circuits.com/10-ways-to-destroy-an-arduino/
B4R Beginner's Guide By klaus Jul 4, 2016 This guide is obsolete ! It is no more updated. Please use the B4X Booklets. Here you find the B4R Beginner's Guide in pdf format. The source code for the example programs is... Last edited: Apr 4, 2018 Click to expand...
This guide is obsolete ! It is no more updated. Please use the B4X Booklets. Here you find the B4R Beginner's Guide in pdf format. The source code for the example programs is...
Reed Switch Monitor Example By rwblinn Nov 2, 2016 B4R & B4J experiment to monitor the state of a Reed switch connected to an ESP8266 - a NodeMCU is used. If the Reed switch state changes (triggered by a magnetic contact), data is send to a B4J... Last edited by a moderator: Nov 3, 2016 Click to expand...
B4R & B4J experiment to monitor the state of a Reed switch connected to an ESP8266 - a NodeMCU is used. If the Reed switch state changes (triggered by a magnetic contact), data is send to a B4J...
Blink Example By Erel Apr 11, 2016 A simple example that uses a Timer to change the state of pin 13 (this is the pin connected to the built-in led): Code: Copy Sub Process_Globals Public Serial1 As Serial Private Timer1 As Timer... Click to expand...
A simple example that uses a Timer to change the state of pin 13 (this is the pin connected to the built-in led): Code: Copy Sub Process_Globals Public Serial1 As Serial Private Timer1 As Timer...
ESP8266 + Relay = Let there be light By Erel Oct 5, 2016 Relays are electronic switches that allow low power (voltage) devices to control high power circuits. In this example the ESP8266 board controls a regular 220v light bulb. *** High power... Attachments B4A_Relay.zip B4A_Relay.zip 7.8 KB · Views: 1,839 Last edited: Oct 9, 2016 Click to expand...
Relays are electronic switches that allow low power (voltage) devices to control high power circuits. In this example the ESP8266 board controls a regular 220v light bulb. *** High power...
TIME to Uint / Unit to TIME Converter By Tayfur Oct 7, 2016 I using this code, Because Board has a problem for records size capacity of epprom. Sample Code: Copy Log("17:45:36 False >>",DateTime.TimeToUint(17,45,36,False)) '>>> 1065 Log("1065 // 17:45:36... Last edited: Oct 7, 2016 Click to expand...
I using this code, Because Board has a problem for records size capacity of epprom. Sample Code: Copy Log("17:45:36 False >>",DateTime.TimeToUint(17,45,36,False)) '>>> 1065 Log("1065 // 17:45:36...
DATE to Uint / Unit to Date Converter By Tayfur Oct 7, 2016 I using this code, Because Board has a problem for records size capacity of epprom. Code: Copy 'For date >> 2015/ 08 / 04 (y/m/d) Log("Date number:",DateTime.DateToUint(15,8,4))) 'returned >> 'Date... Last edited: Oct 8, 2016 Click to expand...
I using this code, Because Board has a problem for records size capacity of epprom. Code: Copy 'For date >> 2015/ 08 / 04 (y/m/d) Log("Date number:",DateTime.DateToUint(15,8,4))) 'returned >> 'Date...