Go Down

Topic: My first proto-board Arduino, "Ghetto-duino" (Read 1 time) previous topic - next topic

Chip

Nice one Captain - its amazing how few components are really needed to get these babies running.

CaptainObvious

I'm curious, I know the crystal is a bit high.. I didn't even think of that when I was buying them.. but is there a way to calculate the difference between the times?  The reason I'm asking, I can't get the VirtualWire library to work correctly, and I'm assuming it has to do with the timing.

But yeah.. FYI, do NOT buy a Radioshack Dual-watt soldering iron.. haha, I can't even tin the tip without it being on 40watt. But other than that.. trying to find a replacement tip for that thing is.. rediculous.. the guys at Radioshack have given me like 4 different tips.. returned each one, because they don't fit! lol.

Oh and about eBay.. I probably shouldn't have invested half of my income on parts.. :D when I stock up.. I stock up! I've purchased (without any reason other than I needed a few LEDs, but they were so much cheaper as bulk!)  100 RGB LED's with resistors for 5v, and 12v for $35, 100 N/O push buttons for $8, 100 R G Y B W Super Bright LEDs w/ resistors for 5v & 12v for $8.. uhh, a good assortment of 74HC595, 165, 164 and some others.. 40 in total for $7.. oh I can go on for days!
(Oh and these prices are shipping included)

But I think the next thing to invest in is some Strip board.. seems much easier to use than these PoS boards that Radioshack has.. they're okay for small projects.. but at $2 a board.. come on! :D

tytower

#7
Sep 28, 2009, 12:43 am Last Edit: Sep 28, 2009, 12:47 am by tytower Reason: 1
But But.. they gotta pay the rent Cappo.

How are you getting the pictures to come up ?
I can put the link in but danged if I can get it to display on this page.

CaptainObvious

Try using the img tags, rather than the url tags.

[ img]  blahblah image link here, to a jpg or similar picture type [  /img]

Take away the spaces in the brackets, but that should do it. From picasa on the right there's an Embed image link, I choose "Image Only, no link" and then choose the size, and copy the link, and viola! Semi-pretty pictures!

:)

mem

#9
Sep 28, 2009, 05:37 am Last Edit: Sep 28, 2009, 05:46 am by mem Reason: 1
Quote
I'm curious, I know the crystal is a bit high.. I didn't even think of that when I was buying them.. but is there a way to calculate the difference between the times?  The reason I'm asking, I can't get the VirtualWire library to work correctly, and I'm assuming it has to do with the timing.


That crystal is just over 4% faster than the standard crystal.

Many libraries (including virtualwire) use a constant named F_CPU to calculate speed. F_CPU is set in a file called  boards.txt and you could create a new entry for your board with your crystal rate. But some published code may not work correctly if the cpu frequency is not  even number of megahertz. Although  I think virtualwire should be ok with your odd value so you could try replacing F_CPU in virtualwire.cpp with 16670000 and see if that fixes your problems.

But you may save yourself some trouble with time sensitive code if you can replace the crystal with the standard value.

Go Up