Go Down

Topic: 433mhz transmitter/receiver with teensy 2.0 and seeduino 3.0? (Read 1 time) previous topic - next topic

Pavery93

Hi all,

Whilst I've done the most basic stuff with the seeduino (blinking LED) I'm completely new to arduino. I'm doing a project which I need to use 433mhz transmitter and receiver to communicate wirelessly.

What I'm aiming for is to simply allow an LED to light up when a signal is received. I own a Teensy 2.0 and a Seeduino 3.0 but my problem is how do I go about programming them? I'm not sure what pins do what or what code to use?

There's absolute tons of info out there on these transmitter/receiver combos but I just can't seem to get anything working with my Teensy :/

Can anyone help me with a simple program? I need this ASAP.

Peter_n

Hi, welcome to the forum.

This Seeeduino ? http://www.seeedstudio.com/wiki/Seeeduino_v3.0
They say it is compatible with a Arduino Duemilanove with Atmega328. You can use it as if it is an Arduino board.

This Teensy 2.0 ? https://www.pjrc.com/store/teensy.html
Or this Teensy 2.0++ ? https://www.pjrc.com/store/teensypp.html
Do you know if it is compatible with Arduino ?

robwlakes

Hi,
You will benefit from some sort of protocol to transmit reliably over 433MHz. Otherwise noise on the 433Rx will give all sorts of false readings.
Try this link of mine for some ideas  433 Tx and Rx
It may suit your needs and do a little more at the same time than you expected, ie not just on/off control, but packets of data.
Rob

Also Weather-Station-OS-Sensors
Learning Flute and C++, heading for a meltdown.

mauried

You can achieve what you need without any Arduinos at all, by just using a pair of Sc2262 / SC2272 encoder, decoder chips.
These chips are designed to transmit 4 bit nibbles using 433 Mhz or any ASK transmitter / receiver pairs.
Otherwise, the most common method is to use Virtualwire or Radiohead libraries with your Arduinos which do all the hard work of encoding and decoding the data to be sent.

Pavery93

Cheers for the replies guys.

Yes it is that Seeduino and it is just the Teensy 2.0 :)

I have tried VirtualWire but I just don't understand how to program the Teensy board with the code :/ does anyone know? I believe it is Arduino compatible when the Teensyduino application is used, just can't seem to understand it though.

Any one had any experience with Teensy or the VirtualWire libraries?

oric_dan

The Teensy 2.0, I believe, is the same AVR chip as used in some of the Arduino boards.
https://www.pjrc.com/teensy/index.html

Teensyduino supports all of the Teensy boards, AVR or ARM, by installing "overtop" of the regular Arduino IDE. I am using it with Arduino IDE v1.0.5 and the Teensy 3.1  board, but regular UNO and other Arduino boards are still supported, and the IDE still works as before.

It does have the disadvantage that it modifies just about every library and core file [I think] in the IDE. It's a little unsettling [read: scary] how totally Teensyduino goes in and whomps all over everything. What I ended up doing is having 2 installs of IDE v1.0.5, one regular, and one where Teensyduino has modified everything.

Unfortunately, this doesn't seem like it will work very well with Arduino IDE v1.5x and above, since those new IDEs force you to uninstall all previous IDE versions - at least when I tried v1.5x. For this reason, I've stuck with v1.0.5. Also, I believe, Teensyduino hasn't been fully updated as yet to handle the v1.5x and newer IDEs.

Also, in regards 433 radios, you might look at the Moteinos, which use ATmega328 and 1284 chips.
https://lowpowerlab.com/shop/index.php?_route_=moteinousb




robwlakes

If the libraries are not easy to use on the Teensy, then my suggestions above, where it is all done with Manchester encoding/decoding on the fly by the processor itself, should be an advantage?
If you want flexibility, and can code then just DYI :-) And save a packet (pun?) in the long run.

Rob

Learning Flute and C++, heading for a meltdown.

Go Up