-
1Overview
Overview
Controller and Lamp are connected with a ribbon cable (see Data Sheet). There are two available cables: 6 and 10". Depending on your design, you may choose one or the other.
The same goes for the four Lamp Board shapes. All have the same components. Please choose the one that better fits your design concept.
There is only one Controller Board shape. this is where the Nano Every and batteries are located. However, your design will inform where the battery holders are placed. Please do not solder the battery holders to the board until you have read all the remaining steps! There are a few important considerations to define first.
-
2Controller Board
The Controller Board has a few important components and attributes to be aware of when designing your Lamp project.
- The Arduino Nano Every is a really versatile development board for any maker/innovator. The Nano Every is ideal for wearable inventions, low-cost robotics and interactive projects. It is powered by a ATMega4809 microcontroller.
- 3 'AA' battery holders. Ideally, these should be easily reachable. Batteries may be rechargeable or non-rechargeable.
- Ribbon cable connector.
- USB mini port. Your design will determine if this port has to be accessible at all times or not. However, we will use it to flash (upload) firmware to the microcontroller.
Assembly holes and precise dimensions can be found in the AI and 3D STEP files.
+ + + IMPORTANT + + +
Before soldering the battery holders and Arduino Nanos, take some time to define your design. Does it make more sense to put the batteries on the same side as the Arduino? Is it best to keep them separate?
-
3Lamp Board
As mentioned earlier, all Lamp Boards have the same components. Here is a quick overview, before we go into more detail:
- Four addressable RGB LED's. RGB means that they can cast Red, Green, Blue light, and everything in between. Addressable means that each one can be operated separately.
- Four assembly holes.
- One ribbon cable connector. This cable supplies power and sends and receives data to and from the Controller Board.
Just like the Controller Board, assembly holes and precise dimensions can be found in the AI, and 3D STEP files.
-
4Arduino Nano Every
Let's talk a little bit about the main board, its microcontroller and sensors, and why they all are relevant.
Development Board
The Arduino Nano Every can be considered a development board, meaning that hardware designers use it to iterate concepts quickly for projects, products o experiments. Think of development boards as "mini electronics workshops". Some have more bells and whistles than others. There are many kinds, but in general, in addition to the microcontroller, they provide connectors, power source, and built-in components for specific functions, all in a standard shape.
Image credit: Arduino
Microcontroller
The microcontroller in a development board is the actual brain of your whole array. The more complicated a system is (for instance, a robot), the more "minibrains" you will need. Microcontrollers are small computers that perform one task at a time, but they do it quickly and efficiently, thus not needing as much computing power or energy, as say, a microprocessor of a computer that has to deal with graphic interface, sounds, connections, etc. The Nano Every uses the ATMega4809, and here is its datasheet in all its 551 pages glory.
Impact on your product
The microcontrollers that we discussed above can be bought separately and put in your own Printed Circuit Board. However, their architecture may be different, and the code used in one may not work on the other. You may be very happy and jolly working on a project with a development board that you love, only to find out that there is no stock of its particular microcontroller, and the lead time is long. Those are some of the few reasons that you need to keep in mind when selecting a development board.
-
5Product Design Inspiration
This workshop was derived from the original PCB Lamp.
The project has become more interesting every time, and this time around, the participants of the workshops define how the Lamp will look like, and its core functionality! Participants will be able to choose between four shapes for the lighting element. The controller is the same.
If you study(ied) design or are an enthusiast, you will probably recognize a pattern here. These shapes took a bit of inspiration from Bauhaus' study of shapes. Now, between you and me, we did make a triangle PCB but it did not add that much. So, we kept the circle, a square, and added two more forms: a straight line, and the "horseshoe" shape from the previous workshop.
Functionality
For this Arduino Edition of the workshop, the lamp will be activated by computer camera vision.
Image credit: Paolo Brambilla
-
7Arduino sketches
This workshop will need an Arduino sketch that connects and receives a signal from a computer or camera
Once you have Arduino IDE installed on your computer, you may open an .ino file and start working with it or flash it directly to your board. Or, you can copy the text and paste it onto another screen.
Here are a couple of libraries from Adafruit that you will need to use the Neopixels, board PIN and number of LED's.
#include <Adafruit_NeoPixel.h> #include <PDM.h> #define PIN 14 #define NUMPIXELS 4
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.