Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
BDFL - Memuneh
66295 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  #2446504 25-Mar-2020 17:37
3 people support this post
Send private message quote this post

@sonyxperiageek:

 

Here's a suggestion that's been coming up a lot lately for me! Either this or the earwax one....

 

 

Anyone can send me a PM with an ad like this and I will block it.





1802 posts

Uber Geek

Trusted

  #2446529 25-Mar-2020 17:57
Send private message quote this post

frankv:
SepticSceptic:

 

Already done a couple of snippets of code to test feasibility, but I have no real grounding of writing Arduino code  - just play around with a couple of supplied samples, and cross fingers. Have no idea what void main void does, or init main ? Tried reading up on that, and yeah, nah - I need something simpler :-)

 




Happy to help with C and Arduino.

void main() is C... this is where your program starts executing. Typically, it will call some functions to setup the hardware, and in an embedded system it will then loop forever doing whatever it is supposed to do e.g. while(true) {some functions;}

The Arduino environment simplifies things for you by hiding the main() from you, leaving you to provide a setup() function which is executed once on startup, and a loop() IIRC function which then repeatedly runs forever.

 

Thanks for that Frankv - I will definitely need the assist  - my code tends to be spaghetti - like... Wont be for a while though.

 

I should really do a flow chart or similar to get a clearer sense of what I want to achieve, rather than just using pasta - mode.

 

 





My thoughts are no longer my own and is probably representative of our media-controlled government


 
 
 
 


1802 posts

Uber Geek

Trusted

  #2446554 25-Mar-2020 18:35
Send private message quote this post

richms:

 

SepticSceptic:

 

I'm on call, as my industry is part of the essential services, providing infrastructure support for hospitals, freight, etc.

 

 

 

However, in my down time, I have a small model railway to work on - it's a real break from anything techy, and quite therapeutic just working on scenery, etc. I think the glue helps :-)

 

The tech aspect will be learning C ( or whatever) to program up an Arduino or two for building and street lighting - random building  lighting, and dawn/dusk timing . Using a 24-port PWM controller board and a bumch of ULN2003 arrays. Might yet forgo the ULN2003 arrays if I control the PWM properly. Each port can handle 20mA, but the whole chip is only rated for 150mA or so.

 

Already done a couple of snippets of code to test feasibility, but I have no real grounding of writing Arduino code  - just play around with a couple of supplied samples, and cross fingers. Have no idea what void main void does, or init main ? Tried reading up on that, and yeah, nah - I need something simpler :-)

 

 

Please provide more train details. It looks like something good to get into for the making side of it, but some of the youtube video people are so obsessive about the running of it which IMO is a very yawn side of it.

 

I was actually thinking of using a whole lot of bare WS2811 chips on boards for LED control in models, that means its just 3 wires to snake around the place and lots of proven code for it.

 

 

I'm running a HO-scale 4ft x 8ft double loop, with a couple of turnouts for sidings. So it's a roundy-roundy type layout.

 

There are probably 3 separate types of hobbyists - "rivet counters" who detail locos and rolling to the nth degree, complete with correct markings, weathering, etc - they create superb models. But tend to have no or minimal scenery. Others create a look and feel of a particular town/location and at a specific era. Others concentrate on scenery, and run whatever. There are also fantasy / freelance modellers. And of course variations between all types.

 

Don't forget what you see on Youtube is the good stuff, not the failures - some of these people have spent hundreds of hours on a single model. It's a hobby .... People spend hundreds of hours ( and thousands of dollars) playing golf.

 

I like doing the scenery and buildings, and run whatever rolling stock I have on hand - I'm freelance-ish - probably 60's era ?. Others use a switching style layout with quite a few turnouts and shift rolling stock according to manifests - like a puzzle game.

 

Though as I get better at the scenery side, I end up redoing stuff I have already done. Example: the first layer of "grass" fields was finely ground coloured foam. Then I discovered static grass, and went around again creating static grass fields.. Then I worked out how to blend various lengths and colours of static grass, so I'm going around again - no such thing as a single colour grass field ...

 

It does have quite a steep initial setup cost - a good loco and DCC throttle  will set you back $600.00. Then there is track, scenery materials, buildings, paints, glues, tools, etc. Like most hobbies, you can spend a fair whack. There is open source information about creating your own DCC controller using RaspberryPi, or Arduino, and H-Bridges, but I didn't choose to go that path.

 

DCC is command control - there are microcontroller boards on board the locos that decode speed, lighting, sounds, etc. No longer an adjustable 12v power pack connected to the rails.

 

I'd recommend looking at https://model-railroad-hobbyist.com/

 

Free magazine, good articles.

 

Perhaps start what is known as "TOMA" The One module Approach - you work on a single module, until you are happy with it, put it aside, and then create another module. It is referenced in the above e-mag.

 

 

 

Your idea of distributed lighting is a good idea - there are modelers who have used 8-pin MCU's in buildings, and used most of the pins for the building LED's, and utilised I2C for communications between MCU's.

 

I don't know if my idea of a single point of control is good or not using the TLC5947 24-chan PWM board, but I didn't fancy the idea of hiding the MCU inside the building.  Soon find out if 20Khz PWM signals down multiple "bellwire" twincore will cause issues ....

 

 

 

 





My thoughts are no longer my own and is probably representative of our media-controlled government


19901 posts

Uber Geek

Trusted
Lifetime subscriber

  #2446588 25-Mar-2020 19:17
One person supports this post
Send private message quote this post

 

 

I take local area as local area. I can walk or cycle around here. Say, same suburb. The rural people may take that as a 30km loop. I say keep it local, a 20 minute walk or cycle on a loop


15776 posts

Uber Geek

Trusted
Subscriber

  #2446628 25-Mar-2020 20:02
One person supports this post
Send private message quote this post

Wellington City Council aren't helping things. On Facebook they're saying "you can drive to the parks and nature reserves", whereas the police commissioner and prime minister are staying "drive only to the supermarket / pharmacy". There's plenty of misinformation around, you can see why people might be confused.


BDFL - Memuneh
66295 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  #2446632 25-Mar-2020 20:13
One person supports this post
Send private message quote this post

timmmay:

 

Wellington City Council aren't helping things. On Facebook they're saying "you can drive to the parks and nature reserves", whereas the police commissioner and prime minister are staying "drive only to the supermarket / pharmacy". There's plenty of misinformation around, you can see why people might be confused.

 

 

When in doubt, don't. Easy.





23073 posts

Uber Geek

Trusted
Subscriber

  #2446715 25-Mar-2020 22:11
One person supports this post
Send private message quote this post

Still no clarification about driving to get mail. I have about 20 outstanding aliexpress parcels that will be turning up at the PO box over the next while.





Richard rich.ms

 
 
 
 


3142 posts

Uber Geek

Trusted
Subscriber

  #2446763 26-Mar-2020 00:18
Send private message quote this post

timmmay:

 

Wellington City Council aren't helping things. On Facebook they're saying "you can drive to the parks and nature reserves", whereas the police commissioner and prime minister are staying "drive only to the supermarket / pharmacy". There's plenty of misinformation around, you can see why people might be confused.

 

 

It's not misinformation, things aren't and can't be perfectly aligned in this space of time.

 

Give it a few days at home/going for walks around the block and they will shake out.


3142 posts

Uber Geek

Trusted
Subscriber

  #2446765 26-Mar-2020 00:20
Send private message quote this post

richms:

 

Still no clarification about driving to get mail. I have about 20 outstanding aliexpress parcels that will be turning up at the PO box over the next while.

 

 

Is clearing your PO Box necessary to keep you alive or is it a nice to have? I'm sure you can work it out.


3142 posts

Uber Geek

Trusted
Subscriber

  #2446769 26-Mar-2020 00:47
One person supports this post
Send private message quote this post

We've been in social isolation now for 10 days or so with a 5 and 8 year old. I can share what works for us.

 

Exercise is hugely important. We are getting the kids out for a 30 minute bike ride every day. This has helped us and them immensely. Our rule is no technology before exercise and we have seen huge improvements in behaviour because of it. My wife and I also get out for a 30 minute walk each day. 

 

We keep a distance from others and just go locally but for our mental and physical health we need this escape from the house and work. It's also amazing the difference saying hi and smiling at someone as you go past (2-3 metres away) makes. 

 

We are also making the effort with the kids to find them different activities on days where they aren't doing school work. Board games, colouring in, playdough, throwing a touch ball and kicking a football in the back yard. Just time with them where they feel important and not to feel like they are in the way. It also makes our lives more fun and enjoyable.

 

We also try and do a non-work video call with someone outside the house everyday. Family, friends etc it makes a huge difference to connect with loved ones. We're also spending a lot of time sending texts and whatsapp messages. It all helps to stay connected to the outside world.


3142 posts

Uber Geek

Trusted
Subscriber

  #2446783 26-Mar-2020 03:44
Send private message quote this post

Our 5 year old has been missing her friends terribly. We setup a Zoom call with 5 of her friends today. They talked about 5 year old topics for a good half an hour and she is really happy to be able to connect with them.

I was very glad not to listen to the ins and outs of Pokemon cards but it was worth it for her.



14197 posts

Uber Geek

Trusted
Lifetime subscriber

  #2447040 26-Mar-2020 12:16
Send private message quote this post

Handle9:

 

richms:

 

Still no clarification about driving to get mail. I have about 20 outstanding aliexpress parcels that will be turning up at the PO box over the next while.

 

 

Is clearing your PO Box necessary to keep you alive or is it a nice to have? I'm sure you can work it out.

 

 


Essential if it contains, say, an eviction notice or something!

 

 

 

Fortunately our PO Box is at our local store, so we can do it when we go out for food.








14197 posts

Uber Geek

Trusted
Lifetime subscriber

  #2447045 26-Mar-2020 12:19
Send private message quote this post






3596 posts

Uber Geek

Trusted

  #2447144 26-Mar-2020 13:47
One person supports this post
Send private message quote this post

Geektastic: It seems likely some or all of us will end up spending time at home.

It’s important to stay positive, not get bored and to look forward with determination to the end of all this.

Given we will have time to fill, perhaps people might want to share ideas or books to read, films to watch, online courses they will do or whatever?

I’ll probably read, something I do a lot anyway. When I’ve finished what I’m reading now (the final book in a trilogy of heroic derring-do by Bartle Bull. First book is called The White Rhino) I’ve decided to read The Pickwick Papers by Dickens.

I’ll probably subscribe to Disney + and watch Mandalorian too.

What’s everyone else planning?

 

I've almost been in isolation since this time last month due to surgery so I've had some practice.

 

Among other things it has given me time to to do some reading. I've also been watching some good old British comedy like Fawlty Towers, Allo Allo,  etc. 

 

My wife bought me a very interesting book about the Dambusters by Max Hastings called "Chastise". Named after the name of the Dambusters mission. This book gives many different insights (including the impacts on the Germans whose homes were flooded by the aftermath) into what was a very successful operation in one sense and a very important boost to the Allies morale at a critical point during the war but in other ways never achieved the impact that was expected. For anyone with an interest in 20th century history and particularly that of the Second World War it is a good read.

 

Staying with the history theme  two books I have re read in the past couple of weeks are "Spycatcher" by Peter Wright and "Red Runs the Vistula" by Ron Jeffery. Both two very different books one dealing with espionage and counter espionage from before WWII through to the 1970's. The other deals with the life of the Polish people and the Polish resistance under German and Russian occupation during WWII.

 

I think both books give a very valuable insight into lengths certain political leaders have have gone to manipulate public thinking in the west and the methods they have no compunction in using against their own people and their "enemies" to further their aims.  In light of what has been going on in the world over the past year or two the same things are still going on and I think books like this should be compulsory reading.

 

Now to decide on my next book. I've got a nice big bookcase filled to over flowing to choose from.





Sony Xperia X running Sailfish OS. https://sailfishos.org The true independent open source mobile OS 
Samsung Galaxy Tab S3
Nokia N1
Dell Inspiron 14z i5


Mad Scientist
21822 posts

Uber Geek

Trusted
Lifetime subscriber

  #2447283 26-Mar-2020 15:42
Send private message quote this post




Involuntary autocorrect in operation on mobile device. Apologies in advance.


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel introduces 10th Gen Intel Core H-series for mobile devices
Posted 2-Apr-2020 21:09


COVID-19: new charitable initiative to fund remote monitoring for at-risk patients
Posted 2-Apr-2020 11:07


Huawei introduces the P40 Series of Android-based smartphones
Posted 31-Mar-2020 17:03


Samsung Galaxy Z Flip now available for pre-order in New Zealand
Posted 31-Mar-2020 16:39


New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.