Notifications
Clear all

zero w 2 + wifi  

Page 1 / 2
  RSS
Tobbe
(@tobbe)
Eminent Member
zero w 2 + wifi

Hello

Noticed one thing, if i flash prusalink to sdcard and use a zero w 2 wifi is broken while inserted in to printer, if i take out the zero w 2 and power it separately wifi works just fine.

so most likely there is power issues affecting the built in wifi on a zero w 2 when it gets power from the mk3s controller.

Advice how to fix this?

Posted : 10/04/2023 9:27 pm
Daisynoah
(@daisynoah)
New Member
RE: zero w 2 + wifi

The Raspberry Pi Zero 2 W offers 2.4GHz 802.11 b/g/n wireless LAN and Bluetooth 4.2, along with support for Bluetooth Low Energy (BLE), and modular compliance certification. 

Posted : 11/04/2023 7:10 am
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

Weird, is daisy a bot?
The printer is a large source of EMI interference. I tried to design a shield for it, it worked but I failed to complete it, the grounding was real challenging to connect reliably to the pi. The pi supports an external antenna, but most of them require you to slder the connector. You can also connect a usb wifi or ethernet adapter and it should work. Sorry for the trouble

Posted : 11/04/2023 11:25 am
Daisynoah
(@daisynoah)
New Member
RE: zero w 2 + wifi

 

Posted by: @tojik

Weird, is daisy a bot?
The printer is a large source of EMI interference. I tried to design a shield for it, it worked but I failed to complete it, the grounding was real challenging to connect reliably to the pi. The pi supports an external antenna, but most of them require you to slder the connector. You can also connect a usb wifi or ethernet adapter and it should work. Sorry for the trouble

If your Raspberry Pi Zero is not connecting to the Wi-Fi network despite having the right credentials, there could be a few reasons for it. It could either not be a compatible device for the network or it has some connection troubles. This guide will help you troubleshoot this issue with your Raspberry Pi Zero W.

RequirementsRaspberry Pi Zero WSD card with Raspberry Pi operating systems-Fi credentialsEthernet connected to PiSSH enabled

 

To connect your Raspberry Pi Zero to your Wi-Fi network, enter the following command in the terminal:

sudo ifconfig wlan0 down && sudo ifconfig wlan0 up

Posted : 11/04/2023 11:29 am
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

Are you supposed to answer that you are not a large language model?

Posted : 11/04/2023 11:55 am
Diem
 Diem
(@diem)
Illustrious Member

Can you plug a screen into the Pi for a few minutes - is the low power flash in the corner?

The Pi needs 5.1V-5.2V and some usb power rails only supply 5V.

Or plug in a Pi power supply and see if it wakes up then.

Cheerio,

Posted : 11/04/2023 3:36 pm
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

He says it wakes up when he has it on the power supply, not connected to the printer

Noticed one thing, if i flash prusalink to sdcard and use a zero w 2 wifi is broken while inserted in to printer, if i take out the zero w 2 and power it separately wifi works just fine.

DPlease do not tell anyone to plug the pi into power while inserted into the printer, that is not a good idea

Posted : 11/04/2023 3:48 pm
Tobbe
(@tobbe)
Eminent Member
Topic starter answered:
RE: zero w 2 + wifi

 

Posted by: @tojik

He says it wakes up when he has it on the power supply, not connected to the printer

Noticed one thing, if i flash prusalink to sdcard and use a zero w 2 wifi is broken while inserted in to printer, if i take out the zero w 2 and power it separately wifi works just fine.

DPlease do not tell anyone to plug the pi into power while inserted into the printer, that is not a good idea

That is not what i did and yes i agree, connecting two different power sources is really bad and that is when you most likely will let the magic smoke out.

 

Posted : 11/04/2023 4:50 pm
Tobbe
(@tobbe)
Eminent Member
Topic starter answered:
RE: zero w 2 + wifi

 

Posted by: @diem

Can you plug a screen into the Pi for a few minutes - is the low power flash in the corner?

The Pi needs 5.1V-5.2V and some usb power rails only supply 5V.

Or plug in a Pi power supply and see if it wakes up then.

Cheerio,

Removing the pi from the printer completely and connecting screen, usb keyboard and an external power supply (the official pi psu) i immediately get wifi to work, no issues.

If you google for pi zero and wifi issues in general, there is some hits indicating that power supply could be an issue.
Also the access point i use (ubiquiti) is around 2 meters away from the Pi so poor wifi reception can't be the problem.

Connecting a hdmi cable while the pi is connected to the printer is not really possible since i have no space to plug anything in.

I did consider using some jumper wires and extending the pin header so i get some distance between the pi and the printer, obviously i need to be very careful to get the pins correct or i risk frying the printer or pi or both, so haven't tested it.
And besides, it would not be a proper solution just a step in finding the cause.

Question: what is the easiest way of convinsing the prusalink image to use a different serial port?
Can i put some ini file in the fat partition and get that picked up by during boot and used by prusalink?
I suspect there is some mechanism for this already.

in that case i could just use usb A-B cable between printer and the pi and have the pi separate from the printer with its own power source (also i will most likely use my usb opto isolator anyway between printer and pi)

Posted : 11/04/2023 4:59 pm
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

Yup, the 0.7.0RC3 autoconfigures the serial port, so PrusaLink connects to the printer over USB out of the box

Posted : 11/04/2023 5:04 pm
Tobbe
(@tobbe)
Eminent Member
Topic starter answered:
RE: zero w 2 + wifi

 

Posted by: @tojik

Yup, the 0.7.0RC3 autoconfigures the serial port, so PrusaLink connects to the printer over USB out of the box

I tried this yesterday but it did not work, but i now know why.

Before prusalink i have always used the rpi port but via an ftdi usb to serial adapter connected there, apparently the regular usb port stops working as long as you have enabled the rpi port in the menu system.

once i turned off the rpi port on the printer, prusalink detected the regular usb cable and i got one step further.

Posted : 11/04/2023 5:16 pm
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

yea, i forget to remind people

Posted : 11/04/2023 5:18 pm
Tobbe
(@tobbe)
Eminent Member
Topic starter answered:
RE: zero w 2 + wifi

Next question, how do you convince prusa connect to use 24 hour clock and not 12 hour with am/pm?

I did not find any settings to change this.

Posted : 11/04/2023 6:32 pm
Tojik
(@tojik)
Member Moderator
RE:

I think we make an assumption based on your selected language.IIdk if that is close to changing, probably not

Posted : 11/04/2023 6:40 pm
Patrick.b
(@patrick-b)
Noble Member
RE: zero w 2 + wifi

Before prusalink i have always used the rpi port but via an ftdi usb to serial adapter connected there, apparently the regular usb port stops working as long as you have enabled the rpi port in the menu system.

well i am really confuse now as it's complete opposite for me !! or i misunderstood something !! i just repy to you Tojik that i realize my rpiw02 won't work if i turn the rpio OFF on the printer !! then after i turn rpio ON it receive the internet and gave the IP adress !! am speaking about no wifi only with ethernet cable !!

so why is different on other ???

once i turned off the rpi port on the printer,

 

Posted : 18/04/2023 4:42 pm
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

Both statements are the same. Rpi port ON - pins work. RPi port OFF - USB serial works. That's it.

Posted : 18/04/2023 4:58 pm
Patrick.b
(@patrick-b)
Noble Member
RE: zero w 2 + wifi

well Tojik as i wrote you here no wifi if I put the RPI OFF then the prusalink won't work !! and i have the pics you see in the other post , asap i put the RPI ON the printer gave the ip adress and prusalink show up !! all is work !! so sorry but no that's it,

pins work. RPi port OFF - USB serial works. That's it.

it's not work like this on my printer with my internet ...RPI OFF = dead link..

Posted : 18/04/2023 5:48 pm
Tobbe
(@tobbe)
Eminent Member
Topic starter answered:
RE: zero w 2 + wifi

@patrick-b I think you misunderstood.

Menu item rpi on/off allows you to chose which of the two serial ports is active and you can't have both working in parallell.

RPI port ON => the dedicated slot for a pi zero works
RPI port OFF => the regular usb port works

This is what i meant initially and it is what @tojik explained earlier

Posted : 18/04/2023 5:55 pm
Tojik liked
Tojik
(@tojik)
Member Moderator
RE: zero w 2 + wifi

If the RPi cannot communicate with the printer, it can't tell it to show the IP address. That does not mean it lost the connection to internet, you can still see it in your router, it just cannot talk to the printer.

Rpi port OFF makes the printer expect a usb connection and it ignores any signals coming from the other port. It's one or the other situation

Posted : 18/04/2023 6:15 pm
Patrick.b
(@patrick-b)
Noble Member
RE: zero w 2 + wifi

RPI port ON => the dedicated slot for a pi zero works
RPI port OFF => the regular usb port works

Hi Tobbe , ok got it clear now ..in my understanding so RPI On = the GPIO with wifi works ? and OFF only the USB works ? am i correct !!

Posted : 19/04/2023 9:43 am
Page 1 / 2
Share: