Posts

4G SIM Module 4G LTE testing SIM7670C

Image
Video- https://youtu.be/63zurw1oAjM?si=g0RefvsMpz5fx15r 1. Power- 3.7v battery and Circuit- Arduino boards or USB to TTL (CH340, CP210x) Module TXD → USB-UART RX   Module RXD → USB-UART TX   Module GND → USB-UART GND   Module VCC → External 3.8–4.2V supply  Port : your adapter’s COM port Baud : 115200 , 8-N-1, No flow control Line ending : try CR+LF , and also try No line ending Type: AT then Enter (or send \r\n ) 2. Commands AT reply OK AT+CGREG? AT+CEREG? +CEREG: 0,1 → Registered on LTE network. +CEREG: 0,5 → Registered, roaming on LTE. If you see only +CGREG valid but not +CEREG , you’re on 2G/3G. AT+CSQ +CSQ: 18,99 >18 is Signal strength out of 31 so good 99 means No service +CSQ: <rssi>,<ber> OK <rssi> = signal strength <ber> = bit error rate (ignore, usually 99) 📡 RSSI value meaning (for LTE) rssi Signal (dBm) Quality 0 –113 dBm or less Very poor / no signal 1 –111 dBm Poor 2–9 –109 to –91 dBm Weak 10–14 –...

ESP32 CAM Wifi STA mode and AP mode video feed codes

Image
1. ESP32 CAM APmode Code-  https://github.com/futuristiciox/ESP32-CAM-Wifi-AP-mode-video-feed-codes-FuturisticIOx 2. ESP32 CAM STAmode Code-  https://github.com/futuristiciox/ESP32-CAM-Wifi-STA-mode-video-feed-codes-FuturisticIOx 3. Download and Extract and open .ino file so all other files will open in Arduino IDE tab. 4. Follow this Video-  https://youtu.be/mYo2Fn8hwVM?si=5W-cRAu6a0DuUrE9

Raspberry pi to Raspberry pi LoRa sx1278 communication Via Arduino Esp32 Serial communication

Image
Data Flow-     RPI -> <- ESP32(Arduino) -> <- LoRa SX1278 -> -----<- LoRa SX1278-> <- ESP32(Arduino) -> <-RPI Demo Video-  https://youtu.be/7apXm8SlbFk?si=TTdfYNFo6x1Nw2ef 1. Enable Serial port with command- sudo raspi-config      Interface Options → Serial Port → Enable                        → Serial Login shell → Disable      Login shell over serial? → No      Enable serial port hardware? → Yes      Command- sudo reboot 2. command- pip install pyserial  (if Needed) 3. port command- ls -l /dev/serial* /dev/ttyS* /dev/ttyAMA* 4.  Connection and Circuit diagram- A. ESP32 ↔ Raspberry Pi (UART Communication) Raspberry Pi GPIO Connected to ESP32 Description GPIO14 (TXD) GPIO26 (RX) RPi TX ➜ ESP32 RX GPIO15 (RXD) GPIO27 (TX) RPi RX ⬅ ESP32 TX GND GND Common ground ✅ You are using SoftwareSerial on ESP32 pins 26 ...

Smart glasses with location address and translation DIY Edith specs

Image
1. Project folder(App, code and circuit diagram)-  https://drive.google.com/drive/folders/1DIOnyDH0AMn6cNU-bptEGlkgNnT4GoUG 2. Final project- Features- Date and time Live location address  Translation to english Message communication Audio output on earphones Rechargeable with all battery protection Auto reconnect to Bluetooth App        3. Follow circuit diagram- *Components list- Shop- https://futuristiciox.blogspot.com/p/shop.html?m=1 >ESP32 wroom >0.96 inch OLED display  >3.7v lipo or 18650 lithium ion battery 600mah >to 2600mah >134n3p Charging module with 5v boost Switch 4. Upload code to ESP32- #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include "BluetoothSerial.h" #define SCREEN_WIDTH 128 #define SCREEN_HEIGHT 64 #define OLED_RESET -1 #define G_MESSAGE_TIMEOUT 30000 // 30 seconds Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET); BluetoothSerial SerialBT...

Fix/Format SD Card After Using Raspberry Pi or Linux Boot Disk Drive reformat

Image
Fix/Format SD Card After Using Raspberry Pi or Linux Boot Disk Drive Plug SD card, go to command line(run as Administrator) and follow these commands 1. diskpart 2. list disk 3. select disk 5 4. list disk ->*selected 5. clean 6. create partition primary 7. format fs=Fat32 Quick (1min-Recommended) or format fs=Fat32 (50min-not recommended)  and format fs=exFAT quick for >32GB SD card 8. exit

How to program Raspberry pi pico /w/wh etc with Thonny IDE and Arduino IDE

Image
How to program Raspberry pi pico /w/wh etc with Thonny IDE and Arduino IDE Arduino IDE Preferences link -  https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json UF2 file download link for Thonny IDE-  https://www.raspberrypi.com/documentation/microcontrollers/micropython.html#what-is-micropython:~:text=Download%20the%20correct,Pico%202%20W Pico Factory reset/Erase All - https://www.raspberrypi.com/documentation/microcontrollers/pico-series.html#software-utilities:~:text=Download%20the%20UF2%20file blink code- import machine import utime led_onboard = machine.Pin(25, machine.Pin.OUT) while True:             led_onboard.toggle()             utime.sleep(1)

CAN bus data read with MCP2515 on CANhacker terminal via Arduino IDE and ESP8266 Car or battery BMS

Image
CAN bus data read with MCP2515 on CANhacker terminal via Arduino IDE and ESP8266 Car or battery BMS  Code link- https://github.com/gsrathore97/CANHackerProject Video link- https://www.youtube.com/watch?v=rWEZJeNOWSg There is two configuration 1- BMS and Microcontroller are already communicating with each other in the manufacturer's system In this case we can only read from this system using Arduino(broadcast type). 2- BMS is there with CAN system In this case we have to send CAN request frame commands to get the data on Arduino only.(Command and listen)

Neo-6m GPS module testing code- "No GPS data received: check wiring" error problem

Image
Neo-6m GPS module testing code- "No GPS data received: check wiring" error problem. solutions 1. Do not short circuit Antenna to pins 2. Test in open Sky 3. Battery may low, power it to recharge. 4. 5V power is best 5. Patience while connecting wait 2 min 5min atleast. 6. TinyGPSplus library link- https://github.com/mikalhart/TinyGPSPlus/tree/master #include <TinyGPSPlus.h> #include <SoftwareSerial.h> /*    This sample code demonstrates the normal use of a TinyGPSPlus (TinyGPSPlus) object.    It requires the use of SoftwareSerial, and assumes that you have a    4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx). */ static const int RXPin = 4 , TXPin = 3 ; static const uint32_t GPSBaud = 4800 ; // The TinyGPSPlus object TinyGPSPlus gps; // The serial connection to the GPS device SoftwareSerial ss ( RXPin, TXPin ) ; void setup () {   Serial . begin ( 115200 ) ;   ss . begin ( GPSBaud ) ;   Serial . println (...

Arduino CNC shield test code demo 3 nema 17 stepper motor control

Arduino CNC shield test code demo 3 nema 17 stepper motor control const int StepX = 2 ; const int DirX = 5 ; const int StepY = 3 ; const int DirY = 6 ; const int StepZ = 4 ; const int DirZ = 7 ; const int EnablePin = 8 ;  // Added Enable pin void setup () {   pinMode ( StepX, OUTPUT ) ;   pinMode ( DirX, OUTPUT ) ;   pinMode ( StepY, OUTPUT ) ;   pinMode ( DirY, OUTPUT ) ;   pinMode ( StepZ, OUTPUT ) ;   pinMode ( DirZ, OUTPUT ) ;   pinMode ( EnablePin, OUTPUT ) ; // Set Enable pin as output   digitalWrite ( EnablePin, LOW ) ; // Enable all stepper drivers (LOW = enabled) } void loop () {   digitalWrite ( DirX, HIGH ) ; // Direction: HIGH = CW, LOW = CCW   digitalWrite ( DirY, HIGH ) ;   digitalWrite ( DirZ, HIGH ) ;     for ( int x = 0 ; x < 200 ; x++ ) {     digitalWrite ( StepX, HIGH ) ;     delayMicroseconds ( 500 ) ;     digitalWrite ( StepX, LOW ) ; ...

Electromagnetic radiation spectrum and Data communication technologies frequency bands spectrums

Image
Understanding the Electromagnetic Spectrum and Data Communication Frequency Bands In today’s connected world, data communication technologies rely on different frequency bands within the electromagnetic spectrum to transmit signals efficiently. Whether it’s Wi-Fi, mobile networks, satellite communications, or radio broadcasting, each technology operates within a specific frequency range to optimize performance and avoid interference. What is the Electromagnetic Spectrum? The electromagnetic spectrum refers to the range of all possible electromagnetic waves, from low-frequency radio waves to high-frequency gamma rays. The spectrum is divided into different regions based on frequency (measured in Hertz, Hz) and wavelength (measured in meters). Main Regions of the Electromagnetic Spectrum Radio Waves (3 Hz – 300 GHz) Used for communication technologies like AM/FM radio, television, and wireless networks. Microwaves (300 MHz – 300 GHz) Used in radar, satellite communications, GPS, and Wi-F...