Skip to main content
9 votes

How to organize my Arduino projects' structure for easy source control?

MyProject |_MyProject |_MyProject.ino |_data | |_documentation | |_PCB | |_schematics |_src |_MyProjectLibrary1 |_ThirdPartyLibrary MyProject folder (repository root) The ...
per1234's user avatar
  • 4,178
6 votes

What are the problems with using an Arduino in a production environment?

I want to know if there is anyone that has used Arduino boards in a real project? I have seen it being done, quite a few times. What are the problems that you have faced? Pros: quick to market; ...
dannyf's user avatar
  • 2,770
4 votes

What are the problems with using an Arduino in a production environment?

As a rule, no it's not a great idea. Arduino boards are a prototyping platform. They are designed to make trying ideas out easy, not for permanent installation in a device. That's not to say you can'...
Majenko's user avatar
  • 105k
4 votes

Moving motion sensor?

OP didn't really specify the actual requirements other than detecting movement and wanting to use PIR while in motion. PIR (Passive Infrared) implies looking for warm bodies. In general, PIR ...
SDsolar's user avatar
  • 1,165
3 votes
Accepted

Useless box wiring and code

Yes they turn 360 Normal servos turn between 0 and 180° (or a bit more or less). On these servos you can set the angle through Servo.write(). But if the servo spins 360° and more, it is a continuous ...
chrisl's user avatar
  • 16.3k
3 votes
Accepted

Using a photo resistor to detect objects of a certain color

Use a TCS230 photo sensor and a 6500K light source to color correct your objects. This hookup will get you started This sketch, courtesy of Best-Microcontroller-Projects will get you going. Read ...
tony gil's user avatar
  • 362
3 votes

How to regulate a led on-board?

Pin 13, which is the on-board LED, is not a pwm pin. So you cannot Control the brightness of that LED on-board. You will have to use another LED and a PWM pin.
Kevin Coleman's user avatar
3 votes

Small Baseball Scoreboard using 2 to 3 breadboards

Actually, you can very easily verify this yourself: Per item (1602LCD, 7 segment LCD and LEDs check how many pins you need and what type, like e.g. I2C or SPI for the 1602 LCD). The 7 segment ...
Michel Keijzers's user avatar
3 votes
Accepted

MAX30100 and ESP8266 NodeMCU Serial Errors

Well. Finally. Figured it out. After countless hours of googling and reading the issues on the github library, i just had to insert one line. resetFifo to reset the module after http post and re ...
Roschlynn Dsouza's user avatar
2 votes

How to organize my Arduino projects' structure for easy source control?

Probably really late to the game but it's a popular enough question to answer using slightly different methods than those posted already. If you need to maintain compatibility with Arduino IDE ...
Mike Alger's user avatar
2 votes

Confusion over Transistors for a switching circuit with an Arduino Mega 2560

A transistor amplifies current, not voltage. The first thing to check is the current of your LEDs. In your current configuration, it is between 25 and 30 mA. This is too high for most LEDs. Check ...
tttapa's user avatar
  • 1,320
2 votes

Controlling 10+x 5m led strips with 10+ individual analog floor switches

I think that the best solution for you, unless you want a simple on/off control (if you want it just go with Majenko's solution) is to use port expanders. Maybe this can be slightly overkill, but you ...
frarugi87's user avatar
  • 2,721
2 votes

Using a photo resistor to detect objects of a certain color

Nice theory but since you're facing real-world conditions and not ideal ones, I think you'll have a hard time with this approach. I.e. your cube is likely not the same shade of green that your filter ...
pfabri's user avatar
  • 169
2 votes
Accepted

Looking for a cheap small arduino ish board

I'd suggest investigating the ESP32. It's not only a far more powerful chip than any normal Arduino, but it has both WiFI and Bluetooth Low Energy, all on the one chip. It's available as surface ...
Majenko's user avatar
  • 105k
2 votes
Accepted

Making Cases for Projects

Your question has multiple layers: The custom PCB: Breadboards are good for experimenting, but not for a finalized circuit. Depending on some factors you can decide between multiple options. One, ...
chrisl's user avatar
  • 16.3k
2 votes

What is this potentiometer for?

What is the potentiometer doing here? Why is it necessary? It's there to control the "offset voltage" of the LCD, which is what controls the contrast of the display. My lcd screen doesn't ...
Majenko's user avatar
  • 105k
2 votes

First Arduino Project - Need Advice (powering WS2812B LEDs)

Powering the LED panels Powering your panels will be your greatest challenge! These LED panels are powered by a single +5V power input per panel and do not need a resistor in the power supply path (...
StarCat's user avatar
  • 1,651
2 votes
Accepted

Read Digital Input from Arduino Pin defined as OUTPUT

If you want to know the state of the load, I suggest to put the mechanical switch on the low-voltage side of the relay: simulate this circuit – Schematic created using CircuitLab The voltage ...
Edgar Bonet's user avatar
  • 43.3k
1 vote
Accepted

Maintain constant PWM voltage with changing Vcc

Simple: duty = (3.2 / vcc) * 255;
dandavis's user avatar
  • 1,037
1 vote

What are examples of large Arduino code bases and how are they organized?

Again im late to the party... If you are planning on making a larger project and splitting things up you can take advantage of libraries. This will work even if you are married to the arduino ide for ...
Mike Alger's user avatar
1 vote

What are examples of large Arduino code bases and how are they organized?

Big projects are likely not developed with Arduino IDE. Arduino IDE was make for designers/inventors, not for programmers. Arduino was born at the Ivrea Interaction Design Institute as an easy ...
Thomas Weller's user avatar
1 vote

the boxservo works contrary to the code

You have probably installed the box servo backwards so that when it tries to open it actually closes and vice versa.
tavis's user avatar
  • 521
1 vote
Accepted

What is the correct folder structure for including local headers in my Arduino project?

The reason why you can't reference the parent folder of your sketch when compiling is because the Arduino IDE doesn't compile your sketch in that folder. Instead it writes out the files from the IDE ...
Majenko's user avatar
  • 105k
1 vote

I´m trying to make a kind of videogame with Arduino UNO

Probably since you set the cursor at a position in the middle of a line, only the new text is overwritten over the old text. But if there are some characters from the previous text, those will stay. ...
Michel Keijzers's user avatar
1 vote

Would it be feasible to build an arduino that takes 12v on/off signals from a vehicle diagnostic port (1984 pre-OBD)?

Yes, it is possible. The 12v signals would have to be conditioned for the Arduino to receive them (0 - 12v or maybe 0 - 12-14.5v?). Then the Bluetooth side would be the same as any other Bluetooth ...
JRobert's user avatar
  • 15.3k
1 vote

Controlling 10+x 5m led strips with 10+ individual analog floor switches

Unless you want to do fancy things with the LED strips you really don't need an Arduino to accomplish this task. You can just switch each strip with a powerful enough MOSFET and control the gate with ...
Majenko's user avatar
  • 105k
1 vote

I want to build a radar alert system with Arduino

Or there's an off-the-shelf solution: Innotek ssscat is a bottle of compressed air and a motion detector. The spray is harmless but it sounds like a hiss, which is Cat for GTFOuttaHere!
JRobert's user avatar
  • 15.3k
1 vote

I want to build a radar alert system with Arduino

ANSWER BASED ON YOUR TITLE: Here is a microwave RADAR motion-sensing module that you might find useful. You could mount it right by the stairs. http://www.ebay.com/itm/262662221979 LFS-DC04 2....
SDsolar's user avatar
  • 1,165
1 vote

Is it possible to digitally stop a moving motorbike using an Arduino module?

Assuming that you simply want to stop the engine, Gerben's comment has the answer: Put a relay in series with the ignition. Control the relay with the Arduino. Opening the relay breaks the circuit. ...
Dampmaskin's user avatar
1 vote

Arduino whack-a-mole game not working

Others have already mentioned the issues with the timing, score initialization and random number generation. On your checker function you have 2 errors and one ugly piece of code. Ugly code first - ...
Andrew's user avatar
  • 1,050

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