Slashdot Mirror


ESP8266 Basic Interpreter Lowers IoT Entry Bar For Amateur Programmers (esp8266basic.com)

New submitter mmiscool writes: ESP8266 Basic is a project less than 6 moths old. It is open source and designed specifically for the internet of things. The ESP8266 microcontroller costs less than $3, and once the basic firmware is loaded to the device a user can connect to it using Wi-Fi and start programming right inside their web browser. No wires, no software or plugins to install. Just a simple text editor. There is now a community, primarily older folks who fell in love with Basic on the Commodore, who are using it for controlling a variety of projects. The code is amazingly simple and includes commands for interfacing with neo pixels, OLED displays, Temperature sensors, hobby servo motors and of course the blinky LED. It also provides commands for browser widgets that can be used to construct interfaces for the device like textboxes, buttons, sliders and dropdowns. The bottom line is that Basic is not dead, and has finally made its way into the internet of things. Make last year ran a three-part series on the chip (here's part one), but things have advanced quite a bit since then, when people were first noticing that the ESP8266 is more powerful than the tasks for which it was first marketed.

68 of 112 comments (clear)

  1. Older people who feel in love with basic on c64 by Anonymous Coward · · Score: 2, Insightful

    (Blushes)

    1. Re:Older people who feel in love with basic on c64 by phantomfive · · Score: 3, Informative

      Yeah, me too, but remember that C64 BASIC didn't have an else statement, and even the IF statement was somewhat limited, meaning GOTOs everywhere. BASIC is not my choice for programming, even on the C64 anymore (where assembly is actually cleaner, and the assembler can do a good job re-numbering the lines).

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Older people who feel in love with basic on c64 by hughbar · · Score: 1, Funny

      Do not be ashamed! Spent a lot of time in the late 1970's/early '80s with a Teletype 33 copying out 'Hunt the Wumpus' into a Honeywell-Bull Level 64 mainframe.

      It made me the person I am today, living alone in a basement, no friends, paint-stripper breath, three days beard and a very annoying pedantic way of talking. What, exactly, is not to like? We need to form a club, except that I don't get out very much.

      --
      On y va, qui mal y pense!
    3. Re:Older people who feel in love with basic on c64 by Anonymous Coward · · Score: 2, Interesting

      "...primarily older folks who fell in love with Basic on the Commodore, who are using it for controlling a variety of projects...."

      There was a time when the C-64, and even the lowly VIC-20, were used for simple Computer Control. JPL for instance used a VIC-20 for positioning parts in an SEU Test Setup, at various Accelerators. How do I know this? I have it. How did I get it?
      JPL was running at the Cyclotron, and their Positioner failed. I got the call at around midnight, they were scrapping the Run. Their VIC-20 had died. I needed to know these things. Running this Cyclotron was over $700 an hour, we were over-subscribed, so minutes counted. Others were waiting.
      I just happened to have a VIC-20, that I used as a Hot Tub Controller. Very easy to do IO stuff on those things.
      Two hours later, my VIC-20 was merrily positioning parts away.
      A few days later, when the JPL Run was over, they asked for my VIC-20, for helping Diagnose what went wrong with theirs. No problem.
      I got my VIC-20 back a month later, dead. No Hot Tub.
      JPL had simply swapped circuit boards, thinking that we wouldn't notice. The Serial Numbers between the PCB and the Case no longer matched.

      Aerospace Corp. and Boeing never pulled that kind of crap. Boeing was actually a delight. They gave me a Lichtenberg Tree, from their Electron LINAC, because of the assistance that I gave them, and Rocky Koga from Aerospace is just aces with me.

    4. Re:Older people who feel in love with basic on c64 by TheRealHocusLocus · · Score: 1

      Texas Instruments Silent 700

      You experience a unique feeling of helplessness when you've run through your last roll of thermal paper. Soon into the game you realize that those people on TV who print a little then tear off the printout to show to others are frivolous and wasteful, consigning themselves to this sad fate. So you stop tearing it off, carefully rolling up the output so you can feed it back into the printer upside down and print on what was the (mostly blank) right margin, visually decoding the meshed characters at the center.

      Which is why when I managed to turn my original model I TRS-80 with a direct connect Bell 103 Lynx modem into a dumb terminal by talking to the UART with custom written Z80 assembler code and watched those green characters crawl across the screen, it was a great day, like inheriting a warehouse full of thermal paper. The scrolling was so "blindingly fast" that I could even tell the time sharing service to turn off the 2-3 leading NUL characters at the beginning of each line!

      --
      <blink>down the rabbit hole</blink>
    5. Re:Older people who feel in love with basic on c64 by obsess5 · · Score: 1

      In the mid-1980s, I worked with a lady who had previously programmed a VIC-20 to replace a Telex machine. In the late 1990s, we were building a ground system for a communications satellite; the company building the satellite supplied us with test telemetry from the yet-to-be-launched satellite on a tape cassette along with a Commodore cassette storage device. (Not the earlier device I had for my VIC-20 that looked like a Kleenex box, but the later one that was about the size of a book and had rounded corners and edges.)

    6. Re:Older people who feel in love with basic on c64 by bugs2squash · · Score: 1

      It turned out to be a recording of a marching band though. I almost dropped the cat.

      --
      Nullius in verba
    7. Re:Older people who feel in love with basic on c64 by CaptQuark · · Score: 1

      Ha Ha. So few people will get the reference to that.

      --

    8. Re:Older people who feel in love with basic on c64 by Desty · · Score: 3, Insightful

      It is true... C64 "V2" Basic was my first taste of programming and I was pretty much hooked straight away, even though it was a fairly unpleasant dialect, with line numbers and no auto-renumbering function, only two significant characters in variable names (so "speed" and "spinning" were the same variable, leading to code with awful variable names) and the lack of any commands for controlling the audio hardware or doing anything with video other than writing characters and symbols. The only way to make sound or create sprites (or even change the screen colours) was to use POKE commands to write to arbitrary memory locations (generally through trial and error, as a kid with no documentation, before the web existed).

      Still, there was enough magic there that once you'd really gotten a taste for it, there was no going back. On the plus side, almost every programming language after that seemed really reasonable if not generous :)

    9. Re:Older people who feel in love with basic on c64 by phantomfive · · Score: 1

      Nice post.

      --
      "First they came for the slanderers and i said nothing."
  2. Re:Just what we need... by Aighearach · · Score: 3, Funny

    No, this is for those of us who were already brain-damaged by BASIC in the 1980s.

    This is just retro drugs, move along kids, nothing to see here. No, son, that's a... vase with a smaller vase on the side, don't look at that. No, don't look under there.

    I started with Apple Basic, not Commodore. But I had a Timex/Sinclair at home. 2K RAM!!!

  3. Re: Arduino kids by Anonymous Coward · · Score: 2, Informative

    Or, the Arduino/RPi kiddies have something accessible to them to engage and inspire them to learn something more.

    Much like BASIC did back in the day on a cheap computer, inspiring us to learn more about programming.

  4. $3 by rfengr · · Score: 4, Interesting

    The cost is what amazes me these days. This thing has two radio cores, two processor cores, and a host of other peripherals, and it's dirt cheap.

    1. Re:$3 by thinkwaitfast · · Score: 5, Interesting

      I've built things that sold in the 10's of thousands of dollars range and took people years to develop in the 90's that can now be made (often better) by a kid in high school with lunch money. I wonder what the long term affect this has on the economy.

    2. Re:$3 by Gaygirlie · · Score: 1

      The ESP8266 has only one core, not two. You may be thinking of the ESP32 that has not yet been officially released that will have two CPU-cores.

    3. Re:$3 by yes-but-no · · Score: 1

      it's zero or one... one for utopia

    4. Re:$3 by JanneM · · Score: 1

      I've built things that sold in the 10's of thousands of dollars range and took people years to develop in the 90's that can now be made (often better) by a kid in high school with lunch money. I wonder what the long term affect this has on the economy.

      Well, if it really takes off, the school cafeteria sector revenues are going to be hurting.

      --
      Trust the Computer. The Computer is your friend.
  5. Comment removed by account_deleted · · Score: 4, Interesting

    Comment removed based on user account deletion

  6. Not less by johnw · · Score: 5, Funny

    ESP8266 Basic is a project less than 6 moths old

    fewer than 6 moths.

    1. Re:Not less by SeriousTube · · Score: 1

      When talking about moths, fewer than is correct. They are discreet objects.

    2. Re:Not less by swimboy · · Score: 3, Funny

      I don't know what kind of moths you hang out with, but my moths are *huge* gossips. I'd hardly call them discreet.

      --
      Ask me how the Heisenberg Principle may or may not have saved my life.
    3. Re:Not less by thegarbz · · Score: 1

      Moths are a quantity of time? I couldn't find that in the Oxford dictionary.

    4. Re:Not less by fyngyrz · · Score: 1

      Always ready to raise a flap, eh? I heard they just wing it.

      --
      I've fallen off your lawn, and I can't get up.
    5. Re:Not less by TeknoHog · · Score: 1

      In other words: less than a float, fewer than an int.

      --
      Escher was the first MC and Giger invented the HR department.
  7. Ob by Hognoxious · · Score: 2, Funny

    10 WRITELN "FROSTY PISS"
    20 GOTO 10
    30 REM the lameness filter really is a piece of shit

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    1. Re:Ob by Catbeller · · Score: 1

      "WRITELN"?

    2. Re:Ob by williamyf · · Score: 1

      10 WRITELN "FROSTY PISS"
      20 GOTO 10
      30 REM the lameness filter really is a piece of shit

      WRITELN is Pascal, IIRC

      --
      *** Suerte a todos y Feliz dia!
  8. Re: Arduino kids by hughbar · · Score: 1

    Thank you, you are so right. Programming is fun, not just for some notional neckbearded priesthood. Yes, if one needs to do something 'serious' (avionics, billing SCADA) the approach must be more rigorous (looking at recent electric grid exploits, apparently that's not true of SCADA, in fact), but kids don't normally do that. It's a 'way in'.

    --
    On y va, qui mal y pense!
  9. Re: Older people who feel in love with basic on c6 by Bing+Tsher+E · · Score: 1

    So weaknesses and constraints on BASIC on the C64 impact it's usefulness today?

    I have a BASIC compiler for the PIC microcontroller that produces tight little binaries. It has a nice useful library of I/o functions.

  10. Re:Just what we need... by TheGratefulNet · · Score: 1

    wake me up when they ported the trs80 version of hunt the wumpus.

    "oops, bumped a reset button. the ip address has moved."

    --

    --
    "It is now safe to switch off your computer."
  11. Re: Arduino kids by thinkwaitfast · · Score: 1

    With ~$400, ebay, a laptop and two weekends, you can build every possibly rpi/arduino projects/hardware configration. There are a finite number of environmental parameters that can be measured (temperature, pressure, gasses, voltage, position, etc) and external effectors (voltage, current) are an even smaller set.

  12. Re: Older people who feel in love with basic on c6 by phantomfive · · Score: 1
    Man, if you like it, then use it. Ignore what the world thinks, you'll be happier.

    It has a nice useful library of I/o functions.

    Libraries are usually more important than the language, anyway.

    --
    "First they came for the slanderers and i said nothing."
  13. Re:Arduino kids by Anonymous Coward · · Score: 1

    believing that electronics is something anyone can do

    Electronics is something that nearly anyone can do. That is not the same as saying everyone can do everything in the field (heck, many EEs will never be able to do certain things outside their specialization even if they dedicated their life to it). But that is irrelevant to the situation many people have where they don't need to do something difficult or complicated, just something simple but niche. Might as well complain such hobbyists are not learning Swahili either... because that is also unnecessary for most small projects.

    all those companies charging thousands of dollars for their products are just ripping us off.

    Some rip people off, but a lot of the time it just comes down to targeting a different audience. When you need to do something less commonly done, you often either end up spending a lot more to get something more customizable or something with a larger feature set, which is a waste if you didn't need any of those other extra (or even basic) features.

    This isn't specific to even hobbyists, although in a business setting sometimes it is cheaper to blow thousands on a overkill off the shelf part than make a custom solution. But that isn't always the case. On a project I previously worked on, a sensor had an unusual communication protocol and was usually used with a hand held readout, but one day we needed it to be logged and in a compact spot without external wiring. The company only offered two options: a $2k usb adapter or a higher priced quote to make something custom for us. The hour it took an EE to make an Arduino communicate with the sensor and log what we needed cost us far less time and money. You could argue about there being faster and/or cheaper boards out there or that it would be better to make a custom board, but that would take more time, and hence cost the company more than just using what he had sitting around in a desk drawer. Saving $0.50 on the hardware or a faster clockspeed wouldn't have produced a better result, and would just be penny wise and pound foolish.

  14. Why BASIC by jones_supa · · Score: 1

    Whose idea was to choose an interpreted language for the extremely slow 8-bit home computers?

    1. Re:Why BASIC by dacut · · Score: 4, Insightful

      Whose idea was to choose an interpreted language for the extremely slow 8-bit home computers?

      Because fitting a compiler into the tight memory constraints was next to impossible. The BASIC ROM on the C64 was 8 kB; per Wikipedia, this is what forced Commodore to revert to v2.0 BASIC, which lacked even disk directory listing commands (remember LOAD "$", 8 and how it would clobber whatever you had in memory?).

      Applesoft BASIC, which had these features, used 10k of ROM by comparison. Apple's earlier Integer BASIC was about the same size, but gave up floating-point support.

      BASIC made it easy for beginners (like myself) to get something working. If Commodore had only included an assembler, for example, this would have been too steep of a learning curve for most folks and they would likely have bought something else that did have an interpreter. That said, anyone writing "real" programs wrote them in assembly; you had to resort to extreme tricks to get decent graphics on these systems. If you haven't seen it, I highly recommend picking up a copy of Racing the Beam , which documents all the trickery that programmers for the Atari 2600 (which had weirder hardware but still was 65xx-based) had to resort to in order to make even halfway decent games.

    2. Re:Why BASIC by Catbeller · · Score: 1

      Interesting. Now processors are so fast and memory so gigantic that interpreted languages make sense again. Compilation was necessary because resources were tight.

    3. Re:Why BASIC by lars_stefan_axelsson · · Score: 1

      The Jupiter Ace used Forth as a language, with a compiler included into the 8kb rom.

      Well, "compiler" is overstating it a bit. The Jupiter Ace Forth (AFAIK) was a TIL-Threaded interpreter language, which "compiles" to a list of jumps. So there's still an interpreter, but it's more akin to interpreting byte code than a more standard BASIC interpreter. The Jupiter Ace Forth had to be, as it didn't save the source for the program but decompiled it for editing. A really neat feature that I missed when I "upgraded" to an Amstrad PC a couple of years later and (among others) F83.

      But those were, in hindsight, good times. I actually dusted off the old Jupiter Ace a year or two ago to show the kids. They were most definitely unimpressed... :-)

      --
      Stefan Axelsson
  15. Trying to google search to buy one of by The+Cisco+Kid · · Score: 2

    these, its unclear what is the device and what is an accessory for the device. Also unclear which are legit sellers and which might be spam.

    The the link to the ESP-01 in the make article leads to a discontinued page.

    Anyone got a link to a known reliable vendor to buy these?

    1. Re:Trying to google search to buy one of by Lurks · · Score: 3, Informative

      There's heaps of them on eBay. Just get a NodeMCU 'dev kit'. There's a couple of vendors, nothing between them really. They cost about $5-8 from China. Then use NodeMCU and not this silly BASIC thing :)

    2. Re:Trying to google search to buy one of by thegarbz · · Score: 1

      Anyone got a link to a known reliable vendor to buy these?

      Not sure what you were searching for but Sparkfun was my number 2 google result for ESP8266. Adafruit is in the top 10 results as well

      https://www.sparkfun.com/produ...
      https://www.adafruit.com/produ...

    3. Re:Trying to google search to buy one of by niew · · Score: 1

      "only" one of the 2 available gpio's on the esp8266-01 controls the boot mode, and only at boot time, then it's available for regular use... The other pin is free for general use.

      It's still kind of restrictive :-) , but what I've found these (the -01's) really useful for is with i2c modules... i2c needs 2 signal lines and uses pull up resistors, so normally (including @ boot time) the 'program mode' pin is high for normal boot up... Add a pushbutton switch or jumper on that pin to ground and if it's closed during bootup, it goes into programming mode instead.

      There's a bunch of interesting i2c modules out there; realtime clock , demux, pwm, flash memory, light intensity, temp/humidity, barometric pressure and a bunch of other modules that can all be chained onto the same pair of wires for i2c... There are even i2c modules with extra gpio's to make up for using the only other 2 pins it has for i2c :-)

      Add to all that support for MQTT publish/subscribe and you have a platform that can collect sensor data and publish it to a lightweight message queue via wifi... Pretty cool stuff...

      I wouldn't use (IMHO) the delivered AT "modem" command firmware, or the nodemcu/lua stuff... The Arduino environment now has support for these modules and works really well. Going back to BASIC doesn't really appeal to me :-)

  16. true. Probably be hacked, so what happens? by raymorris · · Score: 3, Interesting

    That's a valid point. Before you connect a "thing" to the internet, it would be wise to think about what happens when it's hacked. Unless the code is written by someone trained in security and then reviewed by someone else well-trained, it is reasonably likely that it will eventually be hacked. Internet-connected TVs have been hacked, wifi cameras are frequently hacked ...

    In some ways it's unfortunate timing that the internet has become so pervasive at the same time that simple programming has become so easy you can write software without any training or experience. It's resulted in a lot of very bad and dangerous software on the internet.

  17. Re:The ESP8266 microcontroller costs less than $3, by dacut · · Score: 1

    I'm guessing the $3 price is in volume (10k or 100k+). There are a number of eBay listings under $3, but I wouldn't rely on eBay as a steady supply stream or for good documentation and support.

    My preferred hobby vendors (because they've been supportive to me over the years; I'm not affiliated with them) are SparkFun and AdaFruit. SparkFun has them for $6.95, while AdaFruit has a hacker-friendly version for $9.95 and a surface-mount version for $6.95.

  18. There's already an interpreted language on ESP8266 by Lurks · · Score: 4, Insightful

    Since it hasn't been mentioned here. The ESP8266 is no stranger to interpreted languages. The NodeMCU firmware offers a Lua interpreter. It's been around for longer than this BASIC project and is now fairly robust. I have created a couple of projects with it and been pleasantly surprised, particularly with support for the u8glib library. This is just outstanding.

    There's lots of reasons to like an interpreted language on a device like this. That said, the hardware/libraries integration and maturity is way more important than exactly what interpreted language. I feel a tag nostalgic for BASIC but I don't really see the utility over the excellent NodeMCU firmware. There's even an online firmware builder that allows you to select which features, ostensibly hardware protocols and the like, to bake in so you can maximize how much free heap there is. http://nodemcu-build.com/

  19. I must be old... by anchovy_chekov · · Score: 4, Insightful

    I remember when Basic was spelt BASIC, as in.. you know.. an acronym.

    1. Re:I must be old... by Catbeller · · Score: 1

      We're wrong. The younguns are always right, because. History is a tuxedo mattress mouse. Words have no meaning.

    2. Re:I must be old... by Nethead · · Score: 1

      You are literally correct. We must redouble our efforts.

      --
      -- I have a private email server in my basement.
  20. Re:The ESP8266 microcontroller costs less than $3, by mobby_6kl · · Score: 1

    Digikey has them with some minor volume discounts for 10 units.

    Ebay, banggood or alibaba have them dirt cheap. A got a couple boards this way, and they're perfectly fine and well made. In particular on alibaba there are a bunch of $1/unit suppliers, though that's the FOB price and then you're on your own.

  21. Re:Perfect Storm by Gaygirlie · · Score: 1

    And now, it is a great idea for newbie programmers to write apps for those internet connected devices in BASIC?

    They don't have to be connected to the Internet, you know? Unless you've got a modem/router running in bridge-mode the devices will by default be running behind a NAT and I doubt most of these folks will go to the length of using UPNP to specifically request for the modem/router to open ports to the devices from the Internet.

  22. Re:The ESP8266 microcontroller costs less than $3, by Gaygirlie · · Score: 1

    DX.com ( http://www.dx.com/s/esp8266 ) also has a good selection of the ESP8266 -- both bare chips and proper devboards. I got the Nodemcu - compatible devboard ( http://www.dx.com/p/esp8266-es... ) myself and it has been fabulous so far. Though, it's not exactly $3 anymore.

  23. I just started playing with these by drinkypoo · · Score: 1

    I am right now messing with nodemcu but it is somewhat flaky so I might go to the Arduino route. These devices are kind of annoying in that if you want to send data larger than a single packet you have to break it up yourself, their TCP stack is shite. Otherwise they seem pretty cool.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  24. Re:The ESP8266 microcontroller costs less than $3, by mmiscool · · Score: 1

    Ebay is the best source. Or banggood.com

  25. FTFY by QuietLagoon · · Score: 3, Insightful
    ESP8266 Basic Interpreter Lowers IoT Entry Bar For Creating Security Vulnerabilities in IoT Devices.

    .
    Just what we need ... a bunch of people who know little about security programming the IoT.

  26. Re:Perfect Storm by caseih · · Score: 1

    I suspect that with BASIC not relying on pointers at all for general function, security for IoT is probably a lot better than when C is used. I don't think your pessimistic comments about BASIC are really valid. Also this BASIC implementation is interpereted, so as long as the interpreter is secure with bounds checking, BASIC programs could well be very secure and correct, much more than many people's C sketches are in Arduino!

    For those interested, there's a project called MicroPython that implements a full-featured Python 3 interpreter on a microprocessor. Like the BASIC chip it's interpreted so it's slower than bare C. But it does let you use all the niceness and rapid development capabilities of Python on a 32-bit microprocessor.

  27. Re:Perfect Storm by Dr_Barnowl · · Score: 1

    Wait until IPv6 becomes necessary...

  28. Massive technology unemployment by rsilvergun · · Score: 4, Informative

    We're seeing it in the form of increased productivity rendering jobs obsolete. With fewer jobs people have to work more hours to make the same pay, resulting in yet more productivity and still fewer jobs. The Atlantic has an article on it. tl;dr: Our productivity gains kept pace with what Keynes predicted but hours worked stopped dropping in the 70s, resulting in massive inequality and stagnant wages for workers.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
  29. Re:Perfect Storm by c · · Score: 1

    So, you've got a bunch of devices connected to the internet.

    To a WiFi LAN. Unless you're using some sort of "cloud" library in your application (and it doesn't sound like this ESP Basic thing does), it's no less secure than any other device on your network, and if your network isn't secure then you've got far more tempting targets for an attacker than a microprocessor board.

    Aside from price, that's one of the things that makes the ESP8266 device more attractive to me than one of the various boards that come with some sort of cloud tie-in; it's my decision what it's allowed to do.

    I've been playing around with ESP-12's for the last few weeks and what they're capable of with the libraries available is, for the price, nuts. It's as much work to properly debounce a lousy switch than to build a wireless HTTP server with OTA updates.

    --
    Log in or piss off.
  30. Re:Arduino kids by __aaclcg7560 · · Score: 1

    that electronics is something anyone can do

    I recently breadboarded a circuit to translate the input of a nine-position DIP switch into the output of a four-line BCD (Binary Coded Decimal) using an 74HC147, and a 4511 to display the number on a seven-segment LED digit. I came across a web page with a nearly identical circuit. Based on the comments by the Arduino/RPi kiddies, they have no clue to how the circuit works. One person asked why the BCD lines were inverted between the 74HC147 and the 4511. Reading the datasheets made it clear that the 74HC147 outputs ("0" = 1111) were opposite to the 4511 inputs ("0" = 0000). If you don't understand how the circuit is supposed to work, you're not going to understand the circuit when it doesn't work.

  31. Re:The ESP8266 microcontroller costs less than $3, by __aaclcg7560 · · Score: 1

    Alas, Jameco doesn't carry the part. Which is a shame. Since Jameco is in the next county over from Silicon Valley, my orders typically arrive in the next day mail.

  32. Re:Just what we need... by Catbeller · · Score: 1

    Object based programming: the Get-Off-My-Lawn of mathematicians everywhere. Why can't Jenny or Johnny code? 'Cause OO is designed to be nearly incomprehensible to humans without years of careful brain damage.

  33. Is usefull for rapid prototyping by williamyf · · Score: 1

    I am 43 years old, and I learned:

    BASIC when I was 12
    LOGO when I was 13
    COBOL and RPG-II when I was 15
    Pascal (the only language I learned on my own and not in classes) when I was 16.
    C when I was 19
    Shell Scripting (including AWK) when I was 29

    Of all those, I only remember BASIC, C and Shell Scripting.

    If this will let me prototype an idea fast and cheap, then it is welcome.

    IIRC i read somewhere that Ken Silverman (of BUILD engine fame) used to try new algorithms first by coding them in BASIC. If that new ALGORITHM worked out as intended, he would either refine the coding until he got the intended performance, or compile the basic, or recode in C or ASM... So, if it is good for him, I guess is good for me (and a lot of other people).

    Besides, there have been BASIC compilers for a long while, so, if the prototype is a success, I may as well compile, or, if push come to shove, re-write in C.

    --
    *** Suerte a todos y Feliz dia!
    1. Re:Is usefull for rapid prototyping by drinkypoo · · Score: 1

      Of all those, I only remember BASIC, C and Shell Scripting.
      If this will let me prototype an idea fast and cheap, then it is welcome.

      You can program the ESP8266 in BASIC (with this project), C (with the official SDK, or you can use it as an Arduino), or Lua scripting (with NodeMCU). I am just now experiencing Lua, it seems very like C or Javascript but without semicolons, which is to say that it has very little reason to exist but exists anyway. I will probably explore Arduino next, mostly because my current use case involves the Neopixel library, which has been ported to ESP8266. Pretty straightforward stuff, in theory, right? Except that if you want to send more HTML than you can fit in one packet, you have to start playing tricky games. If that's going to be the case, what's the benefit of using Lua? NodeMCU should handle that stuff for me.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  34. Re:Perfect Storm by rthille · · Score: 1

    The Terminator actually used Apple ][ assembly.
    http://mentalfloss.com/article...

    --
    Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  35. Re:Basic is dead by fyngyrz · · Score: 1

    I'm not quite dead.

    I think I'll go for a walk.

    --
    I've fallen off your lawn, and I can't get up.
  36. Re:Just what we need... by Aighearach · · Score: 1

    You can get a new generation Z80 chip from Zilog for under $5, or an 8051 for $1.25. You can have 80s computers on a breadboard now. Load up all your old ROMs!

  37. Re:The ESP8266 microcontroller costs less than $3, by drinkypoo · · Score: 1

    I'm guessing the $3 price is in volume (10k or 100k+). There are a number of eBay listings under $3, but I wouldn't rely on eBay as a steady supply stream or for good documentation and support.

    I don't think it matters much. There's not that much on the board and they are by definition pinned out a certain way no matter who makes them. I bought literally the cheapest ESP-01s to see if that would be a mistake and no, they're fine.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  38. Truth by ArchieBunker · · Score: 1

    People act like analog electronics are obsolete like the vacuum tube. The real world is analog.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  39. Re:Perfect Storm by mmiscool · · Score: 1

    It supports integration with thing speak. Some other cloud services will be supported here soon. It also has a function that can simply retrieve a url and place the retrieved information in to a variable. So there are multiple ways to make it interact with the cloud and personal servers using standard web technology.