Loading

Recent Topics

Looking for a good inexpensive Soldering Iron

by cncjim4

Right now I am using a cheap Wall Lenk L25 soldering Iron. I am looking to buy something a bit better. I don’t want to spend a lot of money on something that is use for my hobby. I am looking at the Weller WLC100 40-Watt Soldering Station Amazon has it for about $38.00. What do you people recommend for a good inexpensive Iron .

View Comment

DIY Camera slider Help!

by Coolcrawler_

I want to make a motorized camera slider that would use standard Arduino components. I don't know that much about Arduino but I still understand what people talk about.

You can look at my picture that I made to try and get an understanding of what I want. It would be powered by a stepper motor with a timing belt. I would prefer to use a Arduino Nano but any microcontroller would work.

At the ends, there would be microswitches. I would have a potentiometer to control the speed in both directions. A 3 way rocker switch would have OFF, INFINITE, and ONE WAY. The normal position would be off. When switched to INFINITE, the slider would move to one side, hit the limit switch, then go to th other side, hit the limit switch, and repeat, until I turn it off (this would be for interviews or things like that.) Then, the other position (ONE WAY) would start where the position was last left off, then go to one side (determind by the potentiometer for speed and direction) and hit the limit switch, and then just stop. Also there might be a little "Reset button" which just moves the carriage to one side of the slider which would be defined as the "home position", similar to a 3D printer. The thing I need help with is the coding/wiring. I can't imagine this being that difficult to code for most people, and I am currently taking an Arduino course. These are the electronics I am thinking:

10K Potentiometer
Stepper motor
Stepper motor driver
Arduino-type board
2 limit switches
3 way rocker switch

So if anyone can help me, or need me to clarify stuf, please contact me!

arduino camera electronics slider stepper_motor
View Comment

what determines a stepper motor's voltige?

by SavageRodent

hay guys.
i've been browsing ebay for Nema-17 stepper motors, for a future project. The motors i'm looking at are all of a similar size
but have big differences in specification. I'm struggling to understand the relationship between the inputs and outputs.
Below are few key details for a couple of motors i looked at. Motor 2 has far higher voltage, draws twice the the current and yet has practically the same holding torque. can someone please explain this to me?

motor 1:
38mm length
3.96V
0.9A
0.4N.M Holding Torque

motor 2:
40mm length
12 V, 24 V
2A
45Ncm Holding Torque

View Comment

Rumba ATmega2560 Board Upload Error

by 3DPDude

Hi everyone!

I am very new to firmware flashing with Arduino, so I need all the help I can get :)

Right now, I am working on building a large format 3D printer, and I have chosen to use the Rumba board. When I tried to upload firmware today, however, I kept getting this error:

Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Owner\Documents\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\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0010 -ide-version=10805 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_937830 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_583052 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Owner\Documents\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\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0010 -ide-version=10805 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_937830 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_583052 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino
Using board 'mega' 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=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\sketch\Blink.ino.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=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\sketch\Blink.ino.cpp" -o "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\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\Owner\AppData\Local\Temp\arduino_build_937830\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\sketch\Blink.ino.cpp" -o "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\sketch\Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.elf" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830\sketch\Blink.ino.cpp.o" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/..\arduino_cache_583052\core\core_arduino_avr_mega_cpu_atmega2560_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\Owner\AppData\Local\Temp\arduino_build_937830" -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.elf" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.elf" "C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.hex"
Sketch uses 1462 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM7 -b115200 -D -Uflash:w:C:\Users\Owner\AppData\Local\Temp\arduino_build_937830/Blink.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

     Using Port                    : COM7
     Using Programmer              : wiring
     Overriding Baud Rate          : 115200

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

An error occurred while uploading the sketch

This error message is from the simple BLINK file to test uploading. I have tried different ports, and cables, to the same avail. Any suggestions?

Thank you so much in advance!!!!!!!!

View Comment

Need some help with an OLED on ESP3D using a NodeMCU-32S

by Hic_Svnt_Dracones

I just setup ESP3D on a NodeMCU-32s-Wroom module, but have an external SSD1306 128x64 oled laying around that I am not using and saw that 2.0 now supports oled's, but I can NOT get this to work at all. The code is a bit confusing because I am not seeing this type of reference in any other ssd1306 sketches I have worked with. I haven't had any problems getting this oled to work with any other Arduino sketches, so it definitely works.

Here is the code they have in the config.h:

//Pins where the screen is connected

ifdef ESP_OLED_FEATURE

define OLED_PIN_A 21

define OLED_PIN_B 22

define OLED_ADDR 0x3c

define HELTEC_EMBEDDED_PIN 0 //0 to disable

define OLED_FLIP_VERTICALY 1 //0 to disable

endif

My SCL is pin 22 and my SDA is pin 21 on this board, but usually, it just references i2c or scl and sda, never seen pin_a and pin_b. I have swapped the pins around and no luck, tried inputting sda and scl in place of the pin numbers, but just errored. I looked through the rest of the files and no other references to this popped up and they have no documentation for it, and well, very little for esp3d in general... I have attached the 2 OLED files and the config.h from esp3d 2.0.

Here is where I got this: https://github.com/luc-github/ESP3D/tree/2.0

Earlier versions don't have oled support, and this was the only version to work with my board, all the others caused a core 1 panic and reset loop. So, anyone have any idea? I have SCL, SDA and vcc/gnd all hooked up, I reflashed a few ssd1306 samples to be sure the module works, and no issue with other code. I have foregone connecting the DHT11 for temp/humidity until I get OLED working.

For those that are curious or clueless, ESP3D is a printer server/controller kinda like Octo/Astro that runs on the $5 ESP8266 and ESP32 boards, which have Wifi & Bluetooth included. It looks like they yanked the web interface straight from Repetier, but it is getting better, Beyond being a wifi/bluetooth enabled print server they have been adding in external temp monitoring, power monitoring, and a bunch of other monitoring tools, and the future looks like it will become a remote printer helper that does everything you could ever need, of course, it'll be useless once a RAMPS style board for ESP32 hits the consumer market :) Yet can't beat adding in Wifi, BT, and a print server for $5. I'm done rambling :)

Many thanks!

View Comment