Go Down

Topic: Decreasing the baud rate of Serial communication. (Read 955 times) previous topic - next topic

mixania

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.

baselsw


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/

mixania


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!


Go Up