Go to advanced search

by picandies
Sat Sep 22, 2018 6:33 pm
Forum: General discussion
Topic: Tkinter and I/O control
Replies: 4
Views: 348

Re: Tkinter and I/O control

Are there some project articles that use both the tkinter graphics as well as also handling ongoing io operations? I'd like to take a look at one or two for ideas & read about the pitfalls and things to watch out for. It seems like this would be a pretty common situation for the rpi.
by picandies
Tue Sep 18, 2018 4:35 pm
Forum: General discussion
Topic: Tkinter and I/O control
Replies: 4
Views: 348

Re: Tkinter and I/O control

The simplest way to perform "background tasks" with tkinter is to use the .after method to schedule a function periodically. Another method is to have your control inside a separate thread. Thanks, a small step in the right direction. Do you know of any good project tutorials or articles that use t...
by picandies
Tue Sep 18, 2018 8:33 am
Forum: General discussion
Topic: Tkinter and I/O control
Replies: 4
Views: 348

Tkinter and I/O control

I'm using Tkinter with some buttons, sliders and such to make adjustment of the hardware to set fwd, stop, reverse, and adjust rpm of my motors. That seems ok, a callback function can access and manipulate the io. However, I'm a bit befudddled on how the rest of the system is to be situated. For exa...
by picandies
Mon Sep 10, 2018 6:26 pm
Forum: General discussion
Topic: VNC printing ---where is it?
Replies: 13
Views: 917

Re: VNC printing ---where is it?

Yep, instead of saying vnc can be used to remotely print your files, they should say , your apps can remotely print your files through the VNC connection. VNC server lets you pick File Transfer, so I was looking for similar File Print, after following the install steps.
by picandies
Sun Sep 09, 2018 6:29 am
Forum: General discussion
Topic: VNC printing ---where is it?
Replies: 13
Views: 917

Re: VNC printing ---where is it?

use VNC Viewer to select File > Print WHERE is this menu at...who ever wrote it lacked clarity, though after massive searching could not find any such menu in VNC. So I had files I wanted to print, but couldn't. Later I opened the files (came up in Thonny & still couldn't print)...so it was a bit p...
by picandies
Sat Sep 08, 2018 10:36 pm
Forum: General discussion
Topic: VNC printing ---where is it?
Replies: 13
Views: 917

Re: VNC printing ---where is it?

What is the link to those statements? I don't find any reference to printing in the official documentation: https://www.raspberrypi.org/documentati ... /README.md [/i] Here (bottom, VNC): https://www.raspberrypi.org/community/ To here: https://www.realvnc.com/en/raspberrypi/ Transfer files and pri...
by picandies
Sat Sep 08, 2018 6:18 pm
Forum: General discussion
Topic: VNC printing ---where is it?
Replies: 13
Views: 917

Re: VNC printing ---where is it?

Then, use VNC Viewer to select File > Print remotely

I think whoever wrote this for the rpi phrased it rather poorly...this is rather misleading, since no such selection can be found anywhere in VNCviewer....I tore apart my entire computer looking for it!!!!
by picandies
Sat Sep 08, 2018 10:40 am
Forum: General discussion
Topic: VNC printing ---where is it?
Replies: 13
Views: 917

VNC printing ---where is it?

Using VNC that came with my rpi...noticed this mentioned about printing , but WHERE is this file-->print button located? My file is a app.py file I'm editing in Thonny & want to print. Please provide a screen shot of it. I can't find it anywhere, either on my rpi or PC. I did install the CUPS as men...
by picandies
Sat Sep 08, 2018 9:52 am
Forum: General discussion
Topic: Glade control panel
Replies: 5
Views: 361

Re: Glade control panel

So does on anyone on the forums use glade to make projects or not??? Control some motors, a pump, leds, etc? Where are the examples? Show at least one.
by picandies
Fri Sep 07, 2018 9:18 am
Forum: General discussion
Topic: Glade control panel
Replies: 5
Views: 361

Re: Glade control panel

There is nothing special to using Glade on a raspberry pi and all the GPIO functions you are using already will still be available. Well that's nice, but how do those I/O things tie into Glade? That's the tutorial I'm looking for (aside from just drawing something up using glade). This would be a p...
by picandies
Thu Sep 06, 2018 7:58 am
Forum: General discussion
Topic: Glade control panel
Replies: 5
Views: 361

Glade control panel

I noticed the other day that Glade is now appearing as a programming option on my rpi. Looks like a cool way to make a control panel to adjust my motors (pwm IO output). Is there a good rpi tutorial using Glade to do something (blink some leds, control a motor speed, etc?). I just want some buttons ...
by picandies
Wed Aug 22, 2018 4:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: questions about read_i2c_block_data()
Replies: 1
Views: 388

Re: questions about read_i2c_block_data()

Well, I think I found the answer...Looking again, I noticed [A] vs A, and I thought I'd made a typo. But the [ ] actually means something.
[xxxx] means xxxx comes from the slave
xxxx means xxxx comes from the master
by picandies
Wed Aug 22, 2018 4:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: questions about read_i2c_block_data()
Replies: 1
Views: 388

questions about read_i2c_block_data()

Looking at using the smbus lib on the rpi3 to read some bytes from a micro sensor: read_i2c_block_data() to read several bytes. The format is: START Addr Wr [A] Comm [A] START Addr Rd [A] [Data] A [Data] A ... A [Data] NA STOP However, it is not mentioned anywhere (that I can find) who generates the...
by picandies
Sat Aug 18, 2018 6:52 pm
Forum: Python
Topic: How to send 16bit via spidev?
Replies: 5
Views: 1025

Re: How to send 16bit via spidev?

Did you ever get the chip working--what was the solution?
by picandies
Sat Aug 11, 2018 2:51 pm
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

That implies you still have a dt-blob.bin file in /boot I see there is a file "dt-blob.bin" in /boot....I assume it was put there by the installation, since I don't (yet) know anything about a "blob" ...I need to study your good link. Is this something that was automatically set up? Note the only d...
by picandies
Sat Aug 11, 2018 5:18 am
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

how to prevent gpio0/1 from duplicating this role?

I found it:

add
ignore_lcd=1 to the /boot/config.txt file

Not sure if this is the only or best fix, but after several days of endless rebooting madness, it works!
by picandies
Sat Aug 11, 2018 12:52 am
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

here is what I see: [email protected]:~ $ raspi-gpio get BANK0 (GPIO 0 to 27): GPIO 0: level=1 fsel=4 alt=0 func=SDA0 GPIO 1: level=1 fsel=4 alt=0 func=SCL0 GPIO 2: level=1 fsel=4 alt=0 func=SDA1 GPIO 3: level=1 fsel=4 alt=0 func=SCL1 ... ... BANK1 (GPIO 28 to 45): GPIO 28: level=1 fsel=4 alt=0 func=SD...
by picandies
Fri Aug 10, 2018 5:23 pm
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

didn't know about the pin check command. with the dt overlay I mentioned before, it shows both gpio 0,1 AND 28,29 are I2c at the same time!!! ??? That doesn't seem right! For the debugging moment I'm using the rpi org expander cm3 board, so all voltages should be present. I added my own pull ups to ...
by picandies
Fri Aug 10, 2018 9:03 am
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

I got i2c0 running by adding: dtparam=i2c_vc=on to \boot\config.txt ...and my chip works fine!!! Then I need to actually use I/o 28-SDA0, 29-SCL0, (rather than gpio 0/1) so I also added: dtoverlay=i2c0-bcm2708,pins_28_29=1 not sure if it needs to occur before or after the previous addition, or if lo...
by picandies
Tue Aug 07, 2018 11:13 pm
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

THANK YOU 6by9, now that is something I can try.

By the way, where exactly do you get this information? Is there a manual or guide that thoroughly explains all of this? I assume you didn't just pull this out of thin air. However, I don't see it mentioned in any of the few rpi books I have.
by picandies
Tue Aug 07, 2018 11:08 pm
Forum: Compute Module
Topic: CM3 and i2c0
Replies: 11
Views: 1344

Re: CM3 and i2c0

I came here asking how to set up BOTH i2c ports...can you say how to do it or not?

If you don't really know how to explain it, let someone who has the knowledge do it. A hal-ass answer is not helpful.
by picandies
Tue Aug 07, 2018 7:24 pm
Forum: Compute Module
Topic: CM3 and i2c0
Replies: 11
Views: 1344

Re: CM3 and i2c0

Again, where is the information on setting up sda0 & scl0? I see no mention of doing so, please list those exact steps . This information should be readily stated in the CM3 user manual !! by the way I did try : sudo wget https://goo.gl/htHv7m -O /boot/dt-blob.bin however sudo i2cdetect -y 0 still s...
by picandies
Tue Aug 07, 2018 6:34 pm
Forum: Compute Module
Topic: CM3 and i2c0
Replies: 11
Views: 1344

Re: CM3 and i2c0

WHERE IS THE INFORMATION ON SETTING UP BOTH I2C BUSSES?...your link mentions nothing to do so...WHICH STEPS ARE CONFIUGURING THE [email protected] BUSSES?
by picandies
Tue Aug 07, 2018 6:34 pm
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Re: Need to get I2c busses working

WHERE IS THE INFORMATION ON SETTING UP BOTH I2C BUSSES?...your link mentions nothing to do so
by picandies
Tue Aug 07, 2018 4:13 pm
Forum: Compute Module
Topic: Need to get I2c busses working
Replies: 14
Views: 1832

Need to get I2c busses working

Hello: I am using cm3l (compute module) & my PCB has some chips connected to sda0 & scl0 and other chips connected to sda1 & scl1. My chips on sda1 are working fine, however sda0/scl0 (i2c0 ?) doesn't seem to be enabled/working. for sda0 & scl0 I AM WIRED to GPIO28 & GPIO29 I am using the latest ver...

Go to advanced search