Problem to start Wifi in Arduino Yún

Hi everybody,

I am building a new project, I am using a Arduino Yún, and Motors (with motors driver also), I need use a Voltage Regulator steep up, to convert 3.3V of batteries to 5V, then It return 4.80V ~ 5.00 and the current is ok(I can't see power down of current), but the wifi doesn't work fine, It works only sometime (~10%). I have thought the feed has noise, but I have soldered a 100uF capacitor, and it doesn't work.
Any idea?

Thanks a lot.

Andres_5:
but the wifi doesn't work fine, It works only sometime (~10%).

Can you be more specific about what is not working? Does it not initialize the WiFi interface? Does it initialize but not associate with an access point? Does it associate but drop off of the network? Does it sometimes not respond to web requests? Does it sometimes not show up on the Arduino IDE port menu? Those could all be called "not working" but have very different causes and consequences.

Have you measured the voltage at the Yun while it is running and starting up? Does the voltage stay steady or does it fluctuate?

It doesnt start the wifi interface, It doesnt power up a WLAN led, I have tested the input voltage and it is between 4.8 to 5.0 , more or less, the current I have tested it and the regulator generate enought current. And the last test is the oscilloscope test, but i have no oscilloscope to watch it.

Thanks for your answer.

Andres_5:
It doesnt start the wifi interface, It doesnt power up a WLAN led, I have tested the input voltage and it is between 4.8 to 5.0 , more or less, the current I have tested it and the regulator generate enought current. And the last test is the oscilloscope test, but i have no oscilloscope to watch it.

Thanks for your answer.

@Andres, WLAN led is not significant. Have you tried the wifi without the motor?
I know you want to test your current draw, but you are questioning your wifi. The most obvious answer is the motor. If you find that the motor is the problem, then shield the Yun from the motor.

As for the current, you'll need at least 300mA - per the documentation.
http://playground.arduino.cc/Hardware/Yun#power_consumption

Jesse

Hello Jesse,

Yes, It does. When I disconnect the motors (with motor drivers connected), it doesn't start Wifi Interface (The led is only a display, the wifi net does not appear in my computer). Do you have any idea?

Thanks a lot.

If you disconnect your power supply, and power it up from the micro-USB port, does the WiFi work correctly? If not, get that working first under USB power, then try it again with your power supply.

Andres_5:
I have tested the input voltage and it is between 4.8 to 5.0 , more or less

Are you saying it's varying between 4.8 and 5.0 volt as as the Yun is operating? If so, I'd say you have some issues with voltage regulation. In that range is OK as long as it's steady, but if it's fluctuating that could be a problem. If you see variations like that with a voltmeter, you could be having much wider short duration swings in voltage that you can't see without an oscilloscope, but the circuitry can see.

the current I have tested it and the regulator generate enought current.

How did you do this? Please define "enough."

  1. Use opto-isolator based motor shield:

It allows you to completely separate your circuits, including the grounds. While this scheme might add complexity to your circuit, but it is extremely effective. The opto-isolator is a component that transfers electrical signals between two isolated circuits by using light.

  1. Use 2.4 Ghz high directional antenna to reduce interference from motor:

at 0,180 degree we have almost no interference.

http://forum.arduino.cc/index.php?topic=188976.msg1580821#msg1580821

  1. Eliminate interference from power supply:

Use isolated DC/DC Converter for Arduino Yun only. motor shield use its own DC/DC converter

  1. Electromagnetic shielding:

Electromagnetic shielding is the practice of reducing the electromagnetic field in a space by blocking the field with barriers made of conductive or magnetic materials. Shielding is typically applied to enclosures to isolate electrical devices from the 'outside world'.

There is no best, only better.
Toyota Motor

(I am a big fan of Lexus, my opinion is biased.)

(Totally Off topic:
Too many Toyota recalls in the news, I am not a fan.

But they also have a lot more car sales too. Hmm - maybe not many more:

TOKYO — Toyota Motor Corp. stayed at the top in global vehicle sales in 2014, taking that auto industry crown for the third year straight, but was less upbeat about this year.

The Japanese automaker sold 10.23 million vehicles, beating out Volkswagen and General Motors.
...
Volkswagen AG of Germany sold 10.14 million vehicles in 2014, up 4 percent from the previous year. Detroit-based General Motors Co. was third at 9.92 million vehicles

Volkswagon seems to have fewer recalls, or they don't make the news like the bit air-bag fiasco.

My 2004 Jetta Wagon only had 1 that I remember, wiring harness for seat heat, simple swap out for higher gauge wire I think.

Getting great mpg's in my 2014 Turbo Diesel Jetta SportsWagon, 44-54mpg on 20 mile drive on back-roads and side-roads to/from work (higher # when I hit the sweet spot time-wise and miss the school bus traffic).
Always lower on the way home, too many non-commuters on the road.)

Until very recently, the optocoupler was the only practical choice in providing safety isolation for manufacturers of medical and industrial isolated systems. The arrival of digital isolator has however, changed the situation greatly. Digital isolators offer several advantages over optocouplers. They are more reliable, cheaper and have greater power efficiency compared to the optocouplers.

ADuM4190 transformer Replacement Isolators

Si87xx digital isolators

Unfortunately, we still don't know what is the real problem, the description is only "but the wifi doesn't work fine, It works only sometime (~10%)." We don't know what this means, for all we know it could mean that the Yun is only showing up on the Arduino IDE port menu 10% of the time: if that's true, it probably has nothing to do with power since so many people have the same complaint regardless of the way the Yun is powered.

Of course, it could be some other WiFi problem as well, but we haven't heard an answer yet to the request for more details.