Possible way to use wifi for programming propeller
rosco_pc
Posts: 464
in Propeller 1
anybody seen this, looks promising for programming propeller:
http://hackaday.com/2015/09/18/transparent-esp8266-wifi-to-serial-bridge/
I'll be on a travelling spree from tomorrow, so can not try it out
http://hackaday.com/2015/09/18/transparent-esp8266-wifi-to-serial-bridge/
I'll be on a travelling spree from tomorrow, so can not try it out
Comments
https://www.pololu.com/product/1336
https://www.pololu.com/blog/123/wixel-as-wireless-usb-for-propeller-chip
http://forums.parallax.com/discussion/139534/wireless-programming-of-a-propeller-chip-video/p1
Parallax is also working on a solution:
https://www.parallax.com/news/2015-01-26/wireless-programming-and-propeller-activity-board-wx-software-and-hardware
This could be neat. If it turns out your Prop program is buggy the ESP8266 maintains communications and can accept a new binary for down load.
I think that's the direction Parallax is going with the XBee WiFi, but with the ESP8266, more of us could jump in and try it. I've just started playing with it myself.
But as this is the IoT world let's turn it around.
1) The device connects over the net to some server out in the cloud.
2) The user accesses the device through the cloud service.
This is all done over HTTP and gets around all firewalls and NAT and so on.
A brilliant example of this is the resin service: http:resin.io
resin only works for boards running Linux, like the raspi or beagles but as similar thing can be done here. It needs to be open source and "run on any server I happen to have" of course.
Or perhaps Parallax could run such a service? I could visit https:my_device_id.parallax.com and I get a tunnel to my Propeller and a console through which I can update software on it, communicate with it, and generally manage things.
At least I would want the "cloud" service to be under my control. Movable from Google cloud to Amazon to Digitalocean to Azure or to my own publicly facing server wherever it may be.
Which means the server for such a system can be on my own local private network. No internet required. On my own PC in fact.
Which is what you want I think.
How about something like what Heater suggested, slightly modified:
- ESP8266 runs at fixed IP of 192.168.0.1
- presents a web page for uploading an eeprom image to the ESP8266, ie from a PC: http://192.168.0.1/upload.html?eeprom.bin
- ESP resets prop, burns image
- after upload, ESP maps port 23 telnet to prop serial
There is additional info in this thread - http://forums.parallax.com/discussion/161949/prop-plug-wireless-programming/p1
I am certain we can resolve the programming of a prop issue.
For the server (home) there are some really neat products available now which beat the Raspberry Pi B2 IMHO.
I have just bought a MQX TV Box to act as a home media box. Specs...
4x ARM A5 @ 1.5GHz (S805)
4x MALI 450 @ 600MHz
1GB RAM, 8GB FLASH
Runs Android 4.4 and Kodi
Ethernet, WiFi bgn, HDMI, AV, SPDIF, 4x USB, SD
Obviously has box 118x118x25, PowerPack 100-240VAC 50/60Hz output 5V @ 2A
Got it for just under US$30 !!!
An even better spec i68 TV Box ~US$70
8x ARM A53 64bit @1.5GHz + PowerVR G6110 (RK3368)
2GB RAM, 8GB eMMC FLASH
etc
Runs Android 5.1 & Kodi
Then there's Intel Z3735F Baytrail Atom based Vensmile IPC002 ~US$100...
4x Atom 64bit '86 @1.33GHz (1.83GHz max), Intel HD Graphics 646MHz
2GB RAM, 32GB eMMC FLASH
Comes with licensed Windows 8.1/ 10 (32bit???)
Lithium Battery
148x79x9.2mm
No Ethernet (required USB dongle)