Teensy 2 or 3 in subing for the Uno Rev3

Status
Not open for further replies.

Radioguy90

New member
I have a question about using the Teensy 2 or 3 in place of the Arduino Uno rev 3. This is not a plug in type question but a functionality question. There is a project shown below that uses the Uno rev 3 see http://m0xpd.blogspot.co.uk/p/occams-microcontroller.html . The Uno is used to control one of the AD9850 DDS boards that come form China or Hong Kong.

The upshot is that I have the code sourced from this site but am looking for a smaller foot print and smaller board to control the AD9850. I have seen some info about how the Teensy can sub for the Arduino – but am not sure about this application. I am also not sure whether I would need the Teensy 2 or 3.

I would also be interfacing an Adafruit I2C to LCD convertor http://www.adafruit.com/products/292

Without a clue?
 
I looked at "Kanga_DDS_Shield_Test.ino". Hopefully that's the right one?

It should work fine on any Teensy. The I/O is just shiftOut, digitalWrite, pinMode, etc.

I believe that I2C LCD adaptor should work. On Teensy3, you may need to add pullup resistors. But why use that thing, when you could just connect the display using 6 pins with the LiquidCrystal library?
 
One note about Teensy 3.0 i2c. The teensy 3.0 runs at 3.3v (Uno runs at 5v). You need to be sure the i2c devices handle the voltage you use on the microprocessor. Some will work without change, some will not. You can get voltage level shifters that work with i2c, and convert 3.3v signals to 5v and vice versa.

Many LCDs run at 5v. I had a thread over hear, where I asked about LCDs that could run in either 3.3v or 5v, and some of the responses showed how you could run a 5v lcd on a 3.3v teensy 3.0: http://forum.pjrc.com/threads/24206-3-3v-character-lcds
 
Update.
I was able to successfully load the code on a Teensy 2 that was designed for a project using the Arduino Uno Rev3. So that part worked ok. Next problem is the Pinouts so I can actually sub the Teensy 2.0 into the hardware. The Uno uses pins A0, A2, A3, A4 and A5 which looks like an easy match to the Teensy 2. The other Uno pins being used are the /RESET and the D5, D4, D3, D2. This is my question -- which pins on the Teensy 2 would match the 5 pins on the Uno? I checked the pinouts on the Teensy 2 but those comparable pins eluded me.

With out a clue
 
Status
Not open for further replies.
Back
Top