Recent Posts

Pages: [1] 2 3 ... 10
1
Français / Re: JoyStick USB avec Arduino
Last post by WolsterKing - Today at 03:01 pm
Oui, c'est une des options que j'ai essayé :)
Si je viens ici ce n'est pas pour que l'on me mâche le travail comme vous pouvez le penser

Je demande simplement des pistes précises ainsi que des avis de personnes ayant réalisées ce que je tente d'accomplir, il me semble que c'est le but d'une communauté, et non de prendre les autres pour ce qu'ils ne sont pas ;)

Bonne journée !
2
Hello fernandolopes_38

Code: [Select]

..........
resetFunc();
..........
void(*resetFunc) (void) = 0;//declare reset function at address 0

Quote
Could it be an issue with the reset function?
Be cautious about using this method.
If you are using Arduino IDE, it's not a secure way to do a clean reset.

Regards,
bidouilleelec
3
Français / Re: Encore et toujours des var...
Last post by Calvin-duino - Today at 03:00 pm
Mon code est ridicule ^^

Non, j'ai encore réessayé et, je ne vois pas quoi changer...

Si jamais vous avez fait le code n'hésitez pas.
4
Microcontrollers / Re: dfu mode for ADK mega 2560
Last post by s3000xl - Today at 02:59 pm
Hi DrAzzy... when I connect it to my Mac and look at the USB details is says it's a "FT232R USB UART"

I've attached a close-up photo of the top of the board where I think I can see the chip.

I'm guessing this might be a special chip to allow for USB host mode when connecting to an Android device? Do you think I'll be able to get this working as a Midi USB device or should I be looking to get another board?


5
Project Guidance / Control 9 servos with board fr...
Last post by aive - Today at 02:57 pm
Hello,

I'm looking for advice what device is appropriate  for both Arduino Due and Uno, to control 9 servo motors from controller with single board  to include it into  assembly box  of my project and avoid extra soldering or  manual connection on breadboard

I use 6 7.6-Gram Sub-Micro Digital Tail Servo  and 3 D50012MG High Speed Digital MG Servo 25T

I found WitMotion 32-way steering gear control panel controller seems like it is incompatible with Arduino and can work independently

And   USB USC-32 Channel Servo UART Controller Board Unit for DIY ROBOT for Arduino

I'm not sure if I'm on the correct direction

Any advice, guide or example would be helpful


6
MKRVIDOR4000 / Re: French tutorial
Last post by DjTGv - Today at 02:51 pm
Hello Dario,

In french we said "mettre l'eau à la bouche".  I really want to use bare assembler to tackle the graphical FPGA Arduino Vidor 4000 perf.

Firstly, I will search in the forum of course.  If you have quickstart hint or link it will be welcome too ;)

Regards,
DjTGv
7
Programming Questions / error
Last post by Ripcrow - Today at 02:49 pm
I haArduino: 1.8.6 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Rodney\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10806 -build-path C:\Users\Rodney\AppData\Local\Temp\arduino_build_377930 -warnings=none -build-cache C:\Users\Rodney\AppData\Local\Temp\arduino_cache_310246 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Rodney\AppData\Local\Temp\arduino_modified_sketch_821257\DHT_11.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Rodney\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10806 -build-path C:\Users\Rodney\AppData\Local\Temp\arduino_build_377930 -warnings=none -build-cache C:\Users\Rodney\AppData\Local\Temp\arduino_cache_310246 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Rodney\AppData\Local\Temp\arduino_modified_sketch_821257\DHT_11.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor-1.0.2" "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor-1.0.2" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Grove_Temperature_And_Humidity_Sensor" "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor-1.0.2" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Grove_Temperature_And_Humidity_Sensor" "C:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Grove_Temperature_And_Humidity_Sensor\\DHT.cpp" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor-1.0.2" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Grove_Temperature_And_Humidity_Sensor" "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp" -o "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10806 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Adafruit_Unified_Sensor-1.0.2" "-IC:\\Users\\Rodney\\Documents\\Arduino\\libraries\\Grove_Temperature_And_Humidity_Sensor" "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp" -o "C:\\Users\\Rodney\\AppData\\Local\\Temp\\arduino_build_377930\\sketch\\DHT_11.ino.cpp.o"
C:\Users\Rodney\AppData\Local\Temp\arduino_modified_sketch_821257\DHT_11.ino: In function 'void setup()':

DHT_11:12:6: error: expected primary-expression before '.' token

   dht.begin();

      ^

C:\Users\Rodney\AppData\Local\Temp\arduino_modified_sketch_821257\DHT_11.ino: In function 'void loop()':

DHT_11:21:16: error: expected primary-expression before '.' token

   int chk = DHT.read11(DHT11_PIN);

                ^

DHT_11:21:24: error: 'DHT11_PIN' was not declared in this scope

   int chk = DHT.read11(DHT11_PIN);

                        ^

DHT_11:23:21: error: expected primary-expression before '.' token

   Serial.println(DHT.temperature);

                     ^

DHT_11:25:22: error: expected primary-expression before '.' token

   Serial.println (DHT.humidity);

                      ^

Using library Adafruit_Unified_Sensor-1.0.2 at version 1.0.2 in folder: C:\Users\Rodney\Documents\Arduino\libraries\Adafruit_Unified_Sensor-1.0.2
Using library Grove_Temperature_And_Humidity_Sensor at version 1.0.0 in folder: C:\Users\Rodney\Documents\Arduino\libraries\Grove_Temperature_And_Humidity_Sensor
exit status 1
expected primary-expression before '.' tokenve tried a new code for the DHT 11 sensor.  now I keep getting an expected primary expression error for a serial.println bit of code. 
8
Deutsch / Re: Tabletten-Erinnerung
Last post by Rentner - Today at 02:49 pm
Hallo,

Ja passt so.!!

im Ernst, das mit dem Batteriebetrieb wirst Du vergessen können, die wird in ein paar Tagen leer sein. Der UNO braucht zu viel Strom, hab was von 10 mA gelesen. Damit solltest Du an ein Steckernetzteil denken. Ob die RTC eine Weckfunktion hat weiss ich nicht , ich glaube ich hab mal sowas gelesen. Ansonsten must Du die Uhrzeit in dem Uno laufend abfragen und wie bereits von dir geschieben die Funktin in eine Sketch umsetzten.

Übrigens Gehäuse gibts bei Conrad für 3-5€ ich weiss nicht ob selber drucken da lohnt.

Heinz

9
Hi whenever I try to use a default directory it comes up with the error "iostream: No such file or directory"

This happened when trying to use vectors too. I've uninstalled and re-installed and it's still the same. I have no Arduino file in my Program Files and when I go to "Include Libraries" in the sketch drop down "Arduino Libraries" is grey-ed out.

I've tried to look up if there's a way I can manually download them but I just keep getting instructions on how to add personal libraries.

Can anyone advise me on this?

Many thanks
Rachael.
10
Français / Jumper de jardinage
Last post by nasserforj - Today at 02:47 pm
Bonjour

J'aimerai humblement contribuer au forum en partageant une petite astuce et aussi avoir vos avis sur celle ci.
J'étais à la recherche de fils électriques monobrins d'un diamètre adapté aux breadboard. Je sais qu'il en existe sur le net mais bon je cherchait un truc du genre bobine que je pourrais couper comme je veux.
Je me suis doncd dis que je pourrait trouver ça en magasin de bricolage. Que dalle, rien trouvé, les fils les plus petits font 1.5 mm2 (trop gros). J'ai vu que certains utilisaient du cable telecom, pas trouvé non plus.

Et c'est par hasard dans un supermarché au rayon "tout à 3€" que j'ai trouvé ça. 5 mètres de fil de jardin flexible. Le tuteur métallique semblait correspondre en diamètre. Il est en réalité légèrement plus petit mais
ça semble fonctionner !

Je sais pas quelle est le métal et ce que ça vaut. Si vous avez des avis...

[/url][/img]

[/url][/img]
Pages: [1] 2 3 ... 10