Recent Posts

Pages: [1] 2 3 ... 10
1
Software / Re: gestione display LCD
Last post by minicar - Today at 10:57 am
Innanzi tutto vorrei ringraziare tutti coloro che si stanno adoperando per trovare il bandolo della matassa ...

Ho provato a utilizzare e compilare le vostre soluzioni ma ancora non ho ottenuto risultati soddisfacenti ... il display si comporta sempre nello stesso modo.

E' un argomento, questo , che mi ha appassionato e sono ormai anni che non mi appassionano più queste situazioni  la sera dedico un paio d'ore per trovare soluzioni diverse, ritengo de deve pur esserci una soluzione. 

Non vorrei annoiarvi ma aspetto ancora vostri consigli
2
Deutsch / Re: Hilfe mit Arduino und Solo...
Last post by RIN67630 - Today at 10:56 am
a) Wenn im Schlafmodus fast nichts verbraucht wird, dann sind auch die Verluste verkraftbare 3X fast nichts...

b) ... zusammenzulöten und dann schauen, wie es wetterfest gemacht werden kann.
a) wenn man es kompliziert und teuer machen will, ja!

b) zusammenlöten, lötstellen lackieren, auf eine Kunststoffplatte mit Silikondichter kleben, fertig.
3
i want to control servo using aurdino shield
If by Arduino shield you mean this one, it doesn't do anything for you in terms of servos. It's for handing normal DC motors not servos.


i want to control servo using aurdino shield is extrenal supply is required??? how to connect them? help me
Yes, always. Simply connect your external power to the servo +ve and -ve, with that -ve also to the Arduino ground, and the servo control wire (usually yellow or orange) to the Arduino pin you decide to use for control.
4
Two things come to my mind.
1. I2C bus needs pull up resistors. They pull the voltage of SDA, SCL up to +5V or 3.3Volts. Do you your pull up resistors happen to be on the powered down board. They wont work there.
Problem solved - I placed pull ups on all slaves (2 slaves in this case)
Now the master can still operate if a slave goes down and detect the failure. Thanks for the help.
5
Thanks again for your reply,  am trying to define different approaches to multiservo operations other than pca9685 board.   
6
Sensors / Re: High Voltage AC Sensor To ...
Last post by Mk1_Oz - Today at 10:47 am
Been playing with circuits all arvo.  Is it possible to have a non-inverting asymmetric schmitt trigger using an op-amp?  I cannot find a reference to this, only to an inverting asymmetric.
7
Deutsch / Re: DEUTSCH Fibonacci Rechner ...
Last post by ArduFE - Today at 10:47 am
Ja, die Teensy können mit double rechnen, aber

1) die FPU beim Teensy 3.5 und 3.6 kann nur float. (Eine FPU für double wird es wohl beim zukünftigen Teensy 4 mit Cortex M7 geben.)

2) beim Teensy ist standardmäßig der Compilerschalter gesetzt, der dafür sorgt das Fliesskommakonstanten im Quelltext als float betrachtet werden. Nützt also nix, wenn man ganz tolle lange Kommazahlen in seinen Quelltext schreibt. In obigem Code wird allerdings von long konvertiert, deshalb geht das.

3) Auf dem Teensy sollten auch int64_t und uint64_t zur Verfügung stehen. Für Fibonaccizahlen sicher besser geeignet.
8
Deutsch / Re: funtion ausfürhung Fehler
Last post by michael_x - Today at 10:45 am
Quote
was kann ich verbessern?
Hab nur mal die erste Zeile gelesen:
Quote
byte ledPin = 4;                  // LED liegt am (digitalen) Pin 13
Fragt sich nur, wie viele Fehler das sind ;)

Gegenvorschlag:
const byte ledPin = LED_BUILTIN; // Beim Uno  Pin13

Generell schreibe ich an den Anfang eines Sketches gern, welche Pins wie belegt sind (Sowie eine kurze Beschreibung, was der Sketch macht bzw. machen sollte), um eine Übersicht zu haben.
Die Pin-Belegung als echte C++ Definition hat den Vorteil, dass Beschreibung und Wirklichkeit nicht so leicht widersprüchlich sind.


Aber mit byte statt int ist da schon viel Gutes drin ;)
9
Displays / Re: MCUFRIEND_kbv Library for ...
Last post by LiFu99 - Today at 10:43 am
Hi there,
I've got a 2.8" touchscreen.  Before using the MCUFRIEND_kbv library, I couldn't get it to work at all, but since using it, I have been very pleased to get it to start to work.

However, the touchscreen is apparently 'mirrored' down the middle, so that with the display in a portrait position, when I move the stylus up the middle (when using Adafruit tftpaint sketch but with MCUFRIEND_kbv library as opposed to the Adafruit_TFTLCD library), it draws a line downwards.

I have tried to resolve this in 2 ways:

-In the sketch I have tried to change the pin configuration:
The default is:
#define YP A3
#define XM A2 
#define YM 9
#define XP 8   
producing the result as described above.

Modifying it:
#define YP A2 
#define XM A3
#define YM 8
#define XP 9 
moving the stylus horizontally across the display, produces a vertical line and vice versa!

Defining pins A1, A2, 6 and 7 means that the touchscreen does not work at all, as I have seen this does work for other users.

I have also tried the default...
pinMode(XM, OUTPUT);
pinMode(YP, OUTPUT);

...changing to:
pinMode(XP, OUTPUT);
pinMode(YM, OUTPUT);
but that doesn't work either.

When I run the tftpaint sketch, the serial monitor says that I am using the ILI9341 driver, but the hardware documentation I have for the touchscreen says that it uses a UC8230s driver, so I am really rather bamboozled!

Sorry its such a long post; I'd be interested to know if anybody else has had any similar issues and have managed to get it working :-)

All the best,
LiFu99
10
thanks for your reply @kenwood120s.  I see the code in the page example of MegaServo doesn't include the sweep function, but downloading the library from arduino IDE and working with the example included in folder, it doesn't include the sweep function.   The library file doesn't include a sweep function though..
As far as I know, there is no sweep() function with the Servo library, just the sweep sketch in the servo library examples. Of course it's possible that someone wrote a sweep() function but if so, who and where I have no idea.

I don't think you should be digging in the MegaServo library area: it said there that it became the Servo library, which is presumably the currently supported one.
Pages: [1] 2 3 ... 10