element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Arduino Projects
  • Products
  • Arduino
  • Arduino Projects
  • More
  • Cancel
Arduino Projects
Blog Little work [Hey, smile ]
  • Blog
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: me_Cris
  • Date Created: 11 Sep 2024 3:49 PM Date Created
  • Views 1302 views
  • Likes 10 likes
  • Comments 2 comments
  • matrix
  • max7219
  • arduino
Related
Recommended

Little work [Hey, smile ]

me_Cris
me_Cris
11 Sep 2024
Little work [Hey, smile ]

Hey, smile!

Hello everyone!

I made a small project with LEDs and a MAX7219 matrix.

The blue board contains an ATMega8AU-TH (but it should work with any ATMega8-AU), I bought several ICs, cheap of course (I don't think I need to advertise the website), the rest of the components are mostly recovered by on scrap boards (except for 22pF capacitors and crystal). Very often I use recovered parts, they are at my fingertips (plus I don't have the opportunity to buy parts too often) and they are free. I used both SMD and THD components.

And the project looks like this:

{gallery}My Gallery Title

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

I designed the board in KiCad, and the realization option was through a more professional way by calling a manufacturer, it came out 2x bigger than a Nano board, but I did it according to my resources, namely the components I have.

This is the schematic:

image

It took me a while to program the uC, I didn't succeed with a bootloader, but I found another method (thanks God of Internet). I use an AVR USBASP bought a long time ago, and it proved useful just now, which is not bad. You can see the settings and connections below. In the end, the whole thing is quite fast. I have to mention that I gave up the 1N4148 diode on my board, I'm not sure if it's for this reason or another, but it can't be reset by pressing the push button.

  1.  Select the board;
  2.  Select the programmer; 
  3.  And upload the code.
{gallery}My Gallery Title

image

IMAGE TITLE: Select the board

image

IMAGE TITLE: Select the programmer

image

IMAGE TITLE: Upload the code

Other components, red MAX7219 matrix for display, and IR sensor that I use as a non-contact switch.

The scheme is simple, it can be determined rather by observing the code, the library used for the MAX7219 matrix is ​​"MaxMatrix.h". The symbols used were created using the generator https://xantorohara.github.io/led-matrix-editor/#1009ebfcfceb0908|1009ebfcfceb0910.

The code is quite rudimentary, I don't know much programming, it's a hobby, it can definitely be improved.

The box is 3D printed, using Tinkercad online, I got used to using it. For such projects it is very fine for me. Where did I make it? I turned to a friend who has a 3D printer (I can't afford to buy one) and on the second try I succeeded. The case is custom, according to my resources, modules. Indeed, it is a bit small, but I managed to position everything inside. 

What does this project do? We have a phase in which the yellow LED lights up intermittently (it's just a mini traffic light) and the boy waves to us to help him cross the street, and if the IR sensor caught something then it moves to the next phase, we have green and the boy is happy. And a short video https://youtube.com/shorts/uXxp4_l1bj0?feature=share.



References

AVR USB driver: https://zadig.akeo.ie/

How to use the AVR USB programmer: https://www.youtube.com/watch?v=ToKerwRR-70&list=PLT_xFb7a1cCS6954C9E3Q8SskbZ38J2vB&index=5&t=405s&ab_channel=ZeroAmpsElectronics

ATMega8 pinout: link

  • Sign in to reply
  • me_Cris
    me_Cris over 1 year ago in reply to DAB

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Nice fun little project.

    • Cancel
    • Vote Up 0 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