[HN Gopher] Show HN: Connecting Arduino and Android
       ___________________________________________________________________
        
       Show HN: Connecting Arduino and Android
        
       Author : targist
       Score  : 37 points
       Date   : 2021-08-02 10:50 UTC (12 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | catchmeifyoucan wrote:
       | This looks great! Had to do this once, if this could be extended
       | to make web requests or send the output via a post request to a
       | remote server somehow, it could be used for remote logging.
        
         | targist wrote:
         | Thank you very much @catchmeifyoucan for your support!
         | 
         | Indeed there is a nodejs app for uploading programs already
         | from a computer connected to Arduino via Serial. It is not
         | supporting logs display yet as it just log the messages to
         | console currently but we have created an issue for that and
         | looks like it should be prioritized ;)
         | 
         | issue link: https://github.com/targist/ardui/issues/14
         | 
         | the documentation for using the nodejs app:
         | https://github.com/targist/ardui#web-interface
        
       | peterburkimsher wrote:
       | Consider posting it with the title "Show HN: Connecting..." to
       | say that you made it!
       | 
       | Then it will also show up in this page:
       | https://news.ycombinator.com/show
        
         | targist wrote:
         | thank you very much for the tip @peterburkimsher, will
         | definitely do
        
       | opencl wrote:
       | Neat project. I wonder how hard this would be to adapt to an
       | ESP8266/ESP32 target (or other micros with onboard radios) and
       | sending the code wirelessly.
        
         | targist wrote:
         | Thanks! We were thinking of using BLE instead of Serial wire in
         | upcoming versions. but your suggestion looks interesting too.
         | 
         | there is only one part that needs adaptation which is
         | send/receive bytes. So we will think about your suggestion.
         | 
         | Thanks again!
        
       | targist wrote:
       | Did a small project for connecting Arduino and Android, if you
       | are more a video fun you can find a small explanation here
       | https://www.youtube.com/watch?v=AGjHHh4m1q0
        
       | lxe wrote:
       | Why not use Firmata (https://www.arduino.cc/en/reference/firmata)
       | protocol instead of protobuf? You can use the vanilla firmata
       | firmware on your arduino.
        
         | targist wrote:
         | Looks interesting. will definitely have a look. Protobuf was
         | offering JS binding too which helped us to develop a nodejs app
         | doing the same from a computer connected to Arduino via the
         | Serial.
         | 
         | Please see: https://github.com/targist/ardui#web-interface
        
           | lxe wrote:
           | Johnny-Five (http://johnny-five.io/api/) uses Firmata --
           | There's a JS binding (https://github.com/firmata/firmata.js/)
           | 
           | I am starting to worry that this whole ecosystem is
           | stagnating though...
        
       | tmaly wrote:
       | Have you tried MS MakeCode? They have visual programming blocks
       | and target android.
        
         | targist wrote:
         | Sure will have a look. Thanks!
        
       ___________________________________________________________________
       (page generated 2021-08-02 23:03 UTC)