Sharing my enthusiasm too!


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

    Default Re: Sharing my enthusiasm too!

    Anand, You do realize that the commands sent by the Arduino are the AT commands. The bigest thing I don't like about the Arduino enviroment is the lack of documentation on the code contributors part as someone will take a piece of code, modify it and repost it without any modified comments or documentation. Then you spend hours sifting through someone elses code to figure out what they are doing.. I agree with you about the ESPBasic. It is yery unstable, Especially when modifing or editing the code you have flashed into the device.
    Last edited by Dave; - 21st March 2016 at 11:50.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Sep 2009
    Posts
    755

    Default Re: Sharing my enthusiasm too!

    Dave,
    you can actually run arduino sketches on ESP module.
    Checkout this
    https://hackaday.io/project/5150-ard...ickstart-guide

  3. #3
    Join Date
    Oct 2004
    Posts
    448

    Default Re: Sharing my enthusiasm too!

    Dave, I should have been more explicit in describing option 4; I just use the Arduino IDE, and directly program the code into an ESP8266, there's no physical Arduino involved.

    As of Arduino IDE ver 1.6.5 (I think), the IDE lets you choose an ESP8266 as the target, in place of a real Arduino. All you do is re-map the gpio pins.

    And as Pedja pointed out, you can use most of the existing libraries, and code sketches, directly into the ESP.

    And the fact that it sells so cheap, it doesn't really make sense using an Arduino in any project, even if you don't need the wifi.

    And Pedja, ESP support for Arduino IDE is now official, so you can directly download and install the latest version (1.6.8) from the Arduino site.
    Last edited by ardhuru; - 21st March 2016 at 13:27.

  4. #4
    Join Date
    Sep 2009
    Posts
    755

    Default Re: Sharing my enthusiasm too!

    I didn't know that. Thanks.

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

    Default Re: Sharing my enthusiasm too!

    Hi Ardhuru,

    Which ESP module are you using?

    I'm surprised you had problems getting ESPbasic up and running.
    What was the issue?
    Anything I can help you with??

    I am not saying I am a wizard at the coding of stuff on it (mostly trial and error and looking at others examples) but it seemed pretty easy to get it installed and running.

    Although there was a time when one of his versions was a bit unstable so I backed up to an earlier version and it cleared up the problems and I didn't need what was in the newer version.

    I think I am using ESPbasic V 1.67 for my clock.

    Let me know if I can help you with the ESPbasic if you want to get it working.
    Or if you are happy with the direction you have gone then all is good.

    The ESPbasic is actually built on the foundation of the arduino implimentation, I believe, so if you are comfortable with the C-like language of arduino then it may be more capable.
    Last edited by Heckler; - 21st March 2016 at 20:00.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  6. #6
    Join Date
    Oct 2004
    Posts
    448

    Default Re: Sharing my enthusiasm too!

    Quote Originally Posted by Heckler View Post

    Which ESP module are you using?

    I think I am using ESPbasic V 1.67 for my clock.

    Let me know if I can help you with the ESPbasic if you want to get it working.
    Or if you are happy with the direction you have gone then all is good.

    I believe, so if you are comfortable with the C-like language of arduino then it may be more capable.
    Hi Heckler,

    I have a couple of ESP01s, ESP01s with flash upgraded to 4mb, ESP07s and a nodeMCU board in my arsenal.

    I understand ESP8266Basic works best with 4 mb. My main issues were to do with the file management. Code that I saved would not show up in the file manager, or would automatically get renamed to 'default' and so on. I finally did succeed in getting it working, but didn't have the confidence the issues would not resurface. I have tried this with ver 1.65 and and 1.68.

    I'm no expert in C++, so the ESP8266Basic's similarity with PBP is still very enticing; the ease with which you guys can achieve things, in a few simple lines, does make me envious.

    Time to give it one more try! And be warned, I shall take up your very gracious offer for help very seriously!

    Regards,

    Anand

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

    Default Re: Sharing my enthusiasm too!

    Anand,

    You should have followed up on ZBasic for ESP8266. It's compiler so it's better suited for the limited memory of the ESP8266-01. Most of the ~250 commands for the standard version (Atmel chips) of ZBasic are also available for the ESP8266.

    For everyone, this is an outstanding reference for the ESP8266.
    https://www.espressif.com/en/media_o...s-book-esp8266

  8. #8
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

    Default Re: Sharing my enthusiasm too!

    pedja089, This looks interesting. I think I will give it a try. It has been a while since I looked at anything having to do with the Arduino... Thanks...
    Dave Purola,
    N8NTA
    EN82fn

  9. #9
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653

    Default Re: Sharing my enthusiasm too!

    ESPBasic. It is yery unstable, Especially when modifing or editing the code you have flashed into the device.
    I had the same issue and gave up on the whole idea. last week I gave it one last chance and had another go. this time I was successful.
    the main issues I had :-
    1. power supply not good enough
    2. using ie 11 to access the esp module , changed over to Mozilla and all the problems disappeared
    3. impatience (when you format the user flash space you get a done message when finished I'm not sure I always waited for it )

  10. #10
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653

    Default Re: Sharing my enthusiasm too!

    this little app shows my solar panel output for the last hour , samples at 60 sec interval

    grey lines are at 16 14 12 volts [can't figure how to add text labels to graphics yet

    Name:  Untitled.jpg
Views: 1857
Size:  25.1 KB


    prescaled sample input from pic
    g6868645855556165666665656466656464646464635650464 54645515865666666656564636358585661636364646463636 363636161616161616161

    each sample is a two digit decimal scaled to suit the graph ( sample * 10) - 140 + 50

    graph y range = 100 points , mid point of display is 14 volts so y range is 9 to 19 v with 0.1 v resolution

    if sample = 15.8 volts then graph_sample = 158 - 140 + 50 = 68

    graphic refreshes every 15 sec and the pic feeds in fresh data every new sample (60 sec)
    Attached Files Attached Files
    Last edited by richard; - 22nd March 2016 at 03:54. Reason: more info

Similar Threads

  1. ESP8266-01 sharing my enthusiasm
    By Heckler in forum WiFi
    Replies: 8
    Last Post: - 11th February 2016, 13:24
  2. Sharing Crystal with 2 IC's
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th January 2013, 13:33
  3. sharing 3-wire eeprom
    By tishri in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2008, 04:23
  4. Sharing Serial connection
    By DynamoBen in forum Serial
    Replies: 6
    Last Post: - 9th March 2006, 18:07
  5. Sharing a USART
    By Ron Marcus in forum Serial
    Replies: 1
    Last Post: - 7th September 2005, 14:48

Posting Permissions

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