#4908251
Hello Count, I have a little problem with the code... Since i've put everything together inside my 3d printed shell I have the problem that the Buttons don’t respond like they should... I can select the pattern and if I would like Sound... And if I press a button again it starts right from the beginning and didn't toggle between slow, fast and faster... Any idea what can cause this? Sorry for bothering you, but as I mentioned I am an absolute arduino noob, this is my first arduino build ever...

Greetings from Germany
#4908258
When I am past selecting pattern and Sound and press a Button again, it resets to the question which pattern I would like to use and than the question if Sound should be enabled... So I am stuck in a "selection loop"...
I will try your New Code tomorrow and give Feedback then...
Thank you for your help :nicejobyoudid:
#4908282
Are you using the buck converter? If not the draw from the servo could be causing the voltage to sag and the arduino to reset. I had that happen to me before I added the buck converter. That's why the original oshpark board design had the capacitor. It needed it to keep the voltage from sagging but ultimately I decided to power the servo separately.
#4917583
Hi there, I know it's been a while since someone posted in this thread.

I'm about to start working on my PKE meter and was going to order the PCBs to have them on hand. I grabbed the code from Github, but when I uploaded it to OSH, it didn't take and said there was an error in it.

Has anyone else ordered from there?

And thanks for all the work you've done on this! It's amazing!
#4918555
Got the PCBs (thanks!) and have been printing the parts. I think my Ender 3 may be a bit off as some of the parts are just falling apart. The crazy amount of supports too. Ack! I may have printed it too "fine" though (was printing at .15 and .2 mm (tried different prints) and saw you were printing at .3mm.

May have to try a piece at .3 and see how it turns out. But loving working on the build even if it is frustrating at times :)
#4918557
If your parts are falling apart you are probably suffering from under extrusion. There are some tips on this site to help with issues like this

https://www.simplify3d.com/support/prin ... eshooting/

I printed mine at .3 for speed and then ended up just using that one. If printing for a final version where I wanted minimal finishing work I'd look at .2 - .24. There are not a lot of details to worry about so it really comes down to reducing the layer striations near the top. There are a lot of supports needed unfortunately. Most slicers have a tree support option which you could try once you get the under extrusion solved.
#4918830
Printing went well. Now to assemble! I did notice in my testing, the OLED screen (I bought it from Amazon, identical) isn't showing things very well. It is hard to read the text that pops up for light style and sounds. I'm wondering if I perhaps have a bad piece and should order a new one or not. Mine just looks "stretched" for some reason (the bar graph and circle are stretched beyond the bottom). Gonna double check the code and stuff though and hope for the best...
#4918833
That certainly looks similar but it looks like the company has written their own library for it

https://mega.nz/#F!vJF3XLiD!wwS9qY7zUurZvg_KxFVaeQ

You may have to use their libs for things to work correctly. Try the adafruit example included in the arduino ide

File -> Exampes -> Adadfruit SSD1306 -> ssd1306_128x64_ic2

if that one doesn't work properly then you'll have to do some work to figure out what's going on
Shane Hultquist liked this
#4920931
Wanted to give an update. I ordered 2 new DIY Mall OLEDs to ensure I had the right things, but still get the same effect when powering them up (like the font is off on them or something). I'm now soldering the lights into the wings of the PKE and then will start assembling. I couldn't get a AAA battery insert for the handle, so I will probably just put a 9V in there and wire it up. I hope that will work...
#4920933
This is from a doc linked from the diymall website

http://www.diymalls.com/IIC-OLED-SSD1306
https://drive.google.com/open?id=1qkexP ... 4F-JEKkrHZ

that document zip contains special versions of the adafruit libs
For 0.96 inch: 0.96 inch use SSD1306 drive chip. Copy "Adafruit_SSD1306.h" and
"Adafruit_GFX.h" into "x:\arduino-1.X.X\libraries".
In order to reduce the pins’ number, we use a hardware RESET system. So the
standard library form Adafruit or u8glib may not very suitable. Make sure you are
using our provided libraries, It’s very important. If those files already in you
libraries, replace it.
They also note
The dot matrix is 128 * 32
We never produced any 0.96 or 1.3 inch with 128*32 dot matrix. Open
“Adafruit_SSD1306.h”, and make sure the “#define SSD1306_128_64” is available.
Could be why you are seeing some strange things.

9v will work but you will likely see reduced run times.
#4924878
Hi! This my very first project 3-d/circuit/arduino/ soldering project and somehow I'm almost done. The only thing I'm stuck on is the on/off switch. I bought a SPDT Toggle Switch with 3 pins and I can't get the thing to turn off. Feel like I've tried every combination. Read the instruction you had on an earlier post but still not completely sure what you're referring to. Currently I have a wire between the switch's middle pin and the positive battery pad. Am I putting the wire in the right place for the battery? Just have it mainly in the back, sort of going a little bit into the hole. My main issue is the second wire as all of the instructions online that i could find keep adding it to a part like the motor or an LED. Tried putting it on the switch's side pin and connecting to the negative battery pad, but that reset the device and didn't turn it off? Only combination that's actually caused it to react in someway, otherwise it just stays on. Don't know if it's improperly wired or if I'm not establishing a good connection (or both), but without knowing which going slightly crazy. Thank you!
#4924902
with the switch the center pin is the common and the outside ones correspond to the switch location. Off is when the switch is in the middle and on is on either of the edges. This allows you to toggle two different power sources on and off. You really only needed an spsp switch but the spdp switch will still work.

Easiest way to explain it is take the positive power lead, cut it, connect one side of the power lead to the middle and the other side to one of the outside pins. From that point on the center and outside pin that nothing is connected to is off and the outside pin with the connection is on.

Here are the internals of an spdt switch. It's a pretty simple rocker mechanism

Image
#4924922
Thank you for the fast reply! My switch doesn't have a middle position. This what I bought on amazon: https://www.amazon.com/gp/product/B01N7 ... UTF8&psc=1. Instead of putting the wires on the pad at the back of the batteries as I've been doing I wrapped the wire to the front to make sure it was definitely making a proper connection. This is the same place I have the wires for the positive power that goes to the nano and buck converter. Connected the other side of one wire to the middle pin of the switch and the other wire to the outside pin of the switch. Tried it with two different switches, but still didn't cut off the power. What am I missing?

Does anybody else think this is going to suck fo[…]

Propstore GB auction won.

Tracking says I will receive it tomorrow. A bit b[…]

Alternative for belt Gizmo.

Totally agreed about Spongefaces stuff. I have mos[…]

that is an amazing amount of work. But that smilin[…]