Notifications
Clear all

Building a Vib sensor with Nano

2 Posts
1 Users
0 Likes
50 Views
(@admin)
Member Admin
Joined: 3 years ago
Posts: 381
Topic starter  
wpf-cross-image

Working with Nano

 

First thing you have to get the computer able to upload to your specific board. This is where you start to regret buying a 3 dollar board

This topic was modified 1 year ago 2 times by admin

   
Quote
(@admin)
Member Admin
Joined: 3 years ago
Posts: 381
Topic starter  

How to reset the Arduino Nano?

Basically, there are two ways to reset the Arduino Nano: programmatically and electronically.

Programmatical method:

The Arduino Nano comes with an in-built RESET function. The board will reset automatically once this function is called. To reset the Nano programmatically, you can upload the following program:

void(* resetFunc) (void) = 0;

 

void setup() {

Serial.begin(9600);

Serial.println(“How to Reset Arduino Programmatically”);

Serial.println(“www.TheEngineeringProjects.com”);

delay(200);

}

 

void loop()

{

Serial.println(“A”);

delay(1000);

Serial.println(“B”);

delay(1000);

Serial.println(“Now we are Resetting Arduino Programmatically”);

Serial.println();

delay(1000);

resetFunc();

Serial.println(“Arrduino will never reach there.”);

}

Note: If the Nano is connected to the computer, the board will be reset any time the connection is made.

   
ReplyQuote

©2023 LocalAd

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending
WordPress Ads

Log in with your credentials

or    

Forgot your details?

Create Account