Jump to content

Search the Community

Showing results for tags 'arduino'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Electric Unicycle Forums
    • Forum Rules (and topics relating to this forum)
    • General Discussion
    • Reviews
    • Mods, Repairs, & DIY
    • Riding Safety and Protective Gear
    • Local Group Meet Ups
    • Private Sales (secondhand)
    • Commercial Advertisements
    • Off Topic Discussion
  • Brand-Specific Forums (euc only)
    • Airwheel
    • Firewheel
    • Gotway
    • Inmotion
    • IPS
    • King Song
    • Ninebot
    • Rockwheel
    • Solowheel
    • Uniwheel
  • One-Wheeled Skateboards
    • One-Wheeled Skateboards
  • Two-Wheeled Self-Balancing PEVs
    • Ninebot Mini, Segway MiniPRO, Xiaomi Mini, Airwheel S8 or equivalent
    • Segway (or equivalent)
    • Hoverboard
    • Commercial Advertisements (Ninebot Mini & equivalent only)
  • Non-Self-Balancing PEVs
    • e-Scooters
    • Other Non-Self-Balancing PEVs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


EUC

Found 3 results

  1. I just created a neat Arduino library to interface EUCs via Bluetooth or directly via the tx/rx connection of the motherboards. I have tested it with several older Gotway EUCs and I will try to add support for the newer Gotway protocol and also for the older King Song protocol. You can download the library on Github: https://github.com/T-vK/Electric-Unicycle-Interface I mainly wrote this for two main reasons: I wanted to make some cool LED effects like rotating LEDs at the precise speed of the Unicycle. To make a DIY Bluetooth smartwatch that displays the speed, battery status etc. The first one is ready to go as you can see in this video: A first prototype of the second one is sort of ready: Here is an example of how you can interface the EUC using my library: /* Simply receive the data the electric unicycle sends * and print it to the serial console on your PC. */ #include <SoftwareSerial.h> #include <EucInterface.h> //Bluetooth serial with rx on pin 9 and tx on pin 10 SoftwareSerial BluetoothSerial(9,10); Euc Euc(BluetoothSerial, BluetoothSerial); // Receive and transmit data via bluetooth void setup() { Serial.begin(250000); // We'll use the normal hardware serial to print out all the received data BluetoothSerial.begin(9600); // Most unicycles communicate @9600 baud over bluetooth Euc.setCallback(eucLoop); // Set a callback function in which we can receive all the data the unicycle sends } void loop() { Euc.tick(); // This simply needs to be called regularely } void eucLoop(float voltage, float speed, float tempMileage, float current, float temperature, float mileage, bool dataIsNew) { if (dataIsNew) { // new data received Serial.print("Voltage: "); Serial.print(voltage); Serial.println("V"); Serial.print("Current: "); Serial.print(current); Serial.println("A"); Serial.print("Speed: "); Serial.print(speed); Serial.println("km/h"); Serial.print("Total mileage: "); Serial.print(mileage,3); Serial.println("km"); Serial.print("Temp mileage: "); Serial.print(tempMileage,3); Serial.println("km"); Serial.print("Temperature: "); Serial.print(temperature); Serial.println(" deg Celsius"); Serial.println(""); Serial.println(""); } } This example uses the Bluetooth interface of the Unicycle. So you'll need a serial Bluetooth module for it. I highly recommend the HC-05 which can be found for less then 3 US$ on aliexpress. But don't worry, there are plenty of other examples in my repo: https://github.com/T-vK/Electric-Unicycle-Interface/tree/master/examples API docs Euc(ReceiverSerial, TransmitterSerial); //create new instance of this class Euc.tick(); // simply has to be called regularly Euc.setCallback(callbackFunction); // you have to specify a callback function to which the class can send the data it receives from the unicycle //Example callback function: void callbackFunction(float voltage, float speed, float tempMileage, float current, float temperature, float mileage, bool dataIsNew) { // Do something with the received data } Euc.beep(); // make the unicycle beep Euc.maddenMode(); // set it to madden mode Euc.comfortMode(); // set it to confort mode Euc.softMode(); // set it to soft mode Euc.calibrateAlignment(); // calibrate alignment Euc.disableLevel1Alarm(); // disable level 1 alarm Euc.disableLevel2Alarm(); // disable level 2 alarm Euc.enableAlarms(); // enable alarms Euc.enable6kmhTiltback(); // enable 6km/h tiltback Euc.disable6kmhTiltback(); // disable 6km/h tiltback
  2. Hello , i want to ask , is it possible to control the hoverboard motherboard using an arduino ?please help my final project , thank you
  3. They are a euc instructions for DIY made years ago http://www.instructables.com/id/Electric-unicycle-Arduino-DIY/ It can be updated with hub motor and wide pedals. Would be nice to have a collaborative open source project euc made in electricunicycle.org They are lot of features to discuss, like size, weight, power... but because is a open source project, the most important features is the scalability and compatibility. Firs the scalability allow more people access to the product. From the basic and cheap to the expensive and fullfil. Compatibility means easy to find parts for repair or upgrade. Freedom to the consumer with no restrictions from patents, if you want a handle cut off switch simply put it on. My setup for start is a light weight euc with 800w like IM v8 without shell for ease fixing and upgrade, mud guards and hardware encapsulation for water and dust protection. Because my old times with classic unicycles I like the seat with small handle, is useful for save the euc from falling, do jumps or just sitting
×
×
  • Create New...