Art and Technology are Friends

Posts tagged “PIC

A60 Source Code Published

A60 Front View

After receiving many requests, I finally decided to publish/share the firmware source code of A60.

I was put off by the cheap clone made available, but I now think there can be something good in sharing the firmware, so that others might learn something from my code – not that my coding skill is that good, but the way you can use a simple MCU like a PIC24Fxx to directly control the individual brightness of 180 LEDs (60 x (R+G+B)) is pretty cool, because you can same money and space by not using PWM controller ICs.

You can find the code here: https://github.com/theledartist/A60

 


R48 and Li-Ion Charger

R48 comes with a non-rechargeable battery (CR2450) and a black cord (lanyard) to hang around the neck. The battery lasts for about 7-8 hours in continuous run.

There are also rechargeable battery (LIR2450) and the charger available. With those, you won’t need to keep buying batteries.
The charger is very compact and plugs right into an USB port.


White LEDs look yellow when they are not lit. Other colors (red, green, and blue) look like the photo above.

Features/Notes:

  • Available with 4 different color LEDs: Red, Green, Blue, and White.
  • Each R48 is fully assembled, and comes with a non-rechargeable battery (CR2450, easily replaceable).
  • Battery will typically last about 7-8 hours continuously.
  • Also comes with black cord (lanyard) to hang R48 around your neck.
  • 25 beautiful animation patterns preprogrammed.
  • “Demo” mode automatically runs though all animation patterns – changes every minute. (Activated by holding the button at the startup.)
  • Rechargeable battery (LIR2450) is also available as an option. This recommended option lights the LEDs brighter, as it has higher voltage.
  • The charger for the above is also available.
  • Dimension: 1.9 inch diameter, 0.4 inch thick (including the battery)

In-stock and shipping now!


Wave JT Firmware Update

A new function has been added to Wave JT. It’s auto-changer or “demo” mode. With this mode activated, Wave JT will change the animation pattern every minute. (Hence the word demo.)

You can activate this new function by holding the button down at the startup (when power is off). After each of eight LEDs has lit once, all LEDs will blink eight times. If you release the button within this period, the demo mode will be activated.
Wave JT only keeps this setting until powered down, so to get out of demo mode, turn off the power, and tap on the button again to turn on the unit.

The kits are now being shipped with this new firmware.

- download wave_jt-1.1.hex (ZIP)


Aurora 48 Kit

Aurora 48 is a compact and thin profile full LED sequencer. It’s built entirely with surface mount components, so the profile is nice and clean.

  • Capable of individually controlling 48 Full color LEDs.
  • Each LED can be faded in 7 bit per channel - 2,097,152 colors.
  • Gamma corrected brightness curve for very smooth fades.
  • Simple, one button control.
  • 11 sequence pattern (as of firmware version 1.0).
  • Compact – 2.68 inch (68 mm) in diameter.
  • Thin profile construction (0.137 inch (3.5 mm) thick).
  • No leads sticking out on the back. Ideal for wearable projects.
  • Firmware is easily upgradable via 5 pin ICSP connection.

Please review the instructables before purchase – assembly requires some skills. You will also need PIC programmer such as PICKit 3, ICD 2, ICD 3 (PICKit 2 doesn’t work with the PIC used). If you don’t have a programmer, you can purchase the PIC programmed with the latest firmware.

- Detailed technical information at instructables.com

- Aurora 48 Schematic-rev3a (PDF)

- Aurora 48 part placement (PDF) (revised Feb.18, 2013)

- Firmware ver.1.0 (aurora48smd-1.0.hex)

*** Purchase Here ***


Aurora 48 Sequence Video

Here is a video of Aurora 48 showing all of its preset sequence patterns. Watch it in full screen – it’s full 1080p HD.


Aurora 48 Preview



Here’s the new project that I’ve been working on.

Aurora 48 has 48 full-color/RGB LEDs, each individually controlled. Each and every 48 LEDs has 7 bit per channel = 2,097,152 possible colors. Like other Auroras brightness curve is gamma corrected so the fades are very smooth.

Using all SMT components, Aurora 48 is compact and low profile. 2.68 inch (68 mm) in diameter and only 0.137 inch (3.5 mm) thick.

Aurora 48 inherits most of its circuit from other Auroras before it. The controller is PIC24FV16KA304 (same as Aurora 18×18), however doubling the RGB bus by the help of a binary decoder chip (74HC238).

- Schematic-rev3a


Some Old Works of Mine


I was doing some clean up and found some old works from years ago…

(more…)


Wave JT – LED chaser with Joule Thief

Wave JT is a multi-function LED chaser/scanner/sequencer. Wave JT incorporates Joule Thief to power the LEDs, so it operates on just a single AA battery.
Wave JT has over 16 sequence patterns, and speed can be adjusted by double/triple tapping the button. It’s the most compact yet versatile LED chaser.

Sequence patterns include many variation of the classic “Larson Scanner” from “Knight Rider”, random sparks, fade in/out, flashing, etc.

Even though there is only one button switch on Wave JT, you can control many things with it.



> Purchase Wave JT kit or PCB


Wave JT – Kit and PCB



Wave JT is a tiny LED sequencer or “Larson Scanner” on steroid. It has over 16 sequence patterns, and speed can be adjusted by double/triple tapping the button. It’s the most versatile LED chaser.

Unlike other LED chasers, Wave JT controls each LED in smooth 7 bit (128 levels) brightness levels. The brightness curve is gamma-corrected like Aurora series, so the fades are visually pleasing.

Not only Wave JT versatile, it’s also energy efficient. Wave JT runs on a single AA battery, and the battery lasts for days!

> See more pictures and video

Please view technical details and assembly instructions at instructables.

Wave JT is made with 100% through hole parts. No surface mount parts!

Kit Contents
8x 3mm or 5mm Super Bright LED of your choice
1x 4.7k ohm (R1)
1x 100k ohm (R2)
8x 39 ohm (R3-10)
1x 10pF Ceramic Capacitor (C1)
1x 0.1uF Ceramic Capacitor (C3)
1x 33uF 10V Electrolytic Capacitor (C2)
1x 47-100uH Axial Inductor (L1)
1x Schottky Diode (D1)
1x 5.1V 500mW Zener Diode (D2)
2x MPS2222A or equivalent NPN BJT (Q1-2)
1x PIC16F1823 or PIC16F1824
1x Tactile Switch (SW1)
2x Battery Clips

Note: As of Oct. 1, 2012, all Wave JT kits are shipping with preprogrammed PIC. You do not need a PIC programmer to assemble Wave JT kits!

*** Purchase Here ***


New “Preprogrammed” PIC option for Aurora

I realize that many people just want to assemble Aurora kits without having to purchase a PIC programmer. Now I added options to have the PIC microcontroller preprogrammed when you purchase the kits.

Note: PIC IC will be soldered to the PCB in order to be programmed.

Aurora 9×18 mk2 Kit and PCB

Aurora 18×18 Kit and PCB

 


The First batch of New Aurora Shipped

Many thanks to your support, the first batch of the new Aurora kits shipped out yesterday. There are a few more orders left to ship, however due to the shortage of a part (sorry I did not expect to run out of parts) the rest of orders will have to ship next Tuesday.

I will be updating my instructables to include new firmware, but meanwhile here are the files you need to program the PICs on the new Aurora’s.

There are also online version of the “Part Placement Guides”.


Universal High-Power LED Driver Kit & PCB



Universal High-Power LED Driver is a PIC microcontroller based switch-mode LED driver. This driver can boost or reduce the supply voltage to drive wide range of high power LEDs efficiently.

You can find the detailed information here:
http://www.instructables.com/id/Universal-High-Power-LED-Driver-with-3D-printable-/

*** Sorry, this product has been SOLD OUT and retired. ***

* If you live in Australia, you can purchase this kit from LED Sales.


Aurora mini 18



 
Aurora mini 18 is only 2 inches in diameter, yet controls 18 full-color (RGB) LEDs individually. The technology that enables this little thing is as amazing as the lights it produces.

Please review the instructables before purchase – assembly requires soldering skill. You will also need PIC programmer such as PICKit 3, ICD 2, ICD 3 (PICKit 2 doesn’t work with the PIC used). If you don’t have a programmer, you can purchase the PIC programmed with the latest firmware. (The PIC will be soldered to the PCB)

- Detailed technical information at instructables.com

- Aurora mini 18 part placement chart (PDF)

* Firmware update – download here *

*** Purchase Here ***


Aurora 9 bar

Since the introduction of Aurora 9×18, I received many requests for the kits and PCBs. I’m still quite undecided about making those available for a few reasons. However I really want other LED lovers (ok that sounds too much :) to be able to build one themselves.

So I came up with Aurora 9 bar. It’s a bare essential version of Aurora 9×18. In fact the circuit is almost exactly the same (with a lot less number of LEDs of course). Even the firmware is essentially the same. So it has the same super smooth color fades as Aurora 9×18.

You can now build Aurora 9 bar yourself! Details are at Instructables:
http://www.instructables.com/id/Aurora-9-bar-The-Essence-of-Aurora/


Aurora 9×18 on Instructables

Aurora 9×18 is now on Instructables! Which means you can learn how to build one of those yourself!

http://www.instructables.com/id/Aurora-9×18-RGB-LED-art/


Aurora 9×18 Teaser Video

I thought it’s time for me to start putting some effort in creating better presentation of the work I do. Here are two versions of video that showcase Aurora 9×18.


Aurora 9×18 assembled

Just finished assembling Aurora 9×18. Based on the prototype aurora 9, this unit has 18 tri-color LEDs in each of 9 circles.
Because of the number of components (162 LEDs), assembly was quite a chore. Tri-color LED has pins that are close together, very narrow for a through-hole component. Solder bridging can happen very easily. (I’ve been soldering for over 30 years now, and thought I had good enough skill to get through the soldering, but I had a bit of a struggle…)

Now it’s done, and the hard work is worth it. It’s beautiful… LEDs are controlled in 9 groups of 18 each. Each group of LEDs are forming a circle. Each RGB component is controlled by PWM, with effective resolution of about 13 bits.

The colors produced by those LEDs are beautiful, the transitions between colors are smooth. To me this is fascinating…

Here’s the schematic if you are interested.
Aurora 9x18 Schematic


Aurora-mini is here

The same circuit posted before has made into a real unit.
Very smooth color changes (gamma-corrected 256 level PWM on each color/LED).

> Updated version is here.


Aurora 18 prototype

New project using RGB/tricolor LEDs. Tricolor means triple the number of LEDs to control – more load on the processor. I decided to move up to 16 bit PIC, 24F series for the increased processing speed (MIPS) and memory. 16 MIPS and 4 KB of RAM and still had to resort to multiplexing RGB channels. 18 LEDs color/brightness individually controlled in gamma-corrected 8 bit levels (equivalent to about 14 bit linear PWM).

Countless software tweaks later I’m getting 200 Hz refresh rate. Hard to tell from the video, but the fades are truly smooth.

(more…)