Coder Social home page Coder Social logo

raspysculpt's Introduction

raspysculpt

RaspberryPy servo based kinetic sculpture project.

This repo is to hold the code related to Task 2 - experiment with servo and rasperrypi controller and code

Task 2 Notes

Normal servos do 90 only (180 with gears) Can buy continuos 360 servos ie like normal motor (less precise fixed positions) Pi has 26 GPIOs so can run that many servers directly (or add controller boards or Pis!)

Various Python libs to run this - so easiest solution is get a Pi or two and some 360s plus maybe a few standard servos?

Gearing and various plug on mechanics can turn servo motion into linear up / down etc.

https://www.digikey.co.uk/en/maker/tutorials/2021/how-to-control-servo-motors-with-a-raspberry-pi

Bought Pi and 2 servos for testing out.

Also may want to get distance sensors (only £4) https://thepihut.com/products/dexter-grovepi-and-gopigo-ultrasonic-sensor

See https://gpiozero.readthedocs.io/en/latest/recipes.html

With 4 we could feed distances into controlling kinetics - theremin style, eg. turn flower towards viewer

Note that servos can be strong enough to open doors etc. - expensive if high torque, but the weight of ceramic is no limitation - although MVP design would be cheaper / easier with card, wood, plastic or other lightweight materials instead.

There are simulators to test out basics of the program https://wokwi.com/projects/new/micropython-pi-pico

Wokwi simulator code

Currently this repository just holds the simulator code for running servos

MVP experimental code for various kinetic actions.

  1. opening / closing petal part of sculpture

raspysculpt's People

Contributors

edcrewe avatar

Watchers

 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.