Delete

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Delete

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:43 pm, edited 1 time in total.

User avatar
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

Post by Benj »

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.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:43 pm, edited 1 time in total.

User avatar
JohnCrow
Valued Contributor
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

Post by JohnCrow »

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=
1 in 10 people understand binary, the other one doesn't !

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:44 pm, edited 1 time in total.

User avatar
JohnCrow
Valued Contributor
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

Post by JohnCrow »

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
1 in 10 people understand binary, the other one doesn't !

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:44 pm, edited 2 times in total.

User avatar
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

Post by Benj »

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.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:45 pm, edited 1 time in total.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:44 pm, edited 1 time in total.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:45 pm, edited 1 time in total.

User avatar
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

Post by Benj »

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.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:45 pm, edited 1 time in total.

User avatar
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

Post by Benj »

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.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:45 pm, edited 1 time in total.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: EB032 Programming Issues

Post by dazz »

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 :lol: )

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

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete
Last edited by goldiman on Thu May 02, 2013 3:45 pm, edited 1 time in total.

goldiman
Posts: 11
Joined: Sun Mar 03, 2013 12:40 am
Has thanked: 7 times

Re: EB032 Programming Issues

Post by goldiman »

Delete

Post Reply