Gå direkte til innholdet

MAISALG opptil 60% »

Til startsiden
Søk etter din neste leseopplevelse
Arduino and eForth
Spar

Arduino and eForth

heftet, Engelsk, 2018
157,-
Sendes innen 5-14 virkedager
All these years, I have been looking for microcontroller platforms on which I can teach people how to program in the FORTH language. I designed a training course I called Firmware Engineering Workshop. I could train an open minded engineer to program in FORTH in about a week, with a reasonable capable platform, i.e., a microcontroller evaluation board with a FORTH operating system loaded. Good platforms are expansive, and low-cost platforms are inadequate. What I did was to grab any microcontroller board at hand and used it. It did not work well because what I taught could not be easily replicated by people at home. People got frustrated when they could not reproduce results I demonstrated. Then, I found the Arduino Uno Board. The microcontroller evaluation board I need must have a microcontroller with reasonable capabilities. An 8-bit microcontroller with a fast clock is adequate. 16-bit of 32-bit microcontrollers are of course much better. The board must have at least 8 KB of ROM memory and 1 KB of RAM memory. It must also have a USART port to communicate with a terminal emulator on a host PC. Any other I/O devices will be icings on the cake. The more the better. Arduino Uno has all of the components I listed above. It is also inexpensive, costing only $29. It uses ATmega328P, a very interesting microcontroller which has 32 KB of flash memory, enough to host a FORTH operating system, 2 KB of RAM and many I/O devices to build substantial applications. Arduino Uno also has a USB port which connects to a PC and an USART device in ATmega328P. This serial interface is necessary for a FORTH system so that you can run and program ATmega328P interactively from a terminal emulator on the PC - as the complete Forth is on the chip. Arduino Uno is a lovely machine. You connect it through a USB cable to your PC, and you can program it to do many interesting things. Its microcontroller ATmega328P, running at 16 MHz, is very capable of running many interesting applications. The template of a sketch, which is the software in Arduino 0022, captures the essence of firmware programming in casting user applications in two statements: setup() and loop(). It eliminates all the syntactic statements required by a normal C program and exposes to you only the core of an application. However, Arduino software insulates you from the intricate nature of ATmega328P microcontroller, its instruction set, and its I/O devices. Instead, you are given a library of useful routines which are used to build applications. The insulation initially helps you to program the microcontroller in a C-like high level programming language. However, being an 8 bit microcontroller, ATmega328P in C language will run out of gas when application demands performance. At this point, you will have to get down to the bare metal to push ATmega328P to its limit. Then, you have to learn its instruction set and all its I/O devices, and perhaps program it in assembly language. The best alternative approach is to program ATmega328P in the FORTH language. FORTH exposes ATmega328P to you. You can interactively examine its RAM memory, its flash memory, and all the I/O devices surrounding the CPU. You can incrementally add small pieces of code, and test them exhaustively. An interactive programming and debugging environment greatly accelerates program development, and ensures the quality of the program. Since 1990, I have been promoting a simple FORTH language model called eForth. This model consists of a kernel of 30 primitive FORTH commands which have to be implemented in machine instructions of a host microcontroller, and 190 compound FORTH commands constructed from the primitive commands and other compound commands. By isolating machine dependent commands from machine independent commands, the eForth model can be easily ported to many different microcontrollers. This model is ported to ATmega328P, and the result is the 328eForth system.
ISBN
9781726868471
Språk
Engelsk
Vekt
358 gram
Utgitt
1.11.2018
Antall sider
240

Andre har også sett på

  • Gå til The Let Them Theorys produktside
    Bokomslag for The Let Them Theory
    Mel Robbins
    innbundet
  • Gå til Sjøfarerens produktside
    Bokomslag for Sjøfareren
    Erika Fatland
    innbundet
  • Gå til The 48 Laws of Powers produktside
    Bokomslag for The 48 Laws of Power
    Robert Greene
    pocket
  • Gå til Sosial kompetanse og problematferd blant barn og unges produktside
    Bokomslag for Sosial kompetanse og problematferd blant barn og unge
    Terje Ogden
    heftet
  • Gå til Maries rums produktside
    Bokomslag for Maries rum
    Marie Olsson Nylander
    kartonert
  • Gå til Jeg har venta sånn på degs produktside
    Bokomslag for Jeg har venta sånn på deg
    Trygve Skaug
    innbundet
    364,-
  • Gå til Fast Like a Girls produktside
    Bokomslag for Fast Like a Girl
    Mindy Pelz
    innbundet
  • Gå til Voksen : sånn funker dets produktside
    Bokomslag for Voksen : sånn funker det
    Stefan Ekberg
    pocket
  • Gå til Leave Me Behinds produktside
    Bokomslag for Leave Me Behind
    K M Moronova
    pocket
  • Gå til Mom, I Want to Hear Your Storys produktside
    Bokomslag for Mom, I Want to Hear Your Story
    Jeffrey Mason
    pocket
  • Gå til Den fantastiske bus (dansk)s produktside
    Bokomslag for Den fantastiske bus (dansk)
    Jakob Martin Strid
    innbundet
  • Gå til Shadows so Cruels produktside
    Bokomslag for Shadows so Cruel
    LIV Zander
    pocket

Du vil kanskje like

  • Gå til Leave Me Behinds produktside
    Bokomslag for Leave Me Behind
    K M Moronova
    pocket
  • Gå til Little Strangers produktside
    Bokomslag for Little Stranger
    Leigh Rivers
    pocket
  • Gå til Meditationss produktside
    Bokomslag for Meditations
    Marcus Aurelius
    pocket
  • Gå til The Bond That Burnss produktside
    Bokomslag for The Bond That Burns
    Briar Boleyn
    pocket
  • Gå til The Man Who Knew Infinity: A Life of the Genius Ramanujans produktside
    Bokomslag for The Man Who Knew Infinity: A Life of the Genius Ramanujan
    Robert Kanigel
    heftet
  • Gå til Insatiable (The Edge of Darknesss produktside
    Bokomslag for Insatiable (The Edge of Darkness
    Leigh Rivers
    pocket
  • Gå til Chasing The Wilds produktside
    Bokomslag for Chasing The Wild
    Elliott Rose
    pocket
  • Gå til How Not to Be Wrong: The Power of Mathematical Thinkings produktside
    Bokomslag for How Not to Be Wrong: The Power of Mathematical Thinking
    Jordan Ellenberg
    heftet
  • Gå til Small Victoriess produktside
    Bokomslag for Small Victories
    Johanna Basford
    heftet
  • Gå til The Courage To Be Dislikeds produktside
    Bokomslag for The Courage To Be Disliked
    Ichiro Kishimi, Fumitake Koga
    heftet
  • Gå til Fast Like a Girls produktside
    Bokomslag for Fast Like a Girl
    Mindy Pelz
    innbundet
  • Gå til Cozy Christmass produktside
    Bokomslag for Cozy Christmas
    Coco Wyo
    pocket

Anbefalt for deg

  • Gå til Kafka - The Definitive Guides produktside
    Bokomslag for Kafka - The Definitive Guide
    Gwen Shapira, Todd Palino, Rajini Sivaram
    heftet
  • Gå til Active Directory Administration Cookbooks produktside
    Bokomslag for Active Directory Administration Cookbook
    Sander Berkouwer
    heftet
  • Gå til The Self-taught Programmers produktside
    Bokomslag for The Self-taught Programmer
    Cory Althoff
    pocket
  • Gå til Domain-Driven Designs produktside
    Bokomslag for Domain-Driven Design
    Eric Evans
    innbundet
  • Gå til C++ and Python Programming 2 Bundle Manuscript Introductory Beginners Guide to Learn C++ Programming and Python Programmings produktside
    Bokomslag for C++ and Python Programming 2 Bundle Manuscript Introductory Beginners Guide to Learn C++ Programming and Python Programming
    Isaac D. Cody
    heftet
  • Gå til Digital etikks produktside
    Bokomslag for Digital etikk
    Håkon Bergsjø, Leonora Onarheim Bergsjø
    heftet
  • Gå til CCNA 200-301 Official Cert Guide Librarys produktside
    Bokomslag for CCNA 200-301 Official Cert Guide Library
    Wendell Odom, David Hucaby, Jason Gooley
    øvrig
  • Gå til Elder Scrolls V: Skyrim - The Official Advent Calendars produktside
    Bokomslag for Elder Scrolls V: Skyrim - The Official Advent Calendar
    øvrig
  • Gå til Black Hat Python, 2nd Editions produktside
    Bokomslag for Black Hat Python, 2nd Edition
    Justin Seitz, Tim Arnold
    heftet
  • Gå til Pro Gits produktside
    Bokomslag for Pro Git
    Scott Chacon, Ben Straub
    heftet
  • Gå til The Linux Command Line, 2nd Editions produktside
    Bokomslag for The Linux Command Line, 2nd Edition
    William E. Jr. Shotts
    heftet
  • Gå til Networking All in One For Dummiess produktside
    Bokomslag for Networking All in One For Dummies
    Doug Lowe
    heftet

Mer om Adlibris

Om Adlibris

Vi er Nordens største nettbokhandel, og tilbyr over 13 millioner boktitler og det meste av det beste innen spill, leker, hobby og garn. Vår misjon er å være en moderne bokhandel for alle bokelskere: et innbydende sted for lesing, læring og skaping. Det er hva som driver oss, hver dag. Adlibris er en del av Bonnier Group.

  • Alltid gode priser

  • Fri frakt over 299,-

  • Nordens største bokhandel

Meld deg på nyhetsbrev

Motta våre beste boktips, nyheter og gode tilbud. Registrer deg nå, og få 15% rabatt på det første kjøpet ditt. Tilbudet gjelder kun nye abonnenter og privatkunder. Rabatten gjelder ikke norske bøker utgitt 2024, fag- og studielitteratur, digitale bøker og gavekort.