Go to advanced search

by mikronauts
Sat Aug 24, 2019 9:31 pm
Forum: Troubleshooting
Topic: PI4 USB3 Port and Logitech Keyboard Wireless Range
Replies: 4
Views: 77

Re: PI4 USB3 Port and Logitech Keyboard Wireless Range

Why on earth would you waste a usb3 port on a keyboard dongle??? So I've been setting up my new PI4 and loving many of the features. Most things working well but not my Logitech wireless keyboard :cry: I've used it with all versions of Pis over the years and no problems but now the range is really p...
by mikronauts
Tue Aug 20, 2019 1:51 pm
Forum: Networking and servers
Topic: Fast reading, very slow writing - rpi 4, samba, external USB 3.0 HDD
Replies: 3
Views: 181

Re: Fast reading, very slow writing - rpi 4, samba, external USB 3.0 HDD

Ext4 or ntfs? Ntfs is known to be slow on a Pi. Hey guys, so I'm trying to set up my new raspberry pi 4 with an external hdd usb 3.0 with samba in raspbian. The thing is it's giving me great speeds for reading, but really slow and unreliable write speeds. Speeds: https://imgur.com/a/E59rMhs Things I...
by mikronauts
Thu Aug 15, 2019 12:37 pm
Forum: Troubleshooting
Topic: Four dead Pis in one class!?
Replies: 15
Views: 587

Re: Four dead Pis in one class!?

Sorry to hear about your problems, however you REALLY should be using different battery packs for powering the Pi and the motors (as others have mentioned) I've built dozens of bots, and have not fried a Pi yet. I'm a relatively new raspberry pi educator (I was fortunate enough to get to go to a Pic...
by mikronauts
Tue Aug 06, 2019 6:21 pm
Forum: Graphics, sound and multimedia
Topic: Multiple VGA synced outputs
Replies: 7
Views: 233

Re: Multiple VGA synced outputs

Use two of those, on pi0w's to drive the projectors, with another pi controlling the relays and telling the 0s when to play
jamesh wrote:
Tue Aug 06, 2019 2:48 pm
Here's a cheap and cheerful VGA adapter running off the DPI pins. https://www.aliexpress.com/item/32805339645.html
by mikronauts
Sun Jul 14, 2019 1:28 am
Forum: Beginners
Topic: What wireless controller can I use?
Replies: 14
Views: 282

Re: What wireless controller can I use?

Google "bluetooth wireless controller" I want to build a bought from ground up. Four wheels, four-wheel drive. I need two joysticks, one joystick for the two right Wheels another joystick for the two left Wheels. And a few other things. I would need and knob that I can control the speed of a motor w...
by mikronauts
Sun Jul 14, 2019 1:25 am
Forum: General discussion
Topic: Want to measure battery volts
Replies: 38
Views: 1639

Re: Want to measure battery volts

I would suggest hiring someone with appropriate knowledge and experience to do the work. If it was a one-of for your own personal use, and you were learning, that is one thing, although still not wise without appropriate experience. If the customer wanted a one-of and was not only aware of your lack...
by mikronauts
Tue Jul 02, 2019 6:56 pm
Forum: Python
Topic: I2C lcd isnt working with multiprocessing(solved mp was not the issue))
Replies: 4
Views: 162

Re: I2C lcd isnt working with multiprocessing

Two threads (or programs) cannot access the same i2c pheripheral at the same time. Google "semaphores" (locks) and/or write one i2c server process and send messages to it from other threads. Google "server daemon" or "server thread" I have tried the lcd out of a thread in the same program, and in ot...
by mikronauts
Tue Jun 25, 2019 3:24 pm
Forum: Beginners
Topic: Raspberry pi 4 sold out?
Replies: 19
Views: 3829

Re: Raspberry pi 4 sold out?

That makes sense. 1GB .. Robots, NAS 2GB .. Educational desktop, test box 4GB .. Dev box, desktop I tend to keep a lot of tabs open, and prefer a 55" 4k tv for a monitor, or two 1080p monitors, so the dual micro hdmi with 4k looks great to me. With a USB3 SSD a 4GB Pi 4 will be a quite capable box. ...
by mikronauts
Tue Jun 25, 2019 2:34 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 807
Views: 77857

Re: Raspberry Pi 4 Thread - general discussion

Thanks, I will keep checking. Great news indeed! I ordered two boards - a 1GB, and a 2GB board, however I cannot find a 4GB board in stock in Canada, US, or UK. Please post here if you know any place eith 4GB in stock. Btw the additional i2c and uarts are great for my purposes. Last I check, the 4GB...
by mikronauts
Mon Jun 24, 2019 8:06 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 807
Views: 77857

Re: Raspberry Pi 4 Thread - general discussion

In low quantities, yes. Personally I ordered a few thousand nylon washers, nuts, screws and various height standoffs from a manufacturer for my boards. Price was ok. Shipping took a while. Did anybody complain about the M2.5 mounting holes (same as on previous models) yet? I can do that if you want ...
by mikronauts
Mon Jun 24, 2019 7:52 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 807
Views: 77857

Re: Raspberry Pi 4 Thread - general discussion

Great news indeed!

I ordered two boards - a 1GB, and a 2GB board, however I cannot find a 4GB board in stock in Canada, US, or UK.

Please post here if you know any place eith 4GB in stock.

Btw the additional i2c and uarts are great for my purposes.
by mikronauts
Sun Jun 16, 2019 4:53 pm
Forum: General discussion
Topic: Running 3 RC522 side by side continuously
Replies: 14
Views: 606

Re: Running 3 RC522 side by side continuously

Best guess: insufficient power Well I posted this as a new thread in troubleshooting, but it got removed and I'm not sure why. Anyways, I got the code to work, and I can run any two of my RC522 together. However, the moment I even just wire the third one in, everything stops working - the two workin...
by mikronauts
Thu Jun 13, 2019 5:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How 2nd UART based on I2C, SPI or USB ?
Replies: 2
Views: 322

Re: How 2nd UART based on I2C, SPI or USB ?

Just get a cheap usb serial device. Can you guide me? I'm looking for a 2nd hardware based serial interface available. I would like to avoid software based solutions and simply look for an existing HAT or e.g. USB2UART which provides a 2nd set of TX/RX signals. Google offers a lot but the results ar...
by mikronauts
Thu Jun 13, 2019 5:20 pm
Forum: General discussion
Topic: Running 3 RC522 side by side continuously
Replies: 14
Views: 606

Re: Running 3 RC522 side by side continuously

Easiest: - get three usb ttl adapters (or 2 plus pi gpio serial) - mod rc522 for serial instead of spi - use a separate thread per port See https://forum.arduino.cc/index.php?topic=442750.0 On modding So, here's a synopsis of what I am trying to do. I want to put 3 RC522 RFID readers side by side in...
by mikronauts
Tue Jun 04, 2019 3:03 pm
Forum: Automation, sensing and robotics
Topic: RS-232C Terminal to remotely control receiver volume. Can I do that?
Replies: 5
Views: 290

Re: RS-232C Terminal to remotely control receiver volume. Can I do that?

You could also use an ir led and lirc. Hi, guys, I'm wondering if there is a way to remotely control the volume on my stereo receiver using a raspberry pi connected to the receiver's RS-232C terminal. If anyone has any ideas or can direct me to someone or a site that can help, I would truly apprecia...
by mikronauts
Mon May 20, 2019 1:28 am
Forum: Beginners
Topic: RS485 HAT
Replies: 2
Views: 222

Re: RS485 HAT

A usb adapter is your best bet.
Shaimaa Badr wrote:
Sun May 19, 2019 10:35 am
I don't find RS485 HAT shield here in Egypt,, Can I use IC MAX485 and any help for how to connect with raspberry pi to the device has a rj45 socket or use CH340 USB to RS485 485 Converter Adapter Module??!
by mikronauts
Tue May 14, 2019 9:56 pm
Forum: General discussion
Topic: RPi high school lab. B+ issues. B no issues.
Replies: 24
Views: 1353

Re: RPi high school lab. B+ issues. B no issues.

Very frustrating. I am beginning to suspect those Pi's may have been zapped. Given the amount of time you have invested so far, perhaps get one or more new 3b+'s? Fortunately they are cheap. Or, break out the test gear... I would suspect an issue with the 3v3 regulation, or poor connection in the sd...
by mikronauts
Fri May 10, 2019 1:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Microchip/mcu
Replies: 7
Views: 636

Re: Microchip/mcu

Right now, I think an arduino nano 3 clone would probably suit you. Cheap, usb, tons of tutorials. You will have to learn how to communicate with it. You need to be more precise: "can expand my GPIO with 5" is meaningless. 5 what? Hi All, I'm searching for an microchip or mcu that can expand my GPIO...
by mikronauts
Mon May 06, 2019 3:57 pm
Forum: C/C++
Topic: BCM2835 library, I'm after 1 to 20 microsecond delays but needn't be very accurate
Replies: 7
Views: 1357

Re: BCM2835 library, I'm after 1 to 20 microsecond delays but needn't be very accurate

The diagram suggests that using an inverted CSEL as ST_CP, CLK & MOSI should work for your shift register. The shift registers I write to aren't SPI devices. They don't have MISO, MOSI,CSEL... pins. They just have a serial in pin, a clock pin and an enable pin. They take data according to the attace...
by mikronauts
Sun May 05, 2019 4:15 pm
Forum: General discussion
Topic: SPI speed and ADC sampling rate
Replies: 3
Views: 267

Re: SPI speed and ADC sampling rate

You are most welcome. Python is an interpreted language, with garbage collection, and not well suited to regular, precisely timed sampling. Writing your app in C would make the timing more predictable. You can improve your python code somewhat by: - use an integer array (not list) for storing the sa...
by mikronauts
Fri May 03, 2019 1:17 pm
Forum: General discussion
Topic: SPI speed and ADC sampling rate
Replies: 3
Views: 267

Re: SPI speed and ADC sampling rate

You need to post your code so we can see what you are doing. Use code tags so the indentation is not lost. Most likely causes: - you are not sampling at precise intervals - you are not reading the voltage correctly (sensor output range vs adc input range) - your voltage reference is not stable Hello...
by mikronauts
Tue Apr 30, 2019 5:43 pm
Forum: Other projects
Topic: Looking for recommendations of best place to start a project that needs collaboration
Replies: 4
Views: 366

Re: Looking for recommendations of best place to start a project that needs collaboration

Based on what you wrote, I would suggest starting a Wiki that you would maintain. The best way to get collaborators (IMHO) is to commit to making the project 100% open source, and ask for volunteers here, reddit, twitter etc. Hi all I'd like to start a project to create a Raspberry Pi powered open s...
by mikronauts
Mon Apr 29, 2019 11:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI: Problem with fast ADC sampling
Replies: 5
Views: 421

Re: SPI: Problem with fast ADC sampling

Due to Linux, and caching to a lesser degree, you cannot totally get rid of the jitter you are experiencing. The higher the sampling rate, the more apparent the jitter. Add a deterministic high speed micro controller to do the sampling to a large buffer and have it transfer the data to the pi (some ...
by mikronauts
Mon Apr 29, 2019 10:52 pm
Forum: General discussion
Topic: RPi high school lab. B+ issues. B no issues.
Replies: 24
Views: 1353

Re: RPi high school lab. B+ issues. B no issues.

Have you tried swapping the power cables between the good and bad b+'s? Swapping the power adapters? Swapping the sd cards between good and bad? Reducing the sd card lock? Measuring the 5v and 3v3 rails on the gpio header? I have moved two of the problematic B+'s and reinstalled the OS through the N...

Go to advanced search