Giter VIP home page Giter VIP logo

ft32's Introduction

ft32

Fischertechnik TXT Controller replacement based on ESP32 micro controller with a fancy web programmable HMI. The broswer IDE is rest upon cody++ version 1.0 (once ESP IDE).

If you want to checkout the current cody++ web IDE version 1.0, please visit the demo page. The latest version is avaiable here.

Installation

First of all, we have to install several libraries to work with the current hardware setup. After installing the latest Arduino IDE version, we have to add the ESP32 core to our arduino installation. Therefore, an additional board manager URL has to be added. You can now go on with integrating the ESP32 core to arduino. To do so, you have to open your Arduino IDE and navigate to ``File -> Preferences -> Additional Boards Manager URLs` and paste the link given in the picture below into the input field.

Confirm the window, go to Tools -> Board -> Boards Manager..., search for esp32, and once again confirm the installation and wait until all neccessary files are downloaded and set up. Now we can install the additional libraries to work with our custom hardware (ft32, eMalRob).

To get this done, open the menu entry under Tools -> Manage Libraries... and search for the following libraries and install them one by one:

  • Adafruit BNO055 (latest version, tested with 1.1.11)
  • Adafruit GFX Library (latest version, tested with 1.3.6)
  • Adafruit NeoPixel (latest version, tested with 1.2.4)
  • Adafruit SSD1306 (latest version, tested with 1.2.9)
  • Adafruit Unified Sensor (latest version, tested with 1.1.2)
  • ESP32 AnalogWrite (tested with 0.1.0)
  • ESP8266 and ESP32 OLED driver for SSD1306 displays (tested with 4.1.0)
  • SX1509 IO Expander (latest version, tested with 2.0.1)

Now you have to flash the ESP32 with the C++ software. Therefore you have to open the ft32.ino file from our github repository , compile the source code and after that you have to flash the micro controller. After successfully flashing the ESP32 micro controller, you can go on with writing the necessary web files into the flash memory (called SPIFFS) of the ESP32. It might be difficult, but we have created a tutorial to make it as easy as possible.

Writing files to SPIFFS Memory

Tested under:

  • Windows 10 - 64bit OS, Arduino IDE 1.8.7
  • Linux Mint 19 - 64bit OS, Arduino IDE 1.8.8

If you want to write the necessary web and configuration files to the internal storage of the ESP32 micro controller, you have to install an arduino plugin.

First of all you have to download the plugin from its github documentation page. After that, extract the archive to <home_dir>/Arduino/tools/

In some case you have to create a tools directory in your arduino sketchbook directory (after extracting the downloaded archive, the path the path will look like <home_dir>/Arduino/tools/ESP32FS/tool/esp32fs.jar). Furthermore a directory /data with all necessary Cody++ web files has to be in the current arduino project directory. Now you can restart your arduino ide. A new menu entry should be available under "Tools" (ESP32 Sketch Data Upload).

Make sure the ESP32 is connected correctly to your computer and no Arduino console is opened anymore. By default, the ESP32 should be connected to port /dev/ttyUSB0. After uploading the spiffs files you can go on with compiling and flashing the source code. For more information, please visit this documentation page. That's it. Hope you enjoy our project. If you have questions or ideas, feel free to contact us.

Web documentation

For further information to this project visit our official documentation webpage.

Cody++ (with FT32 robots) in use

Video dokumentation (in german):

https://img.youtube.com/vi/Vb2udfsyRjI/0.jpg

German pubils testing our Robots:

https://img.youtube.com/vi/EfkDjtZDj-Y/0.jpg

https://img.youtube.com/vi/YJIpydJqEwY/0.jpg

ft32's People

Contributors

hama1067 avatar josephpal avatar majo1033 avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

joeto1 josephpal

ft32's Issues

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.