Soluții

How to Re-Enable GPT-4o Model in ChatGPT for Mac

After just a few days of trying GPT-5, many Plus subscribers have decided they prefer GPT-4o’s personality and creative collaboration skills. As a result, OpenAI is allowing paying customers to continue to use the prior-generation GPT-4o model if they don’t want to use the new GPT-5 model. If you count yourself among them, here’s how to bring the older model back into your ChatGPT for Mac experience.

To restore GPT-4o in your ChatGPT for Mac app, you first need to enable the setting through the web interface:

[mai mult...]

Arduino Motion Sensor Guide (Using a PIR Sensor)

A PIR (Passive Infrared) sensor detects motion by measuring changes in infrared radiation emitted by objects (like humans or animals) within its field of view.

PIR sensors are commonly used for:

Component Quantity Notes
Arduino Uno (or Nano, Mega, etc.) 1 Any compatible board
PIR Motion Sensor (HC-SR501 or similar) 1 Adjustable sensitivity and delay
Breadboard 1 For easy connections
Jumper wires ~5 Male-to-male recommended
LED 1 Optional for visual indication
220Ω resistor 1 For LED current limiting
USB cable 1 For programming and power

 Understanding the PIR Sensor

Typical PIR module (e.g., HC-SR501) has 3 pins:

Pin Label Function
1 VCC Power (connect to +5V)
2 OUT Sends HIGH when motion is detected
3 GND Connects to Ground

Adjustable knobs (optional):

  • Sensitivity: changes detection range (typically 3–7 meters)
  • Time delay: how long output stays HIGH after motion (usually 0.3s–5min)

Wiring Diagram

PIR Sensor Arduino Notes
VCC 5V Power supply
OUT D2 Digital input pin
GND GND Common ground
LED (+) D13 Visual output (optional)
LED (–) GND (via 220Ω resistor) Current limit

Connect VCC → 5V, GND → GND, OUT → D2, LED → D13 (optional)

Arduino Code Example


// PIR Motion Sensor with LED Example

int pirPin = 2; // PIR sensor output pin
int ledPin = 13; // LED pin

int pirState = LOW; // Default state
int val = 0; // Variable for reading the pin status

void setup() {
pinMode(pirPin, INPUT);
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
Serial.println("PIR Motion Sensor Active");
}

void loop() {
val = digitalRead(pirPin); // Read input value from PIR

if (val == HIGH) {
digitalWrite(ledPin, HIGH); // Turn LED ON
if (pirState == LOW) {
Serial.println("Motion detected!");
pirState = HIGH;
}
} else {
digitalWrite(ledPin, LOW); // Turn LED OFF
if (pirState == HIGH) {
Serial.println("Motion ended!");
pirState = LOW;
}
}
}

Explanation: The PIR output goes HIGH when motion is detected. The LED turns on and a message is printed to the Serial Monitor.

How It works

  1. Warm-up time: After powering up, the PIR sensor takes ~30–60 seconds to stabilize.
  2. Detection: When an object moves, the sensor’s output pin goes HIGH.
  3. Reset: After the set delay, the output returns LOW until new motion is detected.

1. Control a Relay

Use motion detection to control a light or appliance:


int relayPin = 8; // connect to relay module IN pin
// Replace ledPin with relayPin in code

2. Buzzer Alarm

Add a buzzer that sounds when motion is detected:


int buzzerPin = 9;
digitalWrite(buzzerPin, HIGH);

3. Serial Logging

Send motion logs to a computer or IoT platform for analysis.

4. Automation

Combine PIR with an LDR (light sensor) so it only triggers lights at night.


[mai mult...]

Unealta gratuita pentru verificare domenii si adrese ip suspecte – AbuseIPDB

Corespondenta nesolicitata este de obicei primul pas al unei tentative de phishing.

AbusedIPDB este o bază de date publică care colectează și listează adresele IP și domeniile care au fost raportate ca fiind implicate în activități malițioase pe internet. Gândește-te la ea ca la o listă neagră masivă, actualizată constant de comunitatea de securitate, care te ajută să răspunzi la întrebarea: „Este acest IP/domeniu periculos?”

[mai mult...]

Cum eliminam complet Microsoft Edge

Fie ca suntem deranjati de Microsoft Edge, fie ca ne-am hotarat sa folosim un alt browser pentru navigarea pe internet sau intampinam incompatibilitati software, exista momente cand dorinta de a-l elimina rapid poate fi o salvare.

Edge Remover, asa cum sugereaza si numele sau, a fost conceput pentru a face un singur lucru, si numai un singur lucru: dezinstaleaza Microsoft Edge din sistem. Edge Remover simplifica procesul de eliminare a Microsoft Edge Browser si WebView2 oferind doua optiuni: eliminarea Edge Browser impreuna cu WebView2 sau eliminarea doar a Edge Browser. Aplicatia nu are o interfata grafica si prezinta in schimb o singura fereastra pop-up cu optiunile disponibile. Dupa ce selectam o optiune, aplicatia executa imediat sarcina.

[mai mult...]