BASIC is NOT dead!!


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1

    Default Re: BASIC is NOT dead!!

    That looks handy! Thanks for posting..

    Under the basic is not dead, here's another tool for those who want to use pic32 and pic24. It uses a VB style coding

    http://www.firewing.info/

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,635

    Default Re: BASIC is NOT dead!!

    this does look promising , I had been getting flaky results and nearly given up in disgust --- turns out the power supply for the esp8266 is far more critical than I thought . 3.3v seems to work much better than 3.0 (was having the flash the memory not always updating and sometimes becoming corrupt after saving files).
    the 3v regulator on all of my usb-tty adapters has proved to be inadequate for the task of running esp8266 modules

  3. #3
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: BASIC is NOT dead!!

    I appears the source for the USB adapter board that I posted is no longer available or out of stock.

    Here is a link to one on Tindie.com
    https://www.tindie.com/products/Apri...pport-esp8266/

    That I believe is the same thing but updated to use a micro usb instead of the standard usb.

    and I found the original here...
    http://aprbrother.en.alibaba.com/pro...s_ESP8266.html

    I've never ordered anything from alibaba.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: BASIC is NOT dead!!

    I haven't explored ESPBasic in depth but do know of a more powerful Basic for use with the ESP8266 and with Atmel chips including those used by Arduinos.
    http://www.zbasic.net/

  5. #5
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: BASIC is NOT dead!!

    I took a look over at zbasic and really can't (from the quick look I took there) make any comparison, it may be more powerfull..

    BUT I can say that I have found the ESPBASIC to be extreemly easy to try out. I also found it to be amazingly easy to do some very complex things like...

    > generate an email or text message
    > get time from an NTP time server
    > parse the NTP time value into individual components HH, MM, SS, year, day of week, etc.
    > generate a webpage with buttons to change gpio pins
    > create input fields on a web page for temperature set points, text or value entry fields.
    > read the temperature from a ds18b20 temp sensor

    and all of the above things can be communicated back to you via a web page or (if you choose) to your microcontroller or terminal window via its tx/rx serial interface at 9600 baud (or both!!)


    The IDE is built into the OS and resides on the esp module.
    The module starts out as an AP with no credentials required which allows you to easily locate it and connect to it from any wifi enabled device like a smart phone, tablet, laptop or PC with wifi capabilities. Then you can easily enter credentials for your local network wifi and then the module will, upon reset, connect to that network and provide its DHCP acquired IP address via the serial port that you used to flash the BASIC OS into it. So if you open a terminal window and watch the COM port of the USB adapter you used to flash it with you will see it attempt to connect to the network and it will print out the newly acquired IP address.

    And as a fall back, if for some reason it can not make a successful connection using the credentials you provided it, the module will default back to an AP so you can reconnect to it directly and review/correct its settings.

    You program and upload your code directly from an internal web page IDE on the module. NO ADDITIONAL SOFTWARE REQUIRED ON YOUR PC other than the initial small flashing program.

    I must say I have been trying to reach this level of capability with these little ESP8266-01 modules for almost a year now and this ESPBASIC has hit a home run for me.

    Now, keep in mind that the espbasic is certainly not going to be anywhere near as capable as our beloved? PIC Basic. But for me that is not the point. I can now easily add wifi capability to any of my microcontroller projects or create simple projects like temperature alarms that can generate an email/text msg and many, many others.

    For anyone like me who undersands BASIC and struggles with C, python, LUA, or 'fill in the blank' language then this has opened a new door.

    but I should add... YMMV

    Give it a go, and I'd be happy to share any of my test code. There are also several example programs listed on his website, which is separate from the forum that he links to.
    Last edited by Heckler; - 3rd December 2015 at 05:01.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: BASIC is NOT dead!!

    ESPBasic does appear simple but I would prefer to know more about what's going on behind the curtain. The interpreter seems to be doing a great deal that is hidden and is undocumented. From the documentation I've seen, it isn't clear that you are accessing an NTP server - it might be the Wizard of Oz. Plus, it seems to require a great deal and ever growing amount of memory - more than 1M in the latest version. Still, it may well be useful for augmenting PIC based devices where you just want to add WiFi connectivity.

    ZBasic is compiled (i.e. no interpreter) so only your compiled application uses memory. ZBasic also works with most Atmel AVR chips, can import/export C, can import Arduino code, use inline assembly language and much, much more. The free version supports the ESP8266. With something like the NodeMCU v1.0 (4M), many applications will have no need for a PIC or AVR relying instead on the processing power of the ExpressIf SoC.
    Last edited by dhouston; - 7th December 2015 at 12:58.

  7. #7
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: BASIC is NOT dead!!

    While programmable with LUA, Arduino, ZBasic, ESP8266Basic and more, one drawback of the ESP8266, to quote email from Don Kinzer who created ZBasic, is...
    It doesn't have any means to do highly accurate timing. Further, the ESP8266 has non-maskable interrupts and servicing them also interferes
    with the timing.
    This means you will need a PIC or other MCU to supplement the ESP8266 for many, many applications.

    Here's a bit of hardware that simplifies that...
    http://www.wemos.cc/wiki/doku.php?id=en:d1_mini

    You can design shields that stack atop it a la Arduino.

Similar Threads

  1. Is BASIC dead ?
    By dsicon in forum General
    Replies: 28
    Last Post: - 26th January 2015, 05:04
  2. How do I know if a PIC is dead ?
    By rngd in forum General
    Replies: 8
    Last Post: - 15th April 2008, 09:03
  3. Is My Programmer Dead
    By mikendee in forum Off Topic
    Replies: 4
    Last Post: - 19th March 2008, 16:59
  4. Dead PICs
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 15th August 2007, 13:12
  5. Dead display?
    By rossfree in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th July 2005, 18:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts