Monday, 19 July 2021
Monday, 6 April 2020
STM32F103C8T
STM32F103C8T6 interfaced with ultrasonic module HC-SR04 running a simple code.
Here the code:
#define echoPin PB10 // attach pin PB10 on Blue pill to pin Echo of HC-SR04
#define trigPin PB11 //attach pin PB11 on Blue pill to pin Trig of HC-SR04
// defines variables
long duration; // variable for the duration of sound wave travel
int distance; // variable for the distance measurement
void setup() {
pinMode(trigPin, OUTPUT); // Sets the trigPin as an OUTPUT
pinMode(echoPin, INPUT); // Sets the echoPin as an INPUT
Serial.begin(9600); // // Serial Communication is starting with 9600 of baudrate speed
Serial.println("Ultrasonic Sensor HC-SR04 Test"); // print some text in Serial Monitor
Serial.println("Put anything that should print out on serial terminal ");
}
void loop() {
// Clears the trigPin condition
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
// Sets the trigPin HIGH (ACTIVE) for 10 microseconds
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// Reads the echoPin, returns the sound wave travel time in microseconds
duration = pulseIn(echoPin, HIGH);
// Calculating the distance
distance = duration * 0.034 / 2; // Speed of sound wave divided by 2 (go and back)
// Displays the distance on the Serial Monitor
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
}
Saturday, 7 March 2020
MTL-BT05 firmware upgrade to HMsoft
Part list:
1- Arduino Nano 328p, but you can use MEGA2560, UNO ...etc but make sure the wiring that match the board pins you going to use.
2- BLE Module , in my case I purchased it on ebay and as HM-10 but after running a test with arduino code. it listed as MLT-BT05 with versin 4.40.
3- Wire and solder iron and past and Of course a skill to do some soldering.
The CCloader and other files can be obtained from Github and here is the link Click here.
load the INO file onto your arduino NANO , MEGA2560, UNO etc.. and hit Upload the sketch to your board.
Now, make sure the Rx and Tx are wired properly or you may cause damage to your module and since we are dealing with sensitive item.
One step more, Move the CCloader to C directory for easy access from your command prompt window.
On your keyboard hit Windows logo and R and in the Box type cmd.
Now in the command prompt windows type cd.. and hit enter, repeat it.
Now you should see , C:> type here ...... CCloader.exe and hit enter . now you will see a response to your request.
In the CMD comamand prompt windows type , CCloader.exe (com port= 4 or 5 or 6 ) the firmware file name with the extension XXX.bin and after that follow it with 0 if you
you are using default arduino board. and hit enter now you should see something similar in the video.
Congratulation, Now you have upgraded the HM-10 , MTL-BT05 clone of clone to the HM-10 genuine firmware.
Happy coding.
Thursday, 5 March 2020
When it comes to Earning money online with Blogs or websites, The most genuine and Trusted way is Google Adsense. Google Adsense is an Ad publishing network Run by Search giant Google, It is considered the Best and Highest paying Ad publishing Network available
Step #1
Go to the home page of Google Adsense. Google Adsense home page and if you dont have account already. go ahead and create one.
Click Sign Up Now..
Registration Page appears, fill in the blank carefully
Step #1
Go to the home page of Google Adsense. Google Adsense home page and if you dont have account already. go ahead and create one.
Click Sign Up Now..
Registration Page appears, fill in the blank carefully
Arduino Nano Blinking LED
Your first sketch to learn coding with Arduino Nano is to begin with simple basic example.
You need to download Arduino IDE from The LINK. After finish installing the IDE and from the menu, File ... Examples ... Basic. Choose Blink.
The code should look like this:
//
void setup() {
// initialize digital pin LED_BUILTIN as an output or you can assign an digital pin on the board to act as an output
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second = 1000 mS
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
***////////////////
Now upload the sketch to the connected board with the right COM port and for the right Board name. in our example we choose Arduino Nano 328P.
click on compile to test for errors, after compiling the code you are ready to upload the code the board.. Click on Upload.
After finish uploading the code and normally takes few seconds. You will start see the LED on the board start to blink On and off and time delay in between.
You can adjust the delay by increasing the waiting time between turning the led On and off.
You need to download Arduino IDE from The LINK. After finish installing the IDE and from the menu, File ... Examples ... Basic. Choose Blink.
The code should look like this:
//
void setup() {
// initialize digital pin LED_BUILTIN as an output or you can assign an digital pin on the board to act as an output
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second = 1000 mS
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
***////////////////
Now upload the sketch to the connected board with the right COM port and for the right Board name. in our example we choose Arduino Nano 328P.
click on compile to test for errors, after compiling the code you are ready to upload the code the board.. Click on Upload.
After finish uploading the code and normally takes few seconds. You will start see the LED on the board start to blink On and off and time delay in between.
You can adjust the delay by increasing the waiting time between turning the led On and off.
Sunday, 17 July 2016
How to Get Your New Website or Blog Discovered
How to Get Google to Index Your New Website & Blog Quickly.
When you create a new website or blog , the first thing you probably want to happen is to find it through search. But you have to wait for the Googlebot to crawl your website and add it or your the newest content to the Google index.
To make sure how to do this quickly and possible , plus some great ways to get the Googlebot to your website or blog to index your content sooner rather than later.

What is Googlebot, Crawling, and Indexing?
- The Googlebot is simply the search bot software that Google sends out to collect information about documents on the web to add to Google’s searchable index.
- Crawling is the process where the Googlebot goes around from website to website, finding new and updated information to report back to Google. The Googlebot finds what to crawl using links.
- Indexing is the processing of the information gathered by the Googlebot from its crawling activities. Once documents are processed, they are added to Google’s searchable index if they are determined to be quality content. During indexing, the Googlebot processes the words on a page and where those words are located. Information such as title tags and ALT attributes are also analyzed during indexing.
How to Get Your New Website or Blog Discovered
The following will help you get referral traffic to your new website !Once your website or blog is indexed, you’ll start to see more traffic from Google search. Plus, getting your new content discovered will happen faster if you have set up sitemaps or have a RSS feed. The best way to ensure that your new content is discovered quickly is simply by sharing it on social media networks through status updates, especially on Google+.
Also remember that blog content is generally crawled and indexed much faster than regular pages on a static website, so consider having a blog that supports your website. For example, if you have a new product page, write a blog post about it and link to the product page in your blog post. This will help the product page get found much faster by the Googlebot!
If you have used other techniques to get your website or blog indexed quickly? Please share in the comments!
Thursday, 22 November 2012
Bluetooth headset , Parrot Zik the most advanced
FEATURES:
Touch controlSwiping up or down on the right ear cup , changes the volume, swiping forward skips a track.
Motion Detector
Taking Zik off your ears automatically pauses the music so you'll never miss a beat .
Simple Pairing
Just touch your phone to left ear cup to pair effortlessly with NFC devices.
Active Noise Cancellation
With a total of four microphones , Parrot ZIK’s ANC technology reduces noise up to 25 dB.
Bluetooth Hands free telephony
With a bone conduction sensor , and a double microphone , Parrot Zik’s noise suppression system gives your calls amazing clarity.
Parrot Concert Hall Effect
Zik recreates beautiful lifelike sound. Alter the acoustics and sound-space through the Parrot App.
Don't Stop the Music
Even with a flat battery . Zik plays on with the jack cable included
Specifications:
- Neodymium drivers
- Sound pressure level: 110 dB
- per volt to 1kHz
- Impedance: 32 Ohms
- Powerful DSP algorithms
- Built-in NFC technology
- Frequency response: 10Hz – 20kHz
- Capacitive touch panel
- Bluetooth 2.1
- Hands free
- Alloy head rails
- Battery life:
- With all features activated: 6 hours
- With ANC only: 18 hours
- On standby mode: 24 hour
- With all features activated: 6 hours
- Width: 150 mm - Height: 198 mm
- Depth: 80 mm - Weight: 325 g
- Micro USB cable: 1 m
- Line-in cable: 1,30 m
Wednesday, 21 November 2012
Sony SmartWatch
The Sony SmartWatch music player extension can be used to control music playback on the phone from your Sony SmartWatch. Showing the track currently being played and allowing you to navigate through tracks and control the volume by linking to your smartphone.
The open source version of the Music extension works with the Android vanilla Music player or by emulating media button key events. For more information jump over to the Sony Developer website. Lets hope Sony keeps up the good work and releases more SDK support extensions soon. View a review of the Sony SmartWatch below.
The open source version of the Music extension works with the Android vanilla Music player or by emulating media button key events. For more information jump over to the Sony Developer website. Lets hope Sony keeps up the good work and releases more SDK support extensions soon. View a review of the Sony SmartWatch below.
Tuesday, 20 November 2012
How To Secure Your Facebook Account From Hacking
Facebook Hacking and scams are growing more and more nowadays and many accounts getting hacked everyday, So we have to protect it from hackers and friends who trying to hack our FB account. Making your Facebook account secure is not a difficult thing, You simply need to follow this easy steps here and you’re safe.
Follow the steps below to make your Facebook account secure :
- Use Strong Password For Your Account. Atleast 8-10 Characters Long And Mixed Of Uppercase, Lowercase, Symbols And Numbers.
- Never Use Your Mobile No. Or Routine Word as a Password.
- Turn On Secure Browsing And Login Notifications From Facebook Security Settings. You Can Do That From Here : security tabs view notification.
- Never Enter Your Password Anywhere Else Except Facebook.
- Use WOT extension To Your Browser. This Extension Will Indicate Red Sign When You Visits Scam, Phishing Or Unsafe Site
One another hacking trick used by many peoples are social engineering through email. They sent you email as fake email address that similar to Facebook or Facebook email address itself (It can be done by some scripts out here on web) and ask you for password.
- To Protect Yourself From This Type of Hack, Never Respond To Emails Like That.
The Other one is hacking by keyloggers. The keyloggers are a program, From which hackers can generate a file which they send to victim’s pc and the file steal password from keystrokes And send it to hacker.
- To Protect From This, You Should Install Some Good Anti-Virus Or Anti-Malware Programs To Your Pc
If You Have Any Other Problem Or Suggestions Then Comment Below
Or Contact Us Via Contact-Us Page.
Saturday, 17 November 2012
Nostradamus: Predictions For The Past, Present And Future
Nostradamus: Predictions for the Past, Present and Future
Is it possible to see into the future? Many believe that a man named Michel de Nostradamus could. His predictions of the future have mystified scholars for over four hundred years. Nostradamus made over one thousand predictions and historians say that over half of them have already come true. The most startling of his predictions deal with the coming of three anti-Christs (Guentte). My paper will focus on these prophecies made by Michel de Nostradamus. If his predictions of the past are accurate, then his predictions for the future may also come true.
In order to establish Nostradamus' credibility, it is important to know facts concerning his actual life. Michel de Nostradame -who later latinized his name to Nostradamus- was born in 1503 in St. Remy de Provence, France. His family was Jewish but converted to Christianity, and the young Michel was brought up as a Catholic (Reader's Digest 511). Being a brilliant student, Michel learned classical languages, mathematics, and astrology from his grandfather. Later he decided to pursue medicine and enrolled at the University of Montpellier (Time Life 16). As a skilled physician, he became famous for his amazing success in treating victims of a deadly plague (Reader's Digest 511).
Is it possible to see into the future? Many believe that a man named Michel de Nostradamus could. His predictions of the future have mystified scholars for over four hundred years. Nostradamus made over one thousand predictions and historians say that over half of them have already come true. The most startling of his predictions deal with the coming of three anti-Christs (Guentte). My paper will focus on these prophecies made by Michel de Nostradamus. If his predictions of the past are accurate, then his predictions for the future may also come true.
In order to establish Nostradamus' credibility, it is important to know facts concerning his actual life. Michel de Nostradame -who later latinized his name to Nostradamus- was born in 1503 in St. Remy de Provence, France. His family was Jewish but converted to Christianity, and the young Michel was brought up as a Catholic (Reader's Digest 511). Being a brilliant student, Michel learned classical languages, mathematics, and astrology from his grandfather. Later he decided to pursue medicine and enrolled at the University of Montpellier (Time Life 16). As a skilled physician, he became famous for his amazing success in treating victims of a deadly plague (Reader's Digest 511).
World'S Fastest Boat - Earthrace
Earthrace is a 78 foot alternative fuel powered wave-piercing trimaran; part of a project to break the world record for circumnavigating the globe in a powerboat—and to do so using only renewable fuels
The boat's engines are powered completely by a biodiesel fuel source. This fuel is derived mainly from animal fat, soybeans, or other forms of biodiesel fuel. The powerboat itself is a 78-foot dramatic-looking wave-piercing trimaran, designed by Craig Loomes Design Group Ltd, with two 540 hp Cummins Mercruiser diesel engines, fueled with 100% Biodiesel, and is made mostly of carbon composite. It cost $1.25 million, which was mostly funded by generous sponsors. When asked, "Regrets about the cost of it all?" Pete Bethune replied "No...You know, I do have the coolest boat in the world.
The boat's engines are powered completely by a biodiesel fuel source. This fuel is derived mainly from animal fat, soybeans, or other forms of biodiesel fuel. The powerboat itself is a 78-foot dramatic-looking wave-piercing trimaran, designed by Craig Loomes Design Group Ltd, with two 540 hp Cummins Mercruiser diesel engines, fueled with 100% Biodiesel, and is made mostly of carbon composite. It cost $1.25 million, which was mostly funded by generous sponsors. When asked, "Regrets about the cost of it all?" Pete Bethune replied "No...You know, I do have the coolest boat in the world.
Human Magnet it' true and alive
Human Magnet (Mr. Magnet)
In Malaysia, 78 years old Liew Thow Lin is known as the Human Magnet or Mr. Magnet. He can make metal objects, weighing up to 2kg, stick to his skin without any aid and he is a scientific mystery because there is no trace of a magnetic field around his body. Scientists say his skin is also normal and there is no explanation for his unusual talent.Ivan Stoiljkovic
poses for pictures with cutlery stuck to his chest in front of his home near Koprivnica, some 100 kilometres (62 miles) north of the capital Zagreb, May 12, 2011. Ivan, 6, has an extraordinary talent: the ability to attract metallic objects -- from spoons to heavy frying pans -- to his body. He is said to be able to carry up to 25 kg of metal stuck to his torso. Ivan's family also claims that his hands can emit heat and his mysterious ability has also given him healing powers. Medical checkups so far have reaped inconclusive results. Picture taken May 12..
Thursday, 15 November 2012
Multiple login in yahoo
Multiple login in yahoo Without Using any Software
1.Go to Start ----> Run . Type regedit, then enter.
2.Navigate to HKEY_CURRENT_USER --------> Software ---> yahoo -----> pager----> Test
3. On the right pane , right-click and choose new Dword value .
4. Rename it as Plural.
5.Double click and assign a decimal value of 1.
That's it done!!
Now close registry and restart yahoo messenger .For signing in with new id open another messenger.
1.Go to Start ----> Run . Type regedit, then enter.
2.Navigate to HKEY_CURRENT_USER --------> Software ---> yahoo -----> pager----> Test
3. On the right pane , right-click and choose new Dword value .
4. Rename it as Plural.
5.Double click and assign a decimal value of 1.
That's it done!!
Now close registry and restart yahoo messenger .For signing in with new id open another messenger.
Subscribe to:
Comments (Atom)













