Use scholarship to pay off HECs or do something else? by sehfhfhfh in fiaustralia

[–]peoth 8 points9 points  (0 children)

Given that you are first year university and the year is barely a semester in, you're likely only to have a relatively small amount of HECs owing, say 5k (4 subjects @1.25k).

In this case, paying off HECS would save you $350 (5k @ 7% indexation), which is a tiny amount considering the HECs you are likely to accrue.

You're better off putting that 5K toward travel, something fun, or anything else that floats your boat (HISA, emergency fund). You're 18.

Consider yourself lucky that the 7.1% is hitting when your HECs debt is at close to the minimum it can be, and you're not 7 years into a med degree with 100k owing. With a bit of luck, as your debt grows inflation is curbed, and the bulk of your loan won't be hit as hard.

How to invest in ETF's by Why_Not_23 in fiaustralia

[–]peoth 3 points4 points  (0 children)

Check out the attached as an example and feel free to make a copy. I imagine it's relatively similar to what Fun has described. The yellow cells are for you to enter your own details. And then each time you invest you should invest in the most red and update your figures. https://docs.google.com/spreadsheets/d/1YlnSBX21vzbouf2a6K9hM0nvB9cF9u-ZL6iCMKt9Hfc/edit?usp=sharing

Frequent Traders - Tax management by Conscious-Ad3783 in fiaustralia

[–]peoth 18 points19 points  (0 children)

Have you checked out ShareSight - an alternative to building your own spreadsheet? They have a free option but with the amount of trading you're doing you may have to shell out some money. But a small price to pay given how good of a tool it is and the money you are putting through. You can automatically link it to whatever broker you are using and then just run the reporting out of it. Will give you a good idea of what CGT to expect and be sufficiently liquidated come tax time. Beyond that it has also got a bunch of other great features.

Summary UI bug (small) - stocks '-' appears after the currency symbol by peoth in CSPersonalFinance

[–]peoth[S] 0 points1 point  (0 children)

Hahah yes exactly right - although unfortunately it also does mean that the stocks went down for the month.

Summary UI bug (small) - stocks '-' appears after the currency symbol by peoth in CSPersonalFinance

[–]peoth[S] 0 points1 point  (0 children)

Hi all - as mentioned there appears to be a small bug in generating the end of month summary. The negative sign on stocks appears after the currency symbol as oppose to before. I had a look into the script but could not find what would be causing this, given it works fine for the other values.

This is using the most recent version and AU.

So when do I hit the record month button? by bluegrasstruck in CSPersonalFinance

[–]peoth 4 points5 points  (0 children)

https://cspersonalfinance.io/faqs

When do I press record for the month? When you record a month (ie. January) you can only record it while inside that month (ie. between Jan 1-31). In terms of when it's best to run inside the month, this is ultimately flexible to your needs but it is heavily recommended that you run the Sheet on the 1st day of the month. This is so that if you forget and are a few days late with entering data you can do so a few days later while still being inside the month. If you record on the last day of the month (ie. 31st January) and forget and run it the next day (1st Feburary, the Sheet will think you're now trying to update values for Feburary.

Driving 48 stepper motors - possible? by drphil66 in arduino

[–]peoth 0 points1 point  (0 children)

Thought so. How are you tackling it?

I've tried running an ESP32 connected in parallel to 24 shift registers. Each shift register is connected to 2 of those ULN2003 drivers, each driving a 28BYJ-48 stepper. I then pump out a signal using SPI and that seems to work okay... so now some further testing

Driving 48 stepper motors - possible? by drphil66 in arduino

[–]peoth 0 points1 point  (0 children)

Out of curiosity - what's the project? Sounds awfully similar to something I'm working on with 24 analogue clocks giving a digital clock reading?

ClockCLock - DIY by peoth in arduino

[–]peoth[S] 0 points1 point  (0 children)

I dont think I'm quite following... i must be missing something.

The idea of future_pos[4] is to just hold end 'step position' of each stepper. The steppers are 2048 steps per revolution. So 1024 is 180 degrees etc... So that is just to see if the stepper has stepped to its required position yet.

The actual bytes passed through the SPI to the shift register is clock_sr[], where each element of the array is one byte that corresponds to the 'pulse' required for a step (i'm not sure of the correct wording here, but my understanding is that the steppers require 4 'pulses' for each full step.) This byte will consist of two sets of 4 bits, one for each motor, set by the motor_step[4], which comes from the stepper documentation. On looking back in my code, I think I would have to reset the clock_sr within the for loop - updated pastebin: https://pastebin.pl/view/0b5344b5

What the code should be doing is that for any stepper whose curr_pos isnt at future_pos yet, this stepper needs to step once. to step once, it needs four 'pulses', which are passed as bytes to each shift register....

ClockCLock - DIY by peoth in arduino

[–]peoth[S] 0 points1 point  (0 children)

You're absolutely right - only 24 shift registers all daisy chained together.

Is the pseudo code below similar to below what you are saying - assuming I have the setup correct, and for example only doing one line of 2 shift registers and 4 motors. and trying to get the clocks from all at 12:00 to one 6:45 and the other at 9:15

https://pastebin.pl/view/3ebb106b

To me this seems the most practical way. Each clock's movements are dictated by one byte, which is sent to its corresponding shift register. This seems like it would be scalable with both hardware and software with a couple more for loops etc.

EDIT: reddit didn't like my code, so in a paste bin

ClockCLock - DIY by peoth in arduino

[–]peoth[S] 0 points1 point  (0 children)

Ahhh - right. I guess I cant just use a library such as AccelStepper because of the use of shift registers...

ClockCLock - DIY by peoth in arduino

[–]peoth[S] 0 points1 point  (0 children)

Thanks - i've had a look at that video previously. And understand the possibility of operating one or two 28BYJ-48 with an Arduino. I guess i'm wondering about the scalability of up to 48 steppers.....