Recent Posts

Pages: [1] 2 3 ... 10
Displays / Re: mcufriend 2.8 inch TFT LCD...
Last post by edsena-com-br - Today at 08:58 am
I was able to successfully run all the samples from David's library I've tried on my unit (0x9341) with an Arduino UNO;

But I was willing to use this TFT screen in conjunction with other items and, after researching for a while, it looks like there's no ports available for me to use, when using this shield. Is this correct?  Does anyone knows if is there any pin not used by this shield that I could rely on for other integrations (namely issuing PWM signals and controlling an relay shield)

Thanks in advance.
Project Guidance / Re: First Project
Last post by AKJ - Today at 08:58 am
With "plug the SD card to the 5V" i understand what you now meant.
1. The arduino Uno has 2 5V Power Output
2. If the Intensity of the devices you want to connect to the 5V pin is not higher than 40 mA, connect many cable to the 5V pin.
3. You can always turn any other pin to a 5V power output. Just use
Code: [Select]

digitalWrite(digitalPin, HIGH);
Note que tu as fais la modif directement dans le fichier du lanceur mais que la modif est faisable directement en mode graphique, enfin c'est comme cela avec KDE.
Comme je l'ai expliqué, j'utilise UNITY, pas KDE.

Sous UNITY, aucun nouveau lanceur n'est créé. Le lanceur précédent est utilisé mais le chemin de l'application n'est pas modifié dans le fichier du lanceur.

If anyone has a "set very low PWM frequency" known working code that still allows for a wide duty cycle variation within it, please let me know.
Blink Without Delay (and even good old Blink) does exactly that. Very low PWM frequency (by default 0.5 or 1 Hz), 50% duty cycle. Changing the on and off times gives you any duty cycle you need.
General Electronics / Re: Resources for wire managem...
Last post by pert - Today at 08:55 am
Why not just order them online? If you would have done so when the topic first came up they would have already been delivered, even from China.

For other suggestions, it might be helpful if you said where you're located.
Ok I try this soon.

Français / Re: Téléversement impossible.
Last post by guykoz - Today at 08:53 am
Bonjour à tous.
J'ai trouvé et installé la version Arduino 1.8.5 comme le préconisait hbachetti (dans un premier temps, j'ai pensé qu'il parlait de Java et non d' Arduino, sorry, je suis un grand débutant)
Avec cette version 1.8.5, tout fonctionne correctement.
Conclusion: Je peux dire que chez moi, sur deux PC équipés avec Windows 10 et des versions différentes de Java, la version 1.8.6 ne fonctionne pas. Prochainement, je vais installer Linux pour voir si elle marche.
Un grand merci à tous et bonne journée.
I am working on a project where I am trying to make an "adjustable digital spirit level". I have a mpu9250 with pro mini and OLED display. I am getting the X and Y axis  display on the OLED.
-   Place the appliance at the desired angle on the platform and press the push button.
-   The angle values in X and Y axis get stored.
-   While replacing the platform, recheck the angle by placing the appliance on the platform.
-   If the angle changes more than 10 , there is a buzzer sound and LED glows. Preferably 2 LED one for X axis and One for Y axis offset.
Need Guidance:
1)   Steps to be taken during coding.
2)   How do I go about defining a variable which stores the selected value of X and Y
3)   Do I need to execute the angle calculation code again after the push button is pressed? Or one time code is sufficient.
I have seen a couple of code for thermostat where a specific temperature value was entered with a keypad, but have not come across a code where an certain value  from the sensor is taken as a reference value .
I am a beginner and learning the intricacies of coding, at present I rely on using codes from the internet and adapting them to my needs.
Please guide as how I should go about this project and if there and are any examples you know of.

Thanks for early feedback.

A loop command may work but I've been concerned that just using the delay function would mess up the duty cycle percentage which is crucial to motor speed setting. I've not seen the BlinkWithoutDelay function before so will look into that - thanks.

The ic555 solution, is my last-resort fallback option if I can't get the Arduino circuit to work. It consists of two ic555s in series, the first sets the frequency, the second the duty cycle. More details on this (and links to others) that people have posted are on

The motor controller board comes with a opto-coupler for isolation so should be protected (to some degree) from my breadboard testing.

If anyone has a "set very low PWM frequency" known working code that still allows for a wide duty cycle variation within it, please let me know.
Sensors / Re: Pulse a 5V VCC pin with 18...
Last post by Tjaart - Today at 08:52 am
That is really useful information. Thank you. I will adapt my code accordingly thou it might take me rest of the day.

Great to know about the draft function.
The I2C bus address I am using was found through the I2C scanner sketch.
It is different to what I thought I set it to in hardware, so I will recheck that as well.

Great stuff  :)
Pages: [1] 2 3 ... 10