P2 mini starter bundle project
Rsadeika
Posts: 3,837
I was not sure about where I should place this thread, but I think for max exposure, for the general audience, maybe this is a good spot.
I should be getting my package, maybe tomorrow, I hope. I am also getting the WiFI SIP plus the accompanying accessory board for the edge. I will probably be using FlexProp, since I think it should work with the WiFi setup. I also will probably be experimenting with FlexBasic.
I have two existing projects that are now using the Activity Board, I will be replacing one with the P2 edge setup. The most likely to be replaced will be my solar station project. I use the Activity board because it has the ADC capability. Now that the P2 has that capability, I hope FlexBasic has some drivers for the ADC component on the P2. Since I will have to access my Raspberry Pi with a comm port, I think I know how to do that, since I have tried that, maybe a year ago, with the Activity board and FleProp. Not sure how I will be making the connection between the two devices.
I also have temp module on the Activity board, not sure how I will achieve that on the P2 edge configuration. I am trying to stay away from having a small breadboard next to the P2 edge configuration, minimizing the amount wires is a priority.
Since this setup is going to be data collection and then moving the data to the raspberry Pi for insertion to SQLite database, hopefully the P2 will be able to do the job. I will probably be adding other components, like an LCD display to view the data collected results.
Ray
I should be getting my package, maybe tomorrow, I hope. I am also getting the WiFI SIP plus the accompanying accessory board for the edge. I will probably be using FlexProp, since I think it should work with the WiFi setup. I also will probably be experimenting with FlexBasic.
I have two existing projects that are now using the Activity Board, I will be replacing one with the P2 edge setup. The most likely to be replaced will be my solar station project. I use the Activity board because it has the ADC capability. Now that the P2 has that capability, I hope FlexBasic has some drivers for the ADC component on the P2. Since I will have to access my Raspberry Pi with a comm port, I think I know how to do that, since I have tried that, maybe a year ago, with the Activity board and FleProp. Not sure how I will be making the connection between the two devices.
I also have temp module on the Activity board, not sure how I will achieve that on the P2 edge configuration. I am trying to stay away from having a small breadboard next to the P2 edge configuration, minimizing the amount wires is a priority.
Since this setup is going to be data collection and then moving the data to the raspberry Pi for insertion to SQLite database, hopefully the P2 will be able to do the job. I will probably be adding other components, like an LCD display to view the data collected results.
Ray
Comments
In case you need the latest firmware version (v1.3) for the WiFi module, you can download the httpd_1218.ota firmware update file here:
https://drive.google.com/drive/folders/11KquS93woptxTfJMx8J7WY4tSFkeH9Oq
Power up the WiFi module, browse to the web-gui (192.168.4.1), then use the firmware menu to upload the .ota file.
Looking forward to following your progress.
Since this P2 Edge concept is something new, any special handling or assembly issues to be considered. I hate to put it together and have the whole thing go up in smoke, or worse yet, P2 cannot be found.
Also, any special handling of the WiFi assembly. I take it that it should be very straight forward, I hope. I do not want to fry that the first time out.
Thanks
Ray
!. Make sure you have a picture of the correct orientation of the P2 Edge as it sits in the mini breakout board. Of course I had mine inserted the wrong way. Started up FlexProp and ran the blink2.bas file, worked as expected. So far so good.
2. Here is where the PROBLEM occurs. I plugged in the WiFi module and adapter board, goes only one way. The blue LED is solid, and when I tried 192.168.4.1, it would not allow a connection. I know that the blue LED is supposed to be flashing, so, I am not sure what needs to be done to make this thing work. Very DISAPPOINTED.
I am 50/50 on the satisfaction scale with the product so far.
Ray
Quick test... whilst holding the reset button down (on the JonnyMac board), try connecting to 192.168.4.1 again. (And also observe if the ASC led behavior changes)
To connect to it you need a phone or your computer and leave your network and discover this unit which has it's own network name. Then you can connect it to your network from there and it will flash blue every so often.
Mike
As for the WiFi module and breakout for the P2, I do not recommend it for anybody that is a novice or just starting out with the Propeller. I am still trying to work out the problems, when and if I get it solved, I will discuss it here, in full detail.
Ray
Ken Gracey
I remember reading, some time back, about pressing the reset button four or five times very quickly, which I did, that sort of made it so I could make some progress with the Edge WiFi. I used my Raspberry Pi to get to 192.168.4.1 and change some things around. The weird part is when tried to access the Edge WiFi with me Widows 10 desktop WiFi, the Edge WiFi had a strong signal, but my Windows kept prompting with a cannot connect message. Still have not figured that one out.
I am a little disappointed that FlexProp does not have the WiFi for the P2 working.
I thought I knew what I was supposed to do, but this threw me for a loop.
Ray
First the scan for ports needs to be updated in Flexprop so that it runs the discovery code for the WiFi module. This will allow you to pick it as a com port. The code for this is readily available.
Second the LoadP2 loader program has to be modified to include sockets and telnet to be able to talk to the WiFi module and start the load code process. It maybe simpler to just create a socket version of the LoadP2 Program.
Then we need an updated terminal program that can use telnet as a com port so that we can see the output from the P2.
Mike
I have not used FlexProp in awhile, but the last time that I did use it, it was with a P1. At that time, I was using FlexProp with a WiFi setup, and it was working. So my assumption was that if it worked with the P1, it would also be working with a P2 setup. Not sure but I think ersmith made some changes to the original propload program, I did not know that the changes that were made did not include support for the P2.
My project would rely on a P2 Edge system that gets accessed and programmed via the WiFi. Now I am not so sure which way I should go with this.
At the moment, with the Activity Board, in place, I can use the Raspberry Pi to program the board. I found this setup to be some what cumbersome to work with. I would prefer to access the P2, in this case, directly.
Ray
I also noticed that in the Special menu, "Enter P2 ROM TAQOZ" is available. Since I can enter the Telnet service, for the WiFi IP, is there a way to start a TAQOZ session via the Telnet. Not sure what you could do with it, although I thought there were plans to have a full functioning TAQOZ. What would this offer as an alternative. Just trying to figure out all of of the options that are available for the P2 Edge.
Ray
When you switched to the P2 you also switch loaders.
To talk to the P2 you can use putty or some other telnet program and just use the IP address of the WiFi module to bring up TAQOZ.
Mike
Ray
You could also try the ROM Monitor by “> “ followed by Ctl_D and you should see the monitor response. Then go to TAQOZ with <esc> <cr>
Since your getting an error then you have the wrong IP address or you are not using port 23, Like Putty it wants to make a secure connection on port 22. This is the wrong port for telnet.
Once you get a connection you can talk to the WiFi module if commands are turned on by entering the codes found in the manual for the WiFi module or it will pass through data to the P2.
Mike
I guess I will have to just start blinking the LED, with P2 code, how many different ways can I do this.
Ray
Instead add an LED with series R to the breadboard and chose an IO pin below P55.
I have several videos and project that use this unit.
This one uses a custom program to access and program the P2. WiFi Programmer
This one uses the WiFi Module to send commands to it to move a robot arm: SCARA Project. Even though this is talking to a P1 the same holds for a P2 in this case.
Mike
I got spoiled with SimpleIDE and the Activity WX board. Everything thing is plug and play, and almost everything is covered from a software and driver standpoint.
Not sure what I will be doing next!
Ray
We're still in the P2 early adopter phase and will be for at least six more months while the tools and examples start to mature. You're part of an organic effort, as you already know. It's not common for a small company to design their own silicon, so it takes a while for the single inventor to fully document what he's created. Tools, code, and even hardware follow this to some extent.
I'm thrilled how everybody above is helping you, above. They're trying to come up with solutions even though we're all in the same early adopter situation.
If your expectations are not met and you're going to delay the effort I'd be pleased to accept the hardware back since we could use the JonnyMac/Edge boards for P2 Quick Bytes, as discussed on the P2 Live Forum. We don't want you or anybody else to be disappointed and will try to do a better job advising potential customers where we are in the process.
Ken Gracey
Ray
We don't want you to stop posting and asking P2 questions. You're not going to get banned for anything like this.
You will be here for many more decades, like the rest of us, so carry on! I think I make posts like this periodically just to help others also understand where we are in the development pipeline. Like you, I wish it was already turnkey.
Ken Gracey
After working with P2 Edge mini, it looks like I will have to get the P2 Edge breadboard. It looks like the Edge breadboard will be a better fit, at this time, for what I am doing.
The P1 board (Activity board) that is being replaced, I had a CM2302 module and I was using all the ADC ports. In order to use the CM2302, now, I need a breadboard available. Also for the ADC aspect, now that I have to create voltage dividers, using specific resistors, I need a breadboard. I have a uSD reader, I need a breadboard. So, for the time being their are a lot of individual items, that I have on hand, they need a breadboard.
I was thinking about wire for interconnecting things, the one thought that I had is, telephone cord. I bet everybody probably has telephone cord, in varying lengths that is just lying around and not being implemented. I think the the telephone cord is rj11, but I am not sure. So maybe in the future there could be an accessory board that could have rj11 connectors on it, and you could plug in the telephone cord to connect a couple of devices. I am also thinking maybe an ADC accessory board with some rj11 connectors. I also think that the telephone cord could be used for comm between two devices. Just in case you had another P2 Edge system, maybe 30' away that you wanted to interconnect. Specifically, for this project I want to implement a couple of CM2302 modules that could be, maybe 10' away from the P2 Edge system.
Just a few thoughts that came to mind.
Ray