Code Monkey home page Code Monkey logo

charkster's Projects

mcp4728 icon mcp4728

Python driver for MCP4728 4 Channel DAC with I2C interface

mcp4812 icon mcp4812

Python driver for Microchip 2 channel DAC MCP4812 (SPI interface)

mux_board_v1 icon mux_board_v1

Custom PCB with Itsy Bitsy M0 controlling 4 ADG1606 16 input muxes

mux_board_v3 icon mux_board_v3

Custom PCB with SAMD21 QT PY controlling TWO ADG1606BRUZ 16 input muxes!

mux_board_v5 icon mux_board_v5

Custom PCB with SAMD21 QT PY controlling TWO ADG1606BRUZ 16 input muxes! This board is 30% smaller than V3 and uses a single 16x2 pin header.

programmable_delay icon programmable_delay

FPGA design to allow for programmable delay on a single signal. Implemented and tested on CMOD_A7

relay_usbtmc icon relay_usbtmc

Two relay channels are controlled with an Adafruit QT PY running USBTMC

rigol_ds1054z icon rigol_ds1054z

Python Class for controlling the Rigol DS1054z Oscilloscope

rpi4_gpio_atpg_stuck_at icon rpi4_gpio_atpg_stuck_at

Raspberry Pi 4 is used to drive ATPG stuck-at patterns to an IC. Python is used to drive the patterns and check for expected levels on the scan_out pins (4 chains in this example). A Perl script is used to parse the ATP pattern data into Python lists (I prefer to parse text files using Perl).

rpi_gadget_mode icon rpi_gadget_mode

Instructions for enabling USB (ethernet) gadget mode on RPi 4 and RPi Zero 2W.

samd21-debounce_time icon samd21-debounce_time

The rising and falling debounce duration between two pins is measured. Maximum debounce duration is 4 seconds rising or falling (no limit on how long both signals can be high for).

samd21-dma-gpio_high_time_and_period icon samd21-dma-gpio_high_time_and_period

This is a re-write of my samd21-gpio_high_and_low_durations project using DMA to move the CC0 and CC1 counter values instead of software. I wanted to see if DMA would improve performance (be able to sample faster/shorter pulses). The result is that DMA has about the same overhead as a tight software ISR loop. High pulses as short as 300ns can be sampled as long as the period is 1000ns or greater. This is about identical to the ISR performance.

samd21-i2c_slave icon samd21-i2c_slave

This implements an i2c slave with a register map of 256 bytes in sram. The slave supports multi-byte writes and reads. It uses the "Wire" library.

samd21-i2c_slave_16bit_address icon samd21-i2c_slave_16bit_address

This implements an i2c slave with a register map of 16k bytes in sram (SAMD21 has a total of 32kB ram). A 2 byte write is needed to load a 14bit address. The slave supports multi-byte writes and reads. It uses the "Wire" library.

samd21-pulse_generator icon samd21-pulse_generator

A software defined pattern is given by serial input and then driven on a gpio pin. Fastest pattern has 2us intervals, but any interval may be specified.

samd21-usbtmc icon samd21-usbtmc

SAMD21's ADC, DAC and GPIO are controllable with custom SCPI commands. World's smallest lab equipment.

samd21_serial_to_usbserial icon samd21_serial_to_usbserial

This is a small modification of the Arduino Built-in Example "Use Multiple Serial Ports on the Arduino Mega". The UF2 file was compiled for the Adafruit SAMD21 QT PY, but the INO file should apply to many other MCUs.

scarf icon scarf

SCARF - “Scarf Connects A Raspberry pi to Fpga”

spi_slave_verilog icon spi_slave_verilog

SPI bus slave and flip-flop register memory map implemented in Verilog 2001 for FPGAs

stm32f411-adc icon stm32f411-adc

Single channel ADC conversion using software trigger. Individual registers are written to, not using the arduino library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.