- Robot Maker
- → Contenu de dydylan
Contenu de dydylan
Il y a 65 élément(s) pour dydylan (recherche limitée depuis 10-mai 13)
Par type de contenu
Voir pour ce membre
#57269 Création d'une carte électronique
Posté par dydylan sur 30 juillet 2013 - 04:40 dans Electronique
Je souhaite réaliser un robot, un écran lcd transparent tournoyant sur le même afficherait rapidement les contours d'un visage,les contours seraient affichés si rapidement qu'il serait impossible de voir chacun des contours au fur et à mesure que l'écran tourne, ainsi on aura l'impression d'observer un visage, qui pourra parler, en modifiant les contours et grâce à un haut-parleur, tout cela reste à programmer, et il me faut aussi trouver un écran transparent ^^'...
Pour la programmation, je souhaite réaliser le robot moi même, sans carte programmé du commerce, comme une carte arduino... comment faire? quel composants prendre? comment cela fonctionne et comment faire fonctionner tout ça?
Autant de questions auquel je ne peux répondre moi-même, pouvez-vous m'aider?
Merci d'avance.
#55682 Envoyer des images par carte SIM/ Carte arduino
Posté par dydylan sur 25 avril 2013 - 10:39 dans Programmation
même si le module GPS ne transmet rien il est toujours possible pour le shield GSM de recevoir les données émises par le module et de les envoyer?
que pensez vous du GPS que je vous ais présenté?
#55632 Envoyer des images par carte SIM/ Carte arduino
Posté par dydylan sur 23 avril 2013 - 10:05 dans Programmation
Merci a toi pour ces réponses ChristianR, du coup j'ai pensé qu'il valait mieux utiliser les matériaux que j'ai déjà cités et ce GPS:
http://www.uctronics.com/uart-serial-gps-module-for-arduino-ucontroller-breakout-board-p-840.html
pour transmettre les images (ou une vidéo je ne sais pas), ainsi que les données GPS.
C'est mieux comme ça non? ^^
#55619 Envoyer des images par carte SIM/ Carte arduino
Posté par dydylan sur 22 avril 2013 - 03:36 dans Programmation
sinon je me demandais, n'y a t'il pas d'autre moyen d'envoyer ses images par radio, par exemple?
si jamais ce n'est pas possible autrement j'imagine qu'il sera toujours possible de stocker les photos prise par la petite caméra 5 MP et de les retrouvé une fois que le GPS m'aura donné l'emplacement de celle ci...
J'espère juste ne pas avoir à allais cherché la petite machine en Afrique!
#55613 Envoyer des images par carte SIM/ Carte arduino
Posté par dydylan sur 22 avril 2013 - 08:44 dans Programmation
#55598 Envoyer des images par carte SIM/ Carte arduino
Posté par dydylan sur 21 avril 2013 - 10:34 dans Programmation
Voici l'objectif de mon projet:
-Envoyer des photos prise grâce une petite caméra 5MP
-les envoyer grâce à un shield qui enverrait par carte sim les photos (environs toutes les 5/10 secondes peut importe) ou peut être des vidéos je ne sais pas quel solution est la plus résonnable...
-un gps enverrait les positions de la machine par sms
-et tous cela sur carte arduino uno (que je possède déjà)
Le but de ce projet serait d'envoyer cette machine le plus haut possible dans le ciel (grâce a un ballon d'hélium) pour prendre des photos du ciel et peut être de la courbure de la planète comme sur cette photo de "l'espace" prise par un jeune de 19 ans trouvée sur google:
j'ai pensé à acheté ça:
http://www.uctronics.com/mega-pixel-camera-module-ov5642-1080p-jpeg-output-p-1420.html (la caméra 5MP)
http://www.uctronics.com/arduino-camera-shield-arducam-for-uno-mega2560-board-p-1445.html (le shield qui gère la prise des photos)
et j'ai pensé à ça pour l'envoi des photos:
http://www.uctronics.com/sim900-gsm-gprs-shield-development-board-icomsat-for-arduino-p-842.html
par contre pour le gps je ne sais pas...
est ce que cela vous semble réalisable?
Merci d'avance pour votre aide />/>/>
Dylan
#48789 Wave HC et Servo
Posté par dydylan sur 15 septembre 2012 - 01:34 dans Programmation
/* * This example plays every .WAV file it finds on the SD card in a loop */ #include <WaveHC.h> #include <WaveUtil.h> #include <Servo.h> Servo myservo; // create servo object to control a servo // a maximum of eight servo objects can be created int pos = 0; // variable to store the servo position SdReader card; // This object holds the information for the card FatVolume vol; // This holds the information for the partition on the card FatReader root; // This holds the information for the volumes root directory WaveHC wave; // This is the only wave (audio) object, since we will only play one at a time uint8_t dirLevel; // indent level for file/dir names (for prettyprinting) dir_t dirBuf; // buffer for directory reads /* * Define macro to put error messages in flash memory */ #define error(msg) error_P(PSTR(msg)) // Function definitions (we define them here, but the code is below) void play(FatReader &dir); //////////////////////////////////// SETUP void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object Serial.begin(9600); // set up Serial library at 9600 bps for debugging putstring_nl("\nWave test!"); // say we woke up! putstring("Free RAM: "); // This can help with debugging, running out of RAM is bad Serial.println(FreeRam()); // if (!card.init(true)) { //play with 4 MHz spi if 8MHz isn't working for you if (!card.init()) { //play with 8 MHz spi (default faster!) error("Card init. failed!"); // Something went wrong, lets print out why } // enable optimize read - some cards may timeout. Disable if you're having problems card.partialBlockRead(true); // Now we will look for a FAT partition! uint8_t part; for (part = 0; part < 5; part++) { // we have up to 5 slots to look in if (vol.init(card, part)) break; // we found one, lets bail } if (part == 5) { // if we ended up not finding one <img src='http://www.robot-maker.com/forum/public/style_emoticons/default/sad.gif' class='bbc_emoticon' alt=':(' /> error("No valid FAT partition!"); // Something went wrong, lets print out why } // Lets tell the user about what we found putstring("Using partition "); Serial.print(part, DEC); putstring(", type is FAT"); Serial.println(vol.fatType(), DEC); // FAT16 or FAT32? // Try to open the root directory if (!root.openRoot(vol)) { error("Can't open root dir!"); // Something went wrong, } // Whew! We got past the tough parts. putstring_nl("Files found (* = fragmented):"); // Print out all of the files in all the directories. root.ls(LS_R | LS_FLAG_FRAGMENTED); } //////////////////////////////////// LOOP void loop() { for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees { // in steps of 1 degree myservo.write(pos); // tell servo to go to position in variable 'pos' delay(15); // waits 15ms for the servo to reach the position } for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees { myservo.write(pos); // tell servo to go to position in variable 'pos' delay(15); // waits 15ms for the servo to reach the position } root.rewind(); play(root); } /////////////////////////////////// HELPERS /* * print error message and halt */ void error_P(const char *str) { PgmPrint("Error: "); SerialPrint_P(str); sdErrorCheck(); while(1); } /* * print error message and halt if SD I/O error, great for debugging! */ void sdErrorCheck(void) { if (!card.errorCode()) return; PgmPrint("\r\nSD I/O error: "); Serial.print(card.errorCode(), HEX); PgmPrint(", "); Serial.println(card.errorData(), HEX); while(1); } /* * play recursively - possible stack overflow if subdirectories too nested */ void play(FatReader &dir) { FatReader file; while (dir.readDir(dirBuf) > 0) { // Read every file in the directory one at a time // Skip it if not a subdirectory and not a .WAV file if (!DIR_IS_SUBDIR(dirBuf) && strncmp_P((char *)&dirBuf.name[8], PSTR("WAV"), 3)) { continue; } Serial.println(); // clear out a new line for (uint8_t i = 0; i < dirLevel; i++) { Serial.write(' '); // this is for prettyprinting, put spaces in front } if (!file.open(vol, dirBuf)) { // open the file in the directory error("file.open failed"); // something went wrong } if (file.isDir()) { // check if we opened a new directory putstring("Subdir: "); printEntryName(dirBuf); Serial.println(); dirLevel += 2; // add more spaces // play files in subdirectory play(file); // recursive! dirLevel -= 2; } else { // Aha! we found a file that isnt a directory putstring("Playing "); printEntryName(dirBuf); // print it out if (!wave.create(file)) { // Figure out, is it a WAV proper? putstring(" Not a valid WAV"); // ok skip it } else { Serial.println(); // Hooray it IS a WAV proper! wave.play(); // make some noise! uint8_t n = 0; while (wave.isplaying) {// playing occurs in interrupts, so we print dots in realtime putstring("."); if (!(++n % 32))Serial.println(); delay(100); } sdErrorCheck(); // everything OK? // if (wave.errors)Serial.println(wave.errors); // wave decoding errors } } } }
donc comme vous pouvez voir j'ai fait les modifications qui s'imposer, mais mais ça ne marche toujours pas, voici l'erreur:
Servo\Servo.cpp.o: In function `__vector_11': C:\Documents and Settings\Dylan\Mes documents\Downloads\arduino-1.0-windows\arduino-1.0\libraries\Servo/Servo.cpp:103: multiple definition of `__vector_11' WaveHC\WaveHC.cpp.o:C:\Documents and Settings\Dylan\Mes documents\Downloads\arduino-1.0-windows\arduino-1.0\libraries\WaveHC/WaveHC.cpp:41: first defined here
Merci de m'aider
#48327 Wave HC et Servo
Posté par dydylan sur 02 septembre 2012 - 09:51 dans Programmation
sketch_sep02a.cpp: In function 'void loop()': sketch_sep02a:106: error: a function-definition is not allowed here before '{' token sketch_sep02a:175: error: expected `}' at end of input
#48320 Wave HC et Servo
Posté par dydylan sur 01 septembre 2012 - 07:11 dans Programmation
je vous montre le code et l'erreur:
/* * This example plays every .WAV file it finds on the SD card in a loop */ #include <WaveHC.h> #include <WaveUtil.h> #include <Servo.h> Servo myservo; // create servo object to control a servo // a maximum of eight servo objects can be created int pos = 0; // variable to store the servo position SdReader card; // This object holds the information for the card FatVolume vol; // This holds the information for the partition on the card FatReader root; // This holds the information for the volumes root directory WaveHC wave; // This is the only wave (audio) object, since we will only play one at a time uint8_t dirLevel; // indent level for file/dir names (for prettyprinting) dir_t dirBuf; // buffer for directory reads /* * Define macro to put error messages in flash memory */ #define error(msg) error_P(PSTR(msg)) // Function definitions (we define them here, but the code is below) void play(FatReader &dir); //////////////////////////////////// SETUP void setup() { { myservo.attach(9); // attaches the servo on pin 9 to the servo object } Serial.begin(9600); // set up Serial library at 9600 bps for debugging putstring_nl("\nWave test!"); // say we woke up! putstring("Free RAM: "); // This can help with debugging, running out of RAM is bad Serial.println(FreeRam()); // if (!card.init(true)) { //play with 4 MHz spi if 8MHz isn't working for you if (!card.init()) { //play with 8 MHz spi (default faster!) error("Card init. failed!"); // Something went wrong, lets print out why } // enable optimize read - some cards may timeout. Disable if you're having problems card.partialBlockRead(true); // Now we will look for a FAT partition! uint8_t part; for (part = 0; part < 5; part++) { // we have up to 5 slots to look in if (vol.init(card, part)) break; // we found one, lets bail } if (part == 5) { // if we ended up not finding one <img src='http://www.robot-maker.com/forum/public/style_emoticons/<#EMO_DIR#>/sad.gif' class='bbc_emoticon' alt=':(' /> error("No valid FAT partition!"); // Something went wrong, lets print out why } // Lets tell the user about what we found putstring("Using partition "); Serial.print(part, DEC); putstring(", type is FAT"); Serial.println(vol.fatType(), DEC); // FAT16 or FAT32? // Try to open the root directory if (!root.openRoot(vol)) { error("Can't open root dir!"); // Something went wrong, } // Whew! We got past the tough parts. putstring_nl("Files found (* = fragmented):"); // Print out all of the files in all the directories. root.ls(LS_R | LS_FLAG_FRAGMENTED); } //////////////////////////////////// LOOP void loop() { root.rewind(); play(root); } { for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees { // in steps of 1 degree myservo.write(pos); // tell servo to go to position in variable 'pos' delay(15); // waits 15ms for the servo to reach the position } for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees { myservo.write(pos); // tell servo to go to position in variable 'pos' delay(15); // waits 15ms for the servo to reach the position } /////////////////////////////////// HELPERS /* * print error message and halt */ void error_P(const char *str) { PgmPrint("Error: "); SerialPrint_P(str); sdErrorCheck(); while(1); } /* * print error message and halt if SD I/O error, great for debugging! */ void sdErrorCheck(void) { if (!card.errorCode()) return; PgmPrint("\r\nSD I/O error: "); Serial.print(card.errorCode(), HEX); PgmPrint(", "); Serial.println(card.errorData(), HEX); while(1); } /* * play recursively - possible stack overflow if subdirectories too nested */ void play(FatReader &dir) { FatReader file; while (dir.readDir(dirBuf) > 0) { // Read every file in the directory one at a time // Skip it if not a subdirectory and not a .WAV file if (!DIR_IS_SUBDIR(dirBuf) && strncmp_P((char *)&dirBuf.name[8], PSTR("WAV"), 3)) { continue; } Serial.println(); // clear out a new line for (uint8_t i = 0; i < dirLevel; i++) { Serial.write(' '); // this is for prettyprinting, put spaces in front } if (!file.open(vol, dirBuf)) { // open the file in the directory error("file.open failed"); // something went wrong } if (file.isDir()) { // check if we opened a new directory putstring("Subdir: "); printEntryName(dirBuf); Serial.println(); dirLevel += 2; // add more spaces // play files in subdirectory play(file); // recursive! dirLevel -= 2; } else { // Aha! we found a file that isnt a directory putstring("Playing "); printEntryName(dirBuf); // print it out if (!wave.create(file)) { // Figure out, is it a WAV proper? putstring(" Not a valid WAV"); // ok skip it } else { Serial.println(); // Hooray it IS a WAV proper! wave.play(); // make some noise! uint8_t n = 0; while (wave.isplaying) {// playing occurs in interrupts, so we print dots in realtime putstring("."); if (!(++n % 32))Serial.println(); delay(100); } sdErrorCheck(); // everything OK? // if (wave.errors)Serial.println(wave.errors); // wave decoding errors } } } }
erreur
daphc.cpp: In function 'void loop()': daphc.pde:-1: error: a function-definition is not allowed here before '{' token daphc.pde:-1: error: expected `}' at end of input
#46611 jouer un son en fonction du message envoyer par une interface processing!
Posté par dydylan sur 15 juillet 2012 - 11:11 dans Archives
Si je poste sur ce forum, c'est car je n'arrive pas à résoudre un problème:
Voilà, ne fait j'ai une carte arduino uno et une carte wave shield, et je sais générer du son avec celle ci, mais je veux maintenant envoyer un message à arduino comme ici: Mon lien
et en fonction de la phrase ben que le wave shield "parle"
donc j'ai compris comment envoyer un message mais je ne sais pas comment faire en sorte que en fonction du message, le shield joue un son
préenregistré...
merci d'avance pour votre aide... je ne suis qu'un débutant
#45878 Robot tête humanoid arduino
Posté par dydylan sur 28 juin 2012 - 10:51 dans Tête de robots, humaine ou animale, animatronique
#45711 Robot tête humanoid arduino
Posté par dydylan sur 25 juin 2012 - 06:59 dans Tête de robots, humaine ou animale, animatronique
en fait le problème était lié au fait que les soudures était mal faite!
Voila!
donc maintenant je vais faire une interface processing comme ceci:
Mon lien
et donc mon robot parlera ou bougera, les yeux ou la bouche! ^^
#45124 Robot tête humanoid arduino
Posté par dydylan sur 17 juin 2012 - 05:43 dans Tête de robots, humaine ou animale, animatronique
on m'a dit que si la soudure s'écoule mal alors il y à un mauvais contact électrique, c'est pourquoi je vais acheter un nouveau fer à souder, car le mien n'est pas top!
voilà, donc je posterai surement lorsque j'aurais acheter mon nouveau der à souder! ^^
#44809 Robot tête humanoid arduino
Posté par dydylan sur 11 juin 2012 - 05:20 dans Tête de robots, humaine ou animale, animatronique
#44763 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 03:37 dans Tête de robots, humaine ou animale, animatronique
mais non la mienne fais 2 GoTa micros carte SD et bien trop gros 8 GB c'est trop tu devrai prendre une 1 GB et faire teste , dis nous si tu a toujours le même problème
#44760 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 02:39 dans Tête de robots, humaine ou animale, animatronique
Wave test! Free RAM: 656 Using partition 1, type is FAT16 Files found: 56684852505312649.876586 Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586 ........................................................................................................................................................... Playing 56684852505312649.876586
etc...
je ne sais pas si cela à une importance mais, voici une photo de ma carte SD: lien
mis à part que la micro carte sd n'est pas samsung...
#44745 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 10:39 dans Tête de robots, humaine ou animale, animatronique
#44741 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 10:17 dans Tête de robots, humaine ou animale, animatronique
#44734 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 09:40 dans Tête de robots, humaine ou animale, animatronique
as tu vérifier tes enceintes ( si tu as un mini haut parleur test avec) car cela pourrai venir d'encenite défectueuse...ou encore de ta carte sd qui est foutue ...
okpour les haut parleurs, pour la carte sd, je vais voir merci encore
#44732 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 09:28 dans Tête de robots, humaine ou animale, animatronique
#44729 Robot tête humanoid arduino
Posté par dydylan sur 10 juin 2012 - 09:12 dans Tête de robots, humaine ou animale, animatronique
il n'y a aucune erreur...
#44680 Robot tête humanoid arduino
Posté par dydylan sur 08 juin 2012 - 06:15 dans Tête de robots, humaine ou animale, animatronique
je vais essayer d'être plus clair, en fait,
sur une carte sd formaté en FAT, j'ai mis ceci
wavetest.wav qui ce trouve sur ce site
ensuite j'ai mis sur ma carte arduino le code " waveshieldtest.pde" qui se trouve sur le même lien qu'en haut...
ensuite je branche des hauts parleurs comme ceux ci haut parleur
je met le courant ca marche pas, d'où peut venir le problème?
je vous en pris aidez moi, j'ai vraiment envis de prouver à mes proches, qui ne m'en crois pas capable que je peux y arriver...
merci d'avance
#44258 Robot tête humanoid arduino
Posté par dydylan sur 01 juin 2012 - 04:07 dans Tête de robots, humaine ou animale, animatronique
oui, mais où peut on trouver des drivers compatible avec ces moteurs?
et heu rapport au son, sur mon pc windows la compilation du code daphc.pde ce passe a merveille, mais lorsque je branche le casque sur la carte et que j'allume, rien pas de son...
je vous pris de m'aider..
c'est tous, excusez moi si certain de mes phrases ne sont pas très clair mais bon... je fais un gros effort sur la grammaire et l'orthographe
encore merci de vous intéressez a mon sujet .
Voilà tout est dans la citation! ^^
#44255 Robot tête humanoid arduino
Posté par dydylan sur 01 juin 2012 - 02:06 dans Tête de robots, humaine ou animale, animatronique
#44218 Robot tête humanoid arduino
Posté par dydylan sur 01 juin 2012 - 06:49 dans Tête de robots, humaine ou animale, animatronique
- Robot Maker
- → Contenu de dydylan
- Privacy Policy