Social Plugins

Featured Post

How to Become a Freelancer

Unlocking the Potential of Freelancing: A Comprehensive Guide to Earning Money Online #Freelancing #OnlineEarning #WorkFromHome #FreelanceJo...

Showing posts with label TECH. Show all posts
Showing posts with label TECH. Show all posts

Monday, June 9, 2025

Learn Hacking for Free

How to Learn Hacking Free: Best Sites, AI Tools, and How to Stay Safe from Hackers

Beginner learning ethical hacking on a laptop with code and cybersecurity tools.

Introduction

In today's digital world, ethical hacking is not just a niche—it is a highly demanded skill across industries. Ethical hacking, also known as penetration testing or white-hat hacking, helps in securing systems from cyber-attacks. The good news? You can learn hacking absolutely free from reputed websites and tools. In this comprehensive guide, we will explore the best platforms, AI tools used in hacking, cybersecurity practices, and how you can start today.

free hacking course, ethical hacking sites, AI hacking tools, cybersecurity guide, learn hacking online, free ethical hacking websites, hack protection

📌If you're also interested in Affiliate MarketingFreelancing, or YouTube Earning Tips, check out our related posts to diversify your online income streams.


🎓 What is Hacking?

Hacking is the process of finding and exploiting vulnerabilities in a system or network to gain unauthorized access. However, not all hacking is illegal.

Types of Hackers:

  1. White Hat Hackers - Ethical hackers who work to protect systems.

  2. Black Hat Hackers - Malicious hackers who breach systems for personal gain.

  3. Gray Hat Hackers - Hackers who work both sides.

Important Note: This guide is strictly for educational and ethical purposes.


💼 Why Learn Hacking?

  • Improve your cybersecurity awareness

  • Land jobs in ethical hacking, cybersecurity, or network security

  • Understand system vulnerabilities

  • Help secure organizations and individuals from cybercrime


Best Free Websites to Learn Hacking

Here are the top free websites where you can start your ethical hacking journey:

1. Cybrary

Website: https://www.cybrary.it
Offers professional-level free courses in ethical hacking, network security, and more.

2. Hack The Box (HTB)

Website: https://www.hackthebox.com
Interactive platform with hacking labs and challenges for all levels.

3. Try Hack Me

Website: https://www.tryhackme.com
Beginner-friendly interface and rooms to practice real hacking techniques.

4. Over The Wire

Website: https://overthewire.org
Perfect for beginners to learn basics through war games.

5. Hacker101

Website: https://www.hacker101.com
Free web security lessons offered by HackerOne.

6. Code-cademy (Cybersecurity Path)

Website: https://www.codecademy.com
Some courses are free to learn ethical hacking and Python scripting.

7. MIT Open Course Ware

Website: https://ocw.mit.edu
University-level cybersecurity and hacking courses for free.

8. Coursera (Audit Option)

Website: https://www.coursera.org
Audit cybersecurity courses for free from top universities like Stanford, IBM.

9. EDX

Website: https://www.edx.org
Free university-level cybersecurity and ethical hacking courses.

10. Security Tube

Website: https://www.securitytube.net
A huge collection of videos and lectures on ethical hacking.


🤖 AI Tools Used in Hacking (and Prevention)

AI is increasingly involved in both offensive and defensive hacking. Below are tools used:

AI-powered tools for cybersecurity and ethical hacking automation.
Offensive AI Tools (Used by Hackers)

  1. Deep Exploit - AI-powered penetration testing tool.

  2. Social-Engineer Toolkit (SET) - Uses automation to simulate social engineering attacks.

  3. MalGAN - Generates malware that evades antivirus using GANs.

  4. Ghost Framework - AI-assisted Android exploitation tool.

  5. Recon-ng - Web reconnaissance tool that automates information gathering.

Defensive AI Tools (Used for Security)

  1. Darktrace - AI for threat detection and autonomous response.

  2. Cylance - AI antivirus software to prevent attacks.

  3. CrowdStrike Falcon - Predictive security with machine learning.

  4. Snort - Network intrusion prevention using pattern recognition.

  5. AIShield by Bosch - Detects AI model vulnerabilities and threats.

Note: Most AI tools used in hacking require advanced knowledge and system access. They must be used responsibly within legal boundaries.


🚀 Beginner's Roadmap to Learn Ethical Hacking

Here is a structured plan to go from zero to hacker (ethically):

Step 1: Learn Basic Computer Networking

Step 2: Learn Programming Languages

  • Python: For scripting exploits and automation

  • HTML, JavaScript: For web hacking

  • SQL: For SQL injection knowledge

Step 3: Master Operating Systems

Step 4: Learn Cybersecurity Concepts

  • Firewalls, IDS/IPS, Encryption, Authentication

  • Resource: IBM Cybersecurity Analyst Course (Free Audit)

Step 5: Practice Ethical Hacking

  • Platforms: TryHackMe, HackTheBox

  • Tools: Nmap, Metasploit, Burp Suite, Wireshark

Step 6: Get Certified (Optional but useful)

  • CompTIA Security+

  • CEH (Certified Ethical Hacker)

  • OSCP (Offensive Security Certified Professional)


🛡️ How to Stay Safe from Hackers

To protect yourself or your organization, apply the following measures:

1. Use Strong Passwords

Use combinations of uppercase, lowercase, numbers, and symbols. Use password managers.

2. Enable Two-Factor Authentication (2FA)

Always turn on 2FA wherever available.

3. Keep Software Updated

Regularly update OS, antivirus, and applications to fix vulnerabilities.

4. Use Firewalls and Antivirus

Install and activate reliable antivirus and firewall tools.

Cybersecurity expert setting up firewall protection to prevent hacking threats.

5. Avoid Public Wi-Fi for Sensitive Tasks

Use VPN if using public internet to encrypt traffic.

6. Back Up Data Regularly

Use both cloud and offline storage for backups.

7. Educate Yourself and Your Team

Phishing awareness, regular training, and access control reduce risk.

A blog like “Cybersecurity 101: Beginner’s Complete Guide”


Popular Hacking Tools to Practice Legally

  1. Wireshark - Packet analysis

  2. Nmap - Network scanning

  3. Metasploit - Exploitation framework

  4. Burp Suite - Web vulnerability scanner

  5. John the Ripper - Password cracking tool

All tools should be used only in a legal, safe lab environment or with explicit permission.


🔒 Legal Disclaimer

This blog is for educational and informational purposes only. Any mention of hacking tools or techniques is to raise awareness about cybersecurity. Using these techniques to access unauthorized systems is illegal and punishable by law. The author does not support or promote illegal hacking.


Conclusion

Learning hacking doesn’t have to be expensive. With the right guidance, platforms, and dedication, anyone can become a skilled ethical hacker. Start by building your fundamentals, explore free platforms, test your skills in labs, and always remember to stay ethical. In the age of AI, cybersecurity is evolving fast—and the demand for ethical hackers has never been higher.

For more related content, check out our blogs on:

Stay connected with the latest in AI, trading, and digital finance!

Monday, June 2, 2025

Explore the Dark Web

Exploring the Dark Web: Definition, Uses, Benefits & Risks, Plus Top AI Tools for Secure Research
Digital representation of the Dark Web with encrypted onion routing and anonymous network pathways

Introduction

The term "Dark Web" evokes images of hidden marketplaces, clandestine communication channels, and untraceable networks where illicit activities thrive. While popular culture often portrays it as a haven for criminal enterprise, the Dark Web is a multifaceted digital ecosystem with legitimate use cases in privacy, research, and journalism. In this comprehensive guide, we will unpack what the Dark Web is, how it functions, its benefits and inherent risks, and the cutting-edge AI tools you can leverage for safer exploration and analysis.

dark web, dark web definition, dark web uses, dark web benefits, dark web risks, dark web AI tools, darknet research, secure dark web access, dark web guide

 ðŸ“ŒIf you're also interested in Affiliate MarketingFreelancing, or YouTube Earning Tips, check out our related posts to diversify your online income streams.


What Is the Dark Web?

The Internet is usually divided into three layers:

  1. Surface Web: Indexed by search engines (e.g., Google, Bing) and easily accessible.

  2. Deep Web: Unindexed content behind paywalls or authentication (e.g., academic databases, private forums).

  3. Dark Web: A subset of the Deep Web accessible only through specialized networks like Tor, I2P, or Freenet and designed for anonymity.

Underneath the veneer of anonymity, the Dark Web uses encryption and proxy layers to obscure both the location and identity of users and servers. This design creates a private space for both legitimate and illicit activities.

History and Evolution

The concept of an anonymized network dates back to the mid-1990s with the launch of Freenet. In 2002, development of Tor (The Onion Router) began under the U.S. Naval Research Laboratory to protect government communications. Tor’s onion routing—stacked layers of encryption—gave rise to today’s Dark Web landscape. Over time, additional anonymity networks such as I2P and Freenet evolved, diversifying the technical underpinnings of hidden services.

Underlying Architecture

1. Tor (The Onion Router)

  • Onion Routing: Data packets are encrypted in multiple layers and routed through volunteer-operated relays.

  • . onion Addresses: Hidden service URLs that end with. onion, resolvable only via the Tor network.

2. I2P (Invisible Internet Project)

  • Garlic Routing: Similar to onion routing but bundles multiple messages together for efficiency.

  • Eepsites: I2P’s version of hidden services, ending in .i2p.

3. Freenet

  • Peer-to-Peer Storage: Files are split, encrypted, and distributed across users’ machines.

  • Darknet Mode: Connect only to trusted peers for heightened security.

Each network has unique performance, resilience, and threat models—choosing the right one depends on specific use cases.

Accessing the Dark Web using Tor Browser with a .onion site displayed


How to Access the Dark Web

Accessing the Dark Web safely involves a multi-step approach:

  1. Download and Install Tor Browser from the official site.

  2. Update Regularly to mitigate vulnerabilities.

  3. Configure Security Settings: Use "Safest" level to disable scripts and plugins.

  4. Use a VPN (Optional): Adds another layer by masking your IP from your ISP.

  5. Navigate via Direct Links: Avoid clickable links in forums; copy-paste. onion addresses from trusted sources.

Note: Never use personal credentials or access personal accounts while on Tor. Treat each session as ephemeral and compartmentalized.

Legitimate Uses and Benefits

While the Dark Web is often synonymous with crime, it serves critical functions:

1. Privacy for Journalists and Whistleblowers

  • Secure Drop Services: Platforms like SecureDrop allow anonymous document submission to news outlets.

  • Censorship Resistance: Governments with strict firewalls can still receive and disseminate information.

2. Research and Threat Intelligence

  • Cybersecurity Intel: Analysts monitor forums for emerging exploits, malware strains, and data breaches.

  • Academic Studies: Enables sociological, criminological, and technical research into underground economies.

3. Political Activism

  • Anonymous Communication: Activists use encrypted chat and forums to organize without fear of reprisal.

  • Circumventing Surveillance: Removes digital footprints in repressive regimes.

4. Business and Enterprise

  • Security Assessments: Enterprises engage in "dark web monitoring" to detect leaked credentials or proprietary data.

  • Brand Protection: Automated scans identify counterfeit or black-market sales of goods.

Harms, Risks, and Ethical Concerns

Despite legitimate uses, the Dark Web also harbors significant threats:

1. Illegal Marketplaces

  • Drugs, Weapons, and Counterfeit Goods: Silk Road pioneered these illicit markets; many successors continue today.

  • Payment and Escrow Services: Cryptocurrency-based escrow can facilitate transactions with minimal trace.

2. Human Trafficking and Exploitative Services

  • Forced Labor and Sexual Exploitation: Hidden forums may offer abhorrent services.

  • Child Abuse Materials: One of the most reprehensible uses of underground networks.

AI dashboard detecting threats and data leaks on the Dark Web in real-time
3. Malware Distribution and Cybercrime

  • Ransomware-as-a-Service: Kits sold on forums enable novices to launch attacks.

  • Botnets and DDoS Tools: Rentals for disruptive operations.

4. Scams and Financial Fraud

  • Phishing Operations: Cloned sites designed to harvest credentials.

  • Stolen Data Dumps: Large troves of personal data traded daily.

5. Legal and Ethical Risks

  • Accidental Exposure: Visiting illicit sites can attract unwanted attention from law enforcement.

  • Entrapment: Undercover operations may target researchers or curious users.

Safety Best Practices

  1. Segregated Environment: Use a dedicated device or VM for Tor.

  2. No Scripts or Plugins: Disable JavaScript and browser plugins.

  3. Double-Check URLs: Verify .onion addresses against trusted repositories.

  4. Use PGP for Communications: Encrypt messages and documents end-to-end.

  5. Monitor for Leaks: Regularly check if your emails or passwords have been exposed.

Top AI Tools for Dark Web Exploration

AI-powered tools can enhance efficiency and security in Dark Web research. Below are leading solutions:

1. DarkTracer AI

  • Function: Automated crawling of .onion sites to map new hidden services.

  • AI Features: NLP-based classification to tag content (e.g., drug markets, data dumps).

  • Use Case: Threat intelligence teams use it to stay ahead of emerging malware marketplaces.

2. TorGPT

  • Function: Fine-tuned language model on Dark Web forum data.

  • AI Features: Summarization of lengthy threads, sentiment analysis of user posts.

  • Use Case: Journalists parse large forum archives to identify trends or credible leaks.

3. DeepScan ML

  • Function: Machine learning engine that analyzes leaked credential lists for password reuse patterns.

  • AI Features: Predictive modelling to flag high-risk accounts.

  • Use Case: Enterprises integrate it into SIEM to prioritize incident response.

4. AI-Enhanced Malware Analyzer

  • Function: Sandbox environment with AI-driven behavior analysis.

  • AI Features: Anomaly detection and classification of zero-day exploits.

  • Use Case: Security researchers vet suspicious executables downloaded from Darknet forums.

5. XRay DarkNet Monitor

  • Function: Real-time alerting on data leaks and brand mentions.

  • AI Features: Named entity recognition to pinpoint relevant leaks by company or individual.

  • Use Case: PR and security teams watch for unauthorized disclosures of corporate data.

Implementing AI Tools: Deployment Tips

    Whistleblower and journalist securely exchanging information via encrypted tools on the Dark Web
  • Data Privacy: Ensure AI models process data in isolated environments to prevent leakage of sensitive intel.

  • Continuous Training: Dark Web evolves rapidly—retrain models with new forum dumps monthly.

  • Integration: Use APIs or Kafka streams to feed AI outputs into dashboards (e.g., Splunk, Elastic).

  • Human-in-the-Loop: Always complement AI flags with expert validation to reduce false positives.

Future Trends

  • AI-Driven De-Anonymization: Research on traffic analysis could threaten user anonymity.

  • Decentralized AI Marketplaces: Blockchain-based platforms for specialized intelligence services.

  • Advanced Natural Language Understanding: Better extraction of actionable insights from multilingual forums.


Conclusion

The Dark Web is a complex, dual-use environment offering both critical benefits and serious threats. While it empowers privacy, whistleblowing, and valuable intelligence gathering, it also facilitates criminal enterprise, exploitation, and cyberattacks. Employing robust best practices and leveraging advanced AI tools can tip the balance toward legitimate research and defense. As the landscape evolves, staying informed and cautious is paramount.


Frequently Asked Questions (FAQs)

Q1: What is the difference between the Deep Web and Dark Web?
A: The Deep Web contains web pages not indexed by search engines, such as medical records or academic papers. The Dark Web is a part of the Deep Web accessed via Tor, often used for anonymity and secrecy.

Q2: Is it legal to access the Dark Web?
A: Yes, accessing the Dark Web is legal. However, performing illegal activities on it is punishable by law.

Q3: Which AI tools are best for dark web monitoring?
A: Popular AI tools include Darktrace, Cybersex, and Recorded Future, which scan for threats, stolen credentials, and illicit activities.

Q4: How can I stay safe while browsing the Dark Web?
A: Use a VPN, Tor Browser, and never share personal info. Stick to verified directories and avoid interacting with suspicious sites.

Disclaimer:

This article is for educational and informational purposes only. Accessing the Dark Web is legal in many countries, but any illegal activities conducted through it are strictly prohibited and may lead to legal consequences. Always use these technologies responsibly and stay informed of your local laws.


For more related content, check out our blogs on:

Stay connected with the latest in AI, trading, and digital finance!

Wednesday, November 13, 2024

Top 10 Free AI Video Making Tools to Earn Money Online With Direct Links!

"Discover the top 10 free AI tools for video making that can help you create engaging content and earn money online. Explore features, tips, and direct links to start creating AI-powered videos today."AI Video-Making Tools, Pictory.ai,Lumen5,InVideo,Synthesia,Veed.io,RunwayML,Magisto,Animoto,Wisecut,Kapwing,

Introduction

In the digital age, video content dominates social media platforms, websites, and even marketing channels. But creating videos can be time-consuming and costly—especially for individuals or small businesses. Luckily, there are advanced AI video-making tools that offer powerful features, and many of them are free to use! This blog post will explore the top 10 free AI tools for video making, highlighting their unique features, how to make money using them, and providing direct links to get you started.

1. Pictory.ai

Pictory.ai is a versatile tool that turns written content into short, engaging videos. By simply uploading an article or script, Pictory generates relevant visuals, text overlays, and background music, making it perfect for repurposing blog content into videos.

  • Features:

    • Converts text to video in minutes
    • Multiple customizable templates
    • Free to use with a watermark option
  • Earning Potential: Use it for affiliate marketing videos, YouTube content, or social media clips to drive traffic to monetized platforms.

  • Link: Pictory.ai

2. Lumen5

Lumen5 is a popular AI-powered video creation tool designed for businesses, bloggers, and content creators. It transforms blog posts or written content into visually engaging videos, making it perfect for repurposing articles into video format.

  • Features:

    • Automated storyboard generation
    • Customizable templates and themes
    • Text-to-video capabilities
  • Earning Potential: Create YouTube videos from existing blog content, saving time and boosting your content’s reach.

  • Link: Lumen5

3. InVideo

InVideo is a powerful tool with a robust free plan that offers templates, animations, and music. It’s highly customizable, allowing you to create promotional videos, social media content, or explainer videos.

  • Features:

    • 5000+ templates
    • Text-to-speech capabilities
    • Multi-language support
  • Earning Potential: Monetize videos on YouTube or Facebook, promote affiliate products, or offer freelance video creation services.

  • Link: InVideo

Top 10 Free AI Video Making Tools to Earn Money Online
4. Synthesia

Synthesia uses AI avatars to create videos with a human-like appearance. You can simply input a script, choose an avatar, and let Synthesia generate a video with realistic speech.

  • Features:

    • AI-powered avatars with lip-syncing
    • Multiple language support
    • Script-based video generation
  • Earning Potential: Great for creating educational or product-review videos that you can monetize on various platforms.

  • Link: Synthesia

📌Top 10 Free AI Tools for 2024

📌Top 10 Free Domain Registration Sites in 2024

5. Veed.io

Veed.io is a user-friendly video editor with AI features for text-to-speech, transcription, and automated subtitle generation. It’s ideal for creating social media clips or adding subtitles to videos.

  • Features:

    • Automatic subtitles and translations
    • Text overlay and video trimming
    • Easy-to-use interface
  • Earning Potential: Boost engagement on social media with captioned videos, or use it for freelancing in video editing and transcription services.

  • Link: Veed.io

6. RunwayML

RunwayML offers a suite of AI tools for video editing, including background removal, video generation from text, and more. It’s perfect for those looking to add advanced effects to videos without specialized skills.

  • Features:

    • Text-based video editing
    • Background removal and color correction
    • AI-powered effects
  • Earning Potential: Create high-quality videos for social media or clients, allowing you to earn through freelance projects or affiliate marketing.

  • Link: RunwayML

7. Magisto

Magisto uses AI to analyze your video footage and automatically create edited versions with transitions and music. This makes it ideal for creating quick marketing or social media videos.

  • Features:

    • AI-powered video editing
    • Pre-made templates and themes
    • Music and transition effects
  • Earning Potential: Great for building a YouTube channel, creating product demo videos, or offering video editing services.

  • Link: Magisto

8. Animoto

Animoto provides an easy way to create slideshow videos with AI assistance, allowing users to combine photos, text, and music into beautiful video presentations.

  • Features:

    • Drag-and-drop interface
    • Music and theme library
    • Customizable templates
  • Earning Potential: Ideal for freelance work or creating marketing videos for your products or affiliate links.

  • Link: Animoto

📌Top 10 Free Blog Templates Websites.

9. Wisecut

Wisecut is a tool designed to edit talking-head videos automatically. It uses AI to cut out pauses, add background music, and create seamless transitions.

  • Features:

    • Auto-cutting pauses in dialogue
    • Background music generation
    • Auto-captioning
  • Earning Potential: Excellent for YouTube video production, allowing for quicker video turnaround times and more professional content.

  • Link: Wisecut

10. Kapwing

Kapwing is an online video editing tool that offers a suite of AI-powered features, such as subtitling, trimming, and resizing. It's especially useful for meme creation, reaction videos, and social media clips.

  • Features:

    • Automatic subtitling
    • Text overlay and resizing
    • Video trimming and transitions
  • Earning Potential: Create short-form content for platforms like TikTok and Instagram, monetize through brand sponsorships or affiliate marketing.

  • Link: Kapwing

  • Top 10 Free AI Video Making Tools to Earn Money Online

How to Earn Money Using AI Video-Making Tools

With the right AI video-making tools at your disposal, there are plenty of ways to generate revenue:

  1. YouTube Monetization: Create engaging content and grow a YouTube channel. Once you reach YouTube’s monetization requirements, you can earn through ad revenue, Super Chats, and memberships.

  2. Affiliate Marketing: Incorporate affiliate links in your video descriptions to earn commissions. Create product review videos or tutorial videos to attract interested viewers.

  3. Freelance Services: Offer video creation or editing services on platforms like Fiverr or Upwork. Many clients look for professionals to create social media videos or promotional content.

  4. Social Media Monetization: Use platforms like Instagram, TikTok, and Facebook to create videos that drive brand partnerships, sponsorships, or even direct sales.

  5. E-commerce Product Videos: If you have an online store, create product videos to engage customers. Use tools like Pictory.ai or Lumen5 to create marketing videos that boost conversions.

  6. Educational Content: Create instructional videos or online courses using tools like Synthesia or Veed.io. Monetize by selling access to these courses or publishing them on platforms that offer revenue-sharing models.


Conclusion

Incorporating AI video-making tools into your content strategy opens doors to cost-effective, high-quality video production. Each tool on this list offers unique features to suit various needs, from simple text-to-video generation to complex editing functions. Whether you’re looking to grow a YouTube channel, boost your social media presence, or offer freelance services, these AI tools are game-changers in the video content creation industry.

Take advantage of these free resources, start creating, and explore the monetization opportunities they bring. With the links provided, you’re just a click away from creating videos that can help you earn money online!

Saturday, May 18, 2024

How to create a Robot.

 

AI give detail How to create a Robot.



Creating a physical robot involves a combination of hardware and software development. If you're looking for ideas or steps to build a simple robot, here are some general guidelines:


Components Needed:

1.Microcontroller: Arduino, Raspberry Pi, or any other microcontroller board.

2.Motors: DC motors or servo motors for movement.

3.Chassis: A base to hold all components together.

4.Wheels: For movement (unless you're building a stationary robot).

5.Sensors: Ultrasonic sensors, infrared sensors, or cameras for detecting obstacles and navigation.

6.Battery: A power source to run the motors and microcontroller.

Wires and Connectors: For connecting all the components.

Steps to Build a Simple Robot:

7.Design the Robot: Plan the layout and functionality of your robot. Decide on its purpose (e.g., obstacle avoidance, line following).


8.Assemble the Chassis: Build or buy a chassis that can hold your motors, microcontroller, and sensors.


9.Attach the Motors: Secure the motors to the chassis and connect them to the wheels.


10.Connect the Microcontroller: Mount the microcontroller to the chassis and connect it to the motors using a motor driver.


11.Add Sensors: Attach sensors to the front of the robot and connect them to the microcontroller.


12.Power Up: Connect the battery to the microcontroller and motors.


Write the Code: Program the microcontroller with the code to control the robot's behavior. For example, if you are building an obstacle-avoiding robot, write code that makes the robot turn when it detects an obstacle.


Test and Debug: Run your robot and make adjustments as needed to ensure it functions correctly.



Example Code for an Obstacle-Avoiding Robot (Arduino):

cpp

Copy code

#include <Servo.h>


Servo leftMotor;

Servo rightMotor;

const int trigPin = 9;

const int echoPin = 10;


void setup() {

  leftMotor.attach(3);

  rightMotor.attach(5);

  pinMode(trigPin, OUTPUT);

  pinMode(echoPin, INPUT);

  Serial.begin(9600);

}


void loop() {

  long duration, distance;

  digitalWrite(trigPin, LOW);

  delayMicroseconds(2);

  digitalWrite(trigPin, HIGH);

  delayMicroseconds(10);

  digitalWrite(trigPin, LOW);

  duration = pulseIn(echoPin, HIGH);

  distance = (duration / 2) / 29.1;


  if (distance < 20) {

    leftMotor.write(180);

    rightMotor.write(0);

    delay(500);

  } else {

    leftMotor.write(90);

    rightMotor.write(90);

  }

}


This is a basic example and can be expanded with more functionality and better components based on your needs.







Popular Posts