Thinking of getting Teensy3 for my project

Status
Not open for further replies.

taskman

Well-known member
Hi

I am working on developing new laser tag gear. How is the power consumption of the Teensy3?

Headset
Currently I am using using an Arduino Uno R3 for my prototype headset. I was planning on changing over to a TinyDuino to reduce power consumption. I am only using 1KB of memory so far. That might go up to 1.5KB of memory. The headset receives messages via IR and will communicate via the RadioBlock

Weapons
My problem is the laser tag weapons need more memory and pins than what the Arduino Duo has. I estimate I need about 3KB. I ordered a Mega so that I could get more memory, the Teensy3 seems to have more than enough memory for what I need and it is also alot smaller than the Mega. My one weapon design had to be cancelled specifically because of the Mega size problem. The weapon sends and receives messages via IR and will communicate via the RadioBlock

Controller
Here I am also only using about 1KB of memory. The controller sends messages via IR and communicates via the RadioBlock with the headsets and Bluetooth to an Android device

If the Teensy3 can work with my code then I would replace the headset, weapons and controller with the Teensy3 to keep a standard
Will someone be able to tell me if these libraries will work on the Teensy3? I found http://www.pjrc.com/teensy/td_libs.html, but The Teensy3 isn't there so that is why I am asking about the libraries. I might order a Teensy3 to test

<LiquidCrystal.h>
<EEPROM.h>
<Arduino.h>
The standard Arduino library's. I ordered the 1.8'' colour LCD from adafruit to use for an LCD. I will be using the pin configuration method, not the SPI method, because the sound card already uses SPI

<IRremote.h>
From http://arcfn.com/2009/08/multi-protocol-infrared-remote-library.htm
The library usings interrupts to detect when IR arrives. I am worried that the ports might not be the same. I see mention of the Teensy ports http://www.pjrc.com/teensy/pins.html

<SoftwareSerial.h>
<RadioBlock.h>
http://www.kickstarter.com/projects/545073874/radioblock-simple-radio-for-arduino-or-any-embedde

<WaveHC.h>
From adafruit

<Bounce.h>
From the Arduino website

<SL018.h>
Used for NFC. The library uses I2C so it might work or might not be too difficult to fix. At least it isn't huge so I stand a chance at being able to fix it
 
Last edited:
IRremote is not yet ported to Teensy 3.0. It's on my short list, so it'll probably get ported within the next month.

WaveHC hasn't been tested. Much of Adafruit's stuff has AVR-specific code, so it's not a sure bet. Eventually we'll have some really nice audio output options... much better than WaveHC, when the I2S port is supported.

Teensy 3.0 has 3 real serial ports, so there's no need for software serial. If you're moving audio data, updating a display and doing lots of other stuff, the last thing you want is software emulate serial burning up most of the CPU time! Especially if you attempt this on Teensy 2.0 (or any AVR), avoid software serial with this much other stuff going on.

I don't know anything about SL018. Maybe you could post a link?

The rest looks like should work.
 
Sorry thought I posted links to all of them. My mouth was watering so much looking at the Teensy I couldn't think strait :)

This is for the NFC
http://www.stronglink-rfid.com/en/rfid-modules/sl018.html
https://github.com/marcboon/RFIDuino

I will order 5 Teensy3's this week. It does mean alot that the creator of the board actually posts on the forums so I know if I have issues at least there is help.
Hopefully the sound card/shield that you are thinking of developing will also be tiny.

I have a bit of PC programming experience, but only a month of microcontroller experience. The problem is most likely I am used to having GB's of memory and now the way I am programming is probably not the most efficient way for microcontrollers. I ran out of memory last night on the Arduino headset when I started using the RadioBlock library in my commands. I currently have about 50 commands and that might go up to about 100 different commands so I need memory.
 
Ordered 5 from your NZ supplier. Will post what works and what doesn't work and see how I can help to get it up and running
 
Status
Not open for further replies.
Back
Top