Very Nice indeed ! Are the RJ-19 connectors for sensors ?
Do you have a project page ?
Very Nice indeed ! Are the RJ-19 connectors for sensors ?
Do you have a project page ?
So i checked all the trace and made sure not shorts etcā¦
Took out the lowest microSD i can ever find in case something happensā¦
Plugged it into the shieldā¦put back to my machine⦠WOOHOO! The card didnāt get fried
The only weird thing is that the Status LED didnāt light up. SS is giving 3.3V to but i donāt see the SCK pulsing somehow. If itās pulsing iām sure i should be seeing some light since i tested itā¦
I just used a simple SPI.transfer() so maybe it didnāt work?
EDIT: AH dang⦠I forgot that the SS is active low and the LED should be the other way around!!!
So you passed the Smoke Test (no smoke - good thing)
Whatās that black wire laying on top of your core. Ah, I Know - they use those in race cars,
its your fire extinguisher
It's the wire for his uFL antenna.
(I apologize if I misread your question as serious rather than sarcasm. Sometimes it's difficult to tell the difference between the two on the Internet!)
I really wasnāt sure since I only have the on-cip antenna on my core. And, it was sarcasim too. smile:
I canāt be any happier than to see this on a Saturday morning!
MY FIRST FUNCTIONAL SHIELD EVER MADE
The FRAMs shall be soldered on next week and tested to see how stuff are working.
Iām thinking of setting up a Kickstarter for this but itās not available for Singapore. Maybe iāll take a look at Crowdsupply etcā¦
@zachary and @zach, as a successful Kickstarter campaign team, i would really love to hear your inputs on this shield
Also looking at making a place where all future shields/products can be sold by small makers around the world.
I can set up a website and get all these started which hopefully get more people on board and make even better! Maybe even work with the
teamās production line that you guys are offering us for mass production of our stuff! (since iām nearer to them)
Iām sure the team has these plans but iāll just continue to move faster and kick off this idea
kennetlimcp, have you considered talking to the Spark Team about your shield? They have an amazing supply chain and can sell it through their store!
Some more pictures of the shield being attached to the core. I find the stack to high somehow.
Letās see if i can find a shorter female headerā¦
@BDub, i have some issues with the Library and need your inputs. For Spark-CardInfo
, i need to comment out while(!Serial.available())
in order for the code to run or it simply get stuck there. Itās really weird and iām wondering why soā¦
Some other examples i couldnāt get it running due to similar issues of code checking Serial.available()
.
Itās a weird issue.
Speed Test working too:
Things to do before pushing for PCB production:
Populate FRAMs and see if we can do r/w to them
Shift the FRAMs footprint more to the right so that users can self-populate the FRAMs as itās rather challenging with the MicroSD right beside and headers along the edge.
Increase the R value for the LEDs are they are kinda bright now
Add in pads which allows user to change the SS/CS pins
Add in silkscreen to properly label all the different components
Extend SD card pinouts pad to make it easier to hand solder
With that, i would like to just do a quick survey!
Please <3 this post if you are interested to get your hands on one!
Some options i would most likely be offering:
a) Fully soldered shield (FRAM + MicroSD + Header)
b) MicroSD only with or without Headers soldered
c) FRAMs only with or without Headers soldered
The challenge now is the Female + Male header to make this shield stackable. It seems thereās only 1 source and Sparkfun buys from them as well. The MOQ is 10,000 if iām not wrong and thatās gonna be a huge overhead for me =:x:
Also, @zachary and @zach, please let me know if iām allowed to promote this in the community! You guys are an awesome bunch and i wonāt want to be flouting any rules here
This is @BDub 's easy way of knowing when to launch the serial program on his PC--the core is waiting for a character on the serial port before continuing.
Dang. How can i even not notice that. HAHA!
Maybe a comment in there would be nice. The library works awesome but not for someone like me who havenāt used it before.
Thanks @bko for the fast input! Let me try it now ^^
@bko, Iām trying to test out Spark-ReadWrite
but the
if (!SD.begin(chipSelect)) {
Serial.println("initialization failed!");
return;
}
just kept running. The CardDataInfo
examples works which means the hardware is fine.
@kennethlimcp Great job on getting it up and running!
I think the question now is where did you get that awexome antenna? Itās like made for breadboards. Does it have good range when stuck to the breadboard?
@bdub, I bought from here: http://www.ebay.com/itm/2-4G-WIFI-3dbi-PCB-Antenna-IPX-IPEX-WLAN-Laptop-Bluetooth-Zigbee-Wireless-Module-/281124110495?pt=LH_DefaultDomain_0&hash=item41744d809f
Itās awesome IMO. I managed to get it working on a school network in the middle of the building with no APs in sight. My room is 2 walls apart from the router and it doesnāt get affected!
I saw one like that in the GSM module on the testing instrument for a project in the past. Sent us SMSes without any hiccups
Cmon help me get the other example codes running
Iām kinda tempted to build a test jig like what Sparkfun has. I always find them really cool and innovative!
Cool. I wonder how they come up with that PCB design
So what examples do you need to get working? All of those SD Card examples work already on the Spark Core. Iām guessing FRAM?
Right now, and for the last couple days Iāve been working on getting my new work computer up and running. Iām installing Win8.1 on it from scratch, and all drivers⦠so itās kind of a pain since this is my first time with Win8.1. Iām almost a pro though⦠then Iāll have a computer that can keep up with ME.
See https://community.spark.io/t/custom-shield-microsd/3592/89 above. Spark-ReadWrite
isnāt working for me.
Yeah good point on the FRAM as well. How should i go about testing?
@BDub, did you also locked the components on the .brd as well? I canāt move em
Hmm, I suspect it might be due to the recent addition of SoftSPI. I had to change the Speed Test example like this to make it work for soft SPI. See the code in the pull request here: https://github.com/technobly/SparkCore-SD/pull/1
Also I havenāt looked to see if the Hardware SPI is affected⦠or what the !SD.begin(CS) should return⦠and why that might be failing⦠.but thatās where Iād look
Trying to take the only free time I have right now to focus on this new computer ⦠if you are still having trouble later Iāll take a look at it.
BDub & kennethlimcp, I did not test the ReadWrite program when I added the software SPI. I will test it with soft and hardware SPI later today and get back with my results. However, I can tell you that if this works with SpeedTest then it is not likely an issue with the library.
the components canāt be moved in the BOARD. Any clues?
** EDIT; some layers were not shown and i got it working :D**
Next question is, i want to move the FRAMs so would it be better if i redo the ground pour since things are gonna be messed up?
@bdub & @peekay123,
the problem seems to be this:
> if (!SD.begin(chipSelect)) {
> Serial.println("initialization failed!");
> Serial.println(SD.begin(chipSelect));
> return;
> }
in the Spark-ReadWrite.cpp
.
Itās like calling Serial.begin()
multiple times which shouldnāt be that way.
I commented that portion out and left it only running only in setup()
.
Maybe it should be checking for something like SD.available()
or something along that line.
Thanks for the input!
Really happy to get this working with everyoneās help
kennethlimcp, I am glad you got it working. I just tested the ReadWrite code and its works perfectly in both hardware and software SPI. However, this code:
if (!SD.begin(chipSelect)) {
Serial.println("initialization failed!");
Serial.println(SD.begin(chipSelect));
return;
}
is wrong in many ways. First, the second Serial.println calls SD.begin again and should not be there. If you want to see what the first call returned do:
if (!(int ret = SD.begin(chipSelect))) {
...
Serial.println(ret);
while (1);
}
Second, you really want the Spark to halt after the error so change āreturnā to āwhile(1);ā
Is there an RTC that can be used with this?
I want to be able to log time stamped data and periodically upload to the net.