Giter Club home page Giter Club logo

raspi-motor's Introduction

raspi-motor

==============================================

##Connectivity Motor & Encoder & raspberry pi3

  • KIST board --- Raspberry pi3

  • J3 - 3 : SPI DI --- pin 21 (BCM 9) : SPI MISO

  • J3 - 4 : SPI DO --- pin 19 (BCM 10): SPI MOSI

  • J3 - 5 : SPI CLK --- pin 23 (BCM 11): SPI SCLK

  • J3 - 6 : SPI ENA1 --- pin 24 (BCM 8) : SPI CS0

  • J3 - 7 : SPI ENA2 --- pin 26 (BCM 7) : SPI CS1

  • J4 - 4 : DAC_CLK --- pin 23 (BCM 11): SPI SCLK

  • J4 - 5 : DAC_CS --- pin 38 (BCM 20): SPI CS2(by overy dtb)

  • J4 - 7 : DAC_DAT --- pin 19 (BCM 10): SPI MOSI

##How to enable spi bus on raspeberry pi3 & Execute program

(raspberrypi) $ sudo raspi-config

enter 5.interfacing option

enter 4.spi

enable

(raspberrypi) $ reboot

after reboot,

(raspberrypi) $ lsmod

check spi_dev

(raspberrypi) $ ls /dev/spi*

check spidev0.0 and spidev0.1

(raspberrypi) $ git clone https://github.com/WookCheolShin/raspi-motor.git

(raspberrypi) $ cd raspi-motor

(raspberrypi) $ make

(raspberrypi) $ sudo ./3_motor_example.out  

raspi-motor's People

Contributors

ukcheolshin avatar

Watchers

Raimarius Delgado avatar

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.