- All
- ADC / DAC
- Audio
- Development Tools
- Environmental
- Gaming
- Human Input
- IoT
- LCD
- LED
- Memory
- Motor Control
- Protocols
- Raspberry Pi
- Robotics
- RTC
- Sensors
- Smart Pins
- Utility
- VGA / HDMI
- Visual
- Wireless
1-Wire Driver with DS18B20 Temperature Sensor Demo
January 18, 2023
Environmental Protocols Sensors
Connecting 1-wire devices to the Propeller P2 is very simple, and in most cases they do not require any additional components, such as pull-up or ...
32-Channel ADC Object
January 19, 2021
ADC / DAC Environmental Protocols Smart Pins
Description The jm_analog_in_multi.spin2 object supports up to 32 ADC channels that can measure from 0 to 3.3v. The object is easily configured with a base ...
320×240 LCD Driver for ILI9341 Controller and XPT2046 Touch Screen
March 3, 2021
Gaming Human Input LCD Protocols Smart Pins Utility Visual
Description The driver from forum members Cluso99, Greg LaPolla, and Mike Roberts make it very easy to draw lines, blocks, circles, graphs, and text of ...
Arlo Conversion to P2 with the Universal Motor Controller
January 24, 2022
Motor Control Robotics
Description These instructions demonstrate the upgrade of an Arlo robot from Propeller 1 to Propeller 2 control with the new Parallax Universal Motor Controller Add-on ...
Breakout Board Options for P2 Edge Modules
March 15, 2023
Development Tools
There are two Breakout Board options for P2 Edge modules; this quick comparison explains the differences with a video and handy table.
Brushless DC Motor Control Demo
August 25, 2022
Motor Control Raspberry Pi Robotics
This P2 Quick Byte demonstrates the use of the 24V 4000 RPM BLDC Motor (featured in the September 2022 “Propeller 2 Mystery Box”) but it ...
Colorful Terminal Output with ANSI Escape Sequences
Description Okay, the title is a mouthful, but the result of using an ANSI-compatible terminal and sending ANSI Escape Sequences gives our projects multi-color output ...
Configuring Visual Studio Code for Programming the P2 on Mac, Windows, and Linux
March 14, 2021
Development Tools Visual
Description This Quick Byte details the setup to configure Visual Studio Code (VSC) to program the Propeller 2 (the P2, or P2X8C4M64P) on Windows. The process ...
DHT11, DHT22, CM2302 Humidity and Temperature Sensor Object
January 22, 2021
ADC / DAC Environmental Protocols Sensors
Description The jm_dhtxx.spin2 object wakes and reads data from the DHT11, DHT22 and CM2302 Humidity and Temperature Sensors. In the top file, configure the S_TYPE ...
Digital Sample ADC to DAC + Analog Frequency to DAC
November 1, 2022
ADC / DAC Audio Human Input Smart Pins
Introduction The Propeller 2 Multicore Microcontroller is able to generate high-quality sound and video while simultaneously interfacing with human input devices and sensors, which makes ...
DS3231 Real Time Clock I2C Demo
January 23, 2021
Environmental Protocols RTC
Description The DS3231 is a low-cost, precision I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal. The Parallax DS3231 AT24C32 Real ...
DVI/VGA Text Driver Demo
February 15, 2021
Memory Smart Pins VGA / HDMI Visual
Description Forum member rogloh created this easy-to-use text driver API layer that simplifies the setup in his VGA/DVI/TV driver for a single 16-color text screen ...
E-Ink Display Demo
Description E-Ink (Electronic Ink) displays are commonly used in low powered applications and mimic the appearance of print on paper. They are widely used for ...
Five Buttons On One Pin
February 21, 2021
ADC / DAC Gaming Human Input Protocols Sensors Smart Pins
Description This program demonstrates how to series-connect five pushbuttons over one I/O pin, so that they can all be read in parallel by taking an ...
Floating Point Math: DEBUG and Terminal Display Example
January 16, 2022
Development Tools Utility
Description Run-time floating-point operators have recently been added to Spin2’s language interpreter. These operators utilize the 32-bit IEEE-754 floating-point format. Parallax’s Propeller Tool (ver 2.6.2 ...
Goertzel Operation with Ultrasonic Transducers
February 20, 2021
ADC / DAC Audio Sensors Smart Pins
Description The P2 Goertzel circuit measures up to four ADC input signals for magnitude and phase correlation of four internal reference signals, which can also ...
I2C Device Bus Scanner Utility
January 11, 2021
Development Tools LED Utility
Description This Spin2 utility program for the Propeller 2 scans all I2C devices connected to a pair of I/O pins and shows their addresses in ...
LED Matrix used as an I/O Test Utility
January 15, 2021
Development Tools LED Utility Visual
Description This Spin2 example uses a technique known as Charlieplexing to verify that the pins on the P2 and its associated circuit traces on the ...
LEDs – Beyond the Basics
Description Most of us begin our experiments with microcontrollers by blinking an LED; this is the microcontroller version of the “Hello, World!” program that is ...
MAX7219 LED Display SPI Demo
Description This Quick Byte consists of three Serial Peripheral Interface (SPI) examples using the MAX7219 LED Display Driver and the 8-Digit 7-Segment Digital LED Display ...
Multiple Serial Port (8 UART – 16 Tx/Rx) Object
January 28, 2021
Protocols Smart Pins Utility
Description The Propeller 2 can manage multiple UARTs simultaneously and be an aggreator of many serial inputs. This driver is useful for interfacing with multiple ...
Multiple Servo Control (up to 64) Object
January 26, 2021
Motor Control Robotics Smart Pins Utility
Description The jm_servo_multi.spin2 simple servo driver that uses P2 smart pins to create the servo signal on up to 32 outputs. A second instance of ...
NMEA GPS String Parsing
This Quick Byte shows how to use a GPS module in your projects, introducing a SPIN2 code driver handling the NMEA GPS string parsing for ...
P2 Edge 16 MB Flash Reader and Explorer Utility
January 31, 2021
Development Tools Memory Protocols Smart Pins Utility
Description The P2 Edge (#P2-EC) has a 16MB Flash memory (Winbond part W25Q128JV) with a Serial Peripheral Interface (SPI) to the Propeller 2. The first ...
P2 RTC Add-on Board Demo
This Quick Byte shows how to use the Parallax P2 RTC (Real Time Clock and Calendar) module in your projects. The example code includes SPIN2 ...
P2 RTC Add-on with GPS Module
This Quick Byte shows how to use a GPS module to accurately set the date & time in your RTC (Real Time Clock) module.
PCF8574 I2C LCD Demo
Description The PCF8574 I2C LCD uses just two lines to interface: SDA (serial data) and SCL (serial clock), plus 5VDC and Vss. This LCD, which ...
Ping))) Ultrasonic Distance Sensor with Graphical Debug Demo
March 21, 2021
Environmental Human Input Robotics Sensors
Description The Ping))) object provides the distance from the sensor connected to an I/O pin through a 3.3k to 4.7k resistor. The object returns the ...
Quadrature Encoder Object
January 15, 2021
ADC / DAC Human Input Motor Control Protocols Robotics Sensors Smart Pins
Description These three source code examples interface a quadrature encoder clock, data and button signals to the Propeller 2. The first two versions are useful ...
Send Email from the Propeller 2 Using the IoT Gateway on Raspberry Pi
February 24, 2022
IoT Raspberry Pi Wireless
Note: This Quick Byte is an application of the IoT Gateway’s email feature using a CM2302 Temperature and Humidity Sensor. A Propeller 2 Live Forum ...