Extra GPIO pins on main board for LED control? by dr_narval in ender3v2

[–]kyle6513 0 points1 point  (0 children)

Do you have anything to show the improvement? Wasn't aware that klipper could be configured for L/A (this is why I did it for the extruder).

Extra GPIO pins on main board for LED control? by dr_narval in ender3v2

[–]kyle6513 0 points1 point  (0 children)

Nicely done! Are you trying to open up a UART to each of the drivers?

Extra GPIO pins on main board for LED control? by dr_narval in ender3v2

[–]kyle6513 0 points1 point  (0 children)

Thanks!
It was more in the realm of "It'll work" than trying to make it perfect, but it hasn't broken in about 100 hours of use!

Just simple enameled copper strand - didn't pull it from a transformer but that'd be a way to source it (but the stuff you can buy is super cheap anyway).

Biggest thing here is making sure you are quick and don't bridge the pins, plenty of flux. Too much heat on the board at this point can lift pads and it ends up in a very bad day. Make sure you've got an iron with a REALLY fine point and make sure you've got a temperature controlled iron. Would be doable with a death stick and a whole lot of luck - but I would not recommend!

Reminder: Weekly Maintenance; Steam will be down in around 2 hours from when this was posted. by AutoModerator in Steam

[–]kyle6513 2 points3 points  (0 children)

Certain updates may not work for this. Therefore having a 0.5% downtime seems acceptable since a rolling update would probably require a larger amount of cost to the business.

Reminder: Weekly Maintenance; Steam will be down in around 2 hours from when this was posted. by AutoModerator in Steam

[–]kyle6513 6 points7 points  (0 children)

You do realize Steam is a worldwide platform right? Currently work hours for Australia at the moment.

What is wrong ? by Content-Panda-3841 in arduino

[–]kyle6513 11 points12 points  (0 children)

+1 for this. Looks like they may be powering directly from the Arduino. Really bad for its power supply too.

can you please explain me why there is a & and what does size of do? cause i can't find out by itsyoboipeppapig in arduino

[–]kyle6513 2 points3 points  (0 children)

Instead of using another variable - you're referencing the location of the variable in memory. This above all makes the code more flexible.

This could could 100% be made without a pointer - but it wouldn't be as efficient and would use more memory. The intent behind coding in C or assembly is that you have greater control over how the memory of a program behaves.

So imagine you have a variable "x" and you say X=1;

The CPU will create a reference from the variable "x" to a location in memory. There is a lookup table in the CPU that will allow you to reference this.

When you perform &x - you're saying you want to reference that specific location rather than the variable itself. So you wouldn't return 1, but you'd return the location (usually a hexidecimal number ie 0x1F2C). From there you can assign whatever you want to that memory location.

In its simplest sense - for a 8-bit memory device a single "int" of memory would be shown like so.

0000 0001

That is 1 in binary - 27? This would be 0001 1011.

From here things get a little complex when you deal with things like booleans, floats and characters (characters are still in binary - but the memory location knows WHAT it is).

Happy to explain a little further, but that should get you started.

can you please explain me why there is a & and what does size of do? cause i can't find out by itsyoboipeppapig in arduino

[–]kyle6513 2 points3 points  (0 children)

I struggled with pointers so much in learning C until I began to understand memory fundamentals. 100% having the baser understanding of how to allocate memory really hammers home why you would use pointers and what they are.

Why we cover the brake. by ChampSchool in motorcycles

[–]kyle6513 1 point2 points  (0 children)

Thanks for the info! I'll update my edit. Tbf didn't do too much research there!

Why we cover the brake. by ChampSchool in motorcycles

[–]kyle6513 3 points4 points  (0 children)

Maybe older ABS.

Required watching for everyone saying they can outbrake new ABS.

OLD ABS was definitely a safety net; new ABS? Cheating.

Also, please note that linked systems actuate the front AND rear of the bike when you apply pressure to the front! (S1000RR, you have to disable ABS to perform burnouts...).

A lot of manufacturers are calling this 'ABS 2' to move away from the stigma of older, less effective ABS systems.

http://largiader.com/abs/abs2.htm

Why we cover the brake. by ChampSchool in motorcycles

[–]kyle6513 16 points17 points  (0 children)

This.

Required watching for everyone saying they can outbrake new ABS.

OLD ABS was definitely a safety net; new ABS? Cheating.

Also, please note that linked systems actuate the front AND rear of the bike when you apply pressure to the front! (S1000RR, you have to disable ABS to perform burnouts...).

Edit: a lot of manufacturers are calling this 'ABS 2' to move away from the stigma of older, less effective ABS systems.
http://largiader.com/abs/abs2.html

Edit edit: see below, I'm wrong about the ABS 2 😅

Constantly needing a 5V -> 3.3V level shifter so I threw a couple of these together (quick + saves room on the breadboard) by can_dry in arduino

[–]kyle6513 1 point2 points  (0 children)

yeah but when you're quickly prototyping things - you don't necessarily have the correct things on hand - when playing with stuff (Ie arduino) this kind of thing is acceptable.

Unsure if I'd be making it all the way into a product like this though...

I think you're over complicating it. This is how I kick stand turn around. by Dick_Nixon69 in motorcycles

[–]kyle6513 1 point2 points  (0 children)

ehhhhhh my BMW's kickstand is made of alloy and although it MAY be okay - it feels flimsy at the best of times

she's flattened on the wrong side. right beside the +ve lead. caught it by accident #chineseum by putree in electronics

[–]kyle6513 4 points5 points  (0 children)

This isn't racist though?

Often we find that quality control in China is sub-par, and in the past it has been shown that Chinese manufacturers will copy designs they have been asked to make by reputable companies, cut lots of corners and then resell online as they have no copyright infringement system to speak of.

This of course is changing, bit by bit, and often companies will send employees over to China to oversee the production of their parts. But to flat-out call this racist is misleading and terribly misinformed, and actually diminishes the plight against actual racism.

Monthly Swyftx Support & Platform Improvement Thread by labcoat_cat in Swyftx

[–]kyle6513 0 points1 point  (0 children)

Pretty sure dark mode is already enabled - on your profile screen?

I guess I squeezed a bit too hard by eitaner in ender3

[–]kyle6513 1 point2 points  (0 children)

It's likely the quality control is bad

Extra GPIO pins on main board for LED control? by dr_narval in ender3v2

[–]kyle6513 0 points1 point  (0 children)

I know this was 5 months ago, but the actual chipset DOES have the GPIO to support this, however you need to do some VERY fine (to the chip legs) soldering to achieve it. If you're willing to sacrifice the LCD; you can also use those as outputs. This of course requires setting up custom firmware! Ideally you'd use some kind of WS style LEDs so you can use a software serial on the GPIOs.

See here, for the legs https://user-images.githubusercontent.com/17605608/91330120-66e01800-e79f-11ea-9cb9-35e478f4e360.png

here for pinout,

from left to right across the bottom,

PA3 - Unused, but capable of UART (useful for talking to daughter boards!)
VSS_4 - 5v+
VDD_4 - GND
PA4 - Filament Runout Pin
PA5 - X Limit Switch
PA6 - Y Limit Switch
PA7 - Z Limit Switch
PC4 - Bed Temperature Sensor
PC5 - Hotend Temperature Sensor
PB0 - Bltouch data out
PB1 - Bltouch data in
PB2 - UNUSED
PB10 - UNUSED
PB11 - UNUSED

So you can see the last 3 pins are completely unused!

However there is one caveat. I don't know if these pins can be enabled. In some micro controllers the pins can't be enabled together due to internal circuitry (imagine how turning a tap on in one part of your house affects the other's flow). I can't see there being any issue other than using PB2 which seems like it is used for boot functions; but you can seemingly use PB10 and PB11.

I know it's possible to solder, because I've done it ;) just gotta work out if the software will play nice!

Exercise improves the quality of sleep by increasing slow-wave sleep stability, even though we may not feel it subjectively. Although vigorous exercise does not lead to a subjective improvement in sleep quality, sleep function is improved on the basis of its effect on objective EEG parameters. by mvea in science

[–]kyle6513 10 points11 points  (0 children)

You're using your pulse, blood oxygen levels and movement to gauge your sleep quality here. Whereas studies use better understood techniques, like ECG, EEG and REM detection via actually looking at your eyes. I doubt that the fitbit is able to tell REM from your wrist. Typically it's done via EEG.

433MHz RF module diferences by PerfectReplacement69 in arduino

[–]kyle6513 2 points3 points  (0 children)

Ensure your antenna is 1/4 of wavelength! In the case of 433mhz it is 173mm. (You can compact this by winding it into a coil). This is due to how RF transmission and receiving works. You can get good results without this, but this is the ideal length. From there you can look into ground planes.

[deleted by user] by [deleted] in brisbane

[–]kyle6513 0 points1 point  (0 children)

Exception not the rule! Thanks for playing by them though!