It means you need to be handy with a soldering iron...
You can also feed via usb. It says you should feed 5V there...but it uses the same regulator as the LiPo connector.
So I should look for a 5V battery holder that has usb on one end, and an adapter that has usb on one end and micro-usb on the other end? Then, will the regulator bring the voltage down to the needed 3 or 3.3 volts? I’m guessing.
Also, if my links in post #120 are proper, can I ask a question about compatibility? Will it be much harder because one side of an Adafruit part is connected to a Sparkfun part, and the opposite side of the Adafruit part is connected to another Sparkfun part; and Adafruit and Sparkfun are different companies?
Thank you.
I would use a 3 AA battery holder. More batteries will mean more loss in the regulator. The regulator is pretty small and might easily get overheated.
It needs to fit into your board. The other side does not need a plug. You can solder that.
Yes, the regulator will bring down to 3.3v.
I do not know about compatibility. As long as they are all 3v3 devices and all use I2C, I guess you will be fine.
I’m looking for a confirmation that if I want to connect a battery holder without soldering then I can’t use this board, though I don’t know if that can be confirmed. If it can be confirmed, if I knew more about SparkFun's customers then I might be able to figure out why it is harder to connect a battery holder than it is to connect SDA.
At an Adafruit page, I’m not sure why it says 3v and not 3v3 (which I’m pretty sure means 3.3v).
Thank you.
You can connect the battery holder via usb.
Inside a usb cable there are 4 wires: two for data, a + and a -.
Find a battery holder with usb output or cut a usb cable, take the wires you need and connect those to your battery holder.
Please let me know if this question is too long, if I should shorten it.
I don’t think I should try to use a STEMMA QT (which I could describe) part (a 9DoF IMU) with Qwiic (which I could describe) parts, because I am worried (maybe because I am a beginner) they are incompatible, for what I’m trying to do. So I’m looking for a SparkFun (who makes Qwiic) 9DoF IMU, instead of an Adafruit (who makes STEMMA QT) one. The problem is that I’m looking for one of the easier ways to use the Mahony sensor fusion algorithm, and (if there is an easier way to use that algorithm with SparkFun’s Qwiic) it seems (to me) a lot harder to find one of the easier ways to use it with Qwiic than with Adafruit’s STEMMA QT, but hopefully someone will help me find one of the easier ways to use it with Qwiic.
Thank you.
I got the following error messages.
Arduino: 1.8.19 (Mac OS X), Board: "SparkFun Qwiic Micro"
fork/exec /Users/admin/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board SparkFun Qwiic Micro.
I thought I followed the instructions at https://learn.sparkfun.com/tutorials/sparkfun-qwiic-micro-samd21e-hookup-guide?_ga=2.258423246.555425192.1678385645-648687454.1678149671&_gac=1.217828898.1678149618.EAIaIQobChMIr-aDgsnI_QIVJQV9Ch0i9A1VEAAYASAAEgIq6vD_BwE#setting-up-arduino carefully. The name of the microcontroller has “PID” in it.
This looks like a question for the Installation and troubleshooting category. It has nothing/ little to do with your code. You could make a 'hello world' example, test that. If it does not work, you could make a post in the that category.
Did you install the board?
Yes, I installed the board, thank you for asking.
I got the same error message after I tried to verify the following sketch.
void setup()
{
//initialize serial communications at a 9600 baud rate
Serial.begin(9600);
}
void loop()
{
//send 'Hello, world!' over the serial port
Serial.println("Hello, world!");
//wait 100 milliseconds
delay(100);
}
I don’t know if it makes a difference, but before I tried to verify the sketch, the IDE remembered how I installed the board before, when I mistakenly thought I could upload the sketch from a flash drive.
Again, the error messages (as requested) are:
Arduino: 1.8.19 (Mac OS X), Board: "SparkFun Qwiic Micro"
fork/exec /Users/admin/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board SparkFun Qwiic Micro.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Add the error message to the above post and post in 'troubleshoouting'.
Hopefully someone else can help you there.
I would appreciate help getting the Serial Monitor to display words. If the following sketch doesn’t make it easier to help me, please ignore it.
//Trying to get the Serial Monitor to work
//modified from other people's sketches
const int LED = 13; // Blue "stat" LED on pin 13
void setup()
{
Serial.begin(9600);
pinMode(LED, OUTPUT); //set pin as output
digitalWrite(LED, LOW); //turn LED off
}
void loop()
{
//make the LED do something different from what it does without a sketch, so I know part of the sketch is working the way it is supposed to
digitalWrite(LED, HIGH); // Blue LED on
delay(100);
digitalWrite(LED, LOW); // Blue LED off
delay(100);
digitalWrite(LED, HIGH); // Blue LED on
delay(100);
digitalWrite(LED, LOW); // Blue LED off
//I can see the LED blinking, but I can't see the following three words in the Serial Monitor
Serial.println("It blinked twice");
delay(3000);
}
I do not see why this does not work for you.
Did you use the same usb cable for the upload as well as during the run of this sketch?
Did you open the serial monitor?
When I was using a different usb cable, I got a message. I don’t remember exactly what the message was, maybe that it wasn’t ejected properly. I just uploaded the sketch using another usb cable. I kept it plugged in. Is that what you mean by using it during the run of the sketch? I also opened the Serial Monitor. And I’m using boards that are different from the ones I said I was using before.
Did you resolved the error messages, shown in post #129?
The problem might have been that, instead of selecting Arduino Zero (Programming Port) or Arduino Zero (Native USB Port), I only got Arduino SAMD (32-bits ARM Cortex-M0+) Boards to appear. It is working now. The topic is at https://forum.arduino.cc/t/no-such-file-or-directory-as-arm-none-eabi-g/1100405/1. Thanks for asking.
I see, thank you.
Please do not open a more than one thread for the same or related questions.
It is a violation of the forum rules.
I'm sorry.
No need to be sorry here!
Hi @build_1971 and @b707,
Is my question about the Serial Monitor (in post #131) “same or related”?
It seems unrelated to your original post.
And I still cannot see why it does not work...
Do you have the same baud rate set in the serial monitor of you PC?