Skip to main content

Robot Kit

Project description


Having fun with the Freenove 4WD Smart Car Kit


SSH to your Raspberry Pi and install the Python module for Python 3.

$ sudo pip3 install robot_kit


See the Examples directory for all the code, here is the code listing for examples/

from robot_kit.leds import NeoPixelStrip
from robot_kit.wheels import Wheels
from robot_kit.ultrasonic import Ultrasonic
import time

if __name__ == '__main__':
    """Run some of the basic commands for robot_kit"""

    """Test for the NeoPixelStrip class"""
    led_strip = NeoPixelStrip()

    # Turn the LEDs Yellow and then Green
    led_strip.on(128, 128, 0)
    led_strip.on(0, 255, 0)

    # Turn the wheels
    wheels = Wheels()

    # Get the distance from the Ultrasonic sensor
    dis_sensor = Ultrasonic()
    for i in range(50):

Note: Yon order to run this code you'll need to be sudo as the LED library requires it.

$ sudo python3

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robot_kit-0.1.5.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

robot_kit-0.1.5-py2.py3-none-any.whl (13.1 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page