Go to advanced search

by pams
Mon Nov 04, 2019 8:48 am
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi

I've seen that the python code provided by some people is using RPI.GPIO, which, to my knowledge, only offers software PWM. Be careful with that! Acc. to Noctua, these fans target PWM frequency is 25kHz (acceptable range: 21kHz to 28kHz) . Software PWM is never going to achieve that. Hardware PWM is...
by pams
Fri Aug 23, 2019 6:36 pm
Forum: General discussion
Topic: Change wlan0 mac address via /boot/cmdline.txt
Replies: 6
Views: 379

Re: Change wlan0 mac address via /boot/cmdline.txt

Thanks Dougie!

I can confirm that after changing the MAC address of eth0 (via /boot/cmdline.txt), wlan0 will correspond not to the changed, but the original mac address of eth0 XOR'ed with 0x555555.

What I'm left wondering now is: how can you possibly know that? :)
Is it on some boot script?
by pams
Fri Aug 23, 2019 5:04 pm
Forum: General discussion
Topic: Change wlan0 mac address via /boot/cmdline.txt
Replies: 6
Views: 379

Change wlan0 mac address via /boot/cmdline.txt

How to change wlan0 mac address via /boot/cmdline.txt ? Note that this question is not how to change wlan0 mac address via other means, such as: systemd, machanger, udev, etc. It is specifically via the above file. To change the mac address of eth0 one would use, for example: smsc95xx.macaddr=DE:AD:...
by pams
Thu Jul 04, 2019 7:08 pm
Forum: General discussion
Topic: Going from wiringpi to pigpio (Or how to set hardware PWM in python correctly in pigpio)
Replies: 2
Views: 1130

Going from wiringpi to pigpio (Or how to set hardware PWM in python correctly in pigpio)

Hi, I've been using wiringpi from some time and wish to switch to pigpio , for reasons that are not relevant. Up until now, I've used the following commands in wiringpi to generate a hardware PWM signal with a frequency of 25kHz on BCM pin 12 with a duty cycle of 50%: gpio mode 26 pwm #Set BCM pin 1...
by pams
Sun Jun 30, 2019 11:04 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

RPIgoodSBC wrote:
Sun Jun 30, 2019 11:00 pm
...

Yes.The Noctua NA FC1 fan controller is a PWM fan controller.
But given that the fan already has a controller inside it, having another one on top of it, seems kind of a waste :S
My only problem with that is that it does not allow speed reading, or speed control via software :)
by pams
Sun Jun 30, 2019 10:57 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

---> pams My usb cable addaptor have 2 pins and can control fully the fan speed. And how exactly are you doing that? Does the Pi recognize the fan via USB? How to set it to something like 30% or 40%, for example? Do you have the NA FC1 fan controller? You only need the fan the cable adptor and the ...
by pams
Sun Jun 30, 2019 10:48 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

---> pams My usb cable adaptor have 2 pins and I can control fully the fan speed with NA FC1 fan controller. Ah... so that means you're using a dedicated Noctua NA FC1 fan controller... In theory that should not be needed, i.e., we can accomplished the same via some circuitry, and that is my goal.
by pams
Sun Jun 30, 2019 10:39 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

I am using this on rpi3B+ and is working fine... https://noctua.at/es/na-fc1 https://noctua.at/es/nf-a4x10-5v-pwm Fan at 50% is totally silent. Can you share how you are connecting it to the Pi? With my fan NF-A4x10 5V PWM arrives a cable usb adaptor... USB power adaptor cable The fan includes a US...
by pams
Sun Jun 30, 2019 10:11 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

Well the RPM output is specified in the document as an open collector output, so if you follow the diagram on page 3 https://i.imgur.com/gnffAf5.jpg you should have a 3.3v signal at the gpio input, but as always I recommend you test with a digital meter before connecting to the gpio. As for the spe...
by pams
Sun Jun 30, 2019 10:07 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

RPIgoodSBC wrote:
Sun Jun 30, 2019 7:52 pm
I am using this on rpi3B+ and is working fine...

https://noctua.at/es/na-fc1

https://noctua.at/es/nf-a4x10-5v-pwm

Fan at 50% is totally silent.
Can you share how you are connecting it to the Pi?
by pams
Sun Jun 30, 2019 7:09 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

Re: 5V 4-pin Noctua A4X10 on Raspberry Pi

So, taking into consideration what has been said, I've removed the diode from the picture. This is a brushless fan and Noctua also provides polarity protection (It's right on the box... :roll: ). Do I need a transistor (2N2222A) to drive the PWM signal or can I simply use a resistence? Noctua says t...
by pams
Sun Jun 30, 2019 5:40 pm
Forum: General discussion
Topic: 5V 4-pin PWM Noctua A4X10 on Raspberry Pi
Replies: 46
Views: 16224

5V 4-pin PWM Noctua A4X10 on Raspberry Pi

I want to connect a NOCTUA NF-A4X10 5V PWM 4-pin fan to a Raspberry Pi 3B. The below is the circuit I'm planning to use. ( EDIT: Flyback diode (such as a 1N4001) is not needed since Noctua already provides polarity protection, and a brushless fan typically already has it); ( EDIT: No need for voltag...
by pams
Tue Oct 02, 2018 5:48 pm
Forum: General discussion
Topic: Access Point Client Isolation - Bug?
Replies: 0
Views: 334

Access Point Client Isolation - Bug?

I've been battling this issue for over 2 months now, and I can't seem to find a solution. It seems impossible to isolate clients connected to an access point hosted by a Raspberry Pi 3B (or 3B+ for that matter). I've tried using the hostapd with option ap_isolate = 1 , with no success. I've tried wi...
by pams
Mon Jul 23, 2018 4:46 pm
Forum: Advanced users
Topic: Why can't I block traffic within subnet using iptables
Replies: 2
Views: 373

Why can't I block traffic within subnet using iptables

I'm using iptables to secure my RPi and the sub-net it creates via a Wifi AP. I believe the rules (see below) I'm using are sufficient for exposing the RPi to the internet. However, I am not sure if the rules I have for traffic to, within, and from the sub-net are sufficient (I prefer to explicit al...

Go to advanced search