I am trying to upload code to my Arduino Nano 33 IoT, which is attached to a breadboard that has wiring on it. When the Arduino is attached to the breadboard, the Arduino does not show up under the Port tab in the Arduino IDE when I plug the USB cable into the Arduino, even though the Arduino is on. However, when I remove the Arduino from the breadboard that has my wiring on it, the Arduino shows up in the Port tab. Additionally, when the Arduino is attached to an empty breadboard, the Arduino shows up in the Port tab. I suspect that this might be an issue with the wiring, but I don't know what the exact cause of the issue is.
Thank you! I'm not very familiar with electronics—if you don't mind, could you explain why a 9V battery is not suitable? Also, would I need to use two power sources: one for the Arduino, and a separate one for the motors/motor driver?
From what I know, a nine-volt battery is not suitable for the job. This is because it doesn’t have enough power (and capacity) to power your project for a while. At best, it might do an hour. Basically, using a nine-volt battery will just waste the battery, your time, and money. If your project does not need to be battery operated, trying using a wall adapter plug (such as an iPhone adapter, which will give you 5V at 1A max). However, be sure to use the regulator as the 33 IOT is 3.3v logic, not 5V. Still, this might be dangerous (it’s an idea I have right now, but confirm it with other more experienced members). Alternatively, you can use Lithium Ion batteries to power your project. If your power source can provide enough current, then you can power both the board and your project with one power source. Just make sure that it is wired correctly.
tl;dr: Nine volt batteries do not have enough power and life to support your project- they will waste time and money. Try using a wall adapter or li-ion/li-po batteries, but with safety features.
A typical 9V battery is not suitable for peak currents about 25mA or so. They're typically used in applications that require a small current for a looong time. Running motors is the exact opposite.
Have you checked the compatibility of interfacing your motor driver/H bridge which apparently operates at 5V with the 3.3V logic level of your Arduino?
Your arduino should not see voltages higher than 3.3V on any of its pins AFAIK. Does your H-bridge module comply with that, or are there situations when it will actually put a 5V signal on any of its pins that connect to the Arduino?