News:

The Latest electronic and computer Tips that work!

Main Menu

Recent posts

#51
General Discussion / Download all Files in one zip ...
Last post by branx86 - July 02, 2022, 05:28:39 PM
Change files to zip  : https://www.thingiverse.com/thing:2764274/files
Just put zip after file number and all files will download into one zip file.
Example:   https://www.thingiverse.com/thing:2764274/zip
#52
General Discussion / Sonoff R1 Dry switch
Last post by branx86 - June 29, 2022, 03:38:27 PM
This is a pic of a Sonoff R1where to cut for a dry switch for, Garage door, Turn on off Invertor .....etc


This is what the top should look like
#53
Raspberry Pi / Hoobs
Last post by branx86 - June 28, 2022, 07:57:27 AM
#54
General Discussion / XEvil 5.0: The best software f...
Last post by RitaEffike259 - June 22, 2022, 12:47:50 AM
XEvil 5.0 automatically solve most kind of captchas,
Including such type of captchas: ReCaptcha-2, ReCaptcha-3, Hotmail, Google captcha, SolveMedia, BitcoinFaucet, Steam, +12000
+ hCaptcha supported in new XEvil 6.0! Just search for XEvil 6.0 in YouTube

Interested? Just google XEvil 5.0.15
P.S. Free XEvil Demo is available !

Also, there is a huge discount available for purchase until 20th June: -30%!

XEvil.Net

Check new video in YouTube:
"XEvil 6.0 [Beta-1] + XRumer multhithreading hCaptcha test"
#55
Arduino / Battery Voltage Meter on Webpa...
Last post by branx86 - June 05, 2022, 06:04:15 PM







From : https://www.engineersgarage.com/nodemcu-battery-voltage-monitor/

/*****************************************************
* Date: 18 june 2018
* Written by: Usman Ali Butt
* Property off: microcontroller-project.com
* ***************************************************/
#include <ESP8266WiFi.h>

const char* ssid = "Your SSID";
const char* password = "Your Wifi Password";

int BAT= A0;              //Analog channel A0 as used to measure battery voltage
float RatioFactor=5.714;  //Resistors Ration Factor
WiFiServer server(80);

void setup() {
  Serial.begin(9600);
  delay(10);
  Serial.print("Connecting to ");
  Serial.println(ssid);
  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi connected");
  server.begin(); // Start the server
  Serial.println("Server started");
  // Print the IP address on serial monitor
  Serial.print("Use this URL to connect: ");
  Serial.print("http://");    //URL IP to be typed in mobile/desktop browser
  Serial.print(WiFi.localIP());
  Serial.println("/");
}

void loop() {
  int value = LOW;
  float Tvoltage=0.0;
  float Vvalue=0.0,Rvalue=0.0;
 
  // Check if a client has connected
  WiFiClient client = server.available();
  if (!client) {
    return;
  }
 
  // Wait until the client sends some data
  Serial.println("new client");
  while(!client.available()){
    delay(1);
  }

  // Read the first line of the request
  String request = client.readStringUntil('\r');
  Serial.println(request);
  client.flush();

  // Match the request
 
  if (request.indexOf("/bat=ON") != -1)  {
    /////////////////////////////////////Battery Voltage////////////////////////////////// 
  for(unsigned int i=0;i<10;i++){
  Vvalue=Vvalue+analogRead(BAT);         //Read analog Voltage
  delay(5);                              //ADC stable
  }
  Vvalue=(float)Vvalue/10.0;            //Find average of 10 values
  Rvalue=(float)(Vvalue/1024.0)*5;      //Convert Voltage in 5v factor
  Tvoltage=Rvalue*RatioFactor;          //Find original voltage by multiplying with factor
    /////////////////////////////////////Battery Voltage//////////////////////////////////
    value = HIGH;
  }

  // Return the response
  client.println("HTTP/1.1 200 OK");
  client.println("Content-Type: text/html");
  client.println(""); //  do not forget this one
  client.println("<!DOCTYPE HTML>");
  client.println("<html>");

  client.println("Battery Voltage =");
  client.print(Tvoltage);
  client.println("
");

  if(value == HIGH) {
    client.println("Updated");
  } else {
    client.print("Not Updated");
  }
  client.println("--------");
  if(Tvoltage<=5){
    client.println("Battery dead OR disconnected");
    }
  else if(Tvoltage>5 && Tvoltage<=10){
    client.println("Need Imediate recharge");
    }
  else if(Tvoltage>10 && Tvoltage<=12){
    client.println("Recharge");
    }
  else{
      client.println("Battery Full");
      }
     
  client.println("

");
  client.println("<a href=\"/bat=ON\"\"><button>Status</button></a>
"); 
  client.println("</html>");
  delay(1);
  Serial.println("Client disonnected");
  Serial.println("");

}
#56
General Discussion / ??????? ?????????? ??? ???????...
Last post by GregoryLar - June 02, 2022, 03:42:15 PM
???? ???????, ????????? ?? ????????? ???????????????.?? , ???????????? ?? ??????????, ? ???????? ?????? ?????? ??????????? ???? ???????. ???????? ???????? ???????????? ??????? ??????, ??????? ?????????? ??? ???????? ????????.
CP
#57
General Discussion / IE opens flashes and closes im...
Last post by branx86 - June 02, 2022, 11:06:11 AM
Open MS Edge  click on three dots > settings > default browser> Under the option "internet explorer compatibility" set the option to >Never then try Oracle.
#58
Raspberry Pi / AutoStart Raspberry PI progra...
Last post by branx86 - May 30, 2022, 03:36:07 PM
To make it auto start at boot Edit:  /etc/rc.local    Put the command  "   sudo python /home/pi/sample.py &    " or what ever starts your program.
#59
Raspberry Pi / OpenCV_USB_Web_camera_Streamer...
Last post by branx86 - May 29, 2022, 04:52:22 PM
Raspberry Pi 3 B+ image. OpenCV Usb camera ,just unrar and image SD card and boot PI then login or SSH in and run "   python webstreaming.py --ip 127.0.0.1 --port 8000 "  Change the IP address to match yours and the port.  Then in a web browser point to the IP and port and enjoy. (Image login = pi  PWD=46765319)
#60
Arduino / Wemos D1_R1 Relay switch Blynk...
Last post by branx86 - May 22, 2022, 07:22:21 AM


//Brandon Relay controller on WeMos GPIO pin D9 on Blynk 2.0
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLPHrQlpSL" //Change to match yours in Blynk 2
#define BLYNK_DEVICE_NAME "RelayONOFF" //Chnage to match yours in Blynk 2

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

#include "BlynkEdgent.h"

BLYNK_WRITE(V0) //This is set in the Blynk app
{
  if(param.asInt ()==0) {  //Change 0 to 1 if you want to change button state
   digitalWrite(2, HIGH);  //WeMos GPIO D9
    }
  else{
    digitalWrite(2, LOW); //WeMos GPIO D9
  }
}
BLYNK_CONNECTED()
{
  Blynk.syncVirtual(V0); //This is set in the Blynk app
}
void setup()
{
  pinMode (2, OUTPUT); //WeMos GPIO D9
  Serial.begin(115200);
  delay(100);

  BlynkEdgent.begin();
}

void loop() {
  BlynkEdgent.run();
}