0

uncanny eyes with Teensy 3.1
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 9:41 am

When I try the blink sketch it tells me the same error where I'm not pressing the button. However it doesn't say it's too big to load.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Mon Oct 30, 2017 12:53 pm

Since it's a general Teensy issue with any sketch you'll probably get a quicker and more informed response in PJRC's forum:
https://forum.pjrc.com

I've seen this before a long time back and can't recall what triggered it. Might've been as simple as a reboot or using a different USB port.

pburgess
 
Posts: 3935
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 8:41 pm

I tried what you said but it still doesn't work. Does this have anything to do with the teensy board not lighting up when it's plugged in? Because if so my board doesn't light up when plugged in only the backpack does.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Mon Oct 30, 2017 9:01 pm

Teensy doesn't have a power LED, so it's normal that you won't see anything.

pburgess
 
Posts: 3935
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by Alex_Unknown on Mon Oct 30, 2017 9:06 pm

Ok thank you I saw people with what looked like LEDs on their teensy but I guess not XD. Anyway I've been looking through the website you gave me and can't seem to find anything that will help.

Alex_Unknown
 
Posts: 4
Joined: Sun Oct 29, 2017 10:44 pm

Re: uncanny eyes with Teensy 3.1

by flightrisk on Wed Nov 01, 2017 8:36 am

Did you get it working? I was going to say try a different cable if you had not already. Also, my Teensy 3.2 DOES have a power led since mine has always lit up the minute I plugged it in to let me know it was working. It comes with the blink sketch loaded, so immediately starts flashing the LED. When I run the uncanny eyes sketch, the LED lights orange the instant I plug it in, then it goes out, then it comes back on once the sketch starts running. The other thing I thought of is, are you sure the cable is plugged in correctly? It is upside down from what I would think is "normal". It is almost impossible to tell on my Teensy which way is the small end which I think is a design flaw in the connector. The USB cable is like a trapezoid with a wider part, call it bottom and a narrower part, call it top. The top usually has the USB icon printed on it. The top or narrower part goes towards the bottom or what used to be called the "solder side" of the Teensy board.

flightrisk
 
Posts: 29
Joined: Wed Jan 19, 2011 2:54 pm

Re: uncanny eyes with Teensy 3.1

by bentley on Thu Nov 16, 2017 11:54 pm

keep getting this compile error. library was downloaded direct from Github, tried on two different machines.

Arduino: 1.8.5 (Windows 7), TD: 1.40, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

In file included from C:\Users\User\Desktop\uncannyEyes\uncannyEyes.ino:1:0:

C:\Users\User\Documents\Arduino\libraries\Adafruit_1351/Adafruit_SSD1351.h:91:1: error: expected class-name before '{' token

{ public:

^

Error compiling for board Teensy 3.2 / 3.1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

bentley
 
Posts: 1
Joined: Thu Nov 16, 2017 11:43 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Fri Nov 17, 2017 2:26 am

There seems to be a spurious '{' character in the library header file. This isn't present in the code on Github. Re-install the library and give it another try.

pburgess
 
Posts: 3935
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by prairietech on Sun Apr 01, 2018 10:09 am

Adafruit has been out of inventory of their 1.44" Color TFT LCD Display PRODUCT ID: 2088 for a few weeks now.
Can any of their other TFT LCD displays (they have in stock) be substituted?

prairietech
 
Posts: 31
Joined: Tue Apr 10, 2012 11:27 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Sun Apr 01, 2018 2:32 pm

'Fraid not. In order to get good frame rates, the code is fairly tightly optimized to just the 128x128 OLED or TFT displays.

pburgess
 
Posts: 3935
Joined: Sun Oct 26, 2008 2:29 am

Re: uncanny eyes with Teensy 3.1

by prairietech on Mon Apr 02, 2018 8:14 pm

Darn, I was hoping there would be another go to display that could be substituted instead. The OLED units are still available but naturally at a steeper price.

I hope this is not a sign of Adafruit deciding to end product support for this project. The thumb joystick product ID 444 has been out of stock for several months. And now the TFT LCD display has been unavailable for a long time too.

prairietech
 
Posts: 31
Joined: Tue Apr 10, 2012 11:27 pm

Re: uncanny eyes with Teensy 3.1

by dfoley on Mon Apr 16, 2018 11:47 am

I have used the this project in several Halloween props and love the look. As part of an animatronic project, I want to control the eye movement with a controller (parallax propeller board or similar). I can record and playback servo sequences for pwm output. Any ideas of best way to approach controlling eye movement by controller? Can I use other gio pins on the teensy with appropriate software changes?

dfoley
 
Posts: 4
Joined: Fri Oct 09, 2015 8:55 pm

Re: uncanny eyes with Teensy 3.1

by pburgess on Mon Apr 16, 2018 7:41 pm

Seems like serial or I2C between the two devices would be easier, but if you already have something generating servo pulses, you might look into using the capture/compare peripheral of the Teensy for reading this. Looks like there's some threads in the PJRC forums on how its done. As long as you steer clear of the SPI and select pins and such used by the eyes code, should be fine working this way.

pburgess
 
Posts: 3935
Joined: Sun Oct 26, 2008 2:29 am

Please be positive and constructive with your questions and comments.