Pages: [1]   Go Down
Author Topic: Decreasing the baud rate of Serial communication.  (Read 624 times)
0 Members and 1 Guest are viewing this topic.
Westbrook, CT
Offline Offline
Full Member
***
Karma: 2
Posts: 139
"Why should I bother with made-up games when there are so many real ones going on." (c) Kurt Vonnegut
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Arduino Forum. Recently I've got my Attiny85 talking to the Computer through an Arduino UNO. I followed the tutorial here:
http://www.instructables.com/id/Attiny-serial-monitor-using-arduino-walkthrough/?ALLSTEPS

Everything worked perfect. I just had to connect one of the pins on the Attiny85 to the TX pin on the Arduino board. However I need to extend the capabilities of Serial communication between the Arduino and Attiny85. I want to go wireless with these RX linkers from SparkFun:

https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz) from SparkFun for about 4$
https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) from SparkFun for about 5$

I have them already, but they require a baud rate of less than 4800bps. I don't know why, but when I change the number in the Serial.begin() function from 9600 to some less number, it gives me an error. It says that its possible only to have a 9600, 32300 or 110000bps baud rate.

Is it possible to fix this problem, or can you suggest a way on how to get the communication working.
Logged

Arduino Uno R3
Mac OSX Lion


Sweden
Offline Offline
Sr. Member
****
Karma: 13
Posts: 257
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Arduino Forum. Recently I've got my Attiny85 talking to the Computer through an Arduino UNO. I followed the tutorial here:
http://www.instructables.com/id/Attiny-serial-monitor-using-arduino-walkthrough/?ALLSTEPS

Everything worked perfect. I just had to connect one of the pins on the Attiny85 to the TX pin on the Arduino board. However I need to extend the capabilities of Serial communication between the Arduino and Attiny85. I want to go wireless with these RX linkers from SparkFun:

https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz) from SparkFun for about 4$
https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) from SparkFun for about 5$

I have them already, but they require a baud rate of less than 4800bps. I don't know why, but when I change the number in the Serial.begin() function from 9600 to some less number, it gives me an error. It says that its possible only to have a 9600, 32300 or 110000bps baud rate.

Is it possible to fix this problem, or can you suggest a way on how to get the communication working.


Do you have to use the serial library???? I've personally used the Manchester library together with RF Link transmitter/receiver.. Without any issues.. I had the transmitter connected to the Attiny85 and the receiver to a atmega328p.. Here is the library if you want to try it out:
https://github.com/mchr3k/arduino-libs-manchester/
Logged

Westbrook, CT
Offline Offline
Full Member
***
Karma: 2
Posts: 139
"Why should I bother with made-up games when there are so many real ones going on." (c) Kurt Vonnegut
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have to use the serial library???? I've personally used the Manchester library together with RF Link transmitter/receiver.. Without any issues.. I had the transmitter connected to the Attiny85 and the receiver to a atmega328p.. Here is the library if you want to try it out:
https://github.com/mchr3k/arduino-libs-manchester/

Never heard of it before! Thanks, I will check it out!

Logged

Arduino Uno R3
Mac OSX Lion


Pages: [1]   Go Up
Jump to: