Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mestrada

Pages: 1
1
Problem solved, thank you wymiata3! My Bluetooth serial communication is now up and running by switching to a baud rate of 9600.

Very misleading, considering the Using Bluetooth TinyShield page explicitly instructs:
Quote
By default, the Bluetooth TinyShield will power up at 57600 baud, so the TinyDuino processor needs to be configured at this baud rate in order for communications to work.

My board is a Rev2, for what it's worth. Seems that it powers up to a baud of 9600.

2
Having some trouble with the Bluetooth module, despite it being significantly more straightforward than the BLE shield.

I am paired and connected between my TinyDuino Bluetooth shield and my Macbook. This shows up on my laptop, and I can connect through the Arduino IDE serial port. The TinyDuino receives my keystroke from the computer, as indicated by LED blinks. However, the "Hello World" I try to print from the TinyDuino in response comes back as nonsense.

Pitfalls that I've ruled out:
  • Baud is initialized as 57600 within my code
  • Power is coming from a LiPo battery capable of sourcing > 1 A
  • Micro USB programmer module is detached from my shield stack

I've already tried on the same setup on a Windows machine, complete with an explicit Bluetooth 2.1 dongle and third party serial monitor. It came out to the same result. If I had to guess, I suspect some baud rate mismatch--though this seems hard to mess up with a simple "  Serial.begin(57600); " command.

Any tips on what to check next?

Cheers,
Matt

Pages: 1
SMF spam blocked by CleanTalk