Arduino Mega project only works using USB [closed] - arduino

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
I have made a project using an Arduino Mega 2560.
It works only with both the USB and the 12v battery attached.
Included in the project are 3 relays, 1 pump, and 2 servos.
The relays and pump run off of the 12V battery directly (after the power switch).
The servos are 4.8V-6.8V, and I am using a voltage regulator set at 5.5v.
No power is being sent from the Mega board for components.
The only wiring to the Mega is to the Vin at 12v from a CA1270 battery.
During research, it seems that the issue could be a lack of amp delivery, but the battery used is for a kid jeep, so I am sure it has the delivery.
I am using power busses for distribution and grounds, so I am confident of grounds and power supply (especially since it runs with the USB).
What could cause this to happen?

Related

OLED SSD1306 Display not working when connected to Nodemcu ESP32 IOT Board [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 days ago.
Improve this question
I have recently bought an OLED SSD1306 Monochrome (White) display. I wanted to connect this display to my Nodemcu ESP32 board, but nothing seems to work. I used the Pinout sheet of my board to connect the display correctly. I checked my wiring multiple times but nothing seems wrong. I thought that the problem might be from my I2C address. I tried the I2C scanner but it doesn't return me any address. I need your help! Since no tutorials exist for the Nodemcu ESP32 connection to the OLED SSD1306 display, I would appreciate any help with the wiring and the code.
PS: I am a rookie so forgive me if I made any newbie mistake!
*I have the Nodemcu version of ESP32 which Not ESP32
the screen did not turn on at all

Whats the difference between Mini-A USB and Mini-B USB connector to power up Arduino Nano? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I want to connect my Arduino Nano to PC via USB cable. It is described that it needs USB Mini-B connector. But all Mini-B cables are out of stock and only USB Mini-A are available. Will it work with Mini-A. Because I did not find any differences between those two types in terms of connector shape.
No Mini-A will not work.
Type-A connectors are for upstream connections (PC) and Type-B for downstream peripherals (Arduino)
Mini-A was a thing in early 2000s for USB-OTG applications but dropped out of the standard in 2007.
Also they have a different shape. Otherwise a different name wouldn't make much sense.
I don't know where you live but unless it's the Mount Everest it is rather impossible that you cannot get a A-Mini-B cable. Just pick another vendor.
There is a difference in both the cable types i.e., shape, pins etc. You cannot use type-A cable for your Arduino Nano to connect with your computer. I have a solution I used for some modules to program those, you can use FTDI programmer or Arduino UNO as ISP programmer for other Arduino boards, just you need to make some connections between Arduino UNO and Arduino Nano 6-pin jumper according to the pin configurations, the select exact port No. and use Arduino as ISP programmer in programmer setting in Arduino IDE. Here I suggest you to get connected with the SSLA technical support team for getting better assistance from them.

Is sensors for Arduino work with Raspberry Pi? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I want to experiment with some sensors with my Raspberry Pi 3. For that, I searched for sensors to buy online. During the search some websites says "buy sensors for Arduino" and some says "buy sensors for Raspberry Pi". So. if I buy sensors for Arduino, will they work with Raspberry Pi or not?
'it depends" being the answer.
The short answer is: yes probably it will work on both.
The longer answer is you'll be doing some work arounds. (and each is case dependent).
For example the arduino has analog pins, but AndroidThings boards do not - you would need to use a Analog to Digital converter (like this or any other ADC).
Android Things supports these protocols & interfaces
- I2C
- SPI
- UART
- PWM
- I2S
If the peripheral uses one of these, then yes it will more than likely work an AndroidThings (a raspberry pi).
AT also supports GPIO. However if the sensor only uses GPIO, it is likely to require a fast communication speed (in the range of 10's of nano seconds), but Android Things GPIO is slow (the frequency is in the range of 300± nano seconds) - so you'll probably find these sensors are not supported on AT (a raspberry pi).
If after all that you buy a sensor and it won't work with Android Things - you can still use the sensor with an Arduino board and then control the Arduino Board with a Raspberry Pi as a master (like this).

Can't connect to network using GSM SIM900A [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm new in the arduino community, I spent a lot of days to get up with my gsm sim900A module, but it seems not working it keeps blinking 1 sec, so the sim not registered to the network or something like that, I wonder if anybody has the same problem of me, but I really need help with that.
Thank you
According to blog by Erfinden
Steps :
Insert sim and lock it.
Connect the adapter and power it
Now wait for some time (say 1 minute) and see the blinking rate of ‘status LED’ (GSM module will take some time to establish connection with mobile network)
Once the connection is established successfully, the status LED will blink continuously every 3 seconds.
So just blinking an LED doesn't meant that your GSM is not working, it is how it works.
GSM Module sim900a is working over 5v. try to power it up from an external source don't use arduino for voltage supply

Arduino Leonardo OR Uno for a pototype solenoid project ?? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am a software developer with no prior experience in embedded programming. I have to develop a prototype project:(example) to generate Morse Code pulses which are to be output through a solenoid in the form of vibrations. I found that either Arduino Nano or Micro will do this job. Though I have choosen Uno for the project keeping in view later requiremenst will evolve.
I found Leonardo & Uno two close varianst. I selected Uno based on some research I did. Mainly I learned Leonardo is not good choice for beginners due to some of its problems and/or features. Uno also has more help available too being a seasoned variant.
It will be nice if I can have some opinion about it.
As you and Keshav Saharia said, assuming that the capabilities of Uno and Leonardo both meet your needs, the reason to choose the Uno is because it is older, more mature, and better supported. For example, most of the Arduino posts here and on EE.SE are either based on Uno or are compatible with Uno. Likewise, most of the Arduino guides work out-of-the-box with Uno, but not necessarily with Leonardo; Leonardo is always one of those footnotes: If you have Leonardo, you need to do this other thing instead.
Also, if, at some point, you decide to ditch Arduino and use a bare ATmega chip, ATmega328, the MPU in the Uno is the one you are likely to use, and also the one more people are familiar with. Leonardo uses a different AVR chip, the ATmega32u4, which, like the Leonardo, is not quite as popular (widespread?). These are good reasons to choose the Uno, as far as I am concerned.
On the other hand, if you are hoping to keep the prototype board for yourself, you might want to think about the Leonardo, since it is more powerful: more IO, second hardware serial port, etc.
You already asked this question and it has been answered. Your conclusion that the Arduino Nano or Micro won't do the job is wrong. Any version of Arduino will work, as will any other microcontroller (Basic Stamp, Picaxe, etc.). All you need to do to control a solenoid is to turn a digital pin from LOW to HIGH. You WILL need some external circuitry because of solenoid power requirements but the circuitry is trivial.

Resources