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.

Help me with project about sending voice over a CAN bus

Status
Not open for further replies.

micpic

Junior Member level 3
Junior Member level 3
Joined
Apr 18, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,498
Does somebody have experience in sending voice over a can bus?
I have two can nodes in two Pic18f4580 controllers and want to send voice in phone qualitiy over the can bus.
How can I start? Are there existing projects?

regards
 

bobcat1

Advanced Member level 4
Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,284
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,545
Re: Voice over Can

Hi


You must start by sampling the voice using the ADC in 8KHz smpling frequency

then compress the the voice data into lower size using some algorithm like ADPCM

dived the data into packet and send the packet using the CAN bus

When you receive the data decompress it and use an D/A converter to convert the data into voice again using 8KHz sampling rate


All the best


Bobi
 

idlebrain

Advanced Member level 4
Full Member level 1
Joined
Jul 20, 2005
Messages
107
Helped
20
Reputation
40
Reaction score
1
Trophy points
1,298
Activity points
2,501
Re: Voice over Can

I am not sure. CAN supports up to 1MBPS only. If it is sufficient it can be done.
Why not firewire.
Also not sure of the operating speed of the PIC cpu which is planned.



Cheers
 

micpic

Junior Member level 3
Junior Member level 3
Joined
Apr 18, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,498
Re: Voice over Can

The pic is currently running at 16 MHz but it is possible to run with 25 MHz.
The can baud rate is at 250 kBps.

Firewire can not be used.
 

banh

Advanced Member level 1
Advanced Member level 1
Joined
Dec 16, 2004
Messages
458
Helped
17
Reputation
34
Reaction score
5
Trophy points
1,298
Activity points
3,935
Voice over Can

what is the purpose of voice over CAN. CAN as i know can support maximum bit rate as 1Mbps, and usually not for multimedia application..
 

    micpic

    Points: 2
    Helpful Answer Positive Rating

micpic

Junior Member level 3
Junior Member level 3
Joined
Apr 18, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,498
Re: Voice over Can

The purpose is to save money :D .
A can node is near the microphone. So it is suggestive to use this.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top