waiter robot i want to make it i need code
it is arduino base project and it is line follow robot i am using l298n , when somebody come infront of robot so robot stop. please i need a code. i want to stop my robot by hr04 ping sensor. i am mechanical engineer but i do not have knowledge about coding
Arduino Projects
[img]
http://www.theengineeringprojects.com/wp-content/uploads/2015/12/Arduino-Library-for-Proteus-1-300x210.jpg[/img]
We have posted a lot of Arduino Projects and Tutorials on our blog and we have compiled this list in few posts whose links are given below. So, search out your project and have fun.
:) All these projects are posted on TEP Blog and are open source. We have also added the complete working Proteus Simulation in each of these Arduino Projects, which you can download along with Arduino code in the respective project page.
So, here are few important links:
[list][u=http://www.theengineeringprojects.com/2017/02/arduino-tutorial-for-beginners.html]Arduino Tutorial for Beginners[/u][/list]
[list][u=http://www.theengineeringprojects.com/2015/03/arduino-projects.html]Arduino Projects[/u][/list]
Moreover, I would also suggest you to download
[u=http://www.theengineeringprojects.com/2014/06/arduino-library-proteus.html]Arduino Library for Proteus[/u] so that you can easily simulate your Arduino boards in Proteus Software.
Gsm based home security system
Hi Friends,
I am very much interested in doing project with Microcontroller(AVR-ATMEGA 16). However i am new to this field.So i dont know very much in detail about programming part.However with the help of google i purchased AVR programmer and SIM 300 GSM module.
I want to do GSM BASED HOME SECURITY SYSTEM.It should have the following option.
1)The system should be made of Atmega Micro controller-ATMEGA 16(As i heard it is more simple to program compared to other and also cheap)
2)The micronctroller should be linked to GSM
3)There should be LCD DISPLAY .
4) I should be able to store min 10 mobile numbers
5)The mobile number i should be able to enter/change using press
buttons.To change mobile number the system should be secured by
password.
6)It is enough if i have one NC or NO contact where i can connect my
triggering magnetic door switch.
When the door switch is triggered the system should dial 10 numbers
one by one with a gap of approx 1mint. The dialing should stop if any
one mobile number accepts the call.
I tried lot in google to find the C code but couldnot get.Can anyone please proved me the C code for the above Or similar project.
How to: multiple ds18b20 wiring?
I want to connect multiple ds18b20 temperature sensor in a single bus. My question is not about how to wire those sensors to have they working or how to write the code... is about how to physically wire and solder those sensors in a single cable. I will not use long cables, ever less than 4 or 5 meters, including about 10 sensors each line, not regularly distributed along this distance. Probably i will use normal power for them (not parasitic mode).
I readed in different places in this forum that the people connecting multiple sensor to a single bus use cat5 or cat6 cable... so, following their experience, i will do it in that way. But, how to connect the sensor? I know, i know, removing the plastic to three wires and soldering the legs of the sensor.
:P
How do you wire them? Do you use a special connector to the cable to derive three of the wires to solder there the sensor? Do you solder the sensor directly to the cable?
In my project, some of the buses will be outdoor, so, i have on mind to protect inside a plastic tube (of something like this), with hole where the sensors will go outside to be exposed to the environment, but all the other connections will be inside the cable. To use somekind of tiny connector between the main cable and the sensor could be a nice idea just in case to replace a possible defective sensor in the future. The devide will be in the middle of anywhere, so to solder in the field is not an option, and to replace all the bus is a very remote option (require to have a copy of the cable and all the sensor already ready). I think that to have the sensor with an short cable, ready to connect to the main cable is the perfect solution. So, in case of fault of one of the sensor, to unplug the broked one and the connection of the new one is enough, remaining the main cable and all the other devides in place.
Now that you have the big picture of what i hace of mind, do you have ideas, proposals or comments about how could i do that? They will be wellcome. Thanks so much!
DC Motor speed control
Hi guys!
I am creating musical fountain with arduino duemilonove. I want to drive DC motor with arduino, only thing i need to control is speed.
The motor i am using is here
http://www.mabuchi-motor.co.jp/cgi-bin/catalog/e_catalog.cgi?CAT_ID=rs_360sh
To run motor i chose this scheme from youtube tutorial
http://aksoapy29.comoj.com/diagram2.png
Well i have few problems, i tried this scheme without arduino, using 2 batteries that output 3V. 3V on transistors base and 3v on motor(as it is in the picture). I thought that maybe i should use higher voltage on motor, i bought 9V battery. Before i tried connecting my 3v battery directly to motor and motor worked, now i tried connecting 9V battery to the motor and it does not work.... Can u explain why it is that way? Why transistor may not work and is this scheme adequate at all? That video is here:
http://www.youtube.com/watch?v=hcpqt-BREqI&feature=related
I would be really thankful for fast replys as it is my bachelors work and i am a bit low on time. Yes i know since i study in university i should know more, i forgot a lot of things that we learned since never practiced them, but well it comes back slowly:D
UPDATE: Transistor is 2n2222
help on DC motor simulation in proteus by using L293D chip
hi, i am working on a project which has the output of DC motor. This dc motor is control by L293D chip in proteus. My input is two LDR sensor which is connected to arduino uno. Arduino is used to compare the voltage differences between both of the sensor. if there is a difference of voltage between both sensor, it will send HIGH signal to L293D input to rotate the motor. but now im facing a problem where my dc motor could not rotate in either direction. i have try many ways, but nothing happen to the motor. for the coding, the simulation in proteus show it follows the coding flow. but still the dc motor could not rotate. I hope you guys can help me. thanks....
[code]
int sensorPinA0 = A0; // pin that the Bottom/Left sensor is attached to
int sensorPinA1 = A1; // pin that the Right sensor is attached to
const int motor1Pin = 3; // H-bridge leg 1 (pin 2, 1A)
const int motor2Pin = 4; // H-bridge leg 2 (pin 7, 2A)
const int enablePin = 9; // H-bridge enable pin
const int switchPin = 2;
// variables:
int sensorValueA0 = 0; // Bottom/Left photoresistor
int sensorValueA1 = 0; // Right photoresistor
void setup() {
// Send debugging information via the Serial monitor
Serial.begin(9600);
analogReference(INTERNAL);
//Assign and set motor driver pins to low
pinMode(motor1Pin, OUTPUT);
//digitalWrite(motor1Pin, LOW);
pinMode(motor2Pin, OUTPUT);
//digitalWrite(motor2Pin, LOW);
pinMode(enablePin, OUTPUT);
//digitalWrite(enablePin, HIGH);
//pinMode(9, OUTPUT);
pinMode(sensorValueA0, INPUT);
pinMode(sensorValueA1, INPUT);
pinMode(switchPin, INPUT);
//digitalWrite(9, LOW);
//pinMode(8, OUTPUT);
//digitalWrite(8, LOW);
}
void loop()
{
// read the sensor:
sensorValueA0 = analogRead(sensorPinA0);
sensorValueA1 = analogRead(sensorPinA1);
// if the switch is high, motor will turn on one direction:
if (sensorValueA0 > sensorValueA1)
{
digitalWrite(switchPin, HIGH); // set the switch pin high
digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low
digitalWrite(motor2Pin, HIGH); // set leg 2 of the H-bridge high
//digitalWrite(enablePin, HIGH);
delay(100);
}
else
{
digitalWrite(switchPin, LOW); // set the switch pin high
digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low
digitalWrite(motor2Pin, LOW); // set leg 2 of the H-bridge high
}
if (sensorValueA0 < sensorValueA1)
{
digitalWrite(switchPin, HIGH);
digitalWrite(motor1Pin, HIGH);
digitalWrite(motor2Pin, LOW);
//digitalWrite(enablePin, HIGH);
}
else
{
digitalWrite(switchPin, LOW); // set the switch pin high
digitalWrite(motor1Pin, LOW); // set leg 1 of the H-bridge low
digitalWrite(motor2Pin, LOW); // set leg 2 of the H-bridge high
}
//Print debugging information
Serial.print("left reading = ");
Serial.println(sensorValueA0); // the left/bottom sensor analog reading
Serial.print("right reading = ");
Serial.println(sensorValueA1); // the right sensor analog reading
//Serial.print("Top reading = ");
//Serial.println(sensorValueA2); // the top sensor analog reading
delay(1000);
}
[/code]
Yun WiFi connection
Hi, I was wondering if is possible to configure the arduino yun to connect to several wifi's automatically without having to configure it for one in specific. Let's say I have WiFi A, B and C, and if I reach any of those wifi's my arduino will connect to it automatically.
Also, is there a way to prevent the yun from loosing it's connection to a wifi? I find myself sometimes working with the arduino and when I'm not using the arduino after a while it stop responding to the command I send over the internet, I hope I made myself clear enough.
Thanks in advance!
measuring power factor
Hi friends,
i trying to measure power factor using 89c51 but the results are not stable. i simply started timer on first interuppt and stopped on second and then caculated, but the results aren't too good. i mean they are not too stable some times they show proper value sometimes wrong.
can anyone please share some code for the same.
Thanks