Hi Joep, Vasi, I obviously first thought about just unplug Atmega, put PIC instead and see what happens. I didn't even want to map Arduino pins at the beginning. The problem is power supply pins aren't located the same way. See:
Atmega: http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf PIC: http://ww1.microchip.com/downloads/en/DeviceDoc/41412C.pdf This would requite to cut some pins (invasive) and add some wires: - cut RA5 because connected to Vcc - deal with RB0 because connected to AVREF (I don't know what's Atmega's behavior regarding voltage ref, maybe just an input ?) - cut RB1 because connected to GND - instead, plug a wire from this GND, to Vss - Vdd should be ok because connected to AVCC (same as VCC on Arduino schematic). As you can see, it's not very clean, yet easily feasible. Also note ICSP pins aren't located the same, which means it would be hard to program the PIC this way (there could be a bootloader, yet it's still useful IMO). In a second approach, I imagined a small PCB that could be plugged instead of Atmega, with a PIC on the side of the board. The PIC would be after the reset button + ICSP connected, probably upside down (so copper side would be viewable when looking at Arduino). Since there's a PCB, why not trying to match Arduino pins as much as possible ? Cheers, Seb 2010/7/24 funlw65 <[email protected]> > As I imagined for the first time, when it was only about the > microcontroller on a card inserted in ATmega328 socket, if the PIC is > under the card, then you can insert a shield. But as things turned > out, I think that Sebastien wants only to take advantage from the FTDI > chip on the Arduino board and use it as development board, with > wires... > Or maybe he will use SMD components... > > Another ideea is to use a flexible "board"... but a proper name will > be "Squid" :P > > Vasi(funlw65) > > On Jul 24, 9:23 am, Joep Suijs <[email protected]> wrote: > > Hi Seb, > > > > Just wondering, (how) can you use shields on a arduino board with the > > cuckoo installed? > > > > Joep > > > > 2010/7/23 Sebastien Lelong <[email protected]>: > > > > > Hi guys, > > > > > One step further... I've created a first schematic for Jaluino Cuckoo, > > > attached as PNG file: > > > - I've copied ISCP part from Jaluino Medium > > > ( > http://justanotherlanguage.org/sites/default/files/jaluino_medium_v13...). > > > - Xtal option: with 2 jumpers, user can decide to use Arduino Xtal > > > (16MHz), Cuckoo's onboard Xtal (20MHz), or no Xtal at all for internal > > > clock, low power usage (without being able to use pins though). Note > with > > > 18f25K22, using Arduino's Xtal gives the highest performance with x4 > PLL > > > (not possible with 20MHz) > > > - I added two I²C resistor, as an option. I wasn't able to find them > on > > > Arduino schematic to map them > > > (http://arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdf). > I > > > think it can be convenient to select I²C master/slave this way. > > > - There's a RESET push button on Cuckoo's board, in addition to the > one > > > found on Arduino. This could be interesting when using Cuckoo as a > > > standalone board, as Mike suggested, but this would need to act on two > > > buttons to reset it when plugged on Arduino... Maybe I'll add a jumper > to > > > select which Reset to use. I *think* (means I'm not sure) Arduino's > Reset > > > schematic should work with Cuckoo. > > > > > Before I start to pull my hair with the PCB, do you any comments, > > > suggestions, ... ? > > > Cheers > > > Seb > > > 2010/7/16 Sebastien Lelong <[email protected]> > > > > >> Hi guys, Vasi, > > >> Indeed pin mapping wasn't easy. Despite the great number of feature > coming > > >> with 18f25K22, I had to make compromise and add limitations... > > >> See: > http://justanotherlanguage.org/content/jaluino/blog/cuckoo-meets-arduino > > >> Vasi, I know this is quite horrible to read :) but I also know you've > been > > >> there before, I would certainly appreciate if you could check this > mapping > > >> and tell me what you're thinking about it. I tried to log my thoughts > > >> explaining my choices, I hope you can follow them ! > > > > >> Cheers, > > >> Seb > > > > >> 2010/7/12 funlw65 <[email protected]> > > > > >>> Sebastien, > > >>> If you succeed in mapping this board, then an Arduino clone will be > > >>> far easier for you. I can assure you! > > > > >>> Vasi()funlw65 > > > > >>> On Jul 12, 5:45 pm, Sebastien Lelong <[email protected]> > > >>> wrote: > > >>> > Hi guys, > > > > >>> > As a log, summary and some sort of specification requirements (say > it > > >>> > fast), > > >>> > here's a page I've written, hopefully describing what I have in > mind. > > > > >>> > > http://justanotherlanguage.org/content/jaluino/blog/jaluino-cuckoo > > > > >>> > Feel free to comment... > > > > >>> > Cheers, > > >>> > Seb > > > > >>> > 2010/7/6 Sebastien Lelong <[email protected]> > > > > >>> > > Hi guys, > > > > >>> > > 2010/7/5 m...@watty <[email protected]> > > > > >>> > >> 44 pin or 64pin 18F67J50 SMD with option for USB mini or micro > > > > >>> > > connector on cuckoo board > > > > >>> > > Such a board would act as an extension of existing Arduino, but I > > >>> > > doubt it > > >>> > > can be done without SMD components, right ? > > > > >>> > >> 6 pin ICSP on cuckoo too > > > > >>> > > this seems mandatory, indeed, even if it takes room. > > > > >>> > >> option for on board crystal. > > > > >>> > > What about selecting onboard Xtal (16MHz for Arduino 2009) or > > >>> > > internal > > >>> > > clock ? I could add another Xtal on Cuckoo board but I have > doubts > > >>> > > about > > >>> > > room... > > > > >>> > >> option for 5V to 3V regulator > > > > >>> > > Do you mean to power the PIC ? > > > > >>> > >> Can be used in Arduino or as standalone module. > > > > >>> > > That would be great, something like > > >>> > >http://www.solarbotics.com/products/kardw/. > > > > >>> > > About PIC selection, I've found 18f26k22 as an interesting > candidate: > > >>> > > - 64KB memory > > >>> > > - 2 * USART > > >>> > > - I2C *and* SPI (2 * MSSP) > > >>> > > - independant analog pins, easier to map pins > > >>> > > - clock up to 64MHz, 16MIPS > > >>> > > - 3 external interupts > > >>> > > - 2 * PWM output > > > > >>> > > but not in production... Little brother 18f25k22 can be sampled, > but > > >>> > > "only" > > >>> > > have 32KB memory. I'll try this one I guess. On the other side of > the > > >>> > > nest, > > >>> > > Arduino provides: > > >>> > > - 1 USART > > >>> > > - 2 external interupts > > >>> > > - SPI > > >>> > > - I2C within ADC pins > > >>> > > - 6 PWM channels (this can't be defeated...) > > > > >>> > > This can be cuckooed by 18f25k22 :) > > > > >>> > > > http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en546240 > > > > >>> > > Cheers (Groeten) > > >>> > > Seb > > > > >>> > >> On Jul 5, 4:29 pm, Sebastien Lelong <[email protected] > > > > >>> > >> wrote: > > >>> > >> > Hi guys, > > > > >>> > >> > The Cuckoos are a bird family, known to be brood parasite. > Mother > > >>> > >> > Cuckoo > > >>> > >> > lays its eggs on other bird's nest. Baby Cuckoo will be > brooded > > >>> > >> > and when > > >>> > >> > hatched, will clear the nest from other eggs. It will be fed, > for > > >>> > >> > free, > > >>> > >> > until it often reaches ten times the size of its parents > (which > > >>> > >> > seem > > >>> > >> dumb > > >>> > >> > enough not to mention the subterfuge). > > > > >>> > >> > This gave me an idea for another Jaluino family. Codename: > Jaluino > > >>> > >> Cuckoo ! > > > > >>> > >> > The idea is to unplug ATMega168 from Arduino Duemilanove and > plug > > >>> > >> > a > > >>> > >> > Microchip PIC instead. A small PCB would probably needed to > map > > >>> > >> > pins. I > > >>> > >> had > > >>> > >> > a look potentials PICs, like 18F2680, 18F2620. 18F2550 isn't > that > > >>> > >> > useful > > >>> > >> as > > >>> > >> > there's no USB on Arduino Duemilanove. It would need UART, > I²C, > > >>> > >> > PWM, ADC > > >>> > >> > (preferably with independent pin), and should run as fast as > > >>> > >> > possible > > >>> > >> with a > > >>> > >> > 16MHz externak Xtal. > > > > >>> > >> > Does it sound doable ? Suggestions ? Warnings ? > > > > >>> > >> > Cheers, > > >>> > >> > Seb > > >>> > >> > -- > > >>> > >> > Sébastien Lelonghttp://www.sirloon.nethttp://sirbot.org > > > > >>> > >> -- > > >>> > >> You received this message because you are subscribed to the > Google > > >>> > >> Groups > > >>> > >> "jallib" group. > > >>> > >> To post to this group, send email to [email protected]. > > >>> > >> To unsubscribe from this group, send email to > > > > >>> > >> [email protected]<jallib%[email protected]> > <jallib%[email protected]<jallib%[email protected]> > > > > >>> > >> . > > >>> > >> For more options, visit this group at > > >>> > >>http://groups.google.com/group/jallib?hl=en. > > > > >>> > > -- > > >>> > > Sébastien Lelong > > >>> > >http://www.sirloon.net > > >>> > >http://sirbot.org > > > > >>> > -- > > >>> > Sébastien Lelonghttp://www.sirloon.nethttp://sirbot.org > > > > >>> -- > > >>> You received this message because you are subscribed to the Google > Groups > > >>> "jallib" group. > > >>> To post to this group, send email to [email protected]. > > >>> To unsubscribe from this group, send email to > > >>> [email protected]<jallib%[email protected]> > . > > >>> For more options, visit this group at > > >>>http://groups.google.com/group/jallib?hl=en. > > > > >> -- > > >> Sébastien Lelong > > >>http://www.sirloon.net > > >>http://sirbot.org > > > > > -- > > > Sébastien Lelong > > >http://www.sirloon.net > > >http://sirbot.org > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "jallib" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<jallib%[email protected]> > . > > > For more options, visit this group at > > >http://groups.google.com/group/jallib?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<jallib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
