AESD-Course-Project / AESD-Course-Project.github.io

0 stars 0 forks source link

GPIO LED / I2C based Seven Segment Display to Jetson Nano (Linux Based). #23

Closed arpit6232 closed 3 years ago

arpit6232 commented 3 years ago

DoD: A functioning GPIO Led / i2c based Seven Segment Display , based entirely over GPIO.

Blockers: Hardware availability in time before Sprint to test functionality.

arpit6232 commented 3 years ago

Jetson Nano : Pinouts image

arpit6232 commented 3 years ago

To control the LED : (Yet to be tested).

We can control our LED from the command line. Here are some useful commands:
# Map GPIO Pin
# gpio79 is pin 12 on the Jetson Nano
$ echo 79 > /sys/class/gpio/export
# Set Direction
$ echo out > /sys/class/gpio/gpio79/direction
# Bit Bangin'!
$ echo 1 > /sys/class/gpio/gpio79/value
$ echo 0 > /sys/class/gpio/gpio79/value
# Unmap GPIO Pin
$ echo 79 > /sys/class/gpio/unexport
# Query Status
$ cat /sys/kernel/debug/gpio
arpit6232 commented 3 years ago

Blocker : Waiting on Hardware to obtain PNP Transistor, and/or SevenSegment Display.

CODE : f1c0fabea3b7892e524144ea040e6c3f239b1bea

arpit6232 commented 3 years ago

Documentation : https://github.com/AESD-Course-Project/AESD-Course-Project.github.io/blob/master/src/GPIO_setup.md Commit : https://github.com/cu-ecen-5013/final-project-arpit6232/commit/91f59a24f7dcb9178d38220738956c3f0afea24b DoD : i2c Display delivery delayed due to weather changes, GPIO tested to function correctly.

image

arpit6232 commented 3 years ago

Updated schedule for seven segment display : image

arpit6232 commented 3 years ago

DoD:

IMG_20210416_194358

IMG_20210416_194423

IMG_20210416_194412

IMG_20210416_194428