AprilBrother / cactus-micro

Cactus Micro - a tiny size arduino compatible board plus WIFI chip esp8266.
12 stars 5 forks source link

Control Cactus Micro remotely in real time #6

Closed sscirrus closed 8 years ago

sscirrus commented 9 years ago

Hi,

I would like to build a personal website so I can send my Cactus Micro new sketches via the internet and monitor what happens.

I know it can connect to a wireless network - assuming it is connected, how can I get it to accept a new sketch and run it straight away?

I assume that it may look something like this:

Any pointers you can give me to help me figure out the critical stuff would be most helpful. I apologize that the question is broad but there seems to be so little info out there on the Micro.

Thank you!

volca commented 9 years ago

Looks like you want upload new sketch via Wi-Fi network. I think it's not easy for Cactus Micro. It need virtual usb-to-serial port to upload sketch. I have no idea for this currently.

I think you should try play NodeMCU. You can write code in lua and it's very easy to be upgraded by wireless network. The module esp-11 is a start point.

sscirrus commented 9 years ago

Would it be possible to install Autobahn|JS on the Cactus so I can connect via WAMP/Websprockets?

volca commented 9 years ago

No. You can't. Cactus Micro is a Arduino Clone project. Not a micro computer.