High School Robotics Course using the Particle.io Mesh Devices Blog
I am updating my High School Robotics course that uses the Photon and Raspberry PI3 to include the Particle.io Mesh Devices. I might as well Blog about the experience and tweet about it on twitter using @rocksetta
Note: I have taught Computer Programming for about 30 years, have no background in Robotics, but did not like what I saw other teachers doing with Arduinos and Lego Mindstorms so I developed my own course. I also have taught javascript since it began (seriously about 20 years) and have used Phonegap Build to convert web pages into IOS and Android mobile apps. Recently I have been developing a Machine Learning High School course and a method for anyone to create their own robotics course called an IDS (Independent Directed Studies) course.
Why all this stuff about Javascript? My entire course is based on connecting the particle devices to the internet using webpages. See video Web App The webpage and supporting .ino file are reasonably complex but students find it very easy to edit the important parts of code needed to control the Photon.
See code example below:
<input type="button" value="digitalWrite(D7,HIGH);" onClick="{
sendToParticle('digitalWrite(D7,HIGH);')
}">
Since everything is now in Javascript we can use Phonegap Build to convert the webpage into an IOS or Android app and Tensorflowjs to add some Machine Learning to any collected IOT data. (See if your High School offers a similar program.)
My original High School Robotics Course Github is at:
and the supporting Youtube playlist is at:
https://www.youtube.com/playlist?list=PL57Dnr1H_egsL0r4RXPA4PY2yZhOJk5Nr
Please excuse the irritating jingle, a student made it for me and was so proud of it I felt like I had to use it
My original blog about setting up the Spark Core and Photon is badly named here
Here is my box of Mesh devices that arrived today:
Includes:
1 Ethernet Featherwing (Makes any Mesh device able to be plugged into Ethernet)
1 Boron (Cellular, Wifi, Mesh and Bluetooth)
15 Argons (Wifi, Mesh and Bluetooth)
15 Xenons (Mesh and Bluetooth)
Can't remember why I bought the Xenons, since it seems like the Argons have everything I need, perhaps the Xenons use less power.
To begin with this will be all the frustrations with the new devices, but it will eventually get more positive. I will sometimes link to other topics when I post elsewhere such as:
During my first hour with the new devices, I got very little accomplished. My first screwup was I loaded the old particle core software. (Worked fine with the Photon.) I didn't even see the new android app since it was a black star and I am so used to the blue star.
Here is an animation of the star I made a while back:
Here is the correct Particle App to load:
I was surprised that over wifi they needed to update. These are brand new! It took about 10 minutes as our school wifi is not so fast. Note: My cell phone had to be on the app screen during the entire upload. My screen times-out after 15 s so I held my finger on the screen the entire time. The upload seems to happen in two steps, which was interesting. I also tried the Ethernet featherwing, which seemed faster to download but also never really finished the entire process. Had to reboot the photon and never really got it showing up on the Particle.io IDE. I will try it again from home.
I was also surprised to see this screen:
Don't remember anything about extra costs just to use the mesh features. My original interest in the Mesh device was as a low cost solution for small farms as detailed in this post.
As of December 16th, 2018 the X in the below diagram could be about 200 m with Antenna equipped Argons and Xenons and about 50 m with Default Argon and Xenons without the mesh antenna (The Argon still needs a Wifi Antenna) As I learn more about the OpenThread protocol I think the field would be better setup with a few long distance (Antenna equipped Xenons) and pods of sensor based endpoint Xenons that might not need Antennas.
My diagram in the post above has 21 Mesh devices to cover a very small farm, I assume different logins can use a different set of 10 mesh devices, but that is somehow defeating the purpose of the MESH! Looks like pricing is at Device Cloud pricing for Particle Mesh now available – Particle Blog 30 devices is now $10 per month (includes 3 Wifi gateways and 1 cellular), wonder what 100 devices will be?
Anyway. Now that I am at home I will try to setup the Argon and Xenon...