Search the Community

Showing results for tags 'bluetooth'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 9 results

  1. Hey Guys, Im trying to connect HC05 Bluetooth module to my arty board. For this reason, first I implemented a serial module to read data, then I connect an HC05 module to the Arty board via Pmode connectors (Pmod jb connectors): set_property -dict {PACKAGE_PIN E15 IOSTANDARD LVCMOS33} [get_ports {UART_TX}]; set_property -dict {PACKAGE_PIN E16 IOSTANDARD LVCMOS33} [get_ports {UART_RX}]; about serial port, I am 00% sure it works properly with baud rate 9600 because I checked it first with a USB port serial communication and it works perfectly. the program is as follow: I send 8-bit data and data value should be shown in bit format on the LED. As I said it works properly via normal USB serial port but it doesn't work with the HC05 module. Does anyone of you have an idea why? here is the VHDL code (as I stated serial interface module works properly with USB port): library ieee; use ieee.std_logic_1164.all; use IEEE.std_logic_unsigned.all; entity main is port( CLK : in std_logic; UART_TX : out std_logic; UART_RX : in std_logic; BLUE_LED : out std_logic_vector(3 downto 0); GREEN_LED : out std_logic_vector(3 downto 0); RED_LED : out std_logic_vector(3 downto 0); LED : out std_logic_vector(3 downto 0) ); end entity; architecture behaviour of main is component uart is port (CLK : in std_logic; UART_RXD : in std_logic; UART_DATA_READ : out std_LOGIC_VECTOR(7 downto 0); UART_READ_FLAG : out std_logic; UART_DATA_WRITE : IN STD_LOGIC_VECTOR(7 downto 0); response_is_ready : in std_logic; UART_TXD : out std_logic ); end component; signal clock : std_logic; signal data_send : std_logic_vector(7 downto 0); signal data_receive : std_logic_vector(7 downto 0); signal data_ready_to_send : std_logic; signal data_received : std_logic; signal LED_VALUE : std_logic_vector(3 downto 0); signal UART_RX_S : std_logic:='0'; signal UART_TX_S : std_logic:='0'; signal i_int : integer:=0; type LED_STATUS is (LED_ON,LED_OFF,CHANGE_COLOR,INIT); signal LED_STATE : LED_STATUS := INIT; begin inst_UART:uart port map( CLK => CLK, UART_RXD => UART_RX_S, UART_TXD => UART_TX_S, UART_DATA_READ => DATA_Receive, UART_DATA_WRITE => DATA_Send, response_is_ready => data_ready_to_send ); inst_proc:process(clk,DATA_Receive,LED_STATE) --variable i: integer:=0; begin if(rising_edge(clock)) then GREEN_LED<=DATA_Receive(3 downto 0); LED_VALUE<=DATA_Receive(7 downto 4); end if; end process; CLOCK<=CLK; LED<=LED_VALUE; UART_TX<=UART_TX_S; UART_RX_S<=UART_RX; end architecture; Thx
  2. Hello, I'm working on a school project with the Digilent Pmod BT2 and I'm having problems trying to change certain settings while in command mode as well as using the inquiry command. My goal is to initiate bluetooth connections from the pmod BT2 module while in master mode rather than to have to initiate the connection from the secondary bluetooth device while the module is in slave mode. I'm using the application putty for my command line, and I am able to enter command mode just fine (I type in $$$ and receive CMD back) but when I try to change the authentication settings I enter SA, 0 <enter> and I receive AOK back, but then I am unable to type anymore in the command line and I am forced to quit out of the application and restart putty and re-enter command mode. As far as I know, I am not actually successfully changing the authentication setting because I am unable to properly reboot the module. This problem also occurs when I try doing an inquiry - I get the correct results back from the inquiry but then I am unable to make any further commands. Additionally, I am unable to successfully connect to other bluetooth devices while in master mode. I type in C,<MAC address> <enter> but I receive back ERRxxxxxxx the x's being part of the MAC address I entered in. I think this is because I am don't have 0 as the authentication setting, but since I cannot change that setting I don't know for sure this is the problem. Thank you in advance for your assistance. Sincerely, Emma
  3. Hi, I recently purchased the pmodbt2 bluetooth interface module and tried interfacing it with the Atlys board. I used the GPIO demo bit file which was given in the forum for verification (after modifying it), but I was not able to see the output in the terminal software (Teraterm). I followed the instructions given in the demo, but I was not able to see the output; are there any specific changes I need to make in the module or in the terminal software? Can someone help me out with this? Ishan
  4. NeilRG

    Pmod BT2 Issues

    I have been working hard to understand the RN-42 device on the Pmod BT-2 with very little success. The Goal: To implement a pair of BT2 modules in a BAN (body area network) under PIC micro control at both ends. The present Scenario: I have been trying to take a modular approach to this project. Currently, I have two BT2 modules each plugged into a Microchip explorer8 Pmod socket on two separate boards. At present there is no active MCU on either board, instead I have patched the RxD and TxD to the pins of the USB to Serial interface. In this way, I have been able to access the modules via PuTTY. CTS is at ground and RTS is at 3.3v. What I have done so far: I have initialized the BT2 to factory defaults and then tried either the software setup or the jumper setup to make one a master and one a slave. When I send the "I" command from PuTTY each radio sees the other's MAC address. Over several iterations I have used the SR to set the remote address of the master and slave to each other. I have then tried to send the C command either with or without following it with the MAC address of the opposite radio . I get the message "TRYING" and then a " connection failed" message. I have also used the GR command to confirm the remote addresses were set correctly. I get no solid green light. When using the jumper method on two BT2's that have been reset with then no REM addresses set,With jumpers J2 and J3 set on one BT2 and only J2 set on the other apparently nothing happens. I was expecting to see the flashing green light go solid indicating a pairing had occurred. When I look at the Bluetooth window on my Win10 tablet I do see both modules show up. At that point my tablet shows me an apparent random 6 digit number. when I acknowledge this number the tablet then pairs with the radio. Because of my minimalist test setup, when I pair the radio with my tablet which is physically connected to my desktop machine I haven't been able to figure out how to confirm it is actually connected, as even after pairing I get no solid green light. Clearly I am missing something. Am I wrong to assume that I should get these radios to connect in such a minimalist setup? I believe that because I will be sending one short Ascii string when implemented under MCU control that these are the proper devices to use for an "invisible wire" setup. Should I be using the HID 0000 keyboard profile? I do not need or want the radios to connect to anything else except each other. Please help! Thank you, Neil
  5. Hi, We would like to implement bluetooth capabilities on our FPGA (nexys3) board. We want an app on our mobile phone to be able to transmit and receive data to/from the FPGA. We have tried looking for sample codes all over the net but we couldn't find any. Hope that any of you guys have experience working with this pmod module. 1) How should I go about implementing this in verilog? 2) For the app, is there data formatting to be done on the phone application? I'm looking at the default slave mode for this application. To use this mode, do I need to enter command mode, and transmit '$$$' from my mobile application? These are some of the reference materials for the pmodBT2. http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-BT2 http://www.digilentinc.com/Data/Products/PMOD-BT2/PmodBT2_rm.pdf http://ww1.microchip.com/downloads/en/DeviceDoc/bluetooth_cr_UG-v1.0r.pdf Cheers, Amos
  6. Graham1904

    PMod BT2

    I have just purchased a PmodBT2 but I confused as to the pin numbering. J1 is marked with Pin-1 but along the row does it go in numerical sequence 1,2,3,4,5,6 and start from the row next to Pin-1 as 6,7,8,9,10 or is it alternate as in 1,3,5,7,9,11 and 2,4,6,8,10,12 along the other row? Also the DS states that J1 6 & 12 are connected to J2-6 but, on measuring I have J1-6 & 12 joining to J2-5 !!!
  7. sidies95

    Basys3 Bluetooth

    Hi guys, I really need to connect basys3 with bluetooth. However, I have no idea how to do that. Please help me
  8. Hello, I am using a Nexys 3 FPGA and the PmodBT2 for a university project. I am eventually going to transmit my custom data processed by the FPGA but for now I am trying to get the Bluetooth working. I downloaded and configured the PmodBT2 example from this website HERE but I can't seem to get it to work. I am using an Android phone with BlueTerm and I am having issues connecting my phone to the PmodBT2. I can successfully pair the devices, however I cannot get them to connect to each other, and therefore when I push the buttons or use the switches on the Nexys 3 board I do not see anything on the terminal window on my phone. Does anyone know what I may be doing incorrectly with the pairing process (I just clicked on the device name and it paired successfully, but didn't connect). I also shorted jumber JP4 to set the baud rate to 9600 as specified in the above link. Thank you in advance.
  9. An engineer at Microchip Taiwan made bluetooth shield which can be controlle through Android. Here are sketch and Application Development Kit (APK) which can only be installed on Andriod 4.3 #define KitLED 2 // APP-ESS14-2 : D8 #define KitWakeupHardware 11 // APP-ESS14-2 #define KitWakeupSoftware 12 // APP-ESS14-2 #define CMD_MLDP 13 // APP-ESS14-2 void setup() { pinMode(PIN_LED1, OUTPUT); pinMode(PIN_LED2, OUTPUT); pinMode(KitLED, OUTPUT); pinMode(KitWakeupHardware, OUTPUT); pinMode(KitWakeupSoftware, OUTPUT); pinMode(CMD_MLDP, OUTPUT); Serial1.begin(115200); } void loop() { digitalWrite(KitWakeupHardware, HIGH); digitalWrite(KitWakeupSoftware, HIGH); digitalWrite(CMD_MLDP, LOW); Serial1.print("SF,2rn"); Serial1.print("SR,30000800rn"); Serial1.print("R,1r"); digitalWrite(CMD_MLDP, HIGH); while(1) { digitalWrite(PIN_LED2, HIGH); digitalWrite(KitLED, HIGH); delay(500); digitalWrite(PIN_LED2, LOW); digitalWrite(KitLED, LOW); delay(500); Serial1.print("This Message from ChipKIT uC32!rn"); } } Application Development Kit: https://www.dropbox.com/s/784bj8f0k4tlzgh/MLDPTerminal7.zip?dl=0