Maker kit inventory list

Hi, I’m really excited that I’ve received my spark cores.

I got the maker’s kit, which has a lot of fun looking stuff in it, but there are some things I simply don’t know what they are. Is there an inventory of these parts somewhere?? With pictures???

If not:

What are the two SN74HC595N devices for?
I was hoping for a RS-232 level converter, but I don’t see one. (I have one for a galago board that I made work easily, but I am curious why there isn’t one in the maker’s kit. How else would one use the Rx/Tx pins??)
There’s a little black do-dad with a red wire and a blue wire, and something at the top that rotates. Is this a pot? A motor? There are some similar larger, silver devices.
There are two black, cylindrical components with two leads, one shorter than the other. What are these?
What are the maximum currents for the LED’s, by color?
There is what looks like to be a tri-color LED. What are the pin outs?

Thanks!!

P.S. the notebook is VERY nice!

1 Like

I asked this on twitter last night and they pointed me here:
http://docs.spark.io/#/shields

It’s got datasheets for everything, so that should help.

2 Likes

These are 8-Bit Shift Registers. You connect it to three digital ports on the Spark Core (Data, Clock, Latch) and clock in a byte of serial data. One byte is eight bits, right? So you're sending it eight bits in a serial fashion; each of those eight bits corresponds to one of the eight pins on the shift register.

If you send the following eight bits: 0 1 0 1 0 1 0 1

Then pull the Latch pin low, this is what the shift register's outputs will look like:

O1: Low
O2: High
O3: Low
O4: High
O5: Low
O6: High
O7: Low
O8: High

You can also chain multiple shift registers together to get many more outputs out of your three pins! If you had two of them hooked together, the first byte would be shifted into the second chip once you sent the next byte.

That's basically how a shift register works. :smile:

The Spark Core even has built-in support for Shift Registers with the shiftOut command.

3 Likes

There are two UARTs on the Spark Core.

  1. Backchannel UART via USB (Serial)
    When you plug the core into your computer, it should show up as a serial port. You can call this port via Serial.begin and use it to communicate back and forth with your computer, so there's no need for an FTDI cable or RS-232 level converter!

  2. Low Voltage UART via TX/RX Pins (Serial1)
    This is the second UART that's brought out to the set of pins just above A7. You can call it in your sketches with Serial1.begin and use it to talk with other TTL Level Serial Devices (such as GPS modules, LCD Serial Backpacks, etc). However, keep in mind the RX pin cannot tolerate more than 3.3V, is you may want to use a simple resistor voltage divider if you're hooking it to a 5V device (though, the TX pin should be fine on a 5V device).

Thank you, everyone!

I also found https://github.com/spark/docs/tree/master/datasheets/makerkit last evening. It has some PDF’s for various parts.

Happy New Year!

1 Like

Thanks, timb. I am using a Mac, and I have no idea how I would connect to that.
But that’s REALLY awesome. I’ll check into it.

I'm on a Mac as well, so I can help you out there too!

Open up Terminal.app and type:

ls -alh /dev/

This will give you a list of system devices. Look for entries that start with cu, here's the entries on my system:

cu.Bluetooth-Modem
cu.Bluetooth-Serial-1
cu.Bluetooth-Serial-2
cu.usbmodem411

The cu.usbmodem411 is what my Spark Core shows up as, but yours might have a different number. (You can always look in /dev/ before and after plugging it in to make sure!)

Now that you know the port it's on, you can use screen to connect to it.

screen /dev/cu.usbmodem411 115200

Syntax: screen device baud

You can use CTRL-A then *CTRL-* to quit. Type man screen for a user's manual on screen, it's a very powerful tool!

Keep in mind that the serial device will only enumerate if you've actively called it with Serial.begin(baud) somewhere in your code on the Core (generally in void setup).

If you want a GUI option, there's a very basic but useable app called Parley on the Mac App Store. If you have the Arduino or Energia IDE installed, you could also just use the Serial Monitor built into it.

2 Likes

Having a inventory list with pictures would be excellent. At least I have difficulties in figuring out which part is which.

1 Like

Thanks TIm. I had done some more research and found this as well. It’s good that it’s documented here. I looked at Parley and it looks really good. And only $5 is even better.

@Sauli Agree! I’ll update the document with pictures in the next two days.

1 Like

Also are there project examples for newbie, by which we can use parts of this maker kit.

2 Likes

Update: The maker kit documentation now has images of the components.

http://docs.spark.io/#/shields/spark-maker-kit

1 Like