SimpleIDE WiFi
Rsadeika
Posts: 3,837
in Propeller 1
I just noticed that at the Learn site there is an intro for the WiFi component on the Activity WX Board. But, the updated SimpleIDE version is still not available.
I am starting to reach for my wallet...
This Learn intro is for early adopters, and it just gives you a quick glance at getting access to the WiFi module, and using html for some very simple stuff.
I will now have to make a decision, for my robot(s) project, whether to use an XBee centric or WiFi centric control of the robot. Anyway, this looks to be very interesting, although you will have to learn some new stuff. Anybody else have an interesting use for Parallax WiFi?
Ray
I am starting to reach for my wallet...
This Learn intro is for early adopters, and it just gives you a quick glance at getting access to the WiFi module, and using html for some very simple stuff.
I will now have to make a decision, for my robot(s) project, whether to use an XBee centric or WiFi centric control of the robot. Anyway, this looks to be very interesting, although you will have to learn some new stuff. Anybody else have an interesting use for Parallax WiFi?
Ray
Comments
The new libs that were added: datetime, display, light, social, and time, but did not see anything that was WiFi. I find it kind of strange, that it has datetime and time, which both contain the same libdatetime. Not sure where they are going with that. The social lib is for working with the Hackable Badge, while the light lib, not sure what that is for. I believe the display lib is for working with the OLED display.
I am still a little disappointed that the IR Tx/Rx functions were not broken out from the Hackable Badge lib. It would be kind of nice if you had the IR setup on the Activity Bot, and you could have a couple of Bots or many Bots passing information between them. So, you would have a cluster of Bots talking to each other via the IR, and then you would be able to pick up some information on your browser program via the WiFi. Something like that could get me interested in working with a cluster of Activity Bots.
So far, the new SimpleIDE 1.1.0, seems like it runs just like the previous version, no new major things to learn. Still not sure why WiFi lib was not made available from within SimpleIDE, but it took quite awhile before they added the badge lib.
Ray
A .spin object to be added to a project, I will have to read or investigate further as to how that is accomplished.
The last item, I guess there is no more support for using memory beyond 32K. Which kind of makes sense, since Parallax does not have any boards with that capacity, since they discontinued the C3.
It has been mentioned that there is no Linux version, I also noticed that there is no Raspberry Pi version either.
I am still trying to make an evaluation as to whether I will be using the WiFi capabilities or stick with the XBee; in either case I will be using the new SimpleIDE version.
Ray
I was going to wait a little longer until the Learn site had some better coverage and instructions as to how too best use the AB WX+Parallax WiFi, but I do have my own time line on this. I hope I am not making a big mistake, but what is $100, these days? By the time the package gets here, I will have played around with the new SimpleIDE, and become more familiar with its new stuff, so I will be able to make better informed comments about it.
Ray
I feel certain your budget will be well spent, as you'll be doing it "the easy way".
Well- OK, maybe you'll still have a path of discovery to enjoy (or endure?)... but what I mean is that at least you won't be starting the adventure having to deal with hardware mismatches from what the published examples are based on. And hopefully a larger crowd with the same boards will be able to relate (even learn from) your development reports. Fantastic!
ps. If you don't have spare male-to-male jumpers, it would be worth getting some of those also, for hooking the WiFi and AB-WX together. You need 4 or 5 as I recall. This sort of thing: https://www.parallax.com/product/800-00049
Edit: Apologies- seems you won't need jumpers for wifi programming, although they are still jolly useful things!
Highly recommend it.
Note: I am using Windows 10 tablet.
Thanks Jim- I've corrected my post.
Users who wish to use SimpleIDE versions 1.1+ on these platforms can compile from the source of our Github Repository.
View our Github Releases page for relevant links and version information.
I was also thinking about switching over to Linux, but I guess I will have to stick with Windows. I am not going to get into compiling from source. Now that we have the Parallax WiFi, who needs a Raspberry Pi. Interesting times, interesting times indeed.
Ray
I was doing some look-see in the Learn site for the support of the WiFi for PropC, and the conclusion, the stuff is very scattered.
You definitely must download the WiFi module firmware zip file, that contains the libwifi folder which is necessary to do things. It also contains some example files such as html, side, sh. Since Parallax is no longer offering pre-compiled installation downloads for Linux, I am not sure why the .sh stuff is in there. I think it will just confuse some people, like myself as to what you are supposed to do with them. Maybe a separate package would be a better attempt. As to the libwifi folder maybe some instruction as to how to get global access to it from within SimpleIDE would be nice.
Some of the examples of the PropC variety, like using the IR, have some instructions as to where to go to find further instructions gets, a little confusing; not sure if I am ready for an Easter egg hunt type of instruction.
Now I will probably have to find a good pdf tutorial for working with the html end of things. Plus, I have to start looking into some kind of tablet for using some of the html files, and/or control of the project(s) that the new AB WX will contain. I sure hope that the Learn site starts to get a little easier to use.
Ray
Perhaps you were looking in the wrong place on Learn. There is currently only one location for Prop C wifi tutorials: http://learn.parallax.com/tutorials/language/propeller-c/parallax-wx-wi-fi-module-prop-c
It is all available in one book, accessible from the front page of Learn or by accessing the Propeller C tutorial list.
Ray
Sounds like you're expecting more polish, maybe like a Boe-Bot kit? When we first released that product, its documentation and support was very different from what is today.
We are still uploading tutorial pages with step-by-step instructions. There are nineteen pages so far. A 20th should come online today, and there's more in the queue. After the first group is posted, they'll receive lots of corrections, additions, adjustments, and enhancements. If you have any questions, edits, or suggestions, please send them to learn@parallax.com.
The Wi-Fi module's documentation, firmware, examples and library are all designed to evolve with input from Parallax and the community. That is one of the reasons we are not bundling it with SimpleIDE yet. Instead, the firmware, examples and library are bundled together so that if firmware changes necessitate library and/or example changes, it's all in sync. If it were in the Simple Libraries, the examples might be out of sync with a newer firmware revision.
"Documentation wifi Libary.html" lives in the libwifi folder. Perhaps it would be better to bring it up to Examples when it's not bundled with SimpleIDE.
Andy
First item at the bottom of the page, WiFi Module Firmware, then once you click on that, you get the following page:
So once you download and unzip the file, there is an examples folder, I guess that is not part tutorial, OK I will not read that, who needs examples anyway.:-) Need I go any further?
Ray
I used the USPS delivery system, and I did notice that my package was squashed. It looks like the items were still in one piece, but I will not be sure if they work until I use them. I think you need more bubble stuff on the inside, just too make sure.
Since I got an AB WX, WiFi dip and sip, I am not sure which one to start with, the dip or the sip. I was thinking since I have an original AB, maybe I should do a test run with that and the sip WiFi, just in case I mess something up.
With that train of thought, if the WiFi module gets corrupted, is there a way to burn replacement firmware, or is it SOL? I know that when I was working with my ESP8266 module something did go wrong, but luckily there are readily available ways to burn the firmware again.
A general note about the Learn tutorial, you may want to consider isolating and simplifying the instructions for first time users. I was looking for a simple plug and play method. On the second page of the tutorial you list about five different ways of connecting. That would be useful after you figure what you are doing, but a total distraction for somebody that is expecting a plug and play.
Now to figure out what my next step will be.
Ray
When I want to switch to all Wi-Fi (programming, debugging and Wi-Fi app data), I just switch the SEL jumper to 3.3 V, and change the wifi_start to wifi_start(31, 30, 115200, WX_ALL_COM);
Even when I'm routine everything through Wi-Fi, I leave the P9-DO and P8-DI jumpers in place for when I want to switch back. Just make sure your program isn't setting either P9 or P8 high or low.
I know that with the ESP8266 NodeMCU module that I have, you plug into the USB port, and access it with a terminal program, you know very quickly if everything is in order. With the Parallax WiFi, does it have an LED that turns on or flashes when give it some power. While I am thinking about it, is the WiFi sip module a 5V or 3.3V unit?
Ray
Yes, on your Activity Board WX, look straight down on the top of the WX module and you'll see power, assoc, and do/di lights. The Activity Board, also has di, do, and assoc lights.
With the WX module, there is a web page you go to. Keep going through the tutorials and you'll see it.
Andy
We currently have documentation for the SIP module on a Board of Education + BS2. We didn't expect anybody trying to use the SIP module with an Activity Board since there's already a socket. There is a schematic in the BS2 tutorials. You can probably use that.
http://learn.parallax.com/tutorials/language/pbasic/parallax-wx-wi-fi-module-bs2/connecting-wx-wi-fi-bs2