Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a Blackberry Torch that needs to send 10 bytes per second to a serial device. The serial device will probably be a basic stamp 2 or other microcontroller. The Blackberry does not need to receive any data.

Is there an interface that will let me do this for less than $50?

Using the Wifi or Bluetooth connections are the obvious choices but those options look more expensive.

I also thought about using the headphone jack to send out different frequencies and an intermediate circuit could convert the sound into bytes, but I'm not sure where to start with that cicuit.

Thanks.

share|improve this question

2 Answers

up vote 2 down vote accepted

For under $50, you could buy an SPP bluetooth module (and a microcontroller dev board if you need one)

For $50 you can buy a complete WiFi module with a serial interface.

If you use the headphone jack, investigate Frequency Shift Keying. FSK is a modulation scheme used in audio modems.

Here's a couple of relevant projects for pointers:

On the Blackberry side, you could either do the same thing, or play back pre-canned .wav files.

share|improve this answer
Thanks. That's what I was looking for. – David Oct 29 '10 at 13:52

The USB port will provide wired serial (or did you mean UART/SPI/I2C?) communication cheaply. I doubt (but I don't know positively) that the Torch can act as a USB host, so you'll have to find a device capable of doing that to interface with the Torch.

Another alternative is to remove the microSD card (assuming that you don't need it), and use those connections for this purpose. There's probably an SPI port (or at least a few GPIO with which to bit-bang a serial connection) in that slot. A PCB with a right-angle connector should make this connection possible, if not pretty.

share|improve this answer
Are you going to hack the firmware to bit-bang the SPI? Sounds like the OP would be interested in something which can be done without modifying the firmware, but maybe I'm wrong. – Thomas O Oct 29 '10 at 0:26
@Thomas - I couldn't tell, and I don't know anything about hacking a Blackberry to understand if this is feasible or not. – Kevin Vermeer Oct 29 '10 at 0:30
I would suspect it's buried in the kernel of the firmware, if not dedicated entirely to an SD card controller IC. But it's an interesting hack nonetheless, if it's possible. I'd be interested in any expansion interface on the phone, if it has any. – Thomas O Oct 29 '10 at 0:45
Applications on Blackberry live in a Java sandbox. So, you'd have to emulate an SD card with a filesystem. Possible, but challenging – Toby Jaffey Oct 29 '10 at 9:09
@Joby - Ah. I had no idea how he was using a Java app on the Blackberry. – Kevin Vermeer Oct 29 '10 at 12:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.