Posts

STM32 Blue pill STM32F103C8T6, black pill STM32F411CEU6, STM32F401RCT6 program using arduino ide

 STM32 Blue pill STM32F103C8T6, black pill STM32F411CEU6, STM32F401RCT6 program using arduino ide Using USB to TTL module like Ch340 or FTDI module- 1. Add link in Arduino IDE Preferences- https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/refs/heads/main/package_stmicroelectronics_index.json Add board from Board Manager search STM32 and install. Download STM32 Cube Programmer without this code not possible to upload via Arduino IDE https://www.st.com/content/st_com/en/stm32cubeprogrammer.html?tab=installer#stm32-software-downloads-container 2. Connect Serial UART programmer Ch340 or FTDI module to STM32  and  Set Boot Jumper to 1 USB-to-TTL Pin Blue Pill Pin Description 5V or 3.3V 5V or 3.3V Power Supply (Set adapter to 3.3V or 5V accordingly) GND G / GND Common Ground TX PA10 (RX1) TX pin of adapter connects to RX pin of Blue Pill RX PA9 (TX1) RX pin of adapter connects to TX pin of Blue Pill 3. Select Board (for STM32F103C8T6 is STM32F1)...

STM32 Arduino IDE STM32 Development board Program from Arduino IDE STM32 Nucleo 446RE etc

Image
   STM32 Arduino IDE STM32 Development board Program from Arduino IDE STM32 Nucleo 446RE etc Full Video- https://youtu.be/ISURqqczhmg?si=JzMwZUYX7G_s2gcW Short Video-  https://youtube.com/shorts/SkXLhts29QI?si=tu-bYKD3JuxEpB4G 1. Add link in Arduino IDE Preferences- https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/refs/heads/main/package_stmicroelectronics_index.json Other Github Directory links- https://github.com/stm32duino https://github.com/stm32duino/BoardManagerFiles 2. Add board from Board Manager search STM32 and install 3. Select Board and Select Board Part number. 4. Select Port and Upload Blink Example code to test.

Raspberry pi 5MP csi camera v1.3 connect to raspberry pi 5 and RPI Zero W , 2W etc test guide Raspberry Pi Camera Module V1.3 (5MP, OV5647)

Image
Raspberry pi 5MP csi camera v1.3 connect to raspberry pi 5 and RPI Zero W , 2W etc test guide Raspberry Pi Camera Module V1.3 (5MP, OV5647) Quick guide-  https://youtube.com/shorts/E2XBrUn5Cg4?si=pC8JJ92HgpO6CiTy Full video-  https://youtu.be/45-KAZyUlz4?si=sFSeGS8Neit9jZhv 1. Commands- rpicam-hello rpicam-hello -t5000 rpicam-still -o test.jpg rpicam-vid -t 10000 --codec h264 -o test.h264 rpicam-hello --version rpicam-hello --list-cameras libcamera-hello raspistill 2. The Camera Module V1.3 uses a 15-pin ribbon cable, whereas the Raspberry Pi 5 uses a 22-pin camera connector. You need a compatible 15-pin-to-22-pin camera cable. buy link-  https://futuristiciox.blogspot.com/p/shop.html?cartdata=W3sia2V5IjoiRjAwNzk2IiwicXR5IjoxfSx7ImtleSI6IkYwMDE2NiIsInF0eSI6MX1d

Human motion detection sms and call alerts pir sensor esp32 sim800l module

Image
Human motion detection sms and call alerts pir sensor esp32 sim800l module Demo short video-  https://youtube.com/shorts/U1b-yNNR45w?si=DOj4NnMxbzicP_M9 Full video-  https://youtu.be/eRDQAeMDCpg?si=oLeb6EggfwYpCXWl  ,  https://youtube.com/shorts/qKJWksaDIbA?si=3jgzGFErxdBTaWy6 Example Code and Video-  https://youtu.be/_QxP2RT5CLU?si=invdNqf2O8qYKnK_ Example Code-  https://github.com/futuristiciox/Human-motion-detection-sms-and-call-alerts-pir-sensor-esp32-sim800l-module #include <SoftwareSerial.h> #define rxPin 16 #define txPin 17 SoftwareSerial sim800L ( rxPin, txPin ) ; #define pirPin 5 #define buzzerPin 18 bool pirEnabled = true ; // Software switch variable to enable/disable PIR String buff; // Variables for non-blocking PIR debounce unsigned long pirHighStartTime = 0 ; bool motionStateRecorded = false ; const unsigned long debounceTime = 100 ; // Must stay HIGH for at least 100ms void setup () {   Serial . begin ( 115200...

AJ-SR04M Waterproof ultrasonic sensor testing TrigEco Mode-1 and UART Communication mode-4 code

Image
Full video-  https://youtu.be/Wsxv97HIU-c?si=3Wx6_a_YFcpJnHO7 UART communication short-  https://youtube.com/shorts/uVVg_NuV92s?si=c0VhZxT8jl2V60o6 1. TrigEco mode-1 code- >>TrigEco mode-1 Minimal code- #define ECHOPIN 5 #define TRIGPIN 18 void setup () {   Serial . begin ( 115200 ) ;   pinMode ( ECHOPIN, INPUT ) ;     // Fixed: Standard input without pull-up   pinMode ( TRIGPIN, OUTPUT ) ; } void loop () {   digitalWrite ( TRIGPIN, LOW ) ;   delayMicroseconds ( 2 ) ;   digitalWrite ( TRIGPIN, HIGH ) ;   delayMicroseconds ( 10 ) ;       // Fixed: Standard 10µs trigger pulse   digitalWrite ( TRIGPIN, LOW ) ;     // 30,000 µs (30ms) timeout allows measurement up to ~5 meters   long duration = pulseIn ( ECHOPIN, HIGH, 50000 ) ;   int distance = duration / 58 ;   Serial . print ( distance ) ;   Serial . println ( " cm" ) ;   delay ( 50 ) ; } >>TrigEco mode-1...