Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jnidzwetzki/pic

This project contains some assemby code for 8-bit PIC microcontroller (e.g., a driver for seven-segment leds or a driver for a ultrasonic sensor).
https://github.com/jnidzwetzki/pic

Last synced: 1 day ago
JSON representation

This project contains some assemby code for 8-bit PIC microcontroller (e.g., a driver for seven-segment leds or a driver for a ultrasonic sensor).

Awesome Lists containing this project

README

        

# The PIC repository
Some code for pic micro controller. Most of the code is for the PIC16F628A controller.

## Ultrasonic sensor with seven segment led output ##
* Sourcefile: *sonic_sevensegment.asm*
* Description: This project uses the HCSR04 ultrasonic sensor to measure the distance of an object. The PIC
triggeres the ultrasonic sensor several times per seconds and convert the result into centimeter. The result is displayed
onto the seven-segment display. The shift registers are used to address the seven-segment displays.
* Hardware: 1x PIC16F628A, 3x TPIC 595N (shift register with open-drain), 3x seven-segment displays, 1x HCSR04 ultrasonic sensor
* Image: ![ultra sonic](/pics/ultrasonic_seven.jpg)