Show Posts
Pages: 1 2 3 [4] 5
46  Forum 2005-2010 (read only) / Exhibition / Re: Dual Core 168 Arduino on: May 18, 2008, 04:58:14 pm
Ok, My dCoreduino168 is up and running. I blasted two sets of 168's two with ADABoot and two with Diecimilia BootLoader and all four with BlinkLED running 200 ms cycles (200 on/200 off). I started off with the Diecimilia Bootloaders in each slot.

I use the FTDI TTL-232R5 cable so I put a 0.1 uF cap with long leads from  the RTS(Reset) pin on CN1 snaked around SW2 and grabbed reset from the end of R1 near C1 ... alas ... no joy in Mudville ... the Arduino IDE via  the TTL-232R5 would not AutoReset. I switched over to the ADABoot  chips and the same story ...

OK, I will hand reset, I did and still no joy. I got my DMM and rang out the CN1 Rx and Tx and they were backwards ... what to do, hack my cable? I don't think so!  Make an adapter? No too much work ... it's time for the xacto knife! I cut the trace on the top right by the pin connector on CN1 for RxD and the trace on the bottom right by the CN1 TxD. Ran a piece of resistor lead clipping from RxD on bottom to to the top pin of SW2 position 1 and on the top from CN1 TxD to the top pin of SW2 position 2. I used some insulation on  the jumper as it crossed the lead of the cap I put in (unsuccessfully) for auto-reset.

Put it all back together, powered up and hit reset and started a download ... success! I can load sketches ... now to find out why no auto reset ... sigh!

This is a broad look at the overall setup. I used  two brand new breadboard panels and once I had it all spaced the way I wanted it, peeld the backing off  the double sided tape on the  underside and stuck it down on  the plastic board. the left cable is  the FTDI USB cable, the right is power from a 7.5V 1Amp wall wart. I used the HVW/Solarbotics BreadBoard Power Supply  and wired a jumper across the 7805 holes on the dCoreduino168. That way I bring +5 volts out on both sides. I also cut off the Vcc pin on the right angleheader for the FTDI cable so its 5V source from the computer doesn't fight the local source.

By using two separate Breadboards and spacing them you recover a lot of lost real estate  on the breadboard surfaces. I think that by changing to 1/8 watt resistors and .1 lead spacing on the caps and general squeezing you can take an inch off  the width of  the board, dump the power supply and get rid of four of the I2C lines and move  the FTDI header to an end and you could take another 3/4" off of  the length.

Personally I think that putting the USB conversion on board is wasted. 95% of  the time this circuitry that represents between 1/3rd and 1/2 the cost of the board sits doing nothing. I prefer the Modern Device/Adafruit/Wulfden approach with a separate USB cable and just an onboard header.



You can see my patchwork up close here



47  Forum 2005-2010 (read only) / Exhibition / Re: Dual Core 168 Arduino on: May 18, 2008, 09:20:19 am
Quote
If the SSS slide switches are rated at 200mA, ours would have blown along time ago.

 Well, so far, I cannot find any switched by SSS, maybe I should look at Newark, DigiKey, or Jameco ....

 cheers ... BBR

p.s. I have my board pretty much together, pix and stuff by tonight!
48  Forum 2005-2010 (read only) / Exhibition / Re: Dual Core 168 Arduino on: May 17, 2008, 09:25:24 pm
Quote
i'm not sure, but i don't think an on/off switch is needed in the final version.
People could just use their own switches by connecting a switch to one of the wires going to power... that way there are endless posibilities ( that is unless you run jumpers from where the slide switch is sapposed to be to a switch)

also, jumpers are not reccomended from me to use for the on/off switch, i had to bend them a bit, and they look slanted, and i have to solder on both sides to get a good connection... i reccomend finding the perfect slide switch for this and just using it....

You had to bend  the pins because  the holes are on 3 mm centers, not 2.54 mm (.100") centers, I spent an hour going over  the Mouser Catalog and downloading data sheets looking for a switch, I found exactly one switch with 3 mm spacing and it was limited to 200 ma which is pointless for a 7805!

 cheers ... BBR
49  Forum 2005-2010 (read only) / Exhibition / Data Logger on: May 17, 2008, 08:57:53 pm
I had a bunch of customers contact me about interfacing ETT DS1307 Real Time Clock Boards to Arduino and one thing led to another, I designed a quick and dirty add on board with a 24LC256/24LC512 for data storage memory. The board plugged into the spare header ... well .. one thing led to another and  I wound up designing a whole "data logger" as well. The details are on my website but the quick over view is this

 - battery backed up DS1307
 - two 24LCxxx sockets addressed as $50 and $51, can take up to a 24LC512
 - four positions for scaling resistors for A0 to A3
 - direct plug-in to either Arduino NG or Diecimilia, or PaulB's BBB, or simply to a breadboard
 - comes with a nominal set of scaling resistors (details on webpage)

http://www.wulfden.org/DataLogger/index.shtml

cheers ... BBR

Left side 3x6 is to connect to power, gnd and A0-A5 on the BBB, the right side holes line up with A0-A5, and power and ground on the Arduino NG and Diecimilia, or can be wired to directly or header pins for a breadboard.




50  Forum 2005-2010 (read only) / News / Re: Freeduino SB on: June 06, 2008, 10:28:03 pm
Quote
Quote
Nice.  

Are the Eagle / CAD files available anywhere?  I didn't see them at first glance.

FYI, they're posted now at the HVW tech site and on the Freeduino site on the files page. Unfortunately they're in Protel format...

D

The Gerber files are now there also ....

  cheers ... BBR

51  Forum 2005-2010 (read only) / News / Re: our very own paulB in the newspaper on: February 29, 2008, 11:54:04 pm
Quote
Both have free development systems available, but the PIC requires stand alone programming hardware.  The Arduino is better suited than the PIC for portable projects, that a user can build from cookie cutter instructions without having to buy dedicated programming hardware used only for a one-time project.

This is not accurate ... The AVR requires a standalone programmer of some type (anywhere from a simple parallel programmer to one of Atmel's fancy jobs). Arduino simply burns a simple serial protocol bootloader using the stand alone programmer and that allows subsequent program loads via serial lines. But then so does a PIC. The Portland (OR) Robotics guys have developed a bootloader for their PIC 16F877 Mark III board that runs  their MiniSumo 'bot and it works just like our Arduino loader. I am sure there are beaucoup similar setups out there.

That said, I am an old hand at PIC programming, and if I never seen another PIC asm statement again, it would still be too soon!

Tom,  all your other points are well taken.

cheers ... BBR
52  Forum 2005-2010 (read only) / News / Loading a Sketch to the Lilypad on: October 26, 2007, 01:14:47 pm
I received two Lilypads from Sparkfun yesterday. This morning I sat down and tried to make them fly.

After some inspection it seemed that the P3/P4 programming adapters I developed for Paul Badger's BBB and RBBA and whcihc also work on  Lady Ada's Breaduino could be easily adapted to the Lilypad.

The P4 has three rows of holes one of which would be used to take the pin/socket header of choice to connect to your *duino board to load sketches. I set it up that way so that by slicing the traces between rows 1 & 2 you could use jumper wires to reconnect in a different pin order.

In short, it worked just fine. I used a 4 pin right angle socket header inserted flush on the bottom of the Lilypad so it didn't add anything to the slim profile, and used a right angle pin header on  the P4. Reset on the Lilypad is not handy so it is only GND, TxD, RxD, +5 and you have to push the reset manually when loading the sketch.

Pictures available at http://www.wulfden.org/pa/index.shtml#P4L.(its down at the bottom of the page, clic on he thumbnails for larger images.)

I sell the kits for the P4 for $5 (3 for $12) plus shipping. In  the Paypal notes to seller, say that you are getting this for a Lilypad and I will throw in the right angle pin and socket headers.

Cheers ... BBR
53  Forum 2005-2010 (read only) / News / Re: NEAR-Fest 10/12-13/2007 on: October 15, 2007, 08:21:46 pm
It went well. NEAR-fest had a paid gate of nearly 2400 despite pretty hearsh weather on Friday. I sold about 30-40 Arduino platforms, that is kits based on either the BBB or the RBBA. It was about 50-50 between Arduino newbies and old hands.

I had posted that I would have my bootloader burner with me and available for use on several other lists and forums besides here. Six people showed up bearing various Arduino boards and got new bootloaders, most of them had NG boards they had bought from SparkFun and the rest had BBB's.

It was fun and there were several breaks where we got together and hacked some code and hardware.

I will be at the hamfest in Longueiul, near Montreal on October the 26th. I have reserved an extra table for "play space" ...

 cheers ... BBR
54  Forum 2005-2010 (read only) / News / NEAR-Fest 10/12-13/2007 on: October 12, 2007, 06:42:47 am
The largest hamfest in the Northeastern US starts today int tomorrow. New England Amateur Radio Fest  http://www.near-fest.com at the Deerfield (NH) Fairgrounds - about an hour from downtown Boston starts before mid-day today, Friday and runs until about 2 pm tomorrow, Saturday.

I will be  there in Commercial Building #2, slot #31, with my whole line of Freeduino gear and K107 serial LCD controllers, displays, etc.

I will have my bootloader burner setup wth me and can burn any of the new bootloaders you want, no charge ... just come by and say hello

Cheers ... BBR

The Shoppe at Wulfden http://www.wulfden.org/TheShoppe.shtml

55  Forum 2005-2010 (read only) / News / Re: freeduino universe on: September 11, 2007, 12:41:31 am
Quote
Hey Brian,

I think that page is totally awesome. Can you add the world-famous index of Arduino Knowledge?

http://www.freeduino.org.

And while we're on the topic of the freeduino site, I am open to any suggestions as to what to do with it. I also registered freeduino.com and net, in case anyone has a use for them. A collective site showcasing Freeduino products for sale? Very open to how to use the freeduino momentum.

Can I adapt or lift the Freeduino universe page and post it to freeduino.org? I at some point I am also going to do "the visual guide ot Arduino hardware..." a sort of picture-based guide to what's out there.  

anyway, onward and upward freeduino-ers.. or is it freeduino-ites.. Freeduinians?

Uhhhh Daniel, I dunno how to break the news to you, but I did link to the Index, its the first thing on the page!

I did  the page using iWeb and the source code is all run together .... if you aren't a mac person and don't have iWeb, I dunno how to move it over ... I would be happy to make any changes and then send you an archived folder ...

56  Forum 2005-2010 (read only) / News / freeduino universe on: September 10, 2007, 06:59:38 pm
This started as an idea a few of us knocked around ... I had some time on my hands today (be very scared!) and decided to do something about it ... "freeduino universe" ... a listing of all the vendors, small and large of alternative Arduino, that is to say "freeduino" hardware, and related products. That is the idea, and what is  there is a start. I know there are  sites I don't have, so let me know who/what I have missed or gotten wrong ...

http://www.wulfden.org/freeduino/

It may not ultimately rest there, but its a place to start ...

 cheers ... BBR
57  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ATmega168 Lock Bits??? on: September 17, 2007, 02:04:47 pm
Quote
That sounds right, but I've never tried it.


what about the sketch part of it, do I have to tell it anything to get the sketch to execute, or if I wanted a larger (than 14336) sketch do I need to tell it to use Bootlaoder space somehow?

BBR
58  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ATmega168 Lock Bits??? on: September 16, 2007, 07:06:35 pm
Quote
Hi,
never tried it but for
Quote
And ultimately what do I do to burn a sketch, sans bootloader? How do I tell teh Ateml to run the sketch, don look for the Bootloader?
http://www.arduino.cc/en/Hacking/Programmer
Eberhard

OK, I went there an read that, and it says at the end

Quote
AVRISP mkII

If you have an AVRISP mkII, you'll need to burn your sketches outside the Arduino environment. You can use a program like avrdude, avrstudio, or winavr. To generate the .hex file that you'll be burning, press the upload button in the Arduino environment. The .hex file will be saved in the applet sub-directory of the sketch's directory (which you can find by selecting Show Sketch Folder from the Sketch menu of the Arduino environment).

So what do I do, generate an avrdude sequence like I was burning a Bootloader with unlock, set fuse bits,  burn program, and lock???  Do I achieve my 'no further programming and no verifying' by writing the Lock Byte as 0xCC instead of 0xCF ??

Another thing puzzles me it says that if you burn the Sketch directly you ge all 16K instead of the 14336 ... how do you tell the chip that the sktech owns all the real estate ... that there's no bootloader ... are there additional bits to be set/unset
59  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ATmega168 Lock Bits??? on: September 15, 2007, 05:25:04 pm
OK, so I see lock values being written at the start and end of burning a bootloader ... 0x3F at the start and  0xCF at the end.

Now  0x3F means BLB11 and BLB12 are 00 (programmed) and SPM cannot write to bootloader section ... then 0xCF has BLB11 and BLB12 unprogrammed and it means SPM can write to Bootloader .... if you are burning a Bootlader isn't that backwards????

I just looked in preferences.txt for Arduino 0009 and it says the "unlock bits" for ATmega 168 are 0x3F .. and we know that works ... so the question remains, can someone re-explain this so it makes sense.

... while I am still on a roll, clearing (making 0) the bottom two bits gives me my write protect, read lock, so 0x3F becomes 0x3C and /or 0xCF becomes 0xCC. the question is when I setup an AVRDUDE run to burn the sketch, when do set LB1 and LB0 to what I want, at the end in the "lock" stage?

And ultimately what do I do to burn a sketch, sans bootloader? How do I tell teh Ateml to run the sketch, don look for the Bootloader?

60  Forum 2005-2010 (read only) / Frequently-Asked Questions / ATmega168 Lock Bits??? on: September 15, 2007, 01:10:43 am
I spent three to four hours spread out over he last couple of days trying to figure out Fuse and Lock Bits on the '168.

I am doing some work for a client who will ultimately be burning the code into 50 chips on 50 boards going into 50 black boxes going out to 50 places. For any number of good reasons, plus a little paranoia, he doesn't want the chips reprogrammed or readable.

I have been told that in my old PIC parlance there is a lock bit setting that essentialy turn the 168 into an "OTP" - one time part, not reflashable and also 'not verifiable' which essentially means not readable ... I just cannot make sense of the Atmel documentation.

Can anyone give me a push in the right direction? Please don't say read pp350-380 in the datasheet, I HAVE and it doesn't make any kind of clear statement that I can wrap my thick Irish skull around!

   thanks in advance for any help ....  cheers ... BBR
Pages: 1 2 3 [4] 5