Go to advanced search

by clicky
Sat Aug 08, 2020 1:31 pm
Forum: General discussion
Topic: How to drive Brushless DC motor with built in driver and no documentation?
Replies: 21
Views: 1136

Re: How to drive Brushless DC motor with built in driver and no documentation?

:D It is definitively worth following! Also, your project has plenty of scope for gentle over-enginnering and generally trying to do thing 'right' way just for the sake of it. For instance - just imagine you can spend time (money and even more time!) on big power controller (it almost seems like rig...
by clicky
Sat Aug 08, 2020 1:17 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 242
Views: 34712

Re: Anyone using Rust on a PI ?

Didn't PIC µController have some strange bit size data in ROM (eeprom?). Or maybe in memory, too? I don't think it's same as with Atmel's stuff where it is just trimmed down 16bit or something like that... Maybe I just imagined it - it was a decade or more ago ¯\_(ツ)_/¯ And on that tangent - Rust on...
by clicky
Sat Aug 08, 2020 10:17 am
Forum: General discussion
Topic: How to drive Brushless DC motor with built in driver and no documentation?
Replies: 21
Views: 1136

Re: How to drive Brushless DC motor with built in driver and no documentation?

For instance - single transistor level shifter: https://jeelabs.org/book/1504d/index.html Not a good idea putting a capacitor straight on the output pins, it can cause high peak currents. However with a resistor and a capacitor you can make an rc low pass filter which will convert PWM into a relativ...
by clicky
Fri Aug 07, 2020 10:03 pm
Forum: General discussion
Topic: How to drive Brushless DC motor with built in driver and no documentation?
Replies: 21
Views: 1136

Re: How to drive Brushless DC motor with built in driver and no documentation?

Definitively worthy cause! :D Also, really nice engineering project (aside ecology and such such). I am now even more intrigued: 12 hours on 100W panel? What does that mean? 100W @ 12V is about 8A which is really good current... But, only with 100% efficiency. So, your project needs really good powe...
by clicky
Fri Aug 07, 2020 4:04 pm
Forum: General discussion
Topic: How to drive Brushless DC motor with built in driver and no documentation?
Replies: 21
Views: 1136

Re: How to drive Brushless DC motor with built in driver and no documentation?

I think PWM should be fine, but as @cleverca22 said - you might 'level shifter' from 3.3V to 5V. I suspect simple transistor (and resistor) of some kind would do. Also, I bet someone here could suggest (and calculate!) appropriate capacitor as well (although not sure if really needed). The worse cas...
by clicky
Thu Aug 06, 2020 7:34 am
Forum: General discussion
Topic: How to drive Brushless DC motor with built in driver and no documentation?
Replies: 21
Views: 1136

Re: How to drive Brushless DC motor with built in driver and no documentation?

So I connected it as follows: * the + from my 12V battery => red wire of the motor * the - from my 12V battery => black wire of the motor * the PWM signal from the pi => yellow wire of the motor * a ground from the pi => blue wire of the motor I then gave the motor the same PWM signals as I previou...
by clicky
Wed Aug 05, 2020 3:04 pm
Forum: General discussion
Topic: Pi4 Microk8s Cluster
Replies: 5
Views: 541

Re: Pi4 Microk8s Cluster

It's astonishing how many little gotchas you had to work around. I never though it would be easy and straight-forward and I've put time aside for it. And, yet, it was frustrating at times, but good thing was that even though I refused to back off my requirements (Raspi OS and such), I always manage...
by clicky
Tue Aug 04, 2020 2:38 pm
Forum: General discussion
Topic: Pi4 Microk8s Cluster
Replies: 5
Views: 541

Re: Pi4 Microk8s Cluster

I've recorded my journey (mostly to remind myself) here: https://blog.abstracthorizon.org/posts/ ... s-cluster/
It is not supposed to be tutorial nor 'the right way' - just reminder if I need to do it again. I'll update it if I remember anything else...
by clicky
Mon Aug 03, 2020 1:21 pm
Forum: General discussion
Topic: Zero USB Hub
Replies: 16
Views: 1299

Re: Zero USB Hub

If we are talking about UK - last time I've been buying (really!) cheap USB hubs was from Poundland! LOL And I think they worked quite well with original Pi 1... Not sure if they have them still. Best part was that they weren't that ugly (and were quite compact, too!).
by clicky
Mon Aug 03, 2020 6:45 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 358
Views: 149535

Re: 64-bit operating system

ejolson wrote:
Thu Mar 19, 2020 2:58 pm
If only the Raspberry Pi rewrite of Etcher had a configuration windows for Raspbian (and the world were virus free), then everything would be perfect.
Interesting suggestion. I agree...
by clicky
Sun Aug 02, 2020 1:31 pm
Forum: General discussion
Topic: Pi4 Microk8s Cluster
Replies: 5
Views: 541

Re: Pi4 Microk8s Cluster

The tip about cgroups will be helpful. No worries. I've already hinted something here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=281061&p=1702371#p1702371 Let me know if you need more. The tip about cI am interested how you used the border gateway protocol in your cluster to avoid pro...
by clicky
Fri Jul 31, 2020 1:23 pm
Forum: General discussion
Topic: Pi4 Microk8s Cluster
Replies: 5
Views: 541

Pi4 Microk8s Cluster

Hi, here's just an inspirational post - I've just finished week long challenge (I've given myself) and here's the result: Pi4 2GB with JMicron(eh) M-key SSD adapter and 0.5TB Intel's SSD (short USB3-A extension cable is on the way) acting as tftp and nfs server 2x Pi4 4GB (two for now - another 2-3 ...
by clicky
Sun Jul 26, 2020 6:43 pm
Forum: General discussion
Topic: Help Building Raspery Pi OS 64 Kernel
Replies: 1
Views: 259

Re: Help Building Raspery Pi OS 64 Kernel

I've figured it out (phrase very fitting for this): https://www.raspberrypi.org/documentation/linux/kernel/building.md - setting up all needed packages and github reference make bcm2711_defconfig before adding `CONFIG_CFS_BANDWIDTH=y` to .config file (doh) ARCH=arm64 make -j4 Image.gz modules dtbs i...
by clicky
Sun Jul 26, 2020 1:18 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 489
Views: 101910

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

As per https://www.raspberrypi.org/documentation/configuration/boot_folder.md (and https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md) it seems that Pi 2, Pi 3 and Pi 4 are in scope for 64bit kernel. I'm not sure if PiZero can have 64bit kernel, too (that would be nice to kno...
by clicky
Sat Jul 25, 2020 9:55 pm
Forum: General discussion
Topic: What to do with rpi 1 B in 2020?
Replies: 15
Views: 1065

Re: What to do with rpi 1 B in 2020?

I still have Pi1 sitting next to 3D printer and acting as some kind of glorified USB extender: running Java process (on the latest Raspberry Pi OS) which proxies TCP traffic to USB port (special version of jsse on client side and normal on Pi side). Also, at the same time it runs python script which...
by clicky
Sat Jul 25, 2020 7:46 pm
Forum: General discussion
Topic: Help Building Raspery Pi OS 64 Kernel
Replies: 1
Views: 259

Help Building Raspery Pi OS 64 Kernel

I've embarked on mission to set up microk8s on tiny Pi4 cluster (1x Pi4 2GB + 2+ x Pi4 4GB workers) and got quite far... but got stuck on provided beta 64bit kernel lacking 'CONFIG_CFS_BANDWIDTH=y' config flag... (it seems to be needed for 'cpu.cfs_period_us' in cgroups) So, it seems that the most s...
by clicky
Sat Jul 25, 2020 2:35 pm
Forum: Troubleshooting
Topic: Problems with cgroups-memory in the kernel
Replies: 4
Views: 1146

Re: Problems with cgroups-memory in the kernel

Bump? Any chance getting some indication has it been resolved or not, yet?
by clicky
Sat Jul 25, 2020 1:20 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 489
Views: 101910

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

Hi All, I'm trying out new 64 bit OS released recently. Here is the uname -a output of my Raspberry Pi 4 4GB. Using image with name "2020-05-27-raspios-buster-arm64.zip". Linux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64 GNU/Linux I came across an issue, when i ins...
by clicky
Fri Jul 17, 2020 8:51 am
Forum: Java
Topic: Java Profiling
Replies: 0
Views: 436

Java Profiling

Just a quick reminder of wonderful Java profiling app made by Sun in the day: VisualVM It is supplied with Debian: sudo apt-get install visualvm and it works well with RPi... You can do sampling of CPU or Memory, check for bottlenecks in your code and/or memory issues or leaks... Also, for those who...
by clicky
Tue Jul 14, 2020 7:01 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 242
Views: 34712

Re: Anyone using Rust on a PI ?

Sorry to join in late - but it might help @jahboater with his original question: I've picked up Rust 2 (or so) weeks ago - on Raspberry Pi. I have (headless) program written in Python which was: - reading gyro + accelerometer over i2c - driving motors using GPIOs and PWM (pigpiod) - sending 'telemet...
by clicky
Tue Jul 07, 2020 9:55 am
Forum: Java
Topic: cant get eclipse to start
Replies: 4
Views: 964

Re: cant get eclipse to start

I'm glad it worked. BTW no need to compile on Pi - just compile it on your laptop/desktop and copy final jar file across...
by clicky
Mon Jul 06, 2020 4:15 pm
Forum: General discussion
Topic: recommendations for graphic programming in rpi?
Replies: 7
Views: 394

Re: recommendations for graphic programming in rpi?

rpiMike wrote:
Mon Jul 06, 2020 3:56 pm
pygame is another
I concur. Pygame is good place to start with.
by clicky
Mon Jul 06, 2020 4:13 pm
Forum: Java
Topic: cant get eclipse to start
Replies: 4
Views: 964

Re: cant get eclipse to start

I haven't got any success with Eclipse that was supplied with default OS... Version of Eclipse 3.8 is quite old (very, very old - it dates from 2012) and I failed to even compile it (could be me). Around that time Eclipse foundation decided to ditch any support for 32bit OSes, so nothing since that ...
by clicky
Thu Jul 02, 2020 1:27 pm
Forum: Gaming
Topic: Warzone2100
Replies: 5
Views: 606

Re: Warzone2100

Thanks for sharing! By complete coincidence I installed it today (my KDE told me I have new updates - which made me 'discover' app called 'discover' which was loaded to do the updates which made me look at other software provided which made me ended up browsing games which, after forcefully made him...

Go to advanced search