Delete
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: EB032 Programming Issues
Hello Simon,
The EB032 is a audio codec board designed to work as an audio interface for the EB024 Bluetooth board and providing functionality like allowing a generic Bluetooth headset to be created. The EB032 codec board is not designed to be operated without the Bluetooth board.
If your interested in Audio then you may be interested in our two new DSP boards designed to get audio signals in and out of a Microcontroller system. These are due to be released in the next month or so.
The EB032 is a audio codec board designed to work as an audio interface for the EB024 Bluetooth board and providing functionality like allowing a generic Bluetooth headset to be created. The EB032 codec board is not designed to be operated without the Bluetooth board.
If your interested in Audio then you may be interested in our two new DSP boards designed to get audio signals in and out of a Microcontroller system. These are due to be released in the next month or so.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: EB032 Programming Issues
Hi Simon
These are the links to the data sheets for the Bluetooth boards.
You will find links to example files on the web pages as well.
Sorry but I've not done anything with these boards so don't know anything apart from what is in the data sheets.
http://www.matrixmultimedia.com/product ... PHPSESSID=
http://www.matrixmultimedia.com/product ... PHPSESSID=
These are the links to the data sheets for the Bluetooth boards.
You will find links to example files on the web pages as well.
Sorry but I've not done anything with these boards so don't know anything apart from what is in the data sheets.
http://www.matrixmultimedia.com/product ... PHPSESSID=
http://www.matrixmultimedia.com/product ... PHPSESSID=
1 in 10 people understand binary, the other one doesn't !
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: EB032 Programming Issues
Hi Simon
As this is a school/college assignment, we are regrettably limited in how much help we can give you.
The data sheets and example files on the forums will have all the information you need.
Have you done much with flowcode and eblocks in the past, as this looks like quite an advanced project.
I dont have the bluetooth boards myself and apart from reading the datasheets I have little knowledge of them.
Your best option is to discuss the problems with your lecturer and get some pointers from him
As this is a school/college assignment, we are regrettably limited in how much help we can give you.
The data sheets and example files on the forums will have all the information you need.
Have you done much with flowcode and eblocks in the past, as this looks like quite an advanced project.
I dont have the bluetooth boards myself and apart from reading the datasheets I have little knowledge of them.
Your best option is to discuss the problems with your lecturer and get some pointers from him
1 in 10 people understand binary, the other one doesn't !
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: EB032 Programming Issues
Hi Simon,
We normally use the codec boards simply to send and receive audio generated from a MIC plugged into the code board. One simple way to generate audio would be to connect an output of the microcontroller to the input of the microphone on the EB032. Then as you toggle the output pin at different frequencies different tones will be sent to the remote EB032. There may be a way of injecting audio data digitally via the bluetooth serial interface but we have not used this technique. The device datasheets should help you to discover what is possible.
We normally use the codec boards simply to send and receive audio generated from a MIC plugged into the code board. One simple way to generate audio would be to connect an output of the microcontroller to the input of the microphone on the EB032. Then as you toggle the output pin at different frequencies different tones will be sent to the remote EB032. There may be a way of injecting audio data digitally via the bluetooth serial interface but we have not used this technique. The device datasheets should help you to discover what is possible.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: EB032 Programming Issues
Hello,
Had a quick look at your circuit and it looks like you are routing the 5V power from the EB006 to the EB032 board. You should be using the 3V3 output terminal on the EB024 to power the EB032 codec board as it requires a fixed 3V3 supply.
Passing digitally generated tones via the Mic socket should work ok but again take care that the voltage does not surpass 3V3. A simple potential divider circuit on the digital output will allow you to do this.
Had a quick look at your circuit and it looks like you are routing the 5V power from the EB006 to the EB032 board. You should be using the 3V3 output terminal on the EB024 to power the EB032 codec board as it requires a fixed 3V3 supply.
Passing digitally generated tones via the Mic socket should work ok but again take care that the voltage does not surpass 3V3. A simple potential divider circuit on the digital output will allow you to do this.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: EB032 Programming Issues
Hello,
You would have to generate the digital equivalent of the analogue signal using PWM (pulse width modulation). Hardware PWM can be driven using the PWM component or you can bit bang PWM using a timer interrupt.
i.e. a pin toggling on an off at a rate of 3KHz will generate an equivalent 3KHz output tone along with a load of high frequency harmonic multiples which will be filtered out by the audio codec.
You would have to generate the digital equivalent of the analogue signal using PWM (pulse width modulation). Hardware PWM can be driven using the PWM component or you can bit bang PWM using a timer interrupt.
i.e. a pin toggling on an off at a rate of 3KHz will generate an equivalent 3KHz output tone along with a load of high frequency harmonic multiples which will be filtered out by the audio codec.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: EB032 Programming Issues
Hi
heres 2 links one is an interupt timer calculator, have a read and try it ,the other is about getting a buzzer to work, both should allow you to progress with your code(as they say weekends are for reading
)
Interupt calc http://www.matrixmultimedia.com/mmforum ... xls#p15618
buzzer http://www.matrixmultimedia.com/mmforum ... zer#p24684
Regards
Dazz
heres 2 links one is an interupt timer calculator, have a read and try it ,the other is about getting a buzzer to work, both should allow you to progress with your code(as they say weekends are for reading

Interupt calc http://www.matrixmultimedia.com/mmforum ... xls#p15618
buzzer http://www.matrixmultimedia.com/mmforum ... zer#p24684
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php