
components
Hardware Components
W5100S-EVB-Pico
X 1
Momentary Switches
X 11
WS2812B 5050 LEDs
X 10
470Ω Resistor
X 1
Printed Circuit Board
X 1
Micro B Extension
X 1
Nylon Standoffs
X 6
Threaded Aluminum Spacers
X 3
#6-32 x 1/2 Screws
X 3
5v Power Supply
X 1
Software Apps and online services
Micropython Project Description
Hardware/Components
- W5100S-EVB-Pico - 1
- Momentary Switches - 11
- WS2812B 5050 LEDs - 10
- 0.1uF Capacitors - 10
- 470Ω Resistor - 1
- Printed Circuit Board - 1
- Micro B Extension - 1
- Nylon Standoffs - 6
- #6-32 x 1/4" Threaded Aluminum Spacers - 3
- #6-32 x 1/2 Screws - 3
- 5v Power Supply - 1
Software
Part 1: The Concept
My intent is to create a very simple, convenient to implement button panel for making fast and easy lists. The idea was that someone could just push a button the moment they realized they needed a supply and it would be added to a web accessible list. This would mean that they themselves, their family member, or a work team member could view the list from anywhere at any time. Original concept art:- Families with young children can give their kids agency to make sure their favorite snacks are restocked.
- Busy retail cashiers can let management or runners know when they need bags, receipt paper, or other vital supplies.
- Medical workers can make it easy for their supply specialists to keep them stocked on PPE.
- Anywhere that a list of items is required over and over again is a candidate for using a button panel.
Part 2: The Design
So much IOT is built around WiFi, but that can become very complicated very fast, and using a direct ethernet connection offers some valuable simplicity.Part 3: The Code
I’ve tried to keep my code as minimal and easy to read as possible. The example here is a website that connects to the board, with options to add, remove, and “in-process” any of the items. It’s pretty simple in it’s current form, as I plan to build this into a larger home automation project that doesn’t have it’s full website developed yet.In this part the Pins need to be kept the same - those are hardwired into the ethernet port. You can't use them for anything else or your project won't function as intended. The rest of my main.py is just telling the LEDs and buttons how to talk each other and to the website. There are places I could have condensed it, but I left it verbose because I know I'll have to change it eventually and it will be easier for me to remember what I was doing this way. To see your website, enter 192.168.1.20 in the url bar. Interacting with the on screen buttons and device buttons should change both the led lights and the website, after you refresh it.nic = network.WIZNET5K(spi,Pin(17),Pin(20)) #spi,cs,reset pin
Code Example on GithubOnce the code is tested and working the way you want, all that’s left is to label it and install it where you’ll use it!
documents
Hi technoplastique,
I’m Ron from WIZnet HK. Could I post your article to our WIZnet HK instagram account?
BTW, do you have a instagram account that I could tag you?
Best Regards,
Ron