Reef Angel Web Wizard
Reef Angel Web Wizard
Hi Everyone,
I'm attempting to create a web wizard, which is hopefully going to make things easier to generate codes.
Coding for web application is much easier than a cross-platform java app, at least for me.
So, the first thing I'd like to test is the code editor.
It has text highlighter and code auto-completion with hints.
Please let me know what you think and if there is anything that I missed, like keywords or highlighting of a particular keyword.
Also, let me know what you think of the color scheme.
https://forum.reefangel.com/webwizard
This is still in beta test mode so you if you find any problems, please let me know.
Download the plug in and install it:
Mac: https://www.dropbox.com/s/ebez60fs9bchv ... r.pkg?dl=0
Windows: https://www.dropbox.com/s/penp5ruyg24fl ... r.exe?dl=0
You will notice that the blue box in the IDE will change from "Plug in was not found" to "Plug in found and connected".
Please test the compile and upload features and let me know how it goes.
To upload codes using the web wizard, follow the instructions below:
1. Make sure you have the USB-TTL programming cable connected to your controller and your computer.
2. Click the "Menu" button on the top left corner
3. Choose "Wizard"
4. Select the controller you are programming
5. Follow the prompts to customize your controller to your specific setup
6. At the end of the wizard, you will get the code generated on the screen
7. Make sure you have the correct board and COM port selected
8. Click on "Upload" button.
9. Code will compile and upload to your controller.
Thanks,
Roberto
I'm attempting to create a web wizard, which is hopefully going to make things easier to generate codes.
Coding for web application is much easier than a cross-platform java app, at least for me.
So, the first thing I'd like to test is the code editor.
It has text highlighter and code auto-completion with hints.
Please let me know what you think and if there is anything that I missed, like keywords or highlighting of a particular keyword.
Also, let me know what you think of the color scheme.
https://forum.reefangel.com/webwizard
This is still in beta test mode so you if you find any problems, please let me know.
Download the plug in and install it:
Mac: https://www.dropbox.com/s/ebez60fs9bchv ... r.pkg?dl=0
Windows: https://www.dropbox.com/s/penp5ruyg24fl ... r.exe?dl=0
You will notice that the blue box in the IDE will change from "Plug in was not found" to "Plug in found and connected".
Please test the compile and upload features and let me know how it goes.
To upload codes using the web wizard, follow the instructions below:
1. Make sure you have the USB-TTL programming cable connected to your controller and your computer.
2. Click the "Menu" button on the top left corner
3. Choose "Wizard"
4. Select the controller you are programming
5. Follow the prompts to customize your controller to your specific setup
6. At the end of the wizard, you will get the code generated on the screen
7. Make sure you have the correct board and COM port selected
8. Click on "Upload" button.
9. Code will compile and upload to your controller.
Thanks,
Roberto
Roberto.
Re: Reef Angel Web Wizard
Just a quick test, but good so far. The comment text is a little too dim for my tastes. It's hard to read.
Re: Reef Angel Web Wizard
Agree on the dimness. The autocompletion is great. Amazing how cool my code looks.
This ties in nicely with what we've been talking about.
This ties in nicely with what we've been talking about.
Re: Reef Angel Web Wizard
Ok, I implemented the compilation of codes.
Try out a few codes and let me know if you have any problems.
Try out a few codes and let me know if you have any problems.
Roberto.
Re: Reef Angel Web Wizard
I tried it, not sure it did anything. I didn't get any compiler messages, even when I put in an intentional error.
Re: Reef Angel Web Wizard
Make sure you hit refresh button on your browser to make sure you got the latest stuff
Roberto.
Re: Reef Angel Web Wizard
Also, I implemented the upload feature too
Only windows for now though.
It's still in test phase, so you will have to install and run manually.
https://www.dropbox.com/s/ndnpk327jwrym ... s.zip?dl=0
Download the above file and copy the contents to C:\Users\{your local usename}\AppData\Roaming\ArduinoCreateAgent
Then, start the agent by double clicking arduino_create_bridge.exe
You will notice that the blue box in the IDE will change from "Plug in was not found" to "Plug in found and connected".
Let me know how it goes.
Only windows for now though.
It's still in test phase, so you will have to install and run manually.
https://www.dropbox.com/s/ndnpk327jwrym ... s.zip?dl=0
Download the above file and copy the contents to C:\Users\{your local usename}\AppData\Roaming\ArduinoCreateAgent
Then, start the agent by double clicking arduino_create_bridge.exe
You will notice that the blue box in the IDE will change from "Plug in was not found" to "Plug in found and connected".
Let me know how it goes.
Roberto.
Re: Reef Angel Web Wizard
I have no available ports, and the upload button is still grayed out.
Re: Reef Angel Web Wizard
Do you have the USB-TTL cable connected to the computer?
Does it say plug in found and connected?
Does it say plug in found and connected?
Roberto.
Re: Reef Angel Web Wizard
I did not have the TTL cable connected as I usually use Bluetooth.
I hooked one up but got the following message:
I hooked one up but got the following message:
It's set to COM4, but looks like it's trying to open COM3.Attempting to upload your code to RA_PLUS on local port COM4 ...
avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified.
avrdude: ser_drain(): read error: The handle is invalid.
Could not program the board
Re: Reef Angel Web Wizard
Bug. I hard coded COM3 when testing.
Let me fix it and I'll update shortly
Roberto.
Re: Reef Angel Web Wizard
Appears to work! Compiled and uploaded successfully.
Re: Reef Angel Web Wizard
I don't know how you were able to upload codes because there was a misconfigured option on the config.ini file.
I updated it, so you should reinstall.
Also, I just updated the original post with links for the Win and Mac versions of the plug in.
@lnevo, hopefully it will. I have not tried other boards just yet. I wanted to get the ones that use avrdude first.
I updated it, so you should reinstall.
Also, I just updated the original post with links for the Win and Mac versions of the plug in.
@lnevo, hopefully it will. I have not tried other boards just yet. I wanted to get the ones that use avrdude first.
Roberto.
Re: Reef Angel Web Wizard
Ahh. On a second look, the settings wasn't related to upload codes, but to download other stuff that we may need in the future.
Roberto.
Re: Reef Angel Web Wizard
I think this is working toolnevo wrote:Can this fix my issue with the other boards?
Can you test?
Unfortunately, it is still using the ssid, password and cloud settings of the original RA_CustomSettings.h file.
I need to come up with a plan to be able to update that on the fly, but you should be able to test the upload feature to the board.
Roberto.
Re: Reef Angel Web Wizard
Ok, I implemented today the ability to save sketches on the cloud.
No more loosing your sketches because of computer crash
Wizard is still not implemented.
Test it out and let me know how the save and open files are working out.
No more loosing your sketches because of computer crash
Wizard is still not implemented.
Test it out and let me know how the save and open files are working out.
Roberto.
Re: Reef Angel Web Wizard
Save and open seems to be working correctly.
However, the main RA menu is missing the "Timeouts" option.
--Colin
However, the main RA menu is missing the "Timeouts" option.
--Colin
Re: Reef Angel Web Wizard
That feature is activated through your code.
What code were you using?
You need to add this line to setup():
What code were you using?
You need to add this line to setup():
Code: Select all
ReefAngel.AddStandardMenu();
Roberto.
Re: Reef Angel Web Wizard
That line is in there (29G Frag Tank.ino). It works correctly when I upload it from Arduino, but is missing when I use the web wizard.
Re: Reef Angel Web Wizard
How about storing the settings as another file within the working directory with the ino file. #include "Cloud.h" instead of <cloud.h> When you're in an INO you can have a button Add header file. This would let you keep it outside the libraries folder (which was going to be annoying anyway, when it comes to storing in git) or just another file to .gitignore. And then it could be another file you can open.rimai wrote:I think this is working toolnevo wrote:Can this fix my issue with the other boards?
Can you test?
Unfortunately, it is still using the ssid, password and cloud settings of the original RA_CustomSettings.h file.
I need to come up with a plan to be able to update that on the fly, but you should be able to test the upload feature to the board.
Another thing to consider is showing the default code, controller test, when you go to Open.
And lastly, it would be interesting too to be able to select which library version to compile against. It's nice to always have the latest one, but you have Standard as a board, so why not Then you could make it easy to test against dev as well.
Anyway, all my tests were successful. I really like it. I could do coding on the train now... I'm assuming too that the firmware compiled on the web would be available to the scripts we were working on?
Very awesome!
Re: Reef Angel Web Wizard
I created the installation package for both Win and Mac.
Can someone please test and confirm that it is working for you?
Can someone please test and confirm that it is working for you?
Roberto.
Re: Reef Angel Web Wizard
The Windows installer works fine for me. Avast Antivirus checked it a lot. I'd recommend disabling antivirus before install.
Re: Reef Angel Web Wizard
Yes.
The main menu is still messed up, however.
The main menu is still messed up, however.
Re: Reef Angel Web Wizard
Sorry, the menu on the RA. When you click the joystick some of the options are missing.