Suchergebnisse für "programming or the or finite or state or machine"
-
Elektor Digital Learning Python with Raspberry Pi (E-book)
This book is about teaching the Python programming language using the Raspberry Pi 4 computer. The book makes an introduction to Raspberry Pi 4 and then teaches Python with the topics: variables, strings, arrays, matrices, tuples, lists, dictionaries, user functions, flow of control, printing, keyboard input, graphics, GUI, object oriented programming and many more topics. The book is aimed for beginners, students, practising engineers, hobbyists, and for anyone else who may want to learn to program in Python. The book includes many example programs and case studies. All the example programs and case studies have been tested fully by the author and are all working. The example programs aim to teach the various programming concepts of Python. The case studies cover the use of Python in the analysis and design of electronic circuits. Some of the case study topics are: Resistor colour code identification Resistive potential divider circuits Resistive attenuator design Zener diode voltage regulator design RC and RLC transient circuits Circuit frequency response Saving data on external memory stick Mesh and node circuit analysis using matrices Resonance in RLC circuits Transistor Biasing analysis Transistor amplifier design Design of active filters Interfacing hardware with GPIO, I²C and SPI Using Wi-Fi with Python and TCP/IP and UDP programs Using Bluetooth from Python Full program listings of all the programs used in the book are available at the Elektor website of the book. Readers should be able just to copy and use these programs in their Raspberry Pi projects without any modifications.
€ 32,95
Mitglieder: € 29,66
-
Elektor Publishing Hands-on Microcontroller Course for Advanced Arduino Users
32 new Projects, Practical Examples and Exercises with the Elektor Arduino Nano MCCAB Training Board Electronics and microcontroller technology offer the opportunity to be creative. This practical microcontroller course provides you with the chance to bring your own Arduino projects and experience such moments of success. Ideally, everything works as you imagined when you switch it on for the first time. In practice, however, things rarely work as expected. At that point, you need knowledge to efficiently search for and find the reason for the malfunction. In this book for advanced users, we delve deep into the world of microcontrollers and the Arduino IDE to learn new procedures and details, enabling you to successfully tackle and solve even more challenging situations. With this book, the author gives the reader the necessary tools to create projects independently and also to be able to find errors quickly. Instead of just offering ready-made solutions, he explains the background, the hardware used, and any tools required. He sets tasks in which the reader contributes their own creativity and writes the Arduino sketch themselves. If you don’t have a good idea and get stuck, there is, of course, a suggested solution for every project and every task, along with the corresponding software, which is commented on and explained in detail in the book. This practical course will teach you more about the inner workings of the Arduino Nano and its microcontroller. You will get to know hardware modules that you can use to realize new and interesting projects. You will familiarize yourself with software methods such as ‘state machines,’ which can often be used to solve problems more easily and clearly. The numerous practical projects and exercise sketches are once again realized on the Arduino Nano MCCAB Training Board, which you may already be familiar with from the course book ‘Microcontrollers Hands-on Course for Arduino Starters’, and which contains all the hardware peripherals and operating elements we need for the input/output operations of our sketches. Readers who do not yet own the Arduino Nano MCCAB Training Board can purchase the required hardware separately, or alternatively, build it on a breadboard.
€ 49,95€ 39,95Bestpreis
-
Elektor Digital Programmeerbare Logica (E-book)
Het boek Programmeerbare Logica neemt je mee op een ontdekkingstocht door de wereld van de digitale elektronica. Na het leggen van een grondige basis is er uitgebreid aandacht voor het maken van logische circuits. Auteur Vincent Himpe toont o.a. hoe je met bestaande bouwstenen logische elektronica systemen maakt. Hij laat verder zien hoe je om gaat met de interfacing met de buitenwereld. Hierbij komen stroomvoorziening, bord layout en beveiliging uitvoerig aan bod. Moderne logische systemen zijn zo complex dat het ontwerpen met kleine bouwstenen zoals losse poortjes, flipflops en tellers een haast onbegonnen zaak geworden is. Daarom gaat Himpe in de tweede helft van het boek in op de programmeerbare logica zoals CPLD en FPGA. Hij belicht een ontwerpmethode waarmee je snel de brug slaat tussen het klassieke ontwerp en het ontwerp in FPGA. Naast schematisch ontwerp komt ook het ontwerpen met synthesetalen zoals Verilog en VHDL aan de orde. Ter afsluiting wordt een project (een klok met alarmfunctie) geïmplementeerd in Verilog en VHDL. Ook het fysieke ontwerp met deze logische componenten komt aan bod. Hoe programmeer je deze en wat zijn de randvoorwaarden zoals stroomvoorziening en signaalconditionering. De inhoud van het boek is 'state of the art'. En alles wat besproken wordt is direct implementeerbaar met de gratis ontwikkelomgeving Quartus van Altera. Over de auteur Vincent Himpe (B) leeft sinds 2005 in San Jose – hartje Silicon Valley – en werkt aan de ontwikkeling van nieuwe harddisktechnologie en de chips.Himpe heeft meerdere patenten en over de jaren verschillende artikelen gepubliceerd in onder andere IMeko / TSCC, The Journal of Computer Standards AND Interfaces, Elektor en EDN. Hij is ook auteur van de bestseller 'Visual Basic for electronic engineering applications' uitgegeven door Elektor.
€ 39,95
Mitglieder: € 35,96
-
Elektor Digital Explore ATtiny Microcontrollers using C and Assembly Language (E-book)
AVR Architecture and Programming An in-depth look at the 8-bit AVR architecture found in ATtiny and ATmega microcontrollers, mainly from a software and programming point of view. Explore the AVR architecture using C and assembly language in Microchip Studio (formerly Atmel Studio) with ATtiny microcontrollers. Learn the details of how AVR microcontrollers work internally, including the internal registers and memory map of ATtiny devices. Program ATtiny microcontrollers using an Atmel-ICE programmer/debugger, or use a cheap hobby programmer, or even an Arduino Uno as a programmer. Most code examples can be run using the Microchip Studio AVR simulator. Learn to write programs for ATtiny microcontrollers in assembly language. See how assembly language is converted to machine code instructions by the assembler program. Find out how programs written in the C programming language end up as assembly language and finally as machine code instructions. Use the Microchip Studio debugger in combination with a hardware USB programmer/debugger to test assembly and C language programs, or use the Microchip Studio AVR simulator. DIP packaged ATtiny microcontrollers are used in this volume for easy use on electronic breadboards, targeting mainly the ATtiny13(A) and ATtiny25/45/85. Learn about instruction timing and clocks in AVR microcontrollers using ATtiny devices. Be on your way to becoming an AVR expert with advanced debugging and programming skills.
€ 34,95
Mitglieder: € 31,46
-
Elektor Digital AVR – Hardware en C-Programmering in de praktijk (E-book)
De schrijver laat niet alleen beginners maar ook gevorderden op professionele wijze en met verstand van zaken kennismaken met dit uiterst interessant onderwerp. Ook hobbyisten of professionals die hun kennis willen verdiepen of uitbreiden, krijgen daartoe in dit boek volop mogelijkheid. De moderne state-of-the-art AVR-processoren van Atmel vormen in combinatie met programmering in C een platform dat gedurende lange tijd actueel zal blijven. Na een inleiding en een kennismaking met de vereiste ontwikkelomgeving komen projecten aan bod die stap voor stap naar het gewenste doel leiden. Voor de meeste projecten wordt het Mini-Megaboard gebruikt – een experimenteerprint die oorspronkelijk in het maandblad Elektor is beschreven. Dit garandeert dat de beschreven projecten probleemloos kunnen worden nagebouwd. Maar natuurlijk kunnen ook eigen experimenteerprinten worden gebruikt – een van de doelstellingen van dit boek is immers dat de lezer uiteindelijk zelfstandig eigen schakelingen kan ontwerpen en bouwen. Een greep uit de inhoud: De juiste microcontroller De ontwikkelomgeving De eerste experimenten met de ?C Het Mini-Mega-board Beginselen van I/O Vloeibaar-kristal-displays Seriële data-overdracht Analoge in- en uitvoer Programmasturing met interrupts Timers en counters Geheugenoperaties De seriële I²C-bus en SPI Voorbeeldprojecten
€ 29,95
Mitglieder: € 26,96
-
Elektor Digital Elektor November/December 2020 (PDF) EN
New LCR Meter 50 Hz - 2 MHz Part 1automatic impedance measuring bridge measures the resistance, capacitance and inductance of components with an impedance of 10 mΩ to 100 MΩ From Ding-Dong Door Chime to IoT DoorbellIntegrate your doorbell in Home Assistant with ESPHome Battery ManagementWhat to Be Aware of When Using (Lithium) Batteries Starting Out in ElectronicsEasier Than Imagined! Small Circuits RevivalFrom the Elektor Suggestions Box Breadboard Graphics with Fritzing Analogue Filter Design (Part 2)Active Filters Homelab Tours: The Lap CounterA Project for Mini Petrol-Heads Developer’s ZoneTips & Tricks, Best Practices and Other Useful Information Review: Rigol DS1054Z Four-Channel Oscilloscope Christmas CandleBlow It Out! Tunable Valve Sinewave Generator Retro is back! Review: The Rigol DG2072 Generator KiCad Plugins and Add-ons Differential Oscilloscope Current Probe 2.0Measure Currents Using Your Oscilloscope The Hewlett-Packard Interface LoopConnect the world! The Future of Machine LearningAn Interview with Daniel Situnayake Smartphone Apps for Android and iOSProgramming Apps Within a Single Development Environment From Life's ExperienceThe Value of a Technical Education 5G: How Infrastructure Shapes Our Society Practical ESP32 Multitasking (5)Task event notification HP 10811 OscillatorPeculiar Parts, the series LoRa GPS TrackerWith Open Hardware and Software Programming the Finite State Machinewith 8-bit PICs in Assembly and C
€ 7,50
-
Elektor Digital Arduino & Co – Messen, Schalten und Tüfteln (PDF)
Pfiffige Lösungen mit Arduino Pro Mini und ATmega328-Boards Mit einem einfachen Arduino Pro Mini Board und ein paar weiteren Bauteilen lassen sich heute für wenig Geld Projekte realisieren, die vor 20 oder 30 Jahren noch undenkbar waren oder ein kleines Vermögen gekostet hätten. Von einfachen LED-Effekten bis zur Ladestation – die den Akku auf Herz und Nieren prüft – ist in diesem Buch vieles dabei. Als Mikrocontroller dient bei allen beschriebenen Projekten der ATmega328, der mit seinen 20 Ein- und Ausgangsleitungen unzählige Möglichkeiten zum Messen, Schalten und Steuern bietet. Mit einem 7-Segment-Display und ein paar Widerständen lässt sich daraus z. B. ein Voltmeter bauen oder mittels NTC ein Thermometer. Die Arduino-Plattform bietet dabei die perfekte Entwicklungsumgebung zum Programmieren der Boards. Neben den ganz konkreten Projekten soll das Buch aber auch das nötige Wissen vermitteln, um eigene Ideen zu realisieren. Wie misst man was? Welches ist der geeignete Transistor, um verschiedene Verbraucher zu schalten? Wann ist man mit einem IC besser bedient, oder wie schaltet man Netzspannung? Auch batteriebetriebene Projekte mit LilyPad sind ausführlich thematisiert. Ebenso vielerlei Motoren, vom einfachen Gleichstrommotor bis zum Schrittmotor. Sensoren sind ein weiteres spannendes Thema. Nur zwei Beispiele: Mit einem winzigen Bauteil lässt sich tatsächlich messen, dass der Luftdruck am Fußboden höher ist als auf Tischhöhe. Mit einem simplen Infrarot-Empfänger kann man ausgedienten Fernbedienungen ein zweites Leben schenken und die Wohnung damit steuern.
€ 32,80
Mitglieder: € 29,52
-
Elektor Digital AVR-Programmierung für Quereinsteiger (E-book)
Atmel AVR ist eine 8-bit-Mikrocontroller-Familie des Herstellers Atmel. Diese Controller sind wegen ihres einfachen Aufbaus, ihrer leichten Programmierbarkeit, den kostenlosen Entwicklungswerkzeugen und der Verfügbarkeit in DIP-Gehäuseformen auch bei Elektronikern und Makern äußerst beliebt. Darüber hinaus sind diese Controller bereits ab zwei Euro erhältlich. Im Arduino Uno-Board wird der ATmega328 verwendet. AVR-Programmierung für Quereinsteiger besteht aus zwei Teilen. Im ersten Teil wird in einfachen Worten erklärt, wie eine MCU (= Micro Controller Unit) im Detail arbeitet. Dem folgt eine Einführung in die Programmiersprache C. Anschließend taucht der Leser im zweiten Teil des Buches in die Welt der Register und ihre Bits ein. Dort findet man auch ein umfangreiches Glossar aller Register- und Bit-Namen. Das Buch dient somit auch als Nachschlagewerk, wenn man sich durch das Datenblatt oder andere Texte arbeiten muss. Das Buch wendet sich an alle, die bisher mit dem Arduino programmiert haben und nun nach technischen Möglichkeiten und Wegen suchen, ihre Elektronik- und Programmierkenntnisse zu erweitern. Dazu eignet sich die AVR-Programmierung im besonderen Maße.
€ 32,80
Mitglieder: € 29,52
-
Elektor Digital Raspberry Pi programmeren met C (E-book)
Dit boek gaat over de Raspberry Pi, en over het programmeren in C. De programmeertaal C en het besturingssysteem Linux (Raspbian) passen uitstekend bij elkaar. Alles wat we nodig hebben om in C te programmeren wordt meegeleverd met het besturingssysteem van de Raspberry Pi. In dit boek leert u hoe C gebruikt wordt met de Raspberry Pi, en krijgt u een overzicht van de taal. WiringPi is een softwarebibliotheek voor de Raspberry Pi waarmee C hardware-uitbreidingen kan benaderen. Die bibliotheek wordt gebruikt om sensoren uit te lezen en om extra hardware aan te sturen. U gaat experimenteren met LED’s en schakelaars, met motoren, met geluid en met sensoren voor temperatuur, luchtdruk, en luchtvochtigheid. Met een Linux-systeem kunt u een webserver maken, inclusief interactieve websites met PHP en WiringPi. Daarom is ook een beknopt overzicht van HTML en PHP in het boek opgenomen. In de voorbeelden worden sensoren via het web uitgelezen en worden apparaten bestuurd. In het laatste voorbeeld wordt een temperatuurlogger gemaakt. Die meet elk kwartier de temperatuur. Een tabel met de meetwaarden kan via het web worden uitgelezen. Alle voorbeeldprogramma’s kunnen worden gedownload van de website van Elektor.
€ 29,95
Mitglieder: € 26,96
-
Elektor Digital Advanced Control Robotics (E-book)
If you enjoy DIY electronics, projects, software and robots, you’ll find this book intellectually stimulating and immediately useful. With the right parts and a little guidance, you can build robot systems that suit your needs more than overpriced commercial systems can. 20 years ago, robots based on simple 8-bit processors and touch sensors were the norm. Now, it’s possible to build multi-core robots that can react to their surroundings with intelligence. Today’s robots combine sensor readings from accelerometers, gyroscopes and computer vision sensors to learn about their environments. They can respond using sophisticated control algorithms and they can process data both locally and in the cloud. This book, which covers the theory and best practices associated with advanced robot technologies, was written to help roboticists, whether amateur hobbyist or professional, take their designs to the next level. As will be seen, building advanced applications does not require extremely costly robot technology. All that is needed is simply the knowledge of which technologies are out there and how best to use each of them. Each chapter in this book will introduce one of these different technologies and discuss how best to use it in a robotics application. On the hardware side, we’ll cover microcontrollers, servos, and sensors, hopefully inspiring you to design your own awe-inspiring, next-generation systems. On the software side, we’ll cover programming languages, debugging, algorithms, and state machines. We’ll focus on the Arduino, the Parallax Propeller, Revolution Education PICAXE and projects I’ve with which I’ve been involved, including the TBot educational robot, the PropScope oscilloscope, the 12Blocks visual programming language, and the ViewPort development environment. In addition, we’ll serve up a comprehensive introduction to a variety of essential topics, including output (e.g. LEDs, servo motors), and communication technologies (e.g. infrared, audio), that you can use to develop systems that interact to stimuli and communicate with humans and other robots. To make these topics as accessible as possible, handy schematics, sample code and practical tips regarding building and debugging have been included. Hanno Sander Christchurch, New Zealand
€ 24,95
Mitglieder: € 22,46
-
Elektor Digital MicroPython for Microcontrollers (E-book)
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32 The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well. Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython. This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure. The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
€ 32,95
Mitglieder: € 29,66
-
Elektor Digital Programmiertechniken für AVR-Mikrocontroller (E-book)
Dieses Buch behandelt Softwaretechniken, die es gestatten, auch anspruchsvollere Programme für AVR-Mikrocontroller zu entwickeln. Speziell wird im ersten Teil, welcher den Datenstrukturen gewidmet ist, besonders auf die Harvard-Architektur der Controller und die daraus resultierenden Programmiertechniken eingegangen. Die kleinen Arbeitsspeicher der meisten AVR-Controller erfordern immer wieder angepasste Implementierungsmethoden, davon werden einige im Buch vorgestellt, beispielsweise die verdichtete Speicherung und das Sortieren kurzer Zahlenfolgen mit Sortiernetzwerken. Die Implementierung der Buddy-Methode zur Arbeitsspeicherverwaltung zeigt, dass bei der Programmierung von AVR-Controllern nicht nur simple Algorithmen verwendet werden können.Im zweiten Teil des Buches wird die Arithmetik der Controller analysiert. Diese Analyse ist aber kein Selbstzweck, denn sie führt auf Programmiertechniken, die ohne sie nur schwer zu erlangen oder zu erklären wären. Ferner wird eine Fixkommaarithmetik entwickelt, die der Rechenleistung der Controller in vielen Fällen besser angepasst ist als eine rechenleistungsintensive Fließkommaarithmetik. An zwei Beispielen wird gezeigt, wie auf dieser Basis auch höhere Funktionen implementiert werden können.Für die Programme wird durchweg der AVR-Assembler eingesetzt, der kostenlos zur Verfügung steht. Der Simulator, welcher Teil der Programmierumgebung ist, der auch der Assembler angehört, gestattet es, die Programme des Buches nachzuvollziehen oder mit ihnen zu experimentieren, ohne einen echten Controller einzusetzen.
€ 39,80
Mitglieder: € 35,82