Aurora mini 18

 by ledartist
Contest WinnerFeatured

Step 7: Electronic Check & Program the PIC


Check carefully for bad solder joints and parts placements errors. Before moving on further, take out your multi-tester and check the Ohm reading of the power connector and ICP connector pads. Make sure there are no shorts.


Then fire up your PC, launch Microchip IDE. If you don't have it, please download it from Microchip website. Scroll down to the bottom of the page to find the downloads. (http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469)

Here are the steps for the IDE ver.8.xx:
  1. Select programmer - click on "Programmer -> Select Programmer" choose your programmer here. (Note: PICKit 2 doen't support PIC24FV family)
  2. Select device - click on "Configure -> Select Device" and choose PIC24FV16KA302 under "Device" menu.
  3. Import HEX file - click on "File -> Import", and open the HEX file downloaded.
  4. Click on "Programmer -> Settings", and click on "Power" tab. Then turn on "Power target circuit from PICKit 3", and set the voltage to 5V. (Note: this setting may not be available with some programmers. If that's the case, connect power source to the Aurora.)
  5. Click on "Programmer -> Reconnect". Click "OK" if you get the "Voltage Caution". You should see some messages in the "Output" window. Check connections, etc. if you get errors. 
  6. Programm the PIC - Make sure to insert the header pins into the ICSP holes of the Aurora and hold it securely. Click on "Programmer -> Program" to start the programming. It should only take 20 seconds or so, and you will see "Programming/Verify complete" message in the "Output" window.
That's it!

I used PICkit 3, but other programmers such as ICD2, ICD3 should work. (PICKit 2 doesn't work with PIC24FV16KA302)

Just use those 5 holes/pads on the PCB as though they are the female connector. Give a bit of tension sideways to make sure the electrical connection is stable.

*** Firmware update is available - download at http://www.theledart.com/blog/archives/1012 ***
 
Remove these adsRemove these ads by Signing Up
Anders730917 says: Apr 14, 2012. 12:20 AM
Hi!
Just completed it and programmed it, but it just do red and purple, what could be wrong? mostly red...
ledartist (author) in reply to Anders730917Apr 14, 2012. 9:09 AM
First, check to see if there are no shorts between LED leads. Use a multitester set in Ohm (k Ohm) range and check the resistance between them. If it's very low like 0-10 ohm, you have a solder bridge somewhere.

Also check to see the Q1G (transistor in the center). It's easy to have loose connection on the transistor leads. You can apply a small amount of flux on the leads and give a little heat from a soldering iron.

Lastly, you should check the soldering of the PIC. Pin #21 drives the green channel, so pay extra attention to this pin. Again you can apply flux, and give a little heat on the lead to make sure there's a good bond.

Hope you found the problem.

Aki
Nemissis456 says: Nov 24, 2011. 11:20 AM
can you use other LEDs too?
and whats the diameter of the pcb?
Nemissis456 in reply to Nemissis456Nov 26, 2011. 12:51 PM
I'll rephrase: is it possible to mount single color LEDs on it, like for example green ones, while at the same time keeping the animation program the same.
ledartist (author) in reply to Nemissis456Nov 28, 2011. 5:54 PM
You can. You can insert ordinary single-color LED into the PCB, only using two of the four holes. This will connect the LED to the blue circuit, leaving red and green open. So you will get the blue-only animation in the color of your choice.
Note that the placement of the LED will be a bit off if you do this...
ledartist (author) in reply to Nemissis456Nov 26, 2011. 9:37 AM
Not sure what other types of LEDs can fit...
The diameter of the PCB is 50mm.

Aki
dstinger says: Nov 20, 2011. 5:59 PM
This is such an awesome lighting effect! I am working on a project having to make lighting effects with an Arduino board. Is it possible to control the Aurora 18 mini with an Arduino board?? If so how would I accomplish this?
ledartist (author) in reply to dstingerNov 21, 2011. 10:11 AM
I guess one can use SPI or something to communicate between Aurora and Arduino. I will look into it for the next firmware upgrade.

What sort of things you want to control from Arduino?

Aki
dstinger in reply to ledartistNov 21, 2011. 8:02 PM
I had wanted to control the Aurora sequencing of colors with the Arduino. I didn't know how the PIC worked and was wondering if I could use an Arduino to replace this as the controller. I guess I would need to look into the SPI. The other parts of the project are controlling a string of LEDs with an Arduino. I would need to know if it would be a possibility by this next week for presentations. I had just found this lighting effect and thought it would be an awesome thing to add!
ledartist (author) in reply to dstingerNov 22, 2011. 8:14 AM
To control Aurora with Arduino (or any other digital devices) Aurora has to be able to take commands. I have to correct what I said in that SPI is not possible because it uses at least two I/O lines, where Aurora 18 only has one I/O pins available as external I/O (one that connects to the switch).
You can still use this pin to receive data using async serial.
As for replacing the PIC with Arduino, I guess that's possible, but not an easy task. PIC24F used here is a bit more capable than Arduino...

Hope this makes sense...

Aki
blinkyblinky says: Oct 22, 2011. 9:15 AM
Do you have the Source code? for editing?

I am trying out the Aurora bar code you uploaded...FUN STUFF!
ledartist (author) in reply to blinkyblinkyOct 22, 2011. 9:30 AM
(removed by author or community request)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!