I once had a stepper driver which had the DIR pin not working. If you exchange the E stepper driver with e.g. the X driver, will the problem persist, or then appear on the X-axis? Also, have you checked with an ohmmeter that the connection between the DIR pin of the E0-driver and the Mega pin D28 is good?von enif - RAMPS Electronics
Great that you start working with OpenScad! I am sure the more you use it, the more you will like it. But I would not recommend resorting to import of outside objects, just because you don't know (yet!) how to construct them directly in OpenScad. Why not try to work it out directly in OpenScad? Your shape is simply a convex hull of a flat cube at the top and two cylinders at the bottom. Here avon enif - OpenSCAD
Es ist eigentlich immer nur eine Art Knacksen, das jeden Klick auf dem Encoder akkustisch bestätigt...von enif - Elektrik & Elektronik
Die Änderung BEEPER -> BEEPER_PIN ist ziemlich neu im Development Repository, hab sie erst jetzt gesehen... Aber: Du hast BEEPER nach BEEPER_pin statt BEEPER_PIN geändert! Probiers mal mit Grossbuchstabenvon enif - Elektrik & Elektronik
Was war denn die Fehlermeldung, als du mit "#define BEEPER 37" komipliert hast? Wo hast du jetzt überall sonst noch BEEPER durch BEEPER_pin ersetzt?von enif - Elektrik & Elektronik
Das Patch-Format heisst auch "unified diff" Format, am besten mal so googlen, dann kommst du zu den genauen Spezifikationen. Im wesentlichen zeigen die --- / +++Zeilen die Vorher-/Nachher Dateien, die @@ Zeile das angezeigte Zeilenintervall, und die + / - Zeilen sind dann nur in der Vorher- resp. Nachher-Datei. Bin im Moment unterwegs und hab dehalb nicht viel Zeit, sorry...von enif - Elektrik & Elektronik
Die 1.0.3 ist im Development Branch.von enif - Elektrik & Elektronik
And here a more efficient and cleaner version, which can easily be adapted for any dimension of the array, e.g. just as in the original question... function mina(array,ind,J=0) = ( J < len(array)?min(array ,mina(array,ind,J+1)):99999999); function maxa(array,ind,J=0) = ( J < len(array)?max(array ,maxa(array,ind,J+1)):0); function minxyz(array,i=0) = ; function maxxyz(array,i=0) = ; fvon enif - OpenSCAD
The len() function is indeed the simplest solution for getting the length of an array. However, this solves only one special case of dmould's more general problem... For solving things like sum, minimum or maximum, you could use recursive functions. To illustrate the idea, you could e.g. use something like the following for computing the minimum and maximum of an array of points: functionvon enif - OpenSCAD
Hast du auch getestet, ob der USB-Port am Laptop noch funktioniert? Bist du ganz sicher, dass keine Verpolung Plus<->Minus am 12V Anschluss stattgefunden hat?von enif - Elektrik & Elektronik
Nach meiner Erfahrung (bin aber kein Spezialist!) sind in diesem Zusammenhang Stepper unter 3 Ohm "niederohmig" (d.h. 2 in Serie sollte mit 12V kein Problem sein), über 6 Ohm "hochohmig" (d.h. besser parallel) - dazwischen halt am besten ausprobierenvon enif - Elektrik & Elektronik
Wenn du "normale" niederohmige Z-Motoren hast, dann empfehle ich dir, die Motoren seriell zu verkabeln (d.h. wie auf deinem Bild). So bist du sicher, dass beide Motoren immer genau gleichviel Strom bekommen. Bei parallelen Motoren, teilen diese sich den Strom und schon eine kleine Differenz im Widerstand (in Motor oder Verkablung) können zu Strom- bzw. Leistungsunterschieden führen. Ich verwenvon enif - Elektrik & Elektronik
1N4005 will work just fine, it's also for 1A avg forward current, like the 1N4004, but it allows even higher reverse voltages.von enif - RAMPS Electronics
Falls du deinen G-Code beim Drucken jedesmal neu generierst, könnte das Problem evtl. am G-Code selbst liegen? Hast du den mal angeschaut? Hast du das Ruckeln auch, wenn du die entsprechenden G-Code Befehle manuell eingibst? Hast du evtl noch eine alte G-Code Datei (z.B. im tempstl Ordner) aus der Zeit, als noch alles gut funktioniert hat?von enif - Elektrik & Elektronik
I think you have to use the corresponding SS/MOSI/MISO/SS pins of the Sanguinulolu instead of using the same pin numbers, as is done on your drawing. These would be pins 12/13/14/15, which are all on the Sanguinulolu extension headers. Here is the hookup of my spare Sanguinulolu with which I succeeded to burn the bootloader of a Nano, using the unmodified ArduinoISP sketch:von enif - Controllers
Quoten.glasson It looks like the fix for the rotary encoder isn't quite 100% yet. I still find it works the wrong way in some places. For example when I am printing I can turn the speed up by twisting the knob upwards (at the front) when I am on the info screen, but when I select speed from the tune menu the knob needs to be twisted down to increase the speed... Yes, you are right indeed! Asvon enif - Controllers
You could cut the red 5V wire in your USB cable, so that the Arduino only gets power when you switch on the 12V power supply.von enif - RAMPS Electronics
Quoten.glasson ... As Enif has noted earlier, the side facing encoder has an illogical response depending on if you are scrolling menus or changing numeric values. If you set the encoder rotation in firmware to suit the menus (rolling the thumbwheel downwards at the front to scroll downwards), then when you reach a screen where you change a numeric value the same downwards rotation increases thevon enif - Controllers
Have you also tried switching just the motors, to see if the problem is not somewhere in the cabling? My guess would rather be that the problem is cable/connector related than it having to do with depleted magnets.von enif - Stepper Motors, Servo Motors, DC Motors
If your OLED can be reconfigured for I2C, then I still think that this is your best option. Why don't you post pictures of the front and the back of your OLED here - then may be we can find out how to activate the I2C mode...von enif - Controllers
Yellobello, no I just use the PCB program on Linux. The source is here - but I warn you, it's not professional at all ...von enif - Controllers
Warum schaltest du das zweite Heizbett nicht über ein einfaches 12V/40A Kfz-Relais? So muss der Ramps-MOSFET nur noch einen winzigen Strom zum Schalten des Relais liefern. Ich betrieb lange alle meine Heizbetten auf diese Art (da ich v.a. Sanguinololus verwende und diese noch heikler sind mit grossen Strömen) und hatte nie Probleme. Um das hörbare "Klick-klick" zu vermindern habe ich jeweils ivon enif - Elektrik & Elektronik
That should work - at least in theroy But you would need to have one extra signal for the oled's CS, e.g. you could use one of the I2C signals for that, as long as you don't need the I2C for the EEPROM. Also, check out if your oled module cannot be reconfigured for I2C by modifying some of the resistors on the back. Many modules I saw, allow for both SPI and I2C protocols. So far, I have onlyvon enif - Controllers
Unfortunately, I don't have any experience with Repetier... As for older versions of Marlin, I don't think that there should be any problem. I use it with Marlin versions 1.0.2 and 1.0.3. Even older versions should work in principle, but you have to find the right place to make the changes, especially in the old long pins.h.von enif - Controllers
Nach dem Hochladen von Marlin musst du immer mit M502 die neuen Default-Werte in den Hauptspeicher lesen und dann mit M500 ins EEPROM übertragen.von enif - Elektrik & Elektronik
Ja, wenn du die beiden Z-Pinheader brauchst, dann ist's parallel. Für seriell brauchst du einen speziellen Adapter oder ein Spezialkabel. Wenn du sagst "nicht so richtig zuverlässig", was heisst das genau? Drehen die beiden Z-Motoren trotzdem immer schön synchron, oder gibt es Verschiebungen. Ich markiere die beiden Z-Achsen immer, so dass ich sofort merke, wenn sie nicht synchron gedreht habevon enif - Elektrik & Elektronik
Wie sieht deine Geschwindigkeits- und Beschleunigungskonfiguration aus? In meiner Erfahrung reagiert die Z-Achse sehr heikel auf zu hohe Geschwindigkeiten. Also mal auf sehr langsam stellen (z.B. 2mm/sec), und wenn es dann solide läuft, kannst du wieder sachte rauf mit den Werten... Sind deine beiden Motoren parallel oder in Serie verkabelt? Bei Parallelschaltung muss der StepStick den doppeltvon enif - Elektrik & Elektronik
To come back to your original question: Quoteo_lampe What´s wrong with my math? Instead of 10*sin(45) it should be 10-5*cos(45).von enif - OpenSCAD
Quotef3rDz [enif, any chance we can have your DIY Tiny OLED I2C full graphics controller connected to this board Yes, that would be nice, but I fully agree with tatubias that this is probably asking too much from the Nano - not enough pins and probably also not enough free memory for the graphics library either...von enif - Controllers