Inventory System


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    OK then, I have a Blue Tooth (BT) module (from a few years back) sending serial data that is spit out from my PIC continually @56khz. Now on older pc's I used a BT dongle and my windows8 pc has BT in it already. So you use the SPP.......'serial port profile' on pc which just makes a faux port....(kind of software type port) that shows up in ports available in your VB.....consider VB.net free in visual studio from Microsoft.
    And I recently tried an app on my android phone that could also see the data over BT utilizing SPP.
    following is hyper-term displaying continuous data over BT, the port is the added port but the baud doesn't seem to matter because it still comes in at different settings !
    Name:  BT-PIC.JPG
Views: 1521
Size:  213.5 KB
    don

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    I tried Microcode Studio Plus Terminal and it says the port is in use or not available. Too bad 'cause I like this one the most.

    I tried HID USBwatch to look at the USB side and it says I don't have a serial port on my laptop. I connected a PCMCIA card with RS232 but it didn't help.

    I tried MeLabs hyperterm and got it started on COM2 but nothing showed up on the screen.

    I tried Windows Hyperterm and got it started on COM2 but nothing showed up on the screen.

    I checked Device manager and the bluetooth dongle is connected to COM2 9600 8 N 1.

    But I can receive files manually via the Bluetooth Receive File feature without fail.

    Lost...

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    Quote Originally Posted by amgen View Post
    .... So you use the SPP.......'serial port profile' on pc which just makes a faux port....(kind of software type port) that shows up in ports available in your VB..
    I don't know how/where to set COM2 as SPP?


    ...consider VB.net free in visual studio from Microsoft...
    I have Access 2002 on my laptop, it uses VB6.3. I have VB6 Enterprise but I don't have much room left on this aging P4-1900 laptop. I'd really like to stay with VB6 if at all possible.

    Robert


    EDIT: I'm trying this tweak now: http://stackoverflow.com/questions/1...profile-spp-in
    Last edited by Demon; - 16th February 2014 at 20:44.

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    Did that tweak, no difference.

    At least I know the COM2 properties. Hadn't noticed RFCOMM earlier.
    Name:  COM2 properties.JPG
Views: 1574
Size:  61.6 KB

    So if I read this right:
    https://developer.bluetooth.org/Tech...Pages/SPP.aspx
    RFCOMM is an adaption of RS232 via bluetooth. So I guess I can go back to MCcomm32.OCX module.

    I have no idea why I can't even get a few bytes of jibberish through a Terminal. The connection is complete, I can receive a file manually via the Bluetooth icon.

    Robert

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    the old BT stuff may be a little different from newer BT drivers.

    Name:  bt2.JPG
Views: 1480
Size:  65.9 KB

    the driver picks its own ports.

    don

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    I know, mine were between COM12 - 18, depending on which USB slot I used. But to use the COMM modules for Access, they have to be between 1 - 4. So I go in DEVICE MANAGER, Ports (LPT & COM), click on the COM port, PROPERTIES/ADVANCED and then override 12-18 to 1-4, whichever is not used on my laptop.

    I've seen different versions of that bluetooth panel. Laptop is WinXP, haven't checked downstairs what it looks like on Win7.

    Now I'm having stabilitity problems. I uninstalled the bluetooth dongle this afternoon, and now it's not coming back on without intervention when I reboot.

    Robert


    EDIT: Ok, this is weird. I tried to update the driver because only 1 of the 2 bluetooth devices came on, halfway at that. Driver was up to date.

    So I pulled out the dongle, the BT device and COM disappearred as they should. I inserted it in another USB slot and all 3 came up properly. I moved it back to the original slot and they all came up properly as well, even kept it under COM2.

    Oh well, at least there are no warnings now.
    Last edited by Demon; - 17th February 2014 at 03:46.

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    GAAAAAAAAAAAAAA!!!!

    A little nagging voice told me to try another app. I scrolled through a zillion apps until one caught my eye with bluetooth and SPP, darn thing worked on the first shot!

    (the red square turned green instantly, as soon as they were paired, and I don't even have to push buttons to transmit)



    Now I know why there was a payware SDK for that first app. I thought it was to customize the app to your liking. NOooooo, it was so that you could alter the communication protocol so it would be compatible with standard bluetooth - uninstall. I'm not staying with them just for not coming out and saying in the description what they were doing.

    All this time, argh.

    Oh well, at least now I know what was wrong. The app I'm using now has a small scan window and it's a demo only. At least now I know to look for another one with a full size window, even if it's gonna be a few bucks. Now I know why that first one was feature rich and without advertisements.

    Robert

  8. #8
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    Hope one day I will put an order on my parts that are hanging around too. Good job Robert.

    As for the VBA, I think it is Visual Basic for Applications.

    Ioannis
    Last edited by Ioannis; - 18th February 2014 at 10:21.

  9. #9
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,161


    Did you find this post helpful? Yes | No

    Default Re: Inventory System

    Quote Originally Posted by Demon View Post
    ... I don't have much room left on this aging P4-1900 laptop...
    Real happy I rambled on about this project in this forum.

    I had made backups of what I considered "important" on my old laptop and desktop, turns out I missed a few, like this project.

    Now to get this up and running on these newer PCs with Win10 so I can finish what I started.

    Win 10 really doesn't make things easy for you to change settings. They made it more user friendly, I think they made it incredibly harder to find what seemed so much easier on XP.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Universal Keypad System
    By aratti in forum Code Examples
    Replies: 3
    Last Post: - 18th January 2009, 13:06
  2. Development system
    By Klaus in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 7th May 2008, 13:20
  3. Video system
    By Christopher4187 in forum Off Topic
    Replies: 0
    Last Post: - 27th April 2008, 16:49
  4. PKE System
    By Andrea321 in forum General
    Replies: 0
    Last Post: - 18th March 2008, 03:05
  5. Bank A System
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th July 2006, 20:03

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts