Grove 433 Mhz on attiny85 via arduino uno

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
kouskala
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Mar 16, 2012 6:48 am
Are you a staff member of seeedstudio?: no
Which products/projects are your favorite?: Arduino Uno
attiny 85

Grove 433 Mhz on attiny85 via arduino uno

Post by kouskala » Sat Mar 17, 2012 6:20 pm

Hi everybody,

I'm trying to get the grove 433Mhz work on my arduino uno without success for 2 weeks now..
My projet is to use attiny85 chips to receive a command from the rf link to make a led blink.
I've try to use manchester on it (see https://github.com/mchr3k/arduino-libs-manchester for more details).

So i have connected the rx and tx on my arduino just for the test, and i receive nothing!
Do you think it's possible to get it work on the same board to be sure it can work?

Does someone even build something with an attiny85?

This is the code for testing on arduino uno:
#include <MANCHESTER.h>

#define TxPin 2 //the digital pin to use to transmit data

#define RxPin 12

unsigned int Tdata = 0; //the 16 bits to send

void setup()
{
MANCHESTER.SetTxPin(TxPin); // sets the digital pin as output default 4

MANCHESTER.SetRxPin(RxPin); //user sets rx pin default 4
MANCHESTER.SetTimeOut(1000); //user sets timeout default blocks
Serial.begin(9600); // Debugging only

}//end of setup

void loop()
{
Tdata +=1;
MANCHESTER.Transmit(Tdata);

unsigned int data = MANCHESTER.Receive();
Serial.println(data);

delay(100);
}//end of loop

Thanks!!

Post Reply