Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rydez

Pages: 1
1
General Discussion / Re: MicroSD fails to initialize
« on: July 23, 2022, 10:46:51 AM »
Just went out and bought a new microSDHC card. I tried it straight out of the package, and that didn't work. Then I formatted it with the sdcard.com formatter, and that didn't work.

2
General Discussion / Re: MicroSD fails to initialize
« on: July 23, 2022, 09:59:43 AM »
Started doing some deeper debugging within the SD library. I've found that the card fails here: https://github.com/arduino-libraries/SD/blob/a61e84b97b7742024ea2c8545a2b797aa6d551f4/src/utility/Sd2Card.cpp#L305. Timeout is reached while attempting to go into idle state. The timeout is set to 2,000 ms. I tried waiting 100,000 ms, but it didn't work. The status_ variable in Sd2Card is 0x20 before running card.init(), and 0xFF after.

3
General Discussion / Re: MicroSD fails to initialize
« on: July 22, 2022, 12:55:09 PM »
Thinking about going and getting a fresh SD card to test. Are the SD cards distributed by TinyCircuits special in some way? Or, will any SD card work?

4
General Discussion / Re: MicroSD fails to initialize
« on: July 22, 2022, 12:45:08 PM »
If I'm remembering correctly, I did not test the card before formatting it with Ubuntu. The initial formatting was done with the UI shown here: https://itsfoss.com/format-usb-drive-sd-card-ubuntu/.

I attempted to run the sketch you sent, but I'm getting the same output because SD.begin(chipSelect) fails. I also attempted using SD.begin() in the past while trying to figure this out myself.

5
General Discussion / Re: MicroSD fails to initialize
« on: July 22, 2022, 11:21:41 AM »
Not sure if this would cause a problem, but I originally formatted the SD using Ubuntu's OS, then later I went to a Windows computer to use the SD formatter from https://www.sdcard.org/downloads/formatter/.

6
General Discussion / Re: MicroSD fails to initialize
« on: July 21, 2022, 04:12:47 PM »
Hi RĂ©na,

Here are a couple pictures to show the connections. They seem good to me. It seems that the SD card is in as far as possible. Also, yes, the SD card works on my computer. I can move files onto it.

https://ibb.co/G3DHdTD
https://ibb.co/W0XsQQC

7
General Discussion / MicroSD fails to initialize
« on: July 21, 2022, 03:40:42 PM »
Hello! I'm having some trouble with reading an SD card. I have a TinyZero with a MicroSD TinyShield on top. I got my SD card here: https://tinycircuits.com/products/microsd-card-and-adapter-8gb. I'm following the tutorial here: https://learn.tinycircuits.com/Memory/MicroSD_TinyShield_Tutorial/. I've formatted the SD card using the prescribed SD formatter (FAT32), and I downloaded the zip that contains the CardInfo sketch that uses chipSelect = 10 and uses SerialUSB. Unfortunately, when run the SD card fails to initialize, and it outputs:

Initializing SD card...initialization failed. Things to check:
* is a card inserted?
* is your wiring correct?
* did you change the chipSelect pin to match your shield or module?

I've scoured the internet in an attempt to find a solution, but nothing I've tried has worked.

Any advice would be great!

8
General Discussion / Re: No output from microphone Wireling
« on: July 20, 2022, 02:12:46 PM »
Thanks for the response! I went to attempt your instructions, but then I tried to clap and it detected it. I think I only tried different wires when using the WirelingScanner. But, I left the new wire in, so maybe I have a broken wire? Or maybe it was something else. I don't know, but it's working!

9
General Discussion / Re: No output from microphone Wireling
« on: July 20, 2022, 12:09:54 PM »
I should also note that I've tried swapping out different wires. And, I've tried the WirelingScanner found here (https://learn.tinycircuits.com/Wirelings/Wireling-Adapter_TinyShield_Tutorial/). The scanner did not detect anything from the microphone, but I also plugged in a speaker Wireling, and the speaker seems to respond intermittently.

10
General Discussion / No output from microphone Wireling
« on: July 20, 2022, 09:12:46 AM »
Hi! I'm having a bit of trouble that I'm hoping someone can help me out with. I have a TinyZero with a Wireling adapter connected, then I have a Wireling microphone connected to port 0 of the adapter. I've compiled and uploaded the example code found here https://github.com/TinyCircuits/TinyCircuits-Wireling-Microphone-AST1030/blob/master/examples/Microphone_Wireling_example/Microphone_Wireling_example.ino.

Here's an image of the connected boards: https://ibb.co/X4GFnVD.

My issue is that it seems that the microphone is not detecting sound. When I open the serial plotter, I see this: https://ibb.co/7kqp3Fq. It doesn't change when I clap, or try to make any other noises.

When I change the pin to check the other three ports I see: https://ibb.co/FJktSX3. Again, no change with noise.

When I change the pin to a non-existent port, A4, I see: https://ibb.co/qgg2cZq. Again, no change with noise.

I've tried connecting the microphone to different ports and that didn't help.

I can't tell if the microphone is broken, or if I'm missing something silly. Any help would be great!

Pages: 1
SMF spam blocked by CleanTalk