Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts

Monday, July 25, 2016

Trying to get back into the swing of things...

Holy hot damned pancakes it's been a flipping long time...  I think I went full on A.D.D. with electronics for a while.  I tried building an 8x8x8 LED cube with a friend and never finished it.  I still have an illogical, but undying hate for 8 bit shift registers.  I mean it's almost done, but I apparently got the wrong kind of bit shifters and need to spend around $3.50 to get the right ones, but just haven't been willing to put in the order yet.

Damned thing is like 90% the way there..... stupid bit 
Then I got sucked into 250 sized drone racing.  Which I will admit is fun as hell when you're wearing goggles and looking out the nose of that little whirlybird flying around at nearly 80mph.  Although they really should offer some kind of warning to those of us that tend to tinker that it will be a non-stop time sink of tinkering, crashing, repairing and upgrading, followed with more tinkering and then days spent tuning it until it's perfect only to crash it within a few hours of getting a bit too cocky with the controls and then it's back to another round of repairs and tuning.  Sadly I think I enjoy the tinkering and tuning almost more than the time I get to actually fly it which in Juneau is around 20 days a year when there isn't massive winds or a torrential downpour of rain for weeks on end.  I am looking forward to winter flying and have been reading up on how the cold affects the batteries on these things. Sadly I've been bitten by the bug and now I also want to build a 400 sized drone with a really nice gimbal mount for my gopro for sweet, sweet cheese shots of Juneau from the sky.  Which leads me into my next massive time sink...


Can't stop tinkering with this damned thing...

I ended up purchasing Sony Vegas Pro 13 on a huge sale for a relatively good price.  While I would have preferred to get Adobe Premiere and After Effects I couldn't bring myself to buy into their monthly software rental program as a single year of that would have cost me six times what I spent for Sony Vegas Pro which I own outright and can use for the next decade if I want to.  So I've dumped 100's of hours into learning that piece of software through watching YouTube tutorials and just playing with all its features.  I still don't think I have the eye for cutting pieces of video together. As most of my jump cuts look like some kind of a test for epilepsy, but I'll figure it out eventually or be sued by some poor bastard that unfortunately found out they were epileptic due to watching one of my videos.





Friday, March 6, 2015

8x8x8 LED cube



It's been quite a while since I've updated this page.  I've had a lot of stuff going on for the past three years and sadly very little of it involved building electronics.  I might get into that on some other post, but right now I'm just posting to let you know I'm back and currently in the middle of teaching a good friend how to build and program digital electronics.  So we're both building ourselves our own 8x8x8 LED cubes.  I've been documenting the process and have been kicking around the idea of creating an in depth guide on how to do it all, but there are some really good guides already put out there by people and I've been following closely one person's guide in particular on Instructables.  His user name is "chr" and his guide is very deep with nearly half of it devoted to explaining how the code on the Arduino works and how to modify it to your liking.

Led Cube 8x8x8 by chr on Instructables
http://www.instructables.com/id/Led-Cube-8x8x8/

Jameco BoM for chr's 8x8x8 LED Cube with schematics
http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2168940_-1

Jameco also has essentially the build with a parts list on their site.  I ended up ordering a few parts off their website, but I got most of it through eBay as I was willing to wait 2-3 weeks for it to be shipped from China or Hong Kong.  The pictures are of my test 8x8x8 cube using 3mm red LED's although the two final cubes we're building are going to be 5mm super bright red LED's.  I had a few thousand 3mm LED's laying around and figured I should use them as a test since our build is based around the idea of making loops on the LED's legs and then creating rails from bare copper 18gauge wire to run through all the LED's looped legs.  It works well, but there were lots of challanges in trying to build it that just aren't present when building 3, 4 or 5 by cubes.  For one it was a giant PiTA to reach the 4 central columns with the soldering iron initially, but part of the fun and sense of accomplishment in these kinds of projects is figuring out how to overcome the hurdles that continually get placed in front of you.  Well, I'm posting this during a lunch break that is almost over so I'm cut this post a bit shorter than I'd been intending.  Expect updates to start becoming somewhat regular again as I start documenting the various projects.

Right now I'm trying to finish up the 8x8x8 LED cube build, but after that I've already got most the parts for a couple smaller projects I'm really excited about and there's always my electronics white whale to contend with which would be finishing that RepRap Prusa 3D printer I started 3 years ago and then got sidetracked with a very intense 2 year long relationship that left me torn up and spit out.







Monday, April 30, 2012

TimeLapse Camera hack


For building my 3D printer I was thinking of setting up a my Canon to capture a time lapse of the whole build over the course of however many nights it takes me to build the whole thing.  I found this guide for building a super simple camera trigger and using a firmware upgrade called CHDK.  I've used CHDK before on my camera, but it was a few years ago.  This might just be the perfect use of an arduino nano, 16x2 LCD screen and a few TACT buttons to navigate a simple menu system.  Ideally I'd like to set this whole thing up to tie into a 3D scanner I've been looking at building.  For the short term I'd be happy if I could have it take a picture every one or two minutes during the build.  I have an 8GB SD card so it can hold thousands of pics so storage for all the shots shouldn't be an issue.  If I don't get around to doing that I do have a 720p webcam that I've used in the past.  Still not entirely sure I want a video of me beating my head against the wall as I run into problems that I'm just going to assume will happen as there are so many different things that can go wrong while building a 3D printer.

DIY Shutter Release Cable for Canon Cameras


CHDK Wiki


Saturday, April 28, 2012

Lulzbot Order came in

Lulzbot RAMPS board
RAMPS 1.4 board from Lulzbot, seated on an Arduino MEGA 2560 from BuyInCoins


My LulzBot.com order came in on Thursday, it was securely packed with bubble wrap and everything came through the mail in good shape.  Now I have to wait for the rest of the hardware to be shipped on Monday so I'll hopefully be able to start building it next weekend.  I'm hoping I haven't forgotten anything major so I can start building it right away.


LulzBot order came in, bubble wrapped up and protected.
Budaschnozzle 1.1 for my Reprap's hothend, boxed up and secure

Budaschnozzle 1.1 with .5mm extruder tip

Budaschnozzle 1.1 Profile

Budaschnozzle 1.1 

Budaschnozzle 1.1

Wires and connectors for Budaschnozzle 1.1

SDRAMPS card reader modification for the Reprap Prusa Mendel (top)

SDRAMPS Card reader modification for the Reprap Prusa Mendel (bottom)


Mechanical Endstop Switch

Mechanical Endstop Switch (reverse side)

Pololu A4988 Stepper Motor Driver, Assembled (top)

Pololu A4988 Stepper Motor Driver, Assembled (bottom)

RAMPS 1.4 board (top), you also need four Pololu A4988 stepper motor drivers to mount to it.


Wiring for the RAMPS board
I picked up a  few back up parts in case I screw up my hotend.  If I don't end up needing them I can always buy a cheap hotend and use these components to heat it.
6 Ohm resistor for heating the hot end of the extruder

100k Epcos Thermistor


100k Honeywell Axial Thermistor

Thursday, April 26, 2012

There's a top 10 list for everything...


While doing some digging through the Google heap for some inspiration for Arduino projects I stumbled across a website called Nothing But Reboots that had a post from January 2012 about the Top 10 Arduino Projects.  Most of the top 10 were links to youtube videos and a few were really damned cool.  My favorites was the oscilloscope, RFID sensor and the Wii remote hacking to track it's accelerometers.




Oscilloscopes and Arduino's

ARM Oscilloscope DSO-201 Nano (Mini 2.8in) Digital Oscilloscope
I was looking at digital oscilloscopes and kept seeing these really inexpensive (around $70) DSO-201 units showing up all over ebay.  I've only run into one problem so far in the last year where an oscilloscope would have helped me and it was a simple beginner mistake of not taking a tact switch's debounce into account while setting up the sampling rate.  A quick google search of my problem brought up tons of pages of people running into the same problem and their solutions so it was easy enough to fix.  Still, as I get deeper into building electronics it might be another helpful skill to have.  I tried doing a google search for oscilloscope arduino and found Accrochages webpage about using an Arduino to create a very limited, low end oscilloscope with similar capabilities as the DSO-201.  So I guess I have another project to build one of these evenings.  Good thing I just bought a bunch of super cheap Chinese Arduino UNO's.

I figure building a really simple oscilloscope with an Arduino will let me learn the basics of how to use one.  Plus if it does turn out to be useful I'll probably have a better idea of what kind of specs I'll need as there seems to be a big price difference depending on the sampling rate and number of inputs it has.  Although in the $400 price range they start to come with a few more bells and whistles.  Seems like that might be around the price range if I wanted one that would give me a little room to grow into it as I keep building bigger and ever more complicated circuits.

OWON SDS7102 100Mhz Oscilloscope 1GS/s 8" Color LCD USB FFT 2 + 1 Channel

Wednesday, April 18, 2012

eBay Reprap kit almost ready to be shipped to me!



I got an email from the person I ordered my reprap plastic parts and all the hardware from (excluding electronics).  He apologized for not having sent me the kit yet, but he still has a couple plastic parts to print out.  I let him know I'm waiting on a bunch of other hardware from other sources and getting the Reprap Prusa Mendel frame right away isn't a big deal since I'm waiting on so many other parts to arrive as well.  I'm hoping it will be sent out before the end of the week and I might have it before the end of next week.  That will put it in the same time frame as the last of the parts I need.

Tuesday, April 17, 2012

Buyincoins, good enough!

So far after a quick test of a couple Arduino's I got from buyincoins.com (BiC) I'm going to have to say I'm pretty happy with the items.  I wish I had a nice little light tent for shooting macro pics of all these items (another thing to add to the long list of things I need to build). For the most part you can read most of the text on the chips, but I was having a tough time balancing glare with enough light to see everything well.

Everything seemed to be in good shape and the only thing with a little damage was the breadboard power supply which suffered a few slightly bent legs during the international shipment, but that seems like a small issue for how inexpensive most of this stuff was and it was pretty easy to bend them back into the proper position.

First up I picked up a couple of Arduino UNO's.  I had a genuine UNO R2 (release 2) I purchased about a year ago to compare to the one I got from BiC. There are a few minor differences, but I'm not sure if that's because the BiC UNO is just an R1 instead of an R2.

LEFT: BiC Arduino UNO                RIGHT: Original UNO r2
High Quality Arduino Uno ATmega328P-PU Module ATMEGA8U2 AVR
 The bottom of the boards gives a little more info on the boards.  Since the BiC board doesn't have an R2 or R3 after the UNO I'm assuming it's probably an R1
LEFT: BiC Arduino UNO                RIGHT: Original UNO r2
High Quality Arduino Uno ATmega328P-PU Module ATMEGA8U2 AVR
Next up is a  motor shield, I picked up one from Adafruit last summer that was unassembled so all the poor soldering on the original Adafruit board is my own poor soldering skills.  I've gotten much better with soldering since last summer when I put the board together, but honestly not that much better.

LEFT: BiC Motor Shield                RIGHT: Original Adafruit Motor Shield
Motor Drive Shield Expansion Board L293D 
LEFT: BiC Motor Shield                RIGHT: Original Adafruit Motor Shield
I assembled the original board so the bad soldering... me.
Motor Drive Shield Expansion Board L293D 

I also picked up a couple of Arduino Nano V3's I didn't own any original Arduino Nano boards so I didn't have anything to compare it next to and the same goes for the rest of the stuff I got from BiC so from here on out it's a picture party... wooooooooo     The captions below each picture is the listing name in BiC of each item.  I was a little confused by the Arduino UNO MEGA 2560, but I was just hoping it was some kind of typo or copy pasta.

Arduino Nano V3.0 AVR ATmega328 P-20AU (bottom)

Arduino Nano V3.0 AVR ATmega328 P-20AU  (top)
cheap 3 axis accelerometors I had to pick up a few.  I have no projects in the near future I would need these for, but I'll figure out something awesome to do with them eventually.
MMA7361 Angle Sensor Inclination Accelerometer

MMA7361 Angle Sensor Inclination Accelerometer

New Character LCD Module Display LCM 1602 16X2 HD44780 Blue Blacklight

Perfect High Quality MB102 Breadboard Power Supply Module 3.3V 5V Arduino Board (top)

Perfect High Quality MB102 Breadboard Power Supply Module 3.3V 5V Arduino Board (bottom)


I'm hoping to use the Arduino MEGA 2560 to control the RAMPS 1.4 board and Pololu stepper controllers to control the reprap prusa I'm currently building.
New High Quality Arduino UNO Mega 2560 ATmega2560-16AU (top)

New High Quality Arduino UNO Mega 2560 ATmega2560-16AU (bottom)

Monday, April 16, 2012

Buyincoins shipment arrived

Grabbed the package this morning from the office and ran it back to my apartment. Will tear into it after work with some pics comparing the Italian made Arduino UNO's with the ones from BiC and if I have time I'll run a few tests on them this evening as well.

I've gotten so used to everything being shipped in boxes I was a bit surprised this was all in two plastic bags taped together. Feels like a lot of bubble wrap inside of it.

Saturday, April 14, 2012

Buyincoins.com test purchase

An original, made in Italy Arduino UNO,
we'll see how the Chinese models stack up in comparison.

I stumbled across a post on reddit's subreddit /r/arduino titled  How I got my Arduino for $10.41 with free shipping, and some other tips for getting related stuff really cheap.  It was a post about some dude getting his electronics through buyincoins.com When I checked the website the prices seemed a little too good to be true even if a lot of it was just potentially clone knock offs.  They were located out of Hong Kong and coincidentally my sister is currently living there and she's mentioned some of the crazy cheap prices she pays for some electronics she's bought there.  So maybe the prices weren't too good to be true.  Anyways long story short I ordered two Arduino nano v3, two Arduino UNO's, one Arduino MEGA 2560 and a couple of cheap sensors and a 16x2 LCD screen.  I ordered all of this on 3/26/2012 and got a note in my mailbox to check with the office at my apartment complex on 4/13/2012 (18 days for an international order isn't too shabby), but  the office was closed by the time I checked my mail on Friday.  So I'll be picking up my buyincoins order Monday and getting a chance to see what kind of quality the boards are.  I'm hoping I'll be able to use the MEGA with the RAMPS board and pololu stepper drivers for my reprap prusa build as that will save me about $50 off the cost.

Reprap Prusa Mendel 2.0 Frame w/metric parts is shipping

I decided to build a DIY 3D printer called Reprap in two parts over the course of a month and a half to spread the cost out over a few paychecks so I wouldn't dip into my savings account.  I had a friend who was also interested in 3D printing offer to chip in on the cost, but I didn't want anyone else financially invested in this if it turns out to be a miserable failure.  The odds of it failing do seem pretty small as I've spent the last month and a half reading up on how it all works and there are a lot of blogs out there people have made outlining their whole build process and many of the pitfalls they hit during their builds. So I don't think I'm in for any big surprises, but this is by far the most complicated piece of electronics I've tried to build and I've really only been building really basic electronics and programming Arduino's for about a year now.  So this whole project is in the scope of what I've been learning, just cranked up quite a few levels above what I've done.  There are thorough build guides on blogs and wiki's.  There are videos on youtube showing how to do it all step by step so I figure if I can follow the directions to a T and use a little bit of basic electronics intuition I should be able stumble through the whole process without too many major issues that hold up the build process.

After looking around on the web for quite a while for pricing and parts lists I finally decided it was worth paying a small premium and buying the whole framework in a kit off of ebay.  The picture below is what it's supposed to look like when it's all put together.

Reprap Prusa complete frame with
NEMA 17 steppers, Wades Extruder and printing bed

This is all the parts you get to put the thing together.
A picture of most of the parts that come with the kit

STILL NEEDED
01 X RAMPS w/pololu stepper drivers I already have the Arduino MEGA 2560 board
01 x Wade Hot End The kit I purchased has the filament extruder this mounts to
01 x Power Supply I have a couple of extra computer PSU's I might be able to use
01 x Heated bed  I'll need this for printing ABS is my understanding PLA works w/o
Lots x wiring & connectors I have a lot of ribbon cables and some connectors already
Velcro strips for Cable Management  I've got extras left over from past projects
Starter Materials for 3D prints PLA or ABS rolls  I'll need material to print with

I figure it should take a few weeks before the prusa mendel DIY frame kit arrives.  So I've got a little time to read up on the rest of what I need so I'll be ready for another order where I get the electronics in a few weeks to a month.

Thursday, March 15, 2012

Well, that was a damned rough winter...




So things got a little "crazy town" around the holidays this year.  I guess it was more or less expected to happen to my siblings and my self since our father passed away last summer, but while it was a long rough scrape through the holidays this year I feel like it helped us finally close that book and to be able to continue forward.

Now with that fairly depressing bit of info behind us let's move onto far more interesting topics.  While I haven't been posting on here regularly I have been working on electronics and reading quite a bit on them as well.  While initially I was content to follow someone else's instructions to build electronics I'm now trying to dig into the actual theory and math behind how it all works because in the end I have some ideas I'd love to build, but don't quite have the technical know how to do them myself and I plan to outline some of these ideas in the coming months and try to make some of them into a reality.  For now I've pretty much shelved the LED cube, it was fun and some great soldering practice, but after building a 4x4x4 cube and learning the ins and outs of programming it I'm kind of over the whole thing (I'll try to post up my results shortly).  I did learn a ton of really useful information from building them and I think it was a great first project to get my feet wet, but I want to build something that's actually useful and not just a nifty looking new age digital lava lamp for geeks... although they are wicked awesome.

One of the projects I've been working on is one I posted on a few posts back, which is using a Nintendo Wiimote and an IR LED in a pen as a functional touch interface with either a projector or computer screen.  I had some limited luck, but the main problem was that the LED grab bag I got from Jameco had tons of IR LED's in it, but most were very low brightness and didn't track well with the Wiimote.  I just received a large shipment from Jameco and another smaller shipment from Adafruit of 25 super bright IR LED's so I'm set to make some pens and play around with the touch interface.

Oh, and uh... Rocksmith... still pretty damned awesome


Wednesday, September 21, 2011

New Arduino Boards announced!

The New Arduino DUE, just look at all those pinouts!
I've really enjoyed learning basic digital electronics with the Arduino UNO it's a little lacking in the number of pinouts for different sensors and such, but that's also forced me to learn how to use many basic electronic components  like transistors and shift registers to gain additional functionality.  Problem is I've been kicking around a few ideas for some larger projects that I've already started sketching out on paper and figuring out the  parts needed, but most of them were far off way down the road because I figured I'd have to purchase an AVR programmer for programming powerful microchips.  Then out of the blue I come across a few posts on different sites I get RSS feeds from and find out that the makers of the Arduino are releasing some newer boards with even more power, memory and larger number of pinouts for hooking up more sensors and such to an Arduino.  I'm really excited to see how much the new Arduino DUE will cost and to get my hands on a couple of the boards as I've already started to go back to my long list of projects and realizing there is a good chance quite a few of them can be accomplished with this new board.

From the  wired article...
"The new Arduino Due sports a considerably beefier set of stats, incorporating a 32-bit ARM-based microcontroller that can run up to 96 MHz. For comparison, standard Arduinos normally have an 8-bit, 16 MHz processor. It has 256 KB of flash memory and 50 KB of RAM (SRAM, to be precise). This more advanced processor should allow hackers and DIYers to create more advanced projects than have been possible with Arduinos in the past.


The Due will first roll out to developers, rather than immediately being released to the community at large. The company plans a final, tested release by the end of 2011."

Wednesday, September 14, 2011

Summers over, I'm able to focus again...

Not the greatest work space, but I do love the view

Late night post, forgive the rambling...

Well I'm back, somehow I made it through the summer.  It was a rough one with my father passing away in June and being short staffed at my job, but really it was the depression and grieving that sucked all the wind out of my sails.  I'd wanted to be up to a 5x5x5 cube with an Arduino Uno and some shift registers by the end of the summer.  I had only just built a 3x3x3 cube at the beginning of the summer and was wrapping my head around the whole thing when my father passed away.  I did play around a little with the 3x3x3 cube, but I didn't really do much in the way of tweaking the code or trying to do anything beyond the original basic patterns the original author of the sketch had done.  When I rebuilt my 3x3x3 cube using rails I also built a 4x4x4 cube green LED's (also with rails), but I didn't do anything with it until the last couple of days.  Using the code for the 3x3x3 cube I began tweaking it to work with my 4x4x4 cube.  With all the code work I'm really starting to understand the fundamentals of how these cubes work and how to build my own patterns.  The problem is that all of this just makes me want a larger cube where I can do increasingly intricate patterns.
I gotta dig through my old computer gear and find all my ribbon cables.


I'll be trying to post regularly again as I've got a whole bunch of  electronics projects I've been researching that I'm really excited to dig into.  Living in Juneau, Alaska and with winter fast approaching I figure I'm going to be having a lot more time to work on projects in the evenings since it's going to be cold and dark as hell around here real soon.