I was making a project with my ping sensor, LCD screen and buzzer.
I was able to make the arduino so the LCD would display the distance of the object in front of the ping sensor successfully last week, but I wanted to add a buzzer so if something was within x cm of it, it would buzz.
However I am getting this error:
Sketch uses 3,162 bytes (9%) of program storage space. Maximum is 32,256 bytes.
Global variables use 67 bytes (3%) of dynamic memory, leaving 1,981 bytes for local variables. Maximum is 2,048 bytes.
[color=#FFA500]avrdude: ser_open(): can't set com-state for "\\.\COM3"
An error occurred while uploading the sketch[/color]
I have the COM3 port selected,
I have the right board selected too.
- [$2] EDU EMAILS. [PP/BTC] Good EDU Emails I'm selling @edu email accounts. People having them are eligible student offers and discounts, like a free 6-month Amazon Prime membership, Spotify and Apple Music discounts, the GitHub Student Pack which includes a $50 DigitalOcean code.Connected with Gmail Simple - $2. Most frequently sold, qualify for everything but AWS Educate. C̶u̶s̶t̶o̶m̶ ̶-̶ ̶$̶3̶.̶ ̶S̶a̶m̶e̶ ̶a̶s̶ ̶a̶b̶o̶v̶e̶,̶ ̶b̶u̶t̶ ̶c̶r̶e̶a̶t̶e̶d̶ ̶w̶i̶t̶h̶ ̶a̶ ̶l̶e̶g̶a̶l̶ ̶n̶a̶m̶e̶ ̶o̶f̶ ̶y̶o̶u̶r̶ ̶c̶h̶o̶i̶c̶e̶.̶ ̶F̶o̶r̶ ̶i̶n̶s̶t̶a̶n̶c̶e̶,̶ ̶i̶f̶ ̶y̶o̶u̶ ̶g̶a̶v̶e̶ ̶m̶e̶ ̶t̶h̶e̶ ̶n̶a̶m̶e̶ ̶J̶u̶s̶t̶i̶n̶ ̶B̶l̶a̶i̶r̶,̶ ̶y̶o̶u̶ ̶w̶o̶u̶l̶d̶ ̶g̶e̶t̶ ̶a̶n̶ ̶e̶m̶a̶i̶l̶ ̶l̶i̶k̶e̶ ̶j̶b̶l̶a̶i̶r̶@̶s̶o̶m̶e̶t̶h̶i̶n̶g̶.̶e̶d̶u̶Connected with Outlook S̶i̶m̶p̶l̶e̶ ̶-̶ ̶$̶4̶.̶ ̶T̶h̶e̶s̶e̶ ̶a̶c̶c̶o̶u̶n̶t̶s̶ ̶a̶r̶e̶ ̶t̶h̶e̶ ̶r̶a̶r̶e̶s̶t̶,̶ ̶h̶a̶v̶e̶ ̶a̶ ̶b̶u̶i̶l̶t̶-̶i̶n̶ ̶s̶u̶b̶s̶c̶r̶i̶p̶t̶i̶o̶n̶ ̶f̶o̶r̶ ̶O̶f̶f̶i̶c̶e̶ ̶3̶6̶5̶ ̶a̶n̶d̶ ̶d̶o̶ ̶q̶u̶a̶l̶i̶f̶y̶ ̶f̶o̶r̶ ̶A̶W̶S̶ ̶E̶d̶u̶c̶a̶t̶e̶ ̶$̶1̶0̶0̶ ̶P̶r̶o̶m̶o̶t̶i̶o̶n̶a̶l̶ ̶C̶r̶e̶d̶i̶t̶.̶ ̶C̶u̶s̶t̶o̶m̶ ̶-̶ ̶$̶5̶.̶ ̶S̶a̶m̶e̶ ̶a̶s̶ ̶a̶b̶o̶v̶e̶,̶ ̶b̶u̶t̶ ̶w̶i̶t̶h̶ ̶a̶ ̶l̶e̶g̶a̶l̶ ̶n̶a̶m̶e̶ ̶o̶f̶ ̶y̶o̶u̶r̶ ̶c̶h̶o̶i̶c̶e̶.̶ ̶I̶f̶ ̶y̶o̶u̶ ̶g̶a̶v̶e̶ ̶m̶e̶ ̶t̶h̶e̶ ̶n̶a̶m̶e̶ ̶T̶h̶o̶m̶a̶s̶ ̶M̶u̶r̶d̶o̶c̶k̶,̶ ̶y̶o̶u̶ ̶w̶o̶u̶l̶d̶ ̶g̶e̶t̶ ̶t̶m̶u̶r̶d̶o̶c̶k̶[̶n̶u̶m̶b̶e̶r̶]̶@̶d̶o̶m̶a̶i̶n̶.̶e̶d̶u̶Important + Terms of Service Outlook connected accounts do not work with Google Drive or GitHub Student Pack. An additional Gmail account with a random name is just $0.5 more for simple Outlook accounts and free for custom Outlook ones. When you apply for AWS Educate, your application might be not approved straight away. You should wait for up to ten days for the Educate team to review the request. These applications worked for me (twice, actually), but I DO NOT GUARANTEE the Educate team will approve yours. Your orders may take up to 72 hours to get fulfilled. Please be patient, I am not a robot and have my life too.Orders and paymenthttps://rocketr.net/buy/a3d0cc0076d4. I accept BTC and PayPal if you cover the fees. When you buy, you admit that you have read the Important + ToS section above. Things you can get with the email:Spoiler (Click to View)hese accounts can be used to get the following: Dreamspark software Microsoft office software Autodesk 3D software Riptiger software 6 MONTHS OF AMAZON PRIME, and 50% off Amazon Prime after 6 months Solid edge student edition software Lucidchart (diagramming web app) Fetch (Mac app) Prezi (online presentation app) Bitbucket cloud 3GB onedrive storage (1 year) 6 month lastpass premium password manager GitHub student dev pack Jetbrains (professional dev tools) Axure (professional prototyping software) PTC Creo 3D software YNAB (budget app) 1-year newegg premier service (qualifying schools only) Roboform (password manager) iDrive 50% off online backup Connectify 75% off services from $7 Adobe creative cloud 60% off Best Buy student coupons Techsmith educational program pricing
- Maze Generator Very small and compact maze generator class that works best with asynch thread and a callback. Let me state that i don't own nor thought of this, it is public domain. Credits goes to a Phd teacher in a university from Polen. How to use Class cons...
- [CTF] HackFest 2016: Full Walkthrough (Quaoar, Sedna, Orcus) HackFest 2016: Full CTF Walkthrough Quaoar - EasySedna - MediumOrcus - Hard Hello all, I've recently been playing through the CTF challenges from HackFest 2016. I've decided to make this (fairly lengthy) write-up for those who are either playing this CTF or simply interested in the techniques and methods used in this challenge. I'll try and separate the three challenges as much as possible, however my notes are a little scattered (as they always are). The below walkthroughs will be more of a speedrun instead of a full playthrough. If you'd like to see my mad ramblings and train of thought with these CTF's, simply click below.[ Quaoar (All Notes) | Sedna (All Notes) | Orcus (All Notes) ] Quaoar Level 1 - ReconSpoiler (Click to View) Starting off with any CTF, I will always follow this method: 1. NetDiscover - This finds the target VM (I feel that looking at the VM's output is a little cheap sometimes, not like it's particularly difficult to find hosts on a LAN). Code:_____________________________________________________________________________ IP At MAC Address Count Len MAC Vendor / Hostname ----------------------------------------------------------------------------- 192.168.56.100 08:00:27:ea:00:d3 1 60 PCS Systemtechnik GmbH 192.168.56.101 08:00:27:ce:a9:4f 1 42 PCS Systemtechnik GmbH 2. Nmap - After locating the target's address, I'll run a thorough Nmap scan in-order to gain as much knowledge about the specific services as possible. Below is the output for the following command: Code:nmap -p- -A 192.168.56.101 [Full Nmap Report] Here's the TL;DR version: Code:22/tcp open ssh OpenSSH 5.9p1 Debian 5ubuntu1 (Ubuntu Linux; protocol 2.0) 53/tcp open domain ISC BIND 9.8.1-P1 80/tcp open http Apache httpd 2.2.22 ((Ubuntu)) 110/tcp open pop3 Dovecot pop3d 139/tcp open netbios-ssn Samba smbd 3.X - 4.X (workgroup: WORKGROUP) 143/tcp open imap Dovecot imapd 445/tcp open netbios-ssn Samba smbd 3.6.3 (workgroup: WORKGROUP) 993/tcp open ssl/imap Dovecot imapd 995/tcp open ssl/pop3 Dovecot pop3d 3. Quick banner check - Previous CTF challenges have sometimes left small hints on SSH and Telnet ports. So I now feel obligated to check every time. However, these challenges didn't have anything special to show there. So now I've compiled all the running services, it's time to check out the webserver. Usually I will separate this into different steps as well: 1. Manual Crawling and Source Code Analysis - The easier-side of CTF challenges will almost always have a clue (and sometimes a flag) hidden in the HTML source. However, this challenge series is a little different. The index page has no helpful resources available: All the image leads to is a Hackers reference, gave me a smile. However, no additional directories. 2. Automated Crawling / Directory Bruteforcing - So if you read the rambling notes at the top of this walkthrough, you'll notice that I really need to stop relying on Uniscan to brute directories for me. I used to use DirBuster, but it takes a long time for a full site crawl... Either way, here's the (useful) Uniscan output: Code:| Directory check: | [+] CODE: 200 URL: http://192.168.56.101/wordpress/ | [+] CODE: 200 URL: http://192.168.56.101/upload/ | | File check: | [+] CODE: 200 URL: http://192.168.56.101/index.html | [+] CODE: 200 URL: http://192.168.56.101/robots.txt | | Check robots.txt: | [+] Disallow: Hackers | [+] Allow: /wordpress/…
- :bigText function Hello all ^-^ I've been working on some neat things lately. If you want to use this function, and you need some help please see Calling functions in Batch I really enjoyed the idea of very large colorful text made in batch. From my thread LARGE font function. This made me desire multiple large characters and objects on a single line, kind of like :rainbowText function, but how? I did a lot of thinking, and I managed to do it! :bigText function Of course, the code above doesn't work by itself! It relies on :build_alphabet to set up the correct variables that are later drawn as characters or images 🙂 :build_alphabet function Code::build_alphabet for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E & echo on & for %%b in (1) do rem"') do set "DEL=%%a" <nul set /p ".=%DEL%%DEL%%DEL%%DEL%%DEL%%DEL%" > "'" for /f "tokens=2 delims=x" %%a in ("%~1") do set /a "b_a_btMAX=%%a" if "%~1" equ "1x1" set "_ = " if "%~1" equ "8x12" ( for %%a in (" " " ÛÛ " " ÛÛÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛÛÛÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " " " ") do set /a "a+=1" & set "_A[!a!]=%%~a" for %%a in (" " " ÛÛÛÛÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛÛÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛÛÛÛÛ " " " " ") do set /a "b+=1" & set "_B[!b!]=%%~a" for %%a in (" " " ÛÛÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛÛÛ " " " " ") do set /a "c+=1" & set "_C[!c!]=%%~a" for %%a in (" " " ÛÛÛÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ " " ÛÛÛÛÛ " " " " ") do set /a "d+=1" & set "_D[!d!]=%%~a" for %%a in (" " " ÛÛÛÛÛÛÛ" " ÛÛ Û" " ÛÛ " " ÛÛ Û " " ÛÛÛÛÛ " " ÛÛ Û " " ÛÛ " " ÛÛ Û" " ÛÛÛÛÛÛÛ" " " " ") do set /a "e+=1" & set "_E[!e!]=%%~a" for %%a in (" " " ÛÛÛÛÛÛÛ" " ÛÛ ÛÛ" " ÛÛ Û" " ÛÛ Û " " ÛÛÛÛÛ " " ÛÛ Û " " ÛÛ " " ÛÛ " " ÛÛÛÛ " " " " ") do set /a "f+=1" & set "_F[!f!]=%%~a" for %%a in (" " " ÛÛÛÛ " " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛ " " ÛÛ " " ÛÛ ÛÛÛ" " ÛÛ ÛÛ" " ÛÛ ÛÛ" " ÛÛÛÛÛ" " " " ") do set /a "g+=1" & set "_G[!g!]=%%~a" for %%a in (" " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛÛÛÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " " " ") do set /a "h+=1" & set "_H[!h!]=%%~a" for %%a in (" " " ÛÛÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛÛÛ " " " " ") do set /a "i+=1" & set "_I[!i!]=%%~a" for %%a in (" " " ÛÛÛÛ" " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛ ÛÛ " " ÛÛÛÛ " " " " ") do set /a "j+=1" & set "_J[!j!]=%%~a" for…
- [GUIDE] Simple-yet effective AV EVASION Methods Preface I am not responsible for anything you do with this, as it is for educational purposes only. Do not infect people with malware, it is illegal, only learn from it. By no means am I an expert on this, but I have been researching it recently and ...
- Cheap & Simple HTTP Pager (Tasker + NodeMCU LUA +… Greetings, I picked up a few NodeMCU boards recently. I was wondering what to do with them. So I had this problem where I live on a separate floor above other people. There is a door between my and their area however. So what they like to do is come to the stairs and literally scream up to get my attention. It's quite annoying, but they refuse to stop even if I use the deadbolt. They all had smartphones ... so what if I hosted a simple web server to turn into a pager application that would interface their smartphones to a micro controller over to local network? Add some lights and a buzzer and you get an pager (or doorbell for that matter). All I can say is - there has been no more yelling since. Though I used this as a simple pager with a smartphone, you could also easily integrate email, call, or SMS alerts for example. Inside: (images are too large.)Spoiler (Click to View) I'm not going to write a full step-by-step tutorial. But I'll give you the code and general steps to give you a general idea of how it works. If you need clarity on something, feel free to post or PM. Hardware:Cost:~$10.NodeMCU - $4 Digispark Attiny85 - $2 An enclosure. I used an RaspberryPi box and some acrylic paint. Glue. Junk drawer matching bolts and nuts. Screws. Razor Blade. I used some white foam to diffuse the LEDs and plastic from a CD case for the window. A bunch of jumpers, both male to female and female to female. A piezo buzzer. (No resistor used.) Potentially a soldering iron and solder. LEDs. No resistors used. I used x1 red and green diodes for the top portion of the project box. Then the power and onboard LED of the digispark (pin 1) to light the window.Software:Tasker App -$3 (Also pickup the Tasker Application Factory to export tasks as apps. (Root not required.)) Arduino IDE - for digispark - how to setup the digispark Esplorer - for NodeMCUNodeMCU firmware *There are various ways to flash the NodeMCU.NodeMCU firmware flasherWhy use a Digispark? - Any micro controller would do really. But the NodeMCU, ESP8266, has a single-core. Being it is a web server in this application, when the end user presses the send button, the server is always ready to respond. Otherwise, they would not get a response given the NodeMCU is running whatever alert routine lighting leds or buzzing etc. We use the digispark like another core that is always either listening or alerting.Tasker:Create a task, which has an action that creates your scene. (The scene is the user interface shown in the gif above.) Create the scene, add a web view element and a button. (I use rectangles with rounded corners.) The web view URL is the static IP of the NodeMCU web server referenced later. In the gif above, this displays "Waiting..." text. The button tap and long press runs a "Element Web…
No related posts.