i need adriuno sample code that include dc moter, sensor,bluthoth modulatar,push buten
i need adriuno sample code that include dc moter, sensor,bluthoth modulatar,push buten
i have one dc moter and bluthooth modulater and ultasonic sensor and 2 push button and also LED. the idia is controling the moving car, that is when the push button touchs the car move forward,backward also when the sensor senses nerar object the car stops. i have separet code for each matrials i trayed but i can't combilete togather.
ohh i have another qustion i don't have blutooth modularer on my hand. can i replace it with other divce like infrarad (remote control) ?
No, it isn't plug-and-play level of ease of use.
Think of it like building a house. You're trying to build a house without knowing how to build a wall first and without knowing how to mix cement.
There is no short-cut, you need to know how to build the wall first and how to mix cement.
So, you can forget the possibility of joining all your parts together and getting them to work, it just won't happen until you've learnt the smaller things first.
To do that, you need to follow some Arduino tutorials perhaps. It might take a few weeks or longer, depending on how fast you learn. To be honest, expect it to take some (many) months if you're a complete beginner.
Start with blinking an LED and slowly build up..
Once you've learnt all that, only then can you start designing your own combinations and have enough knowledge to get them working together.
Perhaps start by taking a look at these Arduino tutorials:
to learn how to work with basic sensors and actuators.
Then take a look at some of these rover robot projects:
ROVER Bot - The Arduino Bluetooth Controlled Tank
Arduino HC-SR04 Ultrasonic Rover
or alternatively start with a rover robot kit which has step-by-step instructions:
Beginner Robotic Kits Arduino Compatible | Into Robotics
then apply what you have learnt to your own project.