Jump to content

bill

Programmer
  • Posts

    386
  • Joined

  • Last visited

Everything posted by bill

  1. Hmm, i wonder : what do you plan to do with servos ? (i just received my i2c servo driver... stay tuned ;)
  2. :) merci je suis à république (75003)
  3. Bonjour messieurs dames, Je recherche qquelqu'un sur paris pour me programmer un PIC16F872 ! (c'est une cacahuète a 28 pattes) à votre bon coeur ;D Merci beaucoup !!!
  4. SD card support on MBSEQ You mean, SD card support for MBHP ;) Maybe they are some I2C to SD adapters ? googling...
  5. wow, looks good ! I love the "MMC/SD card bootloader" stuff =)
  6. No problem for the 9v battery (hehe, i love portable devices too), Then, do not use a screen, because it will suck most af your batterie juice... But, i suggest that you order a lcd screen to debug, and when you app is ready, just disconect the screen ;)
  7. Check this : http://www.hobbyengineering.com/H1591.html http://www.crownhill.co.uk/product.php?prod=1267 (looks very interesting, i ordered one!) I plan to try it, but maybe only after my mbhp stepper motor driver :)
  8. bill

    MemPot

    ouch, but they look pretty expensive :-\ (5,73 € on farnell) http://fr.farnell.com/jsp/search/browse.jsp?N=0&Ntk=gensearch_004&Ntt=ds1267&Ntx=&_requestid=37183
  9. bill

    MemPot

    hmmm, those DS1267 looks very interesting It must be possible to do some pwm with this and a ne555, then drive servomotors with mios... So, no one tried yet ? I'm going to buy one or two of those chips ::)
  10. Hey, i can help you with the code as well (i have a similar project, search in the forum for "xylophone" ;) then, maybe you can help me finding suitable solenoids ? ::)
  11. if someone is interested, let me know, so i do a user project page for this :)
  12. Concrètement, ça sert exactement a faire ce que tu cherche. Tu as plusieurs entrées, plusieurs sorties, le routeur te permet de gerer des liaisons virtuelles entre les entrées et les sorties, a ton gré. (melanger les signaux par exemple) C'est un genre de "patch", midi.
  13. Salut, j'ai jamais essayé de faire un midi merger, mais bon, ton montage me parait assez hardcore :-\ Est ce que ce projet ne serait pas plus adapté ? ;) http://www.ucapps.de/midi_router.html
  14. bill

    Xylophone

    Thank you all for the tips ! :) yes, i've seen them, unfortunately, they dont have those cheap and small ones i need, those ones are good to lock a car door or that kind of stuff ;) (they are too big) yep, i know that's a bit of work there, but i did that in the past. i know i need ULN2003A transistors network (or equivalent) to boost the douts, before attacking some relays, self protecteds by "free wheel" diodes preventing the "impedance rupture". In fact, I have the "power" board ready yet ;) Atm, i'm just in a quest of the "perfect solenoid" ^^ I cant wait to send my MBXylophone video ;D
  15. bill

    Xylophone

    Hello, I woud like to (try to) build a midified percussion organ (xylophone like), so, i need some kind of solenoids to drive the sticks. I think i'm capable of doing it (seems pretty simple) but, i have no idea where to get those "percussion engines" Any tips for this ? Thanks :)
  16. Then i take 2 ;D (i need one for my MBHP Clock/Cron Project hehe)
  17. I had one like this in my hands, (a friend gived it to me) but i never found any info on this (like where to get softwares to control it etc) so i trashed it :'( Stupid me, i could'nt imagine it sounded that good !
  18. Thank you Thorsten, your example help me a lot (to understand how it's supposed to work), today i found this http://www.techdesign.be/projects/routines/ds1307_void_a.htm This is basically what you wrote yesterday (minus the first "STOP") I also found some code supposed to work : http://jambonbill.free.fr/midibox-kb/MBHP-CLOCK/main.c.txt http://jambonbill.free.fr/midibox-kb/MBHP-CLOCK/ds1307.c.txt I will continue to experiment this evening ;)
  19. I'm sorry to ask again for help, and to look like an asshole, but i have one more question that maybe some of you could answer. The DS1307 doc (http://www.rev-ed.co.uk/docs/DS1307.pdf) say : So, i'm only interested on the "real time clock registers" at the moment, so, all i need to get is the 8 first bytes after this MIOS_IIC_Start(); // start IIC MIOS_IIC_ByteSend(slave); // send device address is that right ?
  20. I know slave adress should be 0xD1 (1101000+1) (the 1 is for "read" mode) I did enable clock stretching with MIOS_IIC_CtrlSet(0x01); but my received bytes are still random... :-\
  21. Dear forum, I bought a board like this one to experiment IIC : http://www.futurlec.com/Mini_DS1307.shtml http://www.rev-ed.co.uk/docs/DS1307.pdf so i connected the board to the core without problem, and initialised the IIC like this : void Init(void) __wparam { MIOS_IIC_Stop(); // init IIC interface } then, looking at the speakjet code i did this : unsigned char IIC_TransmitStart(unsigned char _slave) __wparam { unsigned char retry_ctr; // start IIC access MIOS_IIC_Start(); // send address retry_ctr = 0; while( !MIOS_IIC_ByteSend( _slave ) ) { // slave has sent a NAK - retry 255 times MIOS_IIC_Stop(); if( ++retry_ctr == 255 ) return 0; MIOS_IIC_Start(); } return 1; } and this : (slave value is 0xD0) void DISPLAY_Init(void) __wparam { MIOS_LCD_Clear(); if(!IIC_TransmitStart(slave) ){ MIOS_LCD_CursorSet(0x00); MIOS_LCD_PrintCString("IIC Transmit error !"); }else{ MIOS_LCD_CursorSet(0x00); MIOS_LCD_PrintCString("IIC Transmit OK"); } } at this point, everything seems ok, i have "IIC Transmit OK" :) then, i try to read some values so i did : void GET_TIME(void){ MIOS_IIC_Start(); // start IIC MIOS_IIC_ByteSend(slave); // send device address - // set bit #0 to notify a read!!! // don't continue if IIC device not available if( MIOS_BOX_STAT.BS_AVAILABLE){ b0 = MIOS_IIC_ByteReceive(); MIOS_IIC_AckSend(); // send acknowledge b1 = MIOS_IIC_ByteReceive(); } MIOS_IIC_NakSend(); // send disacknowledge!!! MIOS_IIC_Stop(); // stop IIC MIOS_LCD_CursorSet(0x40); MIOS_LCD_PrintHex2(b0); MIOS_LCD_PrintCString(":"); MIOS_LCD_PrintHex2(b1); } but all i read, whenever i call this function is just some random values, instead of seconds :-\ maybe this project is a little too complicated for me, to be honest, i dont know exactly how it's supposed to work, but i guess i'm must not be that far from the goal, so i hope some people here can explain me what i did wrong, or did not :) thanks for reading !
  22. Did you try the MMC-64 ? it's great ! ;D
×
×
  • Create New...