Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,799,772 members, 6,691,282 topics. Date: Tuesday, 25 January 2022 at 11:41 AM

Free Arduino Tutorial - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Free Arduino Tutorial (3864 Views)

New And Hot: Lithium Battery Level Indicator With Arduino And LCD / I Teach You How To Build A Pure Sine Wave Inverter With Arduino Or (atmega328) / Sine Wave Inverter Using Arduino (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Free Arduino Tutorial by Kokaine(m): 4:28pm On Apr 02, 2020
princejude:


For the Bluetooth project, I will advice you to get an Arduino board and Bluetooth module because Proteus may fail. My original Arduino board is #3500 and Bluetooth module is #3000. If you buy the hardware from us, I will send a working Bluetooth - App inventor code to you.

For the training course, you can start with the Arduino project design. Presently I am in Lagos but we do online DIY training.
You will not regret having a course with us
I just sent you a pm. Thanks
Re: Free Arduino Tutorial by ugwum007(m): 8:33am On Apr 03, 2020
princejude:
Code


/*
* Ultrasonic Sensor HC-SR04 code
*
Ultrasonic sensor Pins:
VCC: +5VDC
Trig : Trigger (INPUT) - Pin 7
Echo: Echo (OUTPUT) - Pin 8
GND: GND
*/

int trigPin = 7; // Trigger
int echoPin = 8; // Echo
long duration, cm, inches;

void setup() {
//Serial Port begin
Serial.begin (9600);
//Define inputs and outputs
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}

void loop() {
// The sensor is triggered by a HIGH pulse of 10 or more microseconds.
// Give a short LOW pulse beforehand to ensure a clean HIGH pulse:
digitalWrite(trigPin, LOW);
delayMicroseconds(5);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);

// Read the signal from the sensor: a HIGH pulse whose
// duration is the time (in microseconds) from the sending
// of the ping to the reception of its echo off of an object.
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);

// Convert the time into a distance
cm = (duration/2) / 29.1; // Divide by 29.1 or multiply by 0.0343
inches = (duration/2) / 74; // Divide by 74 or multiply by 0.0135

Serial.print(inches);
Serial.print("in, "wink;
Serial.print(cm);
Serial.print("cm"wink;
Serial.println();

delay(250);
}

You can create a gist and share it here so it can be readable.
Re: Free Arduino Tutorial by ugwum007(m): 8:35am On Apr 03, 2020
princejude:


For the Bluetooth project, I will advice you to get an Arduino board and Bluetooth module because Proteus may fail. My original Arduino board is #3500 and Bluetooth module is #3000. If you buy the hardware from us, I will send a working Bluetooth - App inventor code to you.

For the training course, you can start with the Arduino project design. Presently I am in Lagos but we do online DIY training.
You will not regret having a course with us

Esp32 can do better. You get everything on one board.
Re: Free Arduino Tutorial by princejude(m): 9:50pm On Apr 03, 2020
ugwum007:


Esp32 can do better. You get everything on one board.
ESP32 is overkill. It is best for IoT based project not for a simple Bluetooth app communication. This project doesn't need internet access
Re: Free Arduino Tutorial by ugwum007(m): 6:34am On Apr 04, 2020
princejude:

ESP32 is overkill. It is best for IoT based project not for a simple Bluetooth app communication. This project doesn't need internet access

The onboard Bluetooth comes handy in this case and since it is compatible with almost all BLE devices. The WiFi and Bluetooth can't be used at the same time except that people have started finding ways around it.

Arduino with Bluetooth module is quite bulky with too many wiring, library importation and codes.
Re: Free Arduino Tutorial by princejude(m): 9:12am On Apr 04, 2020
ugwum007:


The onboard Bluetooth comes handy in this case and since it is compatible with almost all BLE devices. The WiFi and Bluetooth can't be used at the same time except that people have started finding ways around it.

Arduino with Bluetooth module is quite bulky with too many wiring, library importation and codes.

I understand what you mean but remember the owner may be a beginner. He may get confused when introducing new advance boards

1 Like

Re: Free Arduino Tutorial by Kashif(m): 2:09pm On Apr 09, 2020
What solution do you guys have if I need to monitor space intrusion using 3G network?
Re: Free Arduino Tutorial by jeff35(m): 9:27pm On Apr 09, 2020
princejude:
We are rolling out state-of-the-art Embedded system designs Courses...

how much fr all courses and where
Re: Free Arduino Tutorial by princejude(m): 6:10pm On Apr 14, 2020
jeff35:

how much fr all courses and where

Where is your location?
Re: Free Arduino Tutorial by princejude(m): 6:12pm On Apr 14, 2020
ugwum007:


You can create a gist and share it here so it can be readable.
What do you mean?
Re: Free Arduino Tutorial by ugwum007(m): 9:18pm On Apr 14, 2020
princejude:

What do you mean?

Since you are sharing source code, make it readable using gist.

Google gist by github
Re: Free Arduino Tutorial by jeff35(m): 9:52pm On Apr 14, 2020
princejude:

Where is your location?
delta state
Re: Free Arduino Tutorial by princejude(m): 11:18am On Apr 15, 2020
ugwum007:


Since you are sharing source code, make it readable using gist.

Google gist by github
Are the codes not readable?
Re: Free Arduino Tutorial by princejude(m): 11:24am On Apr 15, 2020
jeff35:

delta state
Since you are in Delta, we can do online training: I will send the training materials to you with the training kit and step by step instructions.
Re: Free Arduino Tutorial by ugwum007(m): 11:28am On Apr 15, 2020
princejude:

Are the codes not readable?

Are they readable to you?
Re: Free Arduino Tutorial by princejude(m): 11:34am On Apr 15, 2020
ugwum007:


Are they readable to you?
No they are not... but you are the only one complaining.
Re: Free Arduino Tutorial by ugwum007(m): 1:15pm On Apr 15, 2020
princejude:

No they are not... but you are the only one complaining.

That is because I am interested in reading it.
Re: Free Arduino Tutorial by ksstroud: 6:57pm On May 18, 2020
Kashif:
What solution do you guys have if I need to monitor space intrusion using 3G network?

Bro
Please I need to get in contact with you.
I can't receive mail from here.
If you reply this quote, I will flash my contact.
Thanks

(1) (2) (Reply)

Difference Between Computer Science And Computer Science Education / Programming Languages Inventors / Nairaland Programming Index(Topic Ordered Listing of Programming Board Threads).

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 57
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.