SparkFun Forums 

Where electronics enthusiasts find answers.

Questions &/or issues related to products in the Kits category should be posted in this forum.
User avatar
By emonakov
#204898
Hello,

I recently bought Johnny-Five Inventor's Kit with Tessel 2 on Amazon as a birthday gift for my kid. It was delivered fast in a good condition.

We were running LED experiments and found out that pins A5, A6, B5, B6 do not make LED flash. What could that mean ? Does that mean the board is malfunctioning? Or we are doing something wrong?
User avatar
By TS-Chris
#204900
Hello emonakov. Thanks for posting on our forums!

The first thing I would try is to turn the LED around in case you wired it up backwards the first time. Give that a try and if they work then, you're all set.

If that's not it, is is just those 4 pins that you're having trouble with? If you jump to experiment 2 in the guide, do the LEDs work on those pins then?
User avatar
By emonakov
#204910
TS-Chris wrote: Wed Jun 05, 2019 2:56 pm Hello emonakov. Thanks for posting on our forums!

The first thing I would try is to turn the LED around in case you wired it up backwards the first time. Give that a try and if they work then, you're all set.

If that's not it, is is just those 4 pins that you're having trouble with? If you jump to experiment 2 in the guide, do the LEDs work on those pins then?
I think I tried everything, I even walk trough each of them one by one with LED and ground wire connected to short leg.
Didn't work.
User avatar
By emonakov
#205016
TS-Chris wrote: Mon Jun 10, 2019 3:04 pm Does the RGB LED work when you try experiment 2?
Even this experiment didn't work. I got my new Tessel 2 board yesterday. Tried this experiment https://learn.sparkfun.com/tutorials/ex ... ink-an-led and it didn't work with pin A5

I tried it on both Linux and Windows machines. Same result every time.
So either guide is wrong or something has been changed in the hardware.
You can try it yourself on I can record a video how that experiment goes on pin A5 and the on A4 (spoiler: A4 works fine)
I see there's a video on the experiment 1 page: https://youtu.be/mF_1U7NIMSk
But it's definitely not what's happening with my boards.

Regarding experiment 2: LEDs on A5,A6 are not blinking on both boards
User avatar
By TS-John
#205274
It seems like we are able to get pins 5 and 6 to work via ports A and B if we write directly to them via the code from the hardware API. I think there must be some kind of error in the code we use to name these pins.

We have brought this issue to the appropriate party.

In the meantime, I am not entirely sure why your first Tessel is not working anymore. I would recommend that you post on the Tessel forums for assistance if you require a hasty solution:
https://forums.tessel.io/

An experienced user of the product may be able to help revive the unit. Let me know if I can do anything else in the meantime.
User avatar
By rwaldron
#205973
Hello!

Creator of Johnny-Five here—sorry for the delay in responding (I wasn't signed up to this forum, but I am now!!)

I was able to reproduce this issue on my end and solved it by installing an older version of johnny-five. In your experiment project's root, run these commands:
Code: Select all
npm uninstall johnny-five && npm install johnny-five@0.15.1
You may see errors emitted from serialport, you can safely ignore all of that. Once installed, and assuming you're on Experiment 2, please type (or paste)
Code: Select all
t2 run side-to-side.js
again.

Now that I've narrowed down the issue to newer versions of johnny-five, I will work on getting that fixed as soon as possible.
User avatar
By rwaldron
#205994
I tracked the issue to a change in johnny-five that required IO plugins to provide a value for PWM bits, Tessel-IO wasn't updated to expose the property needed to fulfill that requirement. Tessel-IO 1.3.0 has been released with necessary fix.
User avatar
By rwaldron
#205995
I've also made a fix to johnny-five that will prevent this from happening to other IO plugins, where others may not have this property implemented yet. I've just released johnny-five@1.2.0 with this fix in place.