element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Episode 453: Build an Anti-Troll Bot Using TensorFlow and Arduino
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
image
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 2 Jul 2020 2:29 PM Date Created
  • Last Updated Last Updated: 8 Mar 2022 3:34 PM
  • Views 1741 views
  • Likes 10 likes
  • Comments 6 comments
Related
Recommended

Episode 453: Build an Anti-Troll Bot Using TensorFlow and Arduino

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
 

Andy hooks up a USB Keyboard to a Microcontroller to see he can use machine learning to do a critique of his internet comments. Challenges included flashing the firmware of the FTDI module, analysis of USB Human Input Device (HID) data and running a machine learning algorithm on a 32bit Arm M0 core.

Supplemental Content:

  • USB Keyboard / HID
  • VNC2 - Getting to Blink
  • SPI Slave on an Arduino MKR Zero
  • Using a hash function Tokenization during Text Classification on memory constrained devices

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
VNC2-48Q USB HOST Control FTDI 1 Buy Now
VNC2 Debugger/Programmer FTDI 1 Buy Now
Development Board, Arduino MKR Zero ARDUINO 1 Buy Now
DC Servo Motor, 6 V AdaFruit 1 Buy Now

 

Additional Parts:

 

Product Name

Jumbo sized googlie eyes

PETG 3D printer filament

MDF board

Paint

image
Build an Anti-Troll Bot Using TensorFlow and Arduino

element14 Presents  |  About Workshopshed  |  Project Videos

  • workshopshed
  • usb host
  • hid
  • e14presents_workshopshed
  • robot
  • robot project
  • machine learning
  • googlie eyes
  • tensorflow lite
  • adafruit
  • arduino
  • friday_release
  • ftdi
  • anti-troll bot using tensorflow and arduino
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 2 years ago +3
    An interesting build. I could be useful during those moments when your passion overwhelms your desire to restrain your comments. DAB
  • ralphjy
    ralphjy over 2 years ago +3
    Interesting application. I can think of a few people who could use one. Nice to see TinyML in action.
  • Workshopshed
    Workshopshed over 2 years ago +3
    Here's some of the reference material I used for those wanting to reproduce this experiment. https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/overview https://www.aclweb.org/anthology…
  • Workshopshed
    Workshopshed over 2 years ago

    Some people have asked about the code. So here's the links

     

    https://github.com/Workshopshed/TinyMLTextClassification

     

    There is also one for the USB

     

    https://github.com/Workshopshed/V2DIP48-1

     

    And another for the slow servo code.

     

    https://github.com/Workshopshed/SlowServo

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 2 years ago

    Well done Andy!  A perfect mix of art, software, AI and electronics.  Very fun.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 2 years ago

    Here's some of the reference material I used for those wanting to reproduce this experiment.

     

    • https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/overview
    • https://www.aclweb.org/anthology/W18-5105/
    • https://github.com/iampukar/toxic-comments-classification
    • https://web.stanford.edu/class/archive/cs/cs224n/cs224n.1184/reports/6837517.pdf

     

    I would recommend using one of the Tensor Flow Lite supported boards such as the Arduino Nano 33 BLE Sense as the MKR Zero gave me extra challenges because the libraries had not been ported for that platform.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 2 years ago

    Interesting application.  I can think of a few people who could use one.

     

    Nice to see TinyML in action.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    An interesting build.

     

    I could be useful during those moments when your passion overwhelms your desire to restrain your comments.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kmikemoo
    kmikemoo over 2 years ago

    Very cool application.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube