Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HM-10 Bluetooth Module problem / wireless EMG transfer

Status
Not open for further replies.

aeytr

Newbie level 6
Joined
Aug 25, 2015
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
92
Hello,

I have a EMG circuit with 3 electrodes. I wanna send the EMG signal via bluetooth. and I am using HM-10 for that purpose.

At first, I have to say that I can broadcast a signal which is the voltage alteration on potetiometer. (Relevant circuit is given below.) That was just a test circuit to see if my program on CC2540 is working or not.

But, when i'm triying to send the EMG signal on the output, circuit stops working. All i can see on oscilloscope is a noise.

Do I have to use a different connection type between HM-10 and EMG circuit? For now I'm connecting the EMG output directly to pin 28.(Actually ı've tried connecting EMG output via resistor or grounding EMG output with resistor before HM10 connection. Didn't worked.)


Regards.

hm10.jpg
Also pin 23 and 24 are connected as described in datasheet and relevant sources.
 

I can broadcast a signal which is the voltage alteration on potetiometer

Although the wireless medium is intrinsically prone to losses, I would not consider implausible that perhaps this problem is more related to programming than properly to the hardware scope. For example, you may be sending negative values treated in variable unsigned, or even values scaled to out of the magnitude of the variable.

Another aspect to consider is that if the transmission rate is greater than the receiver's capacity, data packets will be oversampled, therefore will be lost. Keep in mind that a prerequisite of such a system is that the sampling/displaying rate of the paired transmitter/receiver must be the same or smaller, at a constant value; it is also advisable to have a routine able to identify the sequence of each packet received - even if it have to perform a buffering - in order to detect losses.
 
  • Like
Reactions: aeytr

    aeytr

    Points: 2
    Helpful Answer Positive Rating
Although the wireless medium is intrinsically prone to losses, I would not consider implausible that perhaps this problem is more related to programming than properly to the hardware scope. For example, you may be sending negative values treated in variable unsigned, or even values scaled to out of the magnitude of the variable.
Thanks for reply,

I think the problem is the crcuit connection. Because when I touched the EMG signal output pin to HM10, I cant see anything on the EMG circuit output. All I can see is zero avarage noise that is what I get from bluetooth signal, all zeros. Actually bluetooh module broadcasting what it gets from the input pin. :)

Another aspect to consider is that if the transmission rate is greater than the receiver's capacity, data packets will be oversampled, therefore will be lost. Keep in mind that a prerequisite of such a system is that the sampling/displaying rate of the paired transmitter/receiver must be the same or smaller, at a constant value; it is also advisable to have a routine able to identify the sequence of each packet received - even if it have to perform a buffering - in order to detect losses.

I thought that too. It should be in acceptable range. CC2540 has 12 bit ADC. I also used the same circuit with arduino -for term project- and it was working. Only differance was there was an arduino pro mini between EMG circuit output and HM10.

Thanks for reply, I will consider your answer.

Regards,
Ali.
 


Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top