6

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 asking is: How much current will I need from my 6V power supply? And the answer is: Add up the total current required by all of the devices and that is the ...


5

The green board is probably a custom PCB that controls the vehicle. Unfortunately, the image does not have enough quality to determine much else.


4

The easiest way is to use the parseInt method available to Serial like this int val = Serial.parseInt() But, you will have to be sure that the non-number part of the message ("Slider") has already been dealt with. You could also put the data into an arduino String Object and use it's toInt method, or put it in a C style string and use the atoi method.


4

Biggest difference IMHO: Tre hasn't been released yet! Besides that, there are a few different things that you should compare. Not much is available about the Tre as of now, but I'll update this post when it's released. Basic Specs: [First sub-bullet is TRE, second Galileo; better spec in bold] Microcontroller: Texas Instrument Sitara AM3359AZCZ100 (ARM ...


4

There is no way to change the frequency, however there are other ways of doing what you want to accomplish. I think the best thing to do is stagger the timing of the pings so they don't happen at the same time. Example code, modified by me: #include <Servo.h> Servo servo; // create servo object to control a servo int pingPins[] = {7,8}; //The pins ...


4

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=sXXh3Q8WoEM Materials needed Arduino (or other programmable microcontroller board with voltage regulation) Battery pack (and charger) 2 to 5 line sensors ...


3

The main difference between the two models, as stated in the PDF you provided, is the output they provide to the MCU. The QTR-8A will provide an Analog output, requiring a corresponding analog pin on the microcontroller. The QTR-8RC will provide a Digital output, but will allow the same accuracy of the QTA-8A by measuring the discharge time of the ...


3

It probably has enough memory and speed to run basic object recognition software, but I there's a better solution, and that's to do your image capture and your object recognition with another device, and use the Arduino to act on the incoming data in some way. That would give you enough juice to do object tracking or searching. I plan to do this for my ...


3

The Wire library has an issue in the lines you posted, that if an interrupt is lost, it will stay in that loop forever. There are two things you could do to fix this: Stop the interrupt from being lost (ie. fix electrical problems) Use a library that has a time-out. For the electrical issues, I would make sure you have pull-up resistors from SDA and SCL to ...


3

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 Aspirator pump. Since English is not my native language it's difficult for me to explain it in my own terms, but I'll try to give you a rough idea anyway. (Google it ...


3

I had the idea to use a computer mouse (optical) to do this - cheap, easily available. You would need two, if you want to be able to measure turning rate, one on the left and one on the right. You don't even need the whole mouse - if you pull it apart you can ditch the case, the buttons, and about half the circuitry. You will need to do some hacking to ...


3

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 logic. Send sms to only a particular group of cell phones. If the question is if the GSM module supports group send the answer is no. You will have to ...


3

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(sample, 16); And the receiver: if (irrecv.decode(&decodedSignal)) { uint16_t sample = decodedSignal.value; ... } Cheers!


3

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/reliability-of-the-arduino-platform-for-industrial-use


3

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 keep track of number of rotations, detecting when the shaft has completed a rotation in either direction. In a lead-screw application there will always be a ...


2

Weight: marginal as the difference between one board (with everything on it) and two boards (Uno plus DOF) may be - for model airplanes every bit counts. Size: the traditional "Uno" is much larger than the ArduIMU integrated boards. Power: the integrated board PROBABLY will use less and thus get away with a smaller (lighter) battery.


2

Doing a quick search on google you can find a couple of shields designed for that purpose: NXShield-Dx Bricktronics shield Second one is allows less motor connections but it's cheaper and has a book written by the designers


2

You should try to connect to the board using an in-system-programmer. If you have another Arduino lying around, you can upload the ArduinoISP sketch to and use it as a programmer. Alternatively you can buy a cheap programmer on ebay for a few dollars, just search for "avr programmer". You should look up the placement of the MOSI, MISO,SCK, and RESET pins on ...


2

I'm pretty sure and sadly to announce you that the usb communication of your Arduino Leonardo Compatible is dead and the arduino is connecting to the computer just like an alimentation Source no more. And since Arduino Leonardo based on The ATmega32U4 which has built-in USB communication ,so the Atmedga32U4 is dead(u-processor) too. It's not a software ...


2

For this application the Arduino YUN is the worst possible solution because Low RAM Terrible Processor No storage (you can add a microSD card though) High Cost The raspberry Pi 2, UDOO, RADXA, Ordio, pretty much anything with a quad core processor and 1GB of RAM will do a decent job. Face detection is RAM intensive, so you will need to worry about it ...


2

your code is ridden with html tags, like </p> <p> or </liquidcrystal.h></newping.h> Try removing them all, but it would be better if you could copy it from a plain ASCII source. And when reporting a compiler bug, it's always good to paste it exactly as it is shown (it would have listed also line and possibly column where the error ...


2

Did you check wikipedia, for example? I doubt it is possible to describe a PID controller in simpler words than those used by the article. The pseudocode is quite simple and should be also very good for understanding the concept, when applied to a digital system. See also the limitations of PID controllers.


2

The approach I would take for the arms is to use a servo motor as these are fairly cheap and are closed loop so you don't have to add any extra sensors to check where the current position is. Types of Motors: Stepper motors are a type of motor with a special arrangement of coils that allows you to turn a fraction of a degree by sending pulses to the motor. ...


2

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() or delay(). I created the library because I needed three threads and I needed two of them to run at a precise time no matter what the others were doing. The ...


2

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 of the JRK 21v3. Then use the knob servo sample by hooking up a pot to a Arduino. The calibrate the JRK 21v3 by selecting learn. Now you can use the actuator ...


2

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 precision and speed of the movements. Count the Degrees of Freedom (DoF) your arm will need (1 DoF = 1 simple joint) Figure out size and materials of each part of ...


2

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 would say definitely, because if you need it for a project you want to leave it in not take it out because you have another idea. Hope this helps.


2

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 your tune! ASAP in capitals is very impolite and implies a request we MUST fulfil - no we don't. Try to use please and thank you and everyone will be happy. ...


2

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) sensorValue2=sensor_in & 0xff; if (sensorValue1 == 0x00) action1 =action1 & 0xfe; if (sensorValue1 == 0xFF) action1 = action1 | 0x01; if (...


2

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 text messages you send to where is entirely down to your Arduino program. What you are asking is like "Can this car drive from Manchester to Carlisle?" The car ...


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