• Hallo Zusammen, Aufgrund der aktuellen Situation setzten wir die Möglichkeit aus, sich mit Gmail zu registrieren. Wir bitten um Verständnis Das RCMP Team

Projekt ESP32 Arduino RC Sound und Licht Controller

GeeKaa

Mitglied
Good afternoon Martin.

I am not managing to get the STEERING_RAMP_TIME working. Any idea what I am doing wrong?
In the file 7_adjustmentsServos.h it says among other things:
#define SERVOS_ACTROS
// Servo ramp time
const uint16_t STEERING_RAMP_TIME = 3000
0 or 1000 or 3000 : No difference.:(
I am using version 8.8 ans VScode.
 

LBtech

Mitglied
Good afternoon Martin.

I am not managing to get the STEERING_RAMP_TIME working. Any idea what I am doing wrong?
In the file 7_adjustmentsServos.h it says among other things:
#define SERVOS_ACTROS
// Servo ramp time
const uint16_t STEERING_RAMP_TIME = 3000
0 or 1000 or 3000 : No difference.:(
I am using version 8.8 ans VScode.
Did you use the right variable?
You have to use the block that fits the #define value. In your case I think line 107 is the one that need to be modified.
 

GeeKaa

Mitglied
Yes I do.
#ifdef SERVOS_ACTROS

//#define CH3_BEACON // Rotating Beacons are connected to Servo CH3. BUS mode only! https://www.ebay.ch/itm/303979210629
//#define MODE2_TRAILER_UNLOCKING // The mode 2 button is used for trailer unlocking by servo CH4 (sound1 triggering will not work!)

// Servo frequency
const uint8_t SERVO_FREQUENCY = 50; // usually 50Hz, some servos may run smoother @ 100Hz

// WARNING: never connect receiver PWM signals to the "CH" pins in BUS communication mode!

// Servo limits
const uint16_t CH1L = 1000, CH1C = 1500, CH1R = 2000; // CH1 steering left, center, right
const uint16_t CH2L = 1000, CH2C = 1500, CH2R = 2000; // CH2 transmission gear 1, 2, 3
const uint16_t CH3L = 1000, CH3C = 1500, CH3R = 2000; // CH3 Beacons (modes are switched, if position changes from 1000 to 2000us)
const uint16_t CH4L = 1350, CH4R = 1650; // CH4 trailer coupler (5th. wheel) locked, unlocked

// Servo ramp time
const uint16_t STEERING_RAMP_TIME = 3000; // 0 = fastest speed, enlarge it to around 3000 for "scale" servo movements

#endif
 

Nolethai

Mitglied
Hallo Martin, hallo Zusammen,
ich habe gerade auf der Seite von PCBWay folgende Info entdeckt:


Last Updated 2022/1/14 GMT+8: DHL logistics delivery will gradually return to normal, but the orders delivered from January 7 to January 11 are stranded in DHL Shenzhen Port Center for disinfection, it will take a few more days to leave. See more >>


Holiday Notice: The Spring Festival of 2022 is coming, our "Standard PCB" factory will start the Lunar New Year holiday from January 31st to February 3rd (GMT+8). In order to meet the urgent demand of customers for orders, our "Standard PCB" factory will be put into production from February 4th, 2022 (GMT+8). During the holiday, the website can place orders as usual, please arrange orders in advance. Read more >>

Somit warte ich noch ein bisschen mit meiner Bestellung der neuen Boards.

Meine teils Neuverkabelung beim Actros kann jetzt auch wieder so langsam starten. Da die Regenzeit seit ca 1 Woche vorbei ist, ich den Garten wieder fast in Ordnung habe und mein Sohn keine Lust mehr hat seine "chinesische Lego-Dampflok" weiterzubauen habe ich jetzt wieder Zeit für das Projekt ESP32 Light & Sound Controller / Hercules Actros mit zu öffnenden Türen. Ich hoffe ich habe jetzt den richtigen Platz für das Board gefunden. Werde ich sehen wenn alle Kabel verlegt und angeschlossen sind. Ich hoffe das dann die Türen richtig schließen. Das Akkufach muß ich auch noch bearbeiten da der Lipo 2 mm zu lang zu sein scheint.

Viele Grüße
Norbert
 

GeeKaa

Mitglied
Hi Gerard,
I don't really know what you mean. Is it too slow or too fast? For me it's working. Of course it also depends on the maximum speed of your servo.

Hat sonst jemand dieses Problem?
Bye Martin.
The servo does not want to move slower. At all selected values 0, 1000, 3000 the servo turns the same: "full speed".
That's not a bad thing, just a shame. It's fine to work with now, too.
 

Snipah

Mitglied
Is it just me or are these a bugger to adjust. I seem to have an output of 4.859vlt no matter what I adjust it. Is there a trick to it?
trimpot.PNG
 

Nolethai

Mitglied
Hallo,
ich habs dann doch gemacht. Ich habe gestern die unbestückten Boards bestellt und heute die nötigen Teile. Bei diesen Boards möchte ich das SMD-löten ausprobieren.
Die Arbeit und der ESP32 Sound & Light Controller von Martin ist einfach genial und lässt mich nicht mehr los. Für den Einbau des Boards in meinen Actros werde ich das jetzt so wie bei Martin`s Actros versuchen, aber die kippbare "Wand" für das Board nur bis unters Bett bauen. Ich hoffe das reicht.

Viele Grüße
Norbert
 

adikx5

Mitglied
Hello guys!
Maybe stupid question, but Im not good with electrinic stuffs - what/which one resistors should I use if I will replace potetionmeter(I know this one is 20K Ohm) and set volume to maximum and where shoud I solder it?
It is possibility to do that?
 
Zuletzt bearbeitet:
Top Bottom