I've run out of options, so I'm wondering if someone here has made a successful project where a ATTiny85/84 talks to a Netduino over serial?
My motivation for trying this, and not going for a Netduino mini is that the Attiny85 is silly small, has the right a mouth of pins and is cheap. The power consumption is ultra low, making it runable on batteries.
I've already tried over at the Arduino-camp, but it's like they are allergic to Netduino or something . So I hope someone here has some experience with Arduino/ATTiny to give me some hints. I have the following "sketch":
#include <SoftwareSerial.h> const int rx = -1; const int tx = 3; SoftwareSerial serial(rx, tx); void setup() { pinMode(tx, OUTPUT); serial.begin(2400); } void loop() { String data = "Hello World"; for(int k = 0; k < data.length(); k++ ) { serial.write(0xAA); serial.write((byte)data[k]); } serial.write(0xA9); delay(1000); }
This should be the same as the C# from my post http://forums.netdui...odules/?p=58949
But I have no clue if this works or not :-/