How to connect mini jack output to arduino mini pro and send sound to it?

I would like to connect arduino mini pro to mini jack output and send sound through it.

What would I need here, how can I connect the mini jack to arduino and how to send data of sounds (any library?) to that connected output?

EDIT

The sound source will be a music file ( streamed via bluetooth). I would like to be able to connect this output to a speaker and play (stream) music via bluetooth.

EDIT

Either mono or stereo will be good for me. My plan is to: stream the music via bluetooth to bluetooth module (for now I think about HC-06), send that data stream through arduino mini pro to the output mini jack.

Do I need in that case some kind of mp3/other format decoder module like VS1003B on ebay ?

Can’t connect to local server from other devices (connected via wifi) when the server is connected via wifi

There is home network: 192.168.1.0/24, default gateway 192.168.1.1 (DHCP)

There is a web server which is running on a host, lets call the host “server”.

There are several devices which are connected to the router via wifi (clients).

Problem: clients can’t connect to the server when it is connected to the network via wifi. But they are able to connect to it when it is connected via ethernet.

“can’t connect” means:

  • http ://192.168.1.15/myservice – “Oops! Google Chrome could not connect to 192.168.1.15”

  • telnet/ping 192.168.1.15 – “Destination Host Unreachable”

Server: Ubuntu 12.04 x86_64 (kernel 3.8.0-35-generic)

# ufw status

Status: inactive

# iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Server ethernet network configuration

# ifconfig eth2

inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0

# netstat -rn

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth2
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth2

Server wifi network configuration

# ifconfig eth3

inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0

# netstat -rn

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth3
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth3
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth3

JIC, I’m able to connect to my wifi interface from(!) the server (but probably it just connects via loopback interface instead).

What the problem?

Virtualbox Ubuntu 17.04 cannot connect to the internet

I upgraded Ubuntu 16.04 LTS to 17.04 last two days ago. Ever since, I’ve been trying to connect to the internet, tried to change the ‘bridged adapter’ under setting > network. left at “NAT” ( as default option ); still didn’t work. I tried a few things that I saw on Youtube, but still is not connecting to internet.

At some point, I noticed under “VirtualBox Host-Only Network #2” IPv4 was set to some random IP address within my subnet mask (at least looked that way to me). I changed to DHCP hoping it would fix the issue. No luck.

At this point, I have feeling that if for some one who is familiar with VM than I am, it might be just a few clicks and fix the issue. I seemed to cannot figure that out.

Can someone shed some light on what should I do next please?

Unable to connect to VirtualBox through WinDbg via COM port

I am doing windows driver debugging and am trying to connect to Windows 10 on a virtual box guest. I have set up a serial port on virtual box on COM1 as a Host Pipe with a name \.pipewindebugpipe and have left Connect to existing pip/socket unchecked.

On the guest, I have edited the dbgsettings w/ bcdedit to use these with a baud rate of 115200 (and have also tried it without having these settings). I can see in the logs that the pipe is actually created, and using Putty I can actually connect and send data.

I have tried on both the GUI and from powershell, both with administrator privileges, to connect with windbg. The command I use is windbg -b -k com:pipe,port=\.pipewindebugpipe,resets=0,reconnect. Both show no output beyond Waiting to reconnect and saying that the Debugee is not connected.

Whats interesting is that using Windbg through visual studio DOES seem to work, although I can’t seem to get it working through COM ports there either. Just a net connection. Using the net connection does not work with windbg outside either. I’ve found some articles online saying you can attach yourself to that process, but it seems like that is no longer possible in Windows 10?

I don’t know, I’m a bit exasperated. I’ve exhausted my own ideas.

How similar have terms to be to connect them with 與, 與其,及其?

I often want to make my sentences short in order to pass our classroom exercise of writing a 簡體 abstract from memory in under 5 minutes. The biggest problem seems to be that I use 與,及其,與其,in inadmissible places.

The info we were given says, 與 can be used to connect nominal, adjectival and verbal phrases, with the first ones being the norm.

“与”较多连接名词性词语,也可连接动词性、
 形容词性词语,多用于书面语,书名、标题中常见。

Some people accepted

  1. 從該日起在此居住與唸書。

others wanted to replace 與 with 並。

The following was rejected explicitly on the grounds of the terms of 美國 and 美國的政治方法 being 不同類。

2a.該研究美國與其政治方法。

Would it be better to use this?

2b. 該研究美國及其政治方法。

On youdao there are sentences such as:

2c. 我们很乐意为这所房子及其庭院拍照。

Which I would assume to be exactly the type of 2b, particularly regarding similarity of terms (which I perhaps misunderstand). What about this?

3a. 辜鴻銘不認可胡適這位新文化的帶頭人與其課程。

What about replacing 與其 with 及其?

3b. 辜鴻銘不認可胡適這位新文化的帶頭人及其課程。

What wood joint can I use to connect railing members over a post?

For the fence we’ll be using 2″x4″ pressure-treated wood that will be attached to 4″x4″ PT posts with wood screws.

What wood joint should I use so that I don’t need to buy any more hardware to make it sturdy?

This is what I originally thought of doing, but the builder says that I would need to add L-brackets on either side of the post to make it stronger.

enter image description here

Then I thought of using a half-lap joint, but the builder says that it would make the sides weaker. Each 2″x4″ is about 12 feet.

So he explained that he would use something like this. He would use some special glue between the joins:

enter image description here

My question is: what joint is strongest for this particular scenario? I really don’t want to buy more hardware to make it stronger (like the L-brackets).

failed to connect Localhost/Infura

I am trying to access a smart contract method through web3.js, but while a request, i am getting a following error in the console.

web3.min.js:1 Failed to load 
https://rinkeby.infura.io/v3/fb6XXXXXXXXXXXXXXXXXXXXXXXXXXXX: 
Response to preflight request doesn't pass access control check: The 
value of the 'Access-Control-Allow-Origin' header in the response must 
not be the wildcard '*' when the request's credentials mode is 
'include'. Origin 'null' is therefore not allowed access. The 
credentials mode of requests initiated by the XMLHttpRequest is 
controlled by the withCredentials attribute.

here is my header when i am calling smart contract method

Genral
Request URL: https://rinkeby.infura.io/v3/fb6XXXXXXXXXXXXXXXXXXX
Request Method: OPTIONS
Status Code: 200 
Remote Address: 31.235.104.102:443
Referrer Policy: no-referrer-when-downgrade