The Electrician's Work bench

The mindless ramblings of a savage drunk with a screwdriver.

Archive for November 21st, 2009

Flowcode 4

Posted by 0ldrunk on November 21, 2009

It’s been out for a number of months now so it’s not new but I used Flowcode3 for the R/C nav lights project and it worked really well, just downloaded version 4 from http://www.matrixmultimedia.com  the fine people who make Flowcode and a number of other interesting products.

One thing I’m looking forward to trying in this version  is the USB support for PICmicro chips that support it, so when I get around to my LED Cube I maybe able to pull off some cool things.

Posted in Update | Leave a Comment »

LED Cube

Posted by 0ldrunk on November 21, 2009

Just another limbo project I haven’t had the time to sit down and work on more but hope to soon maybe over Christmas.

I started building a 4x4x4 LED cube some time ago and now that I’ve set myself up a personal blog I can can continue to post my work. Right now the LEDs have been soldered into a cube and have only started to plan out the controller, most if not all LED cube projects I’ve seen online are Atmel/AVR based and any PICmicro controllers I’ve come across have been for small 3x3x3 cubes or disPIC(16bit?) chips or built for RBG LEDs. I’m just using solid colour LEDs for cost right now and I’m use to working with the 8bit PIC micros. I’m going with 18Fxxxx PIC chip for the brains and the one I’d like to use has built-in USB function so I can update the LED animations with a computer and have it open for future projects like a winamp visualization plugin someday , most likly I’ll never get that far but wishful thinking.

Posted in Build Log | Leave a Comment »

As far as I got!

Posted by 0ldrunk on November 21, 2009

This is officially the final post on the R/C nav lights project. I lost time and interest to continue it, the final controller worked but never got around to working in the error checking as I would have had to redo most of the program due to limited code space on that model of PICmicro, even if  I did want to continue it now most of my original work was lost when my home server was attacked.

Posted in Projects | Leave a Comment »

First test flight!

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Feb 08, 2009 @ 03:12 AM / 949 Views / 0 Comments / Reply
Well I got the comanche back together with the finished prototype installed, had to change out all the wire I had used for the LED’s for somthing more flexible.But she’s ready for a test flight and see how dose with this extra weigh on.
Build Log / Posted by Oldrunk / Feb 08, 2009 @ 11:08 PM / 1,113 Views / 3 Comments / Reply

well got my first test flight in and not too bad other then I found a bug going to have to go back and rework the glitch checking I had the lights go out mid flight in dark room, well I made a video and and got a better camera so if you watch you’ll see the glitch, when it happened the stats LED on the board started to blink to show an error, you can’t see it in the video but I saw it glow though the Comanche body.

 

 

Posted in Projects | Leave a Comment »

Working prototype

Posted by 0ldrunk on November 21, 2009

Discussion / Posted by Oldrunk / Feb 07, 2009 @ 06:24 PM / 714 Views / 0 Comments / Reply

Well got back early but have to leave Monday for another few days. I did get some work in on the prototype and it all works, just need to do some tweaks and it will be ready, the next step is to put the Comanche back together and test fly it with the Nav light controller on.
Even got a chance to toss a little video together, its not great and my 3megapixel camera only records video 15seconds at a time but it works.

 

Posted in Projects | Leave a Comment »

Ready for testing

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Feb 03, 2009 @ 07:13 PM / 1,153 Views / 0 Comments / Reply
I have every thing assembled now and ready to go, just need to program in the lighting patterns and see how it looks on the finished product. I’m still far from done, I’m going to have to rework the circuit and board to try to get it smaller I guess that will be my version 0.2 . Don’t have the materials to do printed circuit boards other wise even with the current design it could be a little smaller.With the circuit board that is just going to lead me to my next build a CNC router to mill out boards for me. 🙄
Any way all this will have to be put on hold till Monday, being called away out of town for work so here will every thing sit on my desk until I’m back. 😦

Posted in Projects | Leave a Comment »

LamaLight V0.1

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Feb 02, 2009 @ 05:57 PM / 1,152 Views / 0 Comments / Reply
Well here it is the first beta of my project. The circuit it fully complete and the software is mostly complete just need to program in the different lighting patterns and then its all ready to go.
Some details about the controller are it supports 6 light channels, of the six channels it supports the following 3 Nav position lights(two forward, one tail end, one mid tail) 1 Strobe light , Landing Lights(two outputs) and Search lights(two outputs).
I built every thing with parts I had on hand so the microcontroller is a PIC16f627, the transistors for switching the output are BC547B(or 2N3904) they can handle up to 100mA of current, most designs I’ve seen online use a 2N2222 which can handle double the current but don’t feel that the 2N2222 is needed since the average LED is 20 to 25mA , there will be at most 60mA of current running though the collector with 2 LEDs connected. If higher power LED’s are needed/wanted the transistors can be replaced for 2N2222 or better.

Posted in Projects | Leave a Comment »

Build Update on Nav Lights

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Feb 01, 2009 @ 02:50 PM / 962 Views / 0 Comments / Reply
Did a test on breadboard of the individual parts of the final circuit and made a couple of changes to the schematic and its all well on its way now, with a fresh start this morning I have finally began the assembly of the first prototype, once I’m happy with the layout and can get it as small as I can then I’ll solder and connect all the components.
Last thing left to do is mount the LEDs on the Co-Comanche body.

Posted in Projects | Leave a Comment »

Nav Lighting Control

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Jan 30, 2009 @ 05:41 PM / 964 Views / 0 Comments / Reply
Just a update on my work. When I started this project I just wanted to make a simple “RC switch” to turn lights on/off but have found that much more can be done. So I have it worked out and working so that the lighting can be fully controlled and set off the free fifth channel on the modded Esky 404 TX.

Posted in Projects | Leave a Comment »

It works!

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Jan 21, 2009 @ 04:12 PM / 1,553 Views / 4 Comments / Reply
After some tweaking and moving some bits around it works , reads out values to where ever I move the pot and reproduce the same values over and over on the same positions, well almost on the high end I’ll get 80~82 but 81 seems to come up most and same for the low end I’ll get 33 or 32 but that could be just the trimmer pot on channel 5 of TX and getting some variation because of it, not a big deal and won’t affect me any way so now with phase one complete I can move on to phase two and work on my nav light control.
BTW I did this all in flowcode and did not type a single line of program code, my PC mouse and my brain did most of the work.  Can you believe it?
Pics attached show it works.
Just ignore the notes written on paper its from early code trials and trying to map it

Posted in Projects | Leave a Comment »

It’s alive!!! Kinda???

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Jan 21, 2009 @ 11:57 AM / 1,087 Views / 0 Comments / Reply
Well after some hardship getting the LCD screen to work and finding out I had a bad setting keeping it from working I finally got to test my servo pulse input code and with some success. The LCD is spitting out values when I move the pot for channel 5 to different positions and getting repeating values at the same positions only problem is its slow to read whats coming off the channel and won’t return any value at some positions, so back to drawing board to rethink and rework the code. :confused: 😦

Posted in Projects | Leave a Comment »

Microcontroller

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Jan 19, 2009 @ 05:29 PM / 1,264 Views / 5 Comments / Reply
So now that I have a 5th free channel on my TX/RX got to do somthing with them so back to my other hobby of electronics and I have been interested in microcontrollers for some time but never had a goal with them so never got past blinking some LEDs, now I want to blink LEDs remotely via the free channel. Now I have seen already made controllers that do this for sell but whats the fun in that if I already have the parts and resources to do it my self and learn something in the processes.
I don’t have much experience in writing code and all I know is some C code but never really used it but can read it and generally get the gist of whats going on and whats it doing. Did a lot of reading and most sources point to PICbasic as easy to learn but already familiar with C( found C easier to learn then basic) so didn’t want to go that way.Tried some demos of different C compilers for PICmicro, and later found Flowcode3 which has become my first choice because its stupid easy with just a datasheet on your device and Flowcode and little/no programing knowledge/experience you can get a lot done without typing a single line of code. If you where ever intimidated by microcontrollers try FlowCode you’ll be surprised how easy it is to make working software for a microcontroller and it will spit out your flow chart code as readable C code, its great for learning to program. Now just to figure out how the PIC controller functions work like interrupts and timers so I can get I want done.

Posted in Projects | Leave a Comment »

If ain’t broke : Fix it!!!!

Posted by 0ldrunk on November 21, 2009

Build Log / Posted by Oldrunk / Jan 16, 2009 @ 03:06 AM / 1,411 Views / 0 Comments / Reply
Well modded my TX and RX for a 5th channel to used for nav lights and other projects figure I’d post some pics of the 5th channel mod as well modded the throttle by putting some tubing over the metal ratchet to get some smoother control. The 5th channel is being controlled with a 5K Pot and the knob head is a OKW part# A1320260 , you can get this and other knob heads as FREE samples from their site www.okwenclosures.com as well they have project boxes and battery holders that they freely sample you can order what ever you want as long as its under a $100USD and not more then once evey 4 or 5 months or you’ll get black listed.
Been working on programming a PIC to take the servo input from the 5th channel, still new programming PICmicros so its a challange trying to get it to work.
Press ahead!

Posted in R/C Nav | Leave a Comment »

Electronics Log

Posted by 0ldrunk on November 21, 2009

I’ve had a hobby interest in electronics ( mostly controllers) for some time now and had a log going at a R/C forum but my projects are not just R/C based, I like get my hands on any thing. I’m going to start this blog with re-posting one of my first projects using PICmicro controllers. I never really did finish it but it did mostly work which I was pleased with.

Posted in R/C Nav | Leave a Comment »