Hi guys... Here's another example of RGB "smart LED" manipulation... And the code that goes with it... #Region Project Attributes #AutoFlushLogs: True #CheckArrayBounds: True #StackBufferSize: 300 #End Region Sub Process_Globals...
This system can measure wind speed. we used OptoCounter module in wind gauge system. that code is below. Sub Process_Globals Public Serial1 As Serial Public opto_pin As Pin Public opto_value As Int Private opto_timer As Timer...
Porting B4R as such is possible too.. Another video on CGTN Africa for the previous post https://www.b4x.com/android/forum/threads/b4r-for-waziup-wastebin-management-system-africas-big-iot-platform.84462/
AD9833 module is a 0-12.5Mhz waveform generator with integral 25MHz crystal oscillator, the output frequency is set by the SPI controlled divider of the AD9833. A DAC shapes the sine and triangle waveforms, amplitude is 600mV. Squarewave...
So here is a quick video on an UNO based microcontroller board controlling a relay module. The code was written in B4R in less than 5 minutes. View the source code - Click Here For free packages, both B4R and B4J are just fabulous packages...
Hi This system in include 2 part. part 1 is a ultrasonic radar system include one ultrasonic module and one servo motor. This system detects targets at a distance of less than 4 meters. part 2 is a rocket platform with 3 rocket. when radar...
Combine seven segment LED display with traffic lights project. GitHub: https://github.com/pyhoon/traffic-light-7-segment-b4r YouTube:
The goal of this Make Project THime is a LEGO ® module to display in a 4-Bit LED display, the time or temperature & humidity. Control of the display via Infrared. Powered by an Arduino UNO. See here for details. Download B4R source. Additional...
USB thermometer using DS18B20 as a temperature sensor. The temperature can be displayed in Chrome, Edge and Opera browsers https://developer.chrome.com/en/articles/serial/#browser-support . Run the Arduino connected to PC, open file...
OLED 0.95", SSD1331, 96x64 displays bitmap. Online C sets the SPI and loads the B4X icon to the flash memory. The beetle is stored in the RAM. The display module is from Ebay...
The code doesn't use any library, the SPI is set by inline C. Using 1.8" TFT with ST7735 driver, displaying universal 5x7 fonts for 0 to 9. The code works only for ATMEGA328, I used Arduino Nano. Voltage input at A0. Bitmap is BMP of 16 (5:6:5)...
The code doesn't use any library, the SPI is set by inline C. There are functions for initializing ST7735 1.8'' module, displaying characters and part of universal 5x7 fonts for 0 to 9 only, letters can be added if needed. The code works only...
Display text on TFT screen sent from PC. Arduino is Nano or Uno. TFT screen is 1.8" driver ST7735. Connected to PC via USB. Color and size are selectable. ' TFT module with ST7735 driver ' 1 LED 3.3 V or 5V via 47 ohm ' 2 SCK 13 ' 3...
I used @Peter Simpson code snippet on my project and it came with the beetle he has on his signature :), so I decided to show it as an example for TFT animation.
Sub Process_Globals Public Serial1 As Serial Public dama As dht Public damapin As Pin Public LCD As TM1637Display Public rele As Pin Public redpin As Pin Public greenpin As Pin Public yellowpin As Pin End Sub...
It's good to talk. Voltmeter app in B4A using Text To Speech. Voltage input is at pin A0. Arduino connected to Android via OTG cable. The talking voltmeter has an adjustable timer to set the talk intervals (5 to 105 sec) and a stop button...
The Arduino generates an accurate 1 second time base for the counter by cascading timer0 and timer2. The link between digital inputs 3 and 4 connects the output of timer2, 250 Hz, to input of timer0. Timer1 is a 16 bits timer, it overflows at the...
The clock uses ATMEGA328 internal timers to get 1 minute time base which is as accurate as the 16MHz crystal. The code works for Arduino Nano and Uno only. Code has inline C for setting the timers, and wire lib for the OLED. The DF Player plays...
Control 2 outputs (pins 2,3) of Arduino Uno by talking to your Android device using the B4A app. The device is connected via OTG cable. Words or sentences can be edited at run time or in the code. The app uses speech recognition.
My washing machine project worked 100% I want to share with you #Region Project Attributes #AutoFlushLogs: True #CheckArrayBounds: True #StackBufferSize: 600 #End Region 'Ctrl+Click to open the C code folder...