Search results for "visual-basic"
Elektor Digital Visual Basic for Electronics Engineering Applications (E-book)
The PC has long-time outgrown its function as a pure computer and has become an all-purpose machine. This book is targeted towards those people that want to control existing or self-built hardware from their computer. Using Visual Basic as Rapid Application Development tool we will take you on a journey to unlock the world beyond the connectors of the PC. After familiarising yourself with Visual Basic, its development environment and the toolset it offers, items such as serial communications, printer ports, bit-banging, protocol emulation, ISA, USB and Ethernet interfacing and the remote control of test-equipment over the GPIB bus, are covered in extent. Each topic is accompanied by clear, ready to run code, and where necessary, schematics are provided that will get your projects up to speed in no time. This book will show you advanced things like: using tools like Debug to find hardware addresses, setting up remote communication using TCP/IP and UDP sockets and even writing your own internet servers. Or how about connecting your own block of hardware over USB or Ethernet and controlling it from Visual Basic. Other things like internet-program communication, DDE and the new graphics interface of Windows XP are covered as well. All examples are ready to compile using Visual Basic 5.0, 6.0, NET or 2005. Extensive coverage is given on the differences between what could be called Visual Basic Classic and Visual basic .NET / 2005.
€ 24,00
Members € 19,20
Elektor Digital Red Pitaya for Test and Measurement (E-book)
The Red Pitaya (STEMlab) is a credit card-sized, open-source test and measurement board that can be used to replace most measurement instruments used in electronics laboratories. With a single click, the board can transform into a web-based oscilloscope, spectrum analyser, signal generator, LCR meter, Bode plotter, and microcontroller.The Red Pitaya (STEMlab) can replace the many pieces of expensive measurement equipment found at professional research organisations and teaching laboratories. The device, that based on Linux, includes an FPGA, digital signal processing (DSP), dual core ARM Cortex processor, signal acquisition and generation circuitry, micro USB socket, microSD card slot, RJ45 socket for Ethernet connection, and USB socket – all powered from an external mains adaptor.This book is an introduction to electronics. It aims to teach the principles and applications of basic electronics by carrying out real experiments using the Red Pitaya (STEMlab). The book includes many chapters on basic electronics and teaches the theory and use of electronic components including resistors, capacitors, inductors, diodes, transistors, and operational amplifiers in electronic circuits. Many fun and interesting Red Pitaya (STEMlab) experiments are included in the book. The book also makes an introduction to visual programming environment.The book is written for college level and first year university students studying electrical or electronic engineering.
€ 26,95
Members € 21,56
Programming Voice-controlled IoT Applications with Alexa and Raspberry Pi
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry PiThe book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
€ 34,95
Members € 31,46
Elektor Digital Programming Voice-controlled IoT Applications with Alexa and Raspberry Pi (E-book)
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry PiThe book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
€ 29,95
Members € 23,96
Machine Learning with Python for PC, Raspberry Pi, and Maixduino
Most people are increasingly confronted with the applications of Artificial Intelligence (AI). Music or video ratings, navigation systems, shopping advice, etc. are based on methods that can be attributed to this field.The term Artificial Intelligence was coined in 1956 at an international conference known as the Dartmouth Summer Research Project. One basic approach was to model the functioning of the human brain and to construct advanced computer systems based on this. Soon it should be clear how the human mind works. Transferring it to a machine was considered only a small step. This notion proved to be a bit too optimistic. Nevertheless, the progress of modern AI, or rather its subspecialty called Machine Learning (ML), can no longer be denied.In this book, several different systems will be used to get to know the methods of machine learning in more detail. In addition to the PC, both the Raspberry Pi and the Maixduino will demonstrate their capabilities in the individual projects. In addition to applications such as object and facial recognition, practical systems such as bottle detectors, person counters, or a “talking eye” will also be created.The latter is capable of acoustically describing objects or faces that are detected automatically. For example, if a vehicle is in the field of view of the connected camera, the information 'I see a car!' is output via electronically generated speech. Such devices are highly interesting examples of how, for example, blind or severely visually impaired people can also benefit from AI systems.
€ 34,95
Members € 31,46
Elektor Digital Machine Learning with Python for PC, Raspberry Pi, and Maixduino (E-book)
Most people are increasingly confronted with the applications of Artificial Intelligence (AI). Music or video ratings, navigation systems, shopping advice, etc. are based on methods that can be attributed to this field. The term Artificial Intelligence was coined in 1956 at an international conference known as the Dartmouth Summer Research Project. One basic approach was to model the functioning of the human brain and to construct advanced computer systems based on this. Soon it should be clear how the human mind works. Transferring it to a machine was considered only a small step. This notion proved to be a bit too optimistic. Nevertheless, the progress of modern AI, or rather its subspecialty called Machine Learning (ML), can no longer be denied. In this book, several different systems will be used to get to know the methods of machine learning in more detail. In addition to the PC, both the Raspberry Pi and the Maixduino will demonstrate their capabilities in the individual projects. In addition to applications such as object and facial recognition, practical systems such as bottle detectors, person counters, or a “talking eye” will also be created. The latter is capable of acoustically describing objects or faces that are detected automatically. For example, if a vehicle is in the field of view of the connected camera, the information 'I see a car!' is output via electronically generated speech. Such devices are highly interesting examples of how, for example, blind or severely visually impaired people can also benefit from AI systems.
€ 29,95
Members € 23,96
Elektor Publishing Develop and Operate Your LoRaWAN IoT Nodes
Ready-to-use devices and self-built Arduino nodes in the 'The Things Network' LoRaWAN has developed excellently as a communication solution in the IoT. The Things Network (TTN) has contributed to this. The Things Network was upgraded to The Things Stack Community Edition (TTS (CE)). The TTN V2 clusters were closed towards the end of 2021. This book shows you the necessary steps to operate LoRaWAN nodes using TTS (CE) and maybe extend the network of gateways with an own gateway. Meanwhile, there are even LoRaWAN gateways suitable for mobile use with which you can connect to the TTN server via your cell phone. The author presents several commercial LoRaWAN nodes and new, low-cost and battery-powered hardware for building autonomous LoRaWAN nodes. Registering LoRaWAN nodes and gateways in the TTS (CE), providing the collected data via MQTT and visualization via Node-RED, Cayenne, Thingspeak, and Datacake enable complex IoT projects and completely new applications at very low cost. This book will enable you to provide and visualize data collected with battery-powered sensors (LoRaWAN nodes) wirelessly on the Internet. You will learn the basics for smart city and IoT applications that enable, for example, the measurement of air quality, water levels, snow depths, the determination of free parking spaces (smart parking), and the intelligent control of street lighting (smart lighting), among others.
€ 32,95
Members € 29,66
Elektor Digital Develop and Operate Your LoRaWAN IoT Nodes (E-book)
Ready-to-use devices and self-built Arduino nodes in the 'The Things Network' LoRaWAN has developed excellently as a communication solution in the IoT. The Things Network (TTN) has contributed to this. The Things Network was upgraded to The Things Stack Community Edition (TTS (CE)). The TTN V2 clusters were closed towards the end of 2021. This book shows you the necessary steps to operate LoRaWAN nodes using TTS (CE) and maybe extend the network of gateways with an own gateway. Meanwhile, there are even LoRaWAN gateways suitable for mobile use with which you can connect to the TTN server via your cell phone. The author presents several commercial LoRaWAN nodes and new, low-cost and battery-powered hardware for building autonomous LoRaWAN nodes. Registering LoRaWAN nodes and gateways in the TTS (CE), providing the collected data via MQTT and visualization via Node-RED, Cayenne, Thingspeak, and Datacake enable complex IoT projects and completely new applications at very low cost. This book will enable you to provide and visualize data collected with battery-powered sensors (LoRaWAN nodes) wirelessly on the Internet. You will learn the basics for smart city and IoT applications that enable, for example, the measurement of air quality, water levels, snow depths, the determination of free parking spaces (smart parking), and the intelligent control of street lighting (smart lighting), among others.
€ 27,95
Members € 22,36
Pimoroni Fan SHIM - Active Cooling for Raspberry Pi 4
When Raspberry Pi 4's system on chip (SoC) achieves a certain temperature, it lowers its operating speed to protect itself from harm. As a result, you don't get maximum performance from the single board computer. Fan SHIM is an affordable accessory that effectively eliminates thermal throttling and boosts the performance of RPi 4. It's quite easy to attach the fan SHIM to Raspberry pi: fan SHIM uses a friction-fit header, so it just slips onto your Pi's pins and it's ready to go, no soldering required! The fan can be controlled in software, so you can adjust it to your needs, for example, toggle it on when the CPU reaches a certain temperature etc. You can also program the LED as a visual indicator of the fan status. The tactile switch can also be programmed, so you can use it to toggle the fan on or off, or to switch between temperature-triggered or manual mode. Features 30 mm 5 V DC fan 4,200 RPM 0.05 m³/min air flow 18.6 dB acoustic noise (whisper-quiet) Friction-fit header No soldering required RGB LED (APA102) Tactile switch Basic assembly required Compatible with Raspberry Pi 4 (and 3B+, 3A+) Python library and daemon Pinout Scope of delivery Fan SHIM PCB 30 mm 5 V DC fan with JST connector M2.5 nuts and bolts Assembly The assembly is really simple and almost takes no time With the component side of the PCB facing upwards, push the two M2.5 bolts through the holes from below, then screw on the first pair of nuts to secure them and act as spacers. Push the fan's mounting holes down onto the bolts, with the cable side of the fan downwards (as pictured) and the text on the fan upwards. Attach with another two nuts. Push the fan's JST connector into the socket on Fan SHIM. Software With the help of Python library you can control the fan (on/off), RGB LED, and switch. You'll also find a number of examples that demonstrate each feature, as well as a script to install a daemon (a computer program that runs as a background process) that runs the fan in automatic mode, triggering it on or off when the CPU reaches a threshold temperature, with a manual override via the tactile switch.
€ 13,95
Members € 12,56
Cytron Cytron Maker Pi RP2040 - Robotics with Raspberry Pi RP2040
Cytron Maker Pi RP2040 features the first microcontroller designed by Raspberry Pi – RP2040, embedded on a robot controller board. This board comes with dual channel DC motor driver, 4 servo motor ports and 7 Grove I/O connectors, ready for your next DIY robot / motion control project. Now you can build robot, while trying out the new RP2040 chip. The DC motor driver onboard is able to control 2x brushed DC motors or 1x bipolar/unipolar stepper motor rated from 3.6 V to 6 V, providing up to 1 A current per channel continuously. The built-in Quick Test buttons and motor output LEDs allow functional test of the motor driver in a quick and convenient way, without the need of writing any code. Vmotor for both DC and servo motors depends on the input voltage supplied to the board. Maker Pi RP2040 features all the goodness of Cytron's Maker series products. It too has lots of LEDs useful for troubleshooting (& visual effects), is able to make quite some noise with the onboard piezo buzzer and comes with push buttons ready to detect your touch. There are three ways to supply power to the Maker Pi RP2040 – via USB (5 V) socket, with a single cell LiPo/Li-Ion battery or through the VIN (3.6-6 V) terminals. However only one power source is needed to power up both controller board and motors at a time. Power supply from all these power sources can all be controlled with the power on/off switch onboard. Cytron Maker Pi RP2040 is basically the Raspberry Pi Pico + Maker series' goodness + Robot controller & other useful features. Therefore this board is compatible with the existing Pico ecosystem. Software, firmware, libraries and resources that are developed for Pico should work seamlessly with Cytron Maker Pi RP2040 too. CircuitPython is preloaded on the Maker Pi RP2040 and it runs a simple demo program right out-of-the-box. Connect it to your computer via USB micro cable and turn it on, you will be greeted by a melody tune and LEDs running light. Press GP20 and GP21 push buttons to toggle the LEDs on/off, while controlling any DC and servo motors connected to it to move and stop. With this demo code, you get to test the board the moment you receive it! While connected to your computer, a new CIRCUITPY drive appears. Explore and edit the demo code (code.py & lib folder) with any code editor you like, save any changes to the drive and you shall see it in action in no time. That's why we embrace CircuitPython – it's very easy to get started. Wish to use other programming lauguages? Sure, you are free to use MicroPython and C/C++ for Pico/RP2040. For those of you who loves the Arduino ecosystem, please take a look at this official news by Arduino and also the unofficial Pico Arduino Core by Earle F. Philhower. Features Powered by Rapberry Pi RP2040 Dual-core Arm Cortex-M0+ processor 264 KB internal RAM 2 MB of Flash memory the exact same specifications with Raspberry Pi Pico Robot controller board 4x Servo motors 2x DC motors with quick test buttons Versatile power circuit Automatic power selection: USB 5 V, LiPo (1-cell) or Vin (3.6-6 V) Built-in 1-cell LiPo/Li-Ion charger (over-charged & over-discharged protection) Power on/off switch 13x Status indicator LEDs for GPIO pins 1x Piezo buzzer with mute switch 2x Push button 2x RGB LED (Neopixel) 7x Grove ports (flexible I/O options: digital, analog, I²C, SPI, UART...) Preloaded with CircuitPython by default Mouting holes 4x 4.8 mm mounting hole (LEGO pin compatible) 6x M3 screw hole
€ 16,95
Members € 15,26
QuantAsylum QuantAsylum QA403 24-bit Audio Analyzer
The QA403 is QuantAsylum's fourth-generation audio analyzer. The QA403 extends the functionality of the QA402 with improved noise and distortion performance, in addition to a flatter response at band edges. The compact size of the QA403 means you can take it just about anywhere. Features 24-bit ADC/DAC Up to 192 kSPS Fully isolated from PC Differential Input/Output USB powered Built-in Attenuator Fast Bootup and Driverless The QA403 is a driverless USB device, meaning it’s ready as soon as you plug it in. The software is free and it is quick and easy to move the hardware from one machine to the next. So, if you need to head to the factory to troubleshoot a problem or take the QA403 home for a work-from-home day, you can do it without hassle. No-Cal Design The QA403 comes with a factory calibration in its flash memory, ensuring consistent unit-to-unit performance. On your manufacturing line you can install another QA403 and be confident what you read on one unit will be very similar to the next unit. It is not expected that re-calibration will be required at regular intervals. Measurements Making basic measurements is quick and easy. In a few clicks you will understand the frequency response, THD(+N), gain, SNR and more of your device-under test. Dynamic Range The QA403 offers 8 gain ranges on the input (0 to +42 dBV in 6 steps), and 4 gain ranges on the output (-12 to +18 dBV in 10 dB steps). This ensures consistent performance over very wide ranges of input and output levels. The maximum AC input to the QA403 is +32 dBV = 40 Vrms. The maximum DC is ±40 V, and the maximum ACPEAK + DC = ±56 V. Easy Programmability The QA403 supports a REST interface, making it easy to automate measurements in just about any language you might anticipate. From Python to C++ to Visual Basic—if you know how to load a web page in your favorite language, you can control the QA403 remotely. Measurements are fast and responsive, usually with dozens of commands being processed per second. Isolated and USB Powered The QA403 is isolated from the PC, meaning you are measuring your DUT and not chasing some phantom ground loop. The QA403 is USB powered, like nearly all our instruments. If you are setting up remotely, throw a powered hub in your bag and your entire test setup can be running with a minimum of cables. Goodbye Soundcard, Hello QA403 Tired of trying to make a soundcard work? The calibration nightmare? The lack of gain stages? The limited drive? Are you tired of dealing with the fixed input ranges? The worry that you might destroy it with too much DC or AC? Tired of the ground loops? That’s why QuantAsylum built the QA403. Specifications Dimensions 177 x 44 x 97 mm (W x H x D) Weight 435 g Case Material Powder-coating Aluminum (2 mm thick front panel, 1.6 mm thick top/bottom) Downloads Datasheet User Manual GitHub
Seeed Studio Sipeed Longan Nano - RISC-V GD32VF103CBT6 Development Board
Longan Nano development board, double-row pin layout design, needle spacing 700 mil, can be inserted directly into breadboard; on-board 8M passive crystal oscillator, 32.768 kHz RTC low-speed crystal oscillator, Mini TF slot, and use Type-C USB interface. Longan Nano supports multiple download methods: USB DFU download, UART ISP download, JTAG download. In the USB DFU download mode, you only need a USB Type-C cable to download the program to the development board. At the same time, Longan Nano supports the standard JTAG interface, which can be debugged online using the in-store RISC-V debugger or any JTAG-enabled debugger such as J-Link. Meanwhile, Sipeed has adapted the PlatformIO IDE for the Longan Nano development board, which can be visually developed on multiple platforms such as Windows/Linux: https://github.com/sipeed/platform-gd32v Features Chip built-in 128KB Flash, 32KB SRAM 4x general purpose 16-bit timer, 2x basic 16-bit timer, 1x advanced 16-bit timer Watchdog, RTC, Systick 3x USART, 2x I²C, 3x SPI, 2x I²S, 2x CAN, 1x USBFS (OTG) 2x ADC (10 channel), 2x DAC Technical Specifications CPU GD32VF103CBT6 based on RISC-V 32-bit core Kernel power consumption Only 1/3 of the traditional Cortex-M3 Chip built-in 128KB Flash, 32KB SRAM Peripheral – 4x general purpose 16-bit timer, 2x basic 16-bit timer, 1x advanced 16-bit timer– Watchdog, RTC, Systick– 3x USART, 2x I²C, 3x SPI, 2 x I²S, 2x CAN, 1 x USBFS (OTG),– 2x ADC (10 channel), 2x DAC Software IDE PlatformIO IDE, Support debugging, Arduino Compile Toolchain & Debugger GCC, OpenOCD Operating system RT-Thread、LiteOS Hardware Storage expansion Short body TF card slot Display expansion 8pin 0.5mm FPC Block Expansion 160x80 RGB IPS LCD (SPI Interface) Debug interface 2x4 pin leads to JTAG debug interface Connector Double row 2.54 pitch pin Crystal 8MHz Passive High Speed Crystal +32.768KHz Low Speed RTC Crystal