user-img

cris

  • 63 Projects
  • 11 Followers
  • Oct 29,2024
+ Follow

Hey, smile

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

Hey, smile
 
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
  • thumbnail-img
 

Hardware Components

  • ATMega8-AU

    X 1 fenxiang
  • IR sensor

    X 1 fenxiang
  • MAX7219 LED Matrix

    X 1 fenxiang

Tools, APP Software Used etc.

  • Kicad

  • Arduino IDE

    Arduino IDE

    Arduino
  • Tinkercad

Story

Hey, smile!

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:


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:

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.

 - select de board

 - select the programmer

 - and 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

Code
Schematic and Layout
  • Schematic

    Schematic_ATMega8AU-TH_95601809367211793c7211.png
    Download(0)
CAD-Custom parts and enclosures
  • Enclosure

    Cutiuta_matrice_1802716125672117e859c52.stl
    Download(0)

Hey, smile

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

122
 
1
0
6

Copy your link and share it to your social circles. Then you'll Earn Commission on each sale.

  • Comments( 0 )
  • Like( 1 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.