The WiFi HAT
Pages: 1 2
nemo (145) 2556 posts |
You need a hat stand. |
||||||||||||||||||||||||||
Andrew Conroy (370) 740 posts |
One of these ? |
||||||||||||||||||||||||||
Rick Murray (539) 13850 posts |
Nice find. Link to the official site: http://www.piface.org.uk/products/piface_rack/ |
||||||||||||||||||||||||||
Andrew Conroy (370) 740 posts |
Aha, thanks. I knew what it was called, and Google image searched to find it. Should have just looked it up properly! Shame they didn’t do a 40way one too! |
||||||||||||||||||||||||||
Chris Mahoney (1684) 2165 posts |
I suppose the built-in (Broadcom?) chipset on the Pi must be a nightmare if it’s easier to replace it… |
||||||||||||||||||||||||||
Andrew Conroy (370) 740 posts |
The point is that to use the on-board wifi we need an updated network stack (see the Network Bounty ) whereas the SPI-Ethernet board used in the WiFi Hat does everything for us so can be used now. |
||||||||||||||||||||||||||
Raik (463) 2061 posts |
The same problem with USB WiFi dongles? |
||||||||||||||||||||||||||
Chris Hall (132) 3558 posts |
The HAT specification doesn’t allow for piggybacking HATs, for 2 reasons: My understanding therefore (after some discussion on Friday) is that the SPI pins on the 40 way connector (pins 19, 21, 23, 24, 26), the aux IIC pins (27, 28) are used. I can also see connections to pins 31, 32, 33 and 35 on the circuit board. Apart from power and ground, are these pins all used and no others please? |
||||||||||||||||||||||||||
Elesar (2416) 73 posts |
Here’s the table of used pins
So GPIO2/3/4/13/17/27/22/5/14/15/18/23/24/25/16/20/21 are unused. |
||||||||||||||||||||||||||
Chris Hall (132) 3558 posts |
Many thanks for the information. |
||||||||||||||||||||||||||
Michael Gerbracht (180) 104 posts |
I just want to share my first impressions with the WiFi HAT on my Raspberry Pi 3. Installation was really easy. The hardware can be attached to the raspberry very easily and seems to fit quite well even without using the supplied screws. Installing the software is as easy as you would expect on RISC OS (basically merging !Boot – ok, you need to set the ethernet settings as well). Also connecting to my wifi network was really easy and like on any other operating system, so you can just select your prefered network from a list of available (visible) networks, enter your password and you are connected. After the first reboot I was not able to browse with netsurf – but maybe this was a netsurf problem, now it works. There is a small printed manual which explains everything you need to know (except where to find the download link for the driver – it’s on the elesar page where you find the wifi HAT). So for me it really makes a difference because at my desk I do not have ethernet and I think this will be the starting point for me to migrate from VirtualRPC to the Raspberry PI. So overall I like the WiFi HAT very much and I think it is a fair offer given the low volume of sales compared to “normal” USB WiFi sticks. Some points could be improved in future but didn’t bother me too much: But I am happy that there is a very nice solution now to connect to a WiFi using RISC OS. |
||||||||||||||||||||||||||
Rick Murray (539) 13850 posts |
A lot of hardware is still “only” 2.4GHz. I try to explain. But I give up when I get asked what I’m on about, they haven’t brought out 5G yet and anyway it’s nothing to do with WiFi.
Yes, a tiny antenna connector shouldn’t add much to the cost/design but could give opportunities. However be warned. I tried a 2.4GHz antenna (pinched from an old router) in my IPCAM instead of the built-in antenna that was basically just a cable going to what looked like a little leftover from a bad plumbing job. With a proper WiFi antenna, reception was worse.
Hmmm, I’ve written a little tool to report the signal strength of my Vonets. It queries it every 15 seconds. I don’t use it much as my signal strength is rubbish and I know it. But, just kind of wanted to see if I could do it. I suppose it depends if that information is easily available from the hardware. By the way, the trick to getting changable icon bar icons working is to have an icon where the sprite name is indirected. Change the sprite name in the bit of memory reserved for the indirection, then call Wimp_SetIconState with EOR and Clear words both as zero. This will cause a redraw, which will pick up on the new icon.
There. Fixed that for you. The Vonets adaptor is cheap, but you need the nouse (and probably another computer) in order to set it up. Especially given the eccentric translations and it asking questions and offering options neither of which are mentioned in the installation guide. And I use the word “guide” loosely. This sounds like plug-and-play for RISC OS, which is a good step forward. |
||||||||||||||||||||||||||
Raik (463) 2061 posts |
For me it is only interesting for my portable devices. V1: Is a bit more problematic. E.g. the PiTopHub uses SPi for “power off” and “brightness”. The HUB has the control. |
||||||||||||||||||||||||||
Elesar (2416) 73 posts |
We noticed that too when helping set up a customer a few weeks ago. The sequence of events
turns out to be a bug in NetTime which meant it swallowed all the events for socket 0 which were supposed to be destined for the DHCP module. This has gone unnoticed on RISC OS 5 because normally you have to reboot when making such a change, but WiFi Manager is breaking new ground with hot retriggering of DHCP (such as when changing networks). There’s a fix queued up so once that’s made it through the review process we’ll provide an updated !Boot to merge. Fortunately it only happens the very first time round, after that the AP is in the list of known networks.
The shape of a HAT is governed by the HAT specification, though there was feedback earlier in this thread that people might like to see the spare space near the flexi cable slot used for a real time clock & battery.
It’s taken since 2015 to find a chipset that will integrate with the existing RISC OS network stack (including a few false starts of chips that looked great but turned out to be turkeys). 5GHz would be nice, but at present the supported family is 2.4GHz only. It’s a useful technology to have in the bag for some other projects Elesar has, the HAT is a convenient byproduct we can release now.
There is a variant which comes with a UFL connector. We opted not to offer that because for each different antenna that might be provided we’d need to redo all the testing (radio testing is very expensive!); a built in antenna avoids those combinations and permutations to reduce costs.
That’s already on the feature request list. Watch this space… |
||||||||||||||||||||||||||
Rick Murray (539) 13850 posts |
Hehe… I’ve just discovered that the <cough> other adaptor </cough> filters APs by SSID and MAC address. So my plan to have a duplicate Livebox with the same SSID and password works for every single device except the Pi’s WiFi. Because the MAC doesn’t match. Maybe this weekend, I’ll plug the thing in, fix it up, and switch over to the Livebox Play I was given (my others are Livebox 2). Why do this? Well, readers of my blog will know that a lightning strike nuked my Livebox a while back, so I have bought a couple from vide greniers (boot sales) and duplicated the settings on them so that if there’s ever a hardware failure, I can basically swap out the dead unit (to get Orange to replace it as the provider-provided one is a rental) for a working one and keep on going. This is vitally important not just because of internet access, but also because it is the landline telephone. No connectivity, no phone. [not that anybody ever calls] There’s probably a setting to turn this off, buried under a sleeping tiger after three layers of Chinglish and a blood sacrifice.
Yes. It seems to me that having a clock on-board would be a very good idea. Thanks to CJE, my primary Pi has a clock on-board, but I do miss the functionality on all the other devices. Sure, one can use NetTime, but this rather implies that the machine is connected to the Internet. Which isn’t guaranteed even with your WiFi hat (AP/internet down, out of range, somewhere else?). An RTC has been a necessary thing in home computers pretty much ever since floppy discs made timestamps a thing – so we’re looking at “since the 8 bit era”. It’s a surprise that the Pi doesn’t have an RTC inside the SoC awaiting the addition of a battery (like the Beagle family).
It would be nice, certainly, but at this state in time I’d say (from experiences at work with the 5GHz-only AP) that over half of people’s smartphones (at work) do not support 5GHz. I was actually surprised that the cheap little HP 3630 printer seems to (playing with Livebox Play) because, well, nothing else asides from my S9 does! Those ESP32 and ESP8866 (or something like that) modules? 2.4GHz.
I believe the OP wasn’t asking for an antenna, just a socket. If you provide the built in antenna via a zero ohm resistor and a UFL socket; you get that approved, and leave the antenna issues to the user if they wish to do so. Just taken a look at the board (link). That with an RTC (and, please, a header for IIC for daisy-chaining extra stuff) would be a worthy addition to a Pi – especially since it cohabits with the Pi itself, meaning no extra power connections, no cables, no extra bit of hardware to lug around… And the best bit? You don’t need a PC to set the thing up in the first place. WIN! |
||||||||||||||||||||||||||
Steve Pampling (1551) 8172 posts |
I can’t help wondering how many of the time sync problems on DHCP people have mentioned are related to this specific bug.
Which I’ve always regarded as a bug in the RO stack – sort of bearable if you’re starting the device with a manually assigned IP, but there the tolerance ends.
I made the suggestion initially on the grounds that it simplified the problem people had with mounting both WiFi and RTC and probably didn’t massively increase the production cost of the WiFi
I believe the standard way of sidestepping such costs is to test with one antenna and recommend that people purchasing the add-on take that from you or a.n.other supplier. Should the customer purchase a non-recommended antenna then… |
||||||||||||||||||||||||||
Steve Drain (222) 1620 posts |
RTC, WiFi and set up with QuipZilla. ;-) b*****y Textile |
||||||||||||||||||||||||||
Raik (463) 2061 posts |
My RTC (now) are inside the “sandwich”… |
||||||||||||||||||||||||||
Elesar (2416) 73 posts |
At 2.4GHz the bit of track going to the depopulated zero ohm resistor will be a surprisingly good antenna, or at the very least cause a mismatch requiring trimming out with a network analyser. If you can round up 24 friends also wanting just a UFL socket the MOQ for something custom is 25, drop Elesar a line. turns out to be a bug in NetTime which meant it swallowed all the events for socket 0 which were supposed to be destined for the DHCP module. Unlikely to be any – NetTime is loaded from disc, so is sitting higher up the vector chain so always got a look in, and since DHCP had done its thing already it was mostly idle. |
||||||||||||||||||||||||||
Elesar (2416) 73 posts |
Good news Martin – some space has been clawed back and now there’s a variant of the WiFi HAT with a real time clock (order code EA-846-9) so you can keep things ticking when offline and connect without wires. Batteries are included. |
||||||||||||||||||||||||||
Chris Mahoney (1684) 2165 posts |
The description on that page says that the current version of the driver is 1.04, but the download link returns 1.03. |
||||||||||||||||||||||||||
Elesar (2416) 73 posts |
Now corrected (dragged & dropped one directory higher up!). |
||||||||||||||||||||||||||
Chris Mahoney (1684) 2165 posts |
Yep, good now… and I have a fancy strength meter now! :) |
Pages: 1 2