15 votes

What is the best technique to design a 20 push button circuit

For 20 buttons you can use a Keypad Matrix arrangement (plenty of examples online) where you would use only 9 pins (5 columns of 4 rows is 5+4 pins). It's slightly more involved that simple 1:1 ...
Majenko's user avatar
  • 105k
6 votes

What power supply should I use?

I am wondering about what voltage my external power will need to be to control all of them at 6v Well that would be 6V then wouldn't it? You're asking the wrong question. The question you should be ...
Majenko's user avatar
  • 105k
5 votes
Accepted

What is this green board?

The green board is probably a custom PCB that controls the vehicle. Unfortunately, the image does not have enough quality to determine much else.
Alex's user avatar
  • 166
5 votes

How do I code delay inside a ISR?

An ISR should be kept as short as possible, since while it runs, no other interrupts can be handled (including the one powering the delay() function. Thus you cannot delay that easy inside an ISR and ...
chrisl's user avatar
  • 15.8k
5 votes

Pulsein() function blocks other tasks from running silmultaneously

It is quite likely due to blocking. The description of the pulseIn() function in the Arduino site's reference section says: Reads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, ...
JRobert's user avatar
  • 15.1k
4 votes

How to make an electronic suction cup?

Just a note for those who wonder the same and are in need of a vacuum: In theory, you can use Venturi effect (or Bernoulli's Principle; it's basically the same) to create a vacuum. Or go buy an ...
ArchimedesMP's user avatar
4 votes

all in one Arduino robot

Yes, actually it has been done before (multiple times). I, along with some other students did such a project at my school. https://www.youtube.com/watch?v=GTJQ2VXtmk0 https://www.youtube.com/watch?v=...
Paul's user avatar
  • 2,695
4 votes

Need some Hardware advice with arduino

To process incoming images, voice commands, produce sounds, and also do WiFi is almost certainly beyond the capabilities of any micro computer, like the Arduino (maybe some of the more recent models ...
Nick Gammon's user avatar
  • 37.9k
4 votes

What is the best technique to design a 20 push button circuit

The example project below can control 16 switches. If you have a membrane keypad with 5 x 4 or 5 x 5 then you can meet your requirement. I will shortly add an example of using shift registers to have ...
ArduinoFan's user avatar
  • 1,024
4 votes

LM7805 gets very hot with four servo motors

Depending on load, your servos can draw 250ma of current or more when actuated. This means that your 7805 may need to supply >1 amp of current at 5V. In order to get 5V from a 12V adapter the 7805 ...
BobT's user avatar
  • 248
3 votes
Accepted

Is Arduino reliable for serious tasks, such as medical machines?

You should NOT trust using an Arduino for life safety measures (medical purposes). This discusses the reliability of an Arduino pretty well- https://electronics.stackexchange.com/questions/15535/...
deeveeABC's user avatar
  • 184
3 votes

Send analog value over IR?

Yes, it is possible. That is already supported by the IR library. Please see this tutorial for further details. The outline of the sender is: uint16_t sample = analogRead(A0); irsend.sendSony(...
Mikael Patel's user avatar
  • 7,959
3 votes
Accepted

Functions of GSM

Send sms when motion is detected by a PIR sensor Yes, write a function that does this. Basic support functions in libraries will help you send the sms and detect the PIR. You need to provide the ...
Mikael Patel's user avatar
  • 7,959
3 votes
Accepted

Can I connect Multiple Devices to One 5V and one GND pin of my Arduino Uno R3

Yes, you can connect multiple devices to GND and +5 V. You may find that you need to bring one wire from the PCB to an external connector or piece of stripboard so that you can make more reliable ...
Transistor's user avatar
3 votes

How do you determine Lead Screw position using Absolute Encoder?

The encoder attaches to the motor (or other) shaft and sends a 10-bit rotational position for a precision of 0.35 deg, and a claimed accuracy of +/- 0.7 degrees. It will be up to the application to ...
JRobert's user avatar
  • 15.1k
3 votes

Need some Hardware advice with arduino

Your main bottleneck here is the camera. If you want to do real time video, I would suggest getting a Raspberry Pi or the equivalent then using it as a master over something easier to code like an ...
Marianne Primeau Breton's user avatar
3 votes
Accepted

Is it possible my ATMega is burnt due to bad wiring?

Smoke is a definite sign something failed. The LED (power indicator)is independent of the microprocessor, it just indicates power is applied in the appropriate direction. Go to the basics, and load ...
Gil's user avatar
  • 1,811
3 votes
Accepted

Smooth Servo movement for robotic arm: An ongoing answer and soluton

Your original solution uses blocking code (the for loops with delay() calls in them). Surely that works, but it can easily get you in trouble, when extending the project with more functionalities (...
chrisl's user avatar
  • 15.8k
2 votes

Functions of GSM

None of those things you ask are a function of the SIM900A GSM module. The SIM900A GSM module is capable of sending and receiving text messages (SMS). What you do with those text messages, and what ...
Majenko's user avatar
  • 105k
2 votes
Accepted

Unsure about how the code works for this Make-It Robotics kit

Indeed, the way the bitwise operations are written is confusing. if((sensor_in & 0xf00)==0) sensorValue1=sensor_in & 0xff; else if((sensor_in & 0xf00)>>8==1) ...
Majenko's user avatar
  • 105k
2 votes

Suggest me some good seller for Arduino UNO

I would comment, but my rep is not high enough so consider this a comment: Welcome to StackExchange. You should maybe take a look at some guidelines on how to ask good questions. First of all: mind ...
AnyOneElse's user avatar
2 votes

Suggest me some good seller for Arduino UNO

I recently bought some arduino nano V3 on Aliexpress. It cost me €1.75,- so I immediately bought 4 :P arrived within 10 days. Also the arduino uno R3 (non-official) is only €3,-. Worth the try? I ...
Weaverworm's user avatar
2 votes
Accepted

What is the best arduino board for a robotic arm?

If you are hoping to drive the arm straight from the Arduino, that's not going to work. What you should do is: Define the maximum weight and size of the load your arm will carry. Define expected ...
Igor Stoppa's user avatar
  • 2,125
2 votes

Linear actuator jitters/vibrates when getting PWM from Arduino Mega 2560 through JKR 21v3 motor controller

I got this working using the Servo library. You set the input method to PWM. Connect your RX on the motor controller and hook it up to the servo pin. Connect the ground of the Arduino to the ground ...
Jaco Fourie's user avatar
2 votes

Multi-threaded Robot

You could also give my ThreadHandler library a try https://bitbucket.org/adamb3_14/threadhandler/src/master/ It uses an interrupting scheduler to allow context switching without relaying on yield() ...
Adam Bäckström's user avatar
2 votes
Accepted

Advanced Line Follower robot

Any language will do, as long as it is supported by your HW platform. If you want to use python, you need a board that can run python. That could be an Arduino Yun, for example. Or an Intel Quark. Or ...
Igor Stoppa's user avatar
  • 2,125
2 votes

How can I control 4 DC motors with an Arduino?

Yes, you can do this using 2 L293D motor drivers, each motor driver can run 2 motors and it is very easy to use. You should connect Vcc 1(used to power on the chip) to 5V and Vcc 2 to a power supply ...
roaibrain's user avatar
  • 211
2 votes

Precise rotation (steering direction to a given angle) on obstacle avoidance robot

The only way you can know how far you have turned, with any form of accuracy and, more importantly, repeatability, is by employing some form of feedback. In other words, to work out how far you have ...
Majenko's user avatar
  • 105k
2 votes
Accepted

LiPo batteries with L298N controller

First off, congratulations on entering the world of robotics. I hope you enjoy it as much as I have. You are correct that the L298N has a voltage drop that is between 1.8V and 3.2V (at 1 Amp) or 4....
mwwalk's user avatar
  • 446
2 votes

Make a Robotic Arm move straight not curved

You need to learn about Inverse Kinematics. In robotics, inverse kinematics makes use of the kinematics equations to determine the joint parameters that provide a desired position for each of the ...
Majenko's user avatar
  • 105k

Only top scored, non community-wiki answers of a minimum length are eligible