element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • 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 Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Electronic Art
  • Challenges & Projects
  • Project14
  • Electronic Art
  • More
  • Cancel
Electronic Art
Blog Electronic Art app controlled by Arduino Uno
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Electronic Art to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ilvyanyatka
  • Date Created: 28 Aug 2020 2:23 AM Date Created
  • Views 4119 views
  • Likes 12 likes
  • Comments 24 comments
  • electronic art app
  • electronicartch
  • c#.net
  • arduino
Related
Recommended

Electronic Art app controlled by Arduino Uno

ilvyanyatka
ilvyanyatka
28 Aug 2020

My project is an electronic Art App controlled by Arduino Uno.

The app connects to Arduino port. goes full screen, and starts drawing abstract geometrical figures based on parameters it reads from the Arduino. The user can can control what the app is drawing using potentiometers, switches, and a push button. Everything can be controlled by Arduino, there is no need for keyboard and mouse (after connecting to Arduino port). App can be used for meditation, or just to relax. Drawings can be saved in real time using push button.

 

Push button 1 – clears app screen

Push button 2 - save the screenshot of the drawing

Switch 1 – Start/Stops drawing

Switch 2 – controls line type. Line type can be an Arc (Bezier curve) or a straight line

Potentiometer 1 – controls line width

Potentiometer 2 – controls an angle for a drawing

Potentiomenter 3 - controls drawing speed

 

The app itself is written in C#.NET. To communicate between .NET and Arduino I used open source Sharer library, it is awesome and it can be found here:

https://github.com/Rufus31415/Sharer

 

Fun fact: When testing the board I ran into a problem that all analogRead() functions returned incorrect values. I could not figure out why, it was driving me crazy. I was sure that I fried both of my Arduinos somehow. But finally I figured out that connections on my $1 breadboard were not wired properly. I changed the breadboard and everything started working right away.

 

 

Schematics (updated):

image

 

 

Demo video: (can also be found on YouTube: https://youtu.be/DOUr6JplXHg )

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

 

 

 

Additional demo video for using save screenshots and changing drawing speed

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

 

 

Couple of screenshots:

image

 

and

image

 

 

and

image

 

 

This is how the board looks like:

image

Arduino code, and NET main module with math and Arduino communication code will be attached soon.

Update: Code on Github: https://github.com/ilvyanyatka/ElectronicArtWithArduino

Before I added "Save screenshot" functionality, the code was cross platform. Now .NET code is Windows specific. To make it cross platform again one need to remove all the functionality related to "Select Windows Dialog" and "Take Screenshot". I am planning to come back to it later.

Attachments:
Electronic_Art.ino.txt.zip
  • Sign in to reply

Top Comments

  • fmilburn
    fmilburn over 5 years ago in reply to jw0752 +5
    I thought it was a fun project also. Well done
  • ilvyanyatka
    ilvyanyatka over 5 years ago in reply to jw0752 +4
    Thank you John, will do it tomorrow! I am glad you liked it!
  • ilvyanyatka
    ilvyanyatka over 5 years ago in reply to jw0752 +4
    John, I will, because it is so much fun. This projects bring a lot of emotions. When I was working on this one, all of analogRead values for all the pins were totally wrong. I thought I fried both of my…
Parents
  • cjodrey
    cjodrey over 5 years ago

    Wow Victoria, this is really fun! I bet your kids would love playing with those knobs and watching what happens on the screen. It's very artistic!

     

    Keep it up please!!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • cjodrey
    cjodrey over 5 years ago

    Wow Victoria, this is really fun! I bet your kids would love playing with those knobs and watching what happens on the screen. It's very artistic!

     

    Keep it up please!!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • ilvyanyatka
    ilvyanyatka over 5 years ago in reply to cjodrey

    Christopher,

    Thank you!

    • 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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube