Author Topic: Stuffing Serial Bluetooth Module Inside C1k Casing  (Read 409290 times)

2x4ever

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #75 on: September 05, 2005, 10:58:46 am »
Quote
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?

I believe that charging LED control is only used in the kernel code.  I might be wrong, but it doesn't look like this LED is used in QT/Qtopia. If so, it shouldn't be hard to modify this code to blink twice or whatever.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94573\"][{POST_SNAPBACK}][/a][/div]
It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
« Last Edit: September 05, 2005, 11:05:18 am by 2x4ever »

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #76 on: September 05, 2005, 12:32:21 pm »
Quote
Quote
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?
It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94574\"][{POST_SNAPBACK}][/a][/div]

why not steal the IRDA serial lines? are they actually any use at all?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

2x4ever

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #77 on: September 05, 2005, 01:05:57 pm »
Quote
Quote
Quote
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?
It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94574\"][{POST_SNAPBACK}][/a][/div]

why not steal the IRDA serial lines? are they actually any use at all?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94586\"][{POST_SNAPBACK}][/a][/div]
Yes. I'm using irda time to time. Not all of my friends have bluetooth enabled hardware.
But actualy we can share irda serial line with bluetooth.
« Last Edit: September 05, 2005, 01:11:46 pm by 2x4ever »

mikekostousov

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #78 on: September 05, 2005, 02:14:57 pm »
Quote
Quote
Quote
Quote
Umm, I wasn't thinking about using the same serial port for both bluetooth and serial connections. How that could be done?
It cannot be used for both bt and serial connections at the same time of course. But when BT is switched off a use of this serial port for other things shouldn't be a problem. However it may require some diodes to be soldered.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94574\"][{POST_SNAPBACK}][/a][/div]

why not steal the IRDA serial lines? are they actually any use at all?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94586\"][{POST_SNAPBACK}][/a][/div]
Yes. I'm using irda time to time. Not all of my friends have bluetooth enabled hardware.
But actualy we can share irda serial line with bluetooth.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94591\"][{POST_SNAPBACK}][/a][/div]
Ok.. If you turned external power on, the power LED is turned on and you will take bluetooth power on and all irda hardware down...
Is it ok?

2x4ever

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #79 on: September 05, 2005, 02:21:28 pm »
Quote
Ok.. If you turned external power on, the power LED is turned on and you will take bluetooth power on and all irda hardware down...
Is it ok?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94601\"][{POST_SNAPBACK}][/a][/div]
No. The power LED is controlled by kernel so we can track the moment when external power cord is connected and turn on the power LED twice quickly. The pull-down capacitor will not allow BT to be turned on during this procedure. The only place where we can't track the moment of applying  power is when device is in sleep mode or is switched off. But IRDA transiver is switched of at this moment too so this is not an issue.
« Last Edit: September 05, 2005, 02:23:56 pm by 2x4ever »

2x4ever

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #80 on: September 05, 2005, 03:00:19 pm »
The whole schematic should be a somthing like this:
http://2x4ever-vpn.compot.ru/zaurus/pics/p...l_schematic.PNG

Warning: transister connection is totaly wrong.
« Last Edit: September 05, 2005, 07:04:02 pm by 2x4ever »

mikekostousov

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #81 on: September 05, 2005, 04:40:45 pm »
Quote
The whole schematic should be a somthing like this:
http://2x4ever-vpn.compot.ru/zaurus/pics/p...l_schematic.PNG
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94604\"][{POST_SNAPBACK}][/a][/div]

I think, the schematic is ok, but I don't know much about it. Why are you using such small resistance parallel to bluetooth? How long must delay be between impulses on JK flip-flop? I think, it will be great to filter dirty impulses which are generated when power plugin are slightly setted in the chassis. Perhaps, it is better to work with mail LED? Because we don't have any external events (such as power connection) which can be applied on the mail LED.
« Last Edit: September 05, 2005, 04:44:11 pm by mikekostousov »

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #82 on: September 05, 2005, 05:14:02 pm »
Quote
Quote
Sudden inspirational thought:
Why not just control the bluetooth module with the charging LED without fancy switching?!
1) if Z is being charged, the BT module is turned on. But since you're on charge, you don't care about the extra current drain! Unless of course you're using an external battery pack/charger which very few people do.
2) if the Z isn't plugged into a charger, then you know the BT module is on when LED is on, as it wouldn't be on otherwise.
What if you use bt to open an rfcomm connection to your phone to get online while on the road?
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94566\"][{POST_SNAPBACK}][/a][/div]


I don't understand what the problem is...  the charge LED is an OR of "BT-on" OR "charging"...
if you use an in-car charger, well, the Bluetooth is turned on when you start charging 'cos the light comes on.
if you're not charging, no external power, we override the LED anyway as it's software controlled and not connected to the charging circuitry per se.

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #83 on: September 05, 2005, 07:38:56 pm »
Ahh, now I see what you are saying... Sorry, I misunderstood your original post.
-albertr

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #84 on: September 05, 2005, 11:09:18 pm »
try typing ledctl on your command line, should give you the help for it

the led is software based connected to the pxa io pins so asm code should be able to switch it i belive,mabey ethier way that led program allows you to change it

if i rember corectly the 2.6 kerenel has support for led's throght the device /dev/led, cant remeber the major/minor thogh
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #85 on: September 06, 2005, 08:18:46 am »
I came across an advert for a company who sell embedded bluetooth modules...
http://www.adaptblue.com/wireless_tech_full_list.htm

the small one is only 13.5 mm x 10 mm x 1.9 m, but it probably needs some interface circuitry and external aerial.

meanwhile, I have a friend of a friend who works at CSR, so I am wondering if I can get hold of an engineering sample of a small module. I presume I just need to find one that has a 3.3V logic level serial interface that runs in 2-wire UART mode?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #86 on: September 06, 2005, 09:07:42 am »
Can your friend's friend help with getting a hold of schemantics or at least connector pin-out of DELL Trumobile 350 module? Assuming it's not a top-secret information? The module is manufactured by USI, but design and certification is done by CSR itself.
-albertr

2x4ever

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #87 on: September 06, 2005, 09:25:08 am »
Quote
I came across an advert for a company who sell embedded bluetooth modules...
http://www.adaptblue.com/wireless_tech_full_list.htm

the small one is only 13.5 mm x 10 mm x 1.9 m, but it probably needs some interface circuitry and external aerial.

meanwhile, I have a friend of a friend who works at CSR, so I am wondering if I can get hold of an engineering sample of a small module. I presume I just need to find one that has a 3.3V logic level serial interface that runs in 2-wire UART mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94676\"][{POST_SNAPBACK}][/a][/div]
Why don't  you want just use an USB dongle? It's small enought to fit it into zaurus and uses 3.3 v logic level.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #88 on: September 06, 2005, 09:38:30 am »
Quote
Can your friend's friend help with getting a hold of schemantics or at least connector pin-out of DELL Trumobile 350 module? Assuming it's not a top-secret information? The module is manufactured by USI, but design and certification is done by CSR itself.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94681\"][{POST_SNAPBACK}][/a][/div]

I've fired  off the request. Maybe I'll strike lucky and get offered some engineering samples :-)
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

mikekostousov

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #89 on: September 07, 2005, 04:25:30 pm »
Quote
Quote
Can your friend's friend help with getting a hold of schemantics or at least connector pin-out of DELL Trumobile 350 module? Assuming it's not a top-secret information? The module is manufactured by USI, but design and certification is done by CSR itself.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94681\"][{POST_SNAPBACK}][/a][/div]

I've fired  off the request. Maybe I'll strike lucky and get offered some engineering samples :-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94686\"][{POST_SNAPBACK}][/a][/div]
Is there any sucsess with bluetooth?