Go to advanced search

by DirkS
Sun Jun 24, 2018 11:54 pm
Forum: General discussion
Topic: multiple ADS1115s and Python
Replies: 5
Views: 102

Re: multiple ADS1115s and Python

You're contradicting your last post. Nope... As is not unusual you change the hardware and then adjust the software to match it. The chip, no doubt, has addressinig pins. The accessibility of these is dependent on the manufacturer's design of the breakout module. Well, you have not told us exactly ...
by DirkS
Sun Jun 24, 2018 9:49 pm
Forum: General discussion
Topic: multiple ADS1115s and Python
Replies: 5
Views: 102

Re: multiple ADS1115s and Python

but the Adafruit ADS1x15 software crashes. Do you get an error message? BTW: The I2C address of the device is determined by the wiring, *not* by the software. Google for 'ads1115 addressing' to find out how to change the address on the device. See e.g. http://henrysbench.capnfatz.com/henrys-bench/a...
by DirkS
Sun Jun 24, 2018 4:59 pm
Forum: General discussion
Topic: multiple ADS1115s and Python
Replies: 5
Views: 102

Re: multiple ADS1115s and Python

The Adafruit setup includes a "ADS1x15.py" script that sets the default channel to 0x48. I can probably change that and change the ADS1115 I address, but then I'd not be able to address 0x48. No, it doesn't work like that. ADS1x15 is a class (see https://github.com/adafruit/Adafruit_Python_ADS1x15/...
by DirkS
Sun Jun 24, 2018 2:07 pm
Forum: Beginners
Topic: is it correct the raspberry pi 0 has no spi headers?
Replies: 9
Views: 201

Re: is it correct the raspberry pi 0 has no spi headers?

SPI on the Zero is the same as on all the other Pi (2/3/etc)

https://pinout.xyz/pinout/spi
by DirkS
Fri Jun 22, 2018 5:02 pm
Forum: Python
Topic: Help why unexpected indent ?
Replies: 2
Views: 97

Re: Help why unexpected indent ?

Looks to me you're mixing tabs and spaces. That will cause problems in Python...
This is how it looks like in my editor
rpi-indent.png
rpi-indent.png (25.2 KiB) Viewed 84 times
The 'now' line has a single tab and the 'if' line has 8 spaces.
by DirkS
Fri Jun 22, 2018 2:04 pm
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 773

Re: Multiple Frame buffer beta testers wanted

Question: are the frame buffers always assigned in the same order, e.g. HDMI before DSI?
So far my HDMI screen is always assigned fb0 and the RPF LCD fb1
by DirkS
Fri Jun 22, 2018 9:49 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 773

Re: Multiple Frame buffer beta testers wanted

Got it working now.
Had to add

Code: Select all

start_x=1
to config.txt :-)
by DirkS
Fri Jun 22, 2018 9:24 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 22
Views: 773

Re: Multiple Frame buffer beta testers wanted

Ping. Has anyone actually tried this stuff out? Working on it ATM. Having a problem, though. Basic config: Pi3B, RPF LCD, External screen on HDMI-VGA converter. External screen seems to be recognised fine, but I only see 1 framebuffer in /dev and output goes to the touchscreen. vcdbg log: 001026.34...
by DirkS
Fri Jun 22, 2018 8:50 am
Forum: General discussion
Topic: Documentation for beginners
Replies: 30
Views: 796

Re: Documentation for beginners

Why not? Even if it was locked and just had that references post in it, it would provide a pointer to the information. You want the information to be seen, so provide every possible means for someone to find it. What about the Help button at the top of the forum page.? And the 'Quick start guide' l...
by DirkS
Fri Jun 22, 2018 7:12 am
Forum: Camera board
Topic: Camera Board Error
Replies: 10
Views: 6296

Re: Camera Board Error

Hi, I have the same problem.... It worked like 20 seconds ago and when I executed the program again it gave me the camera board error. I have used a different power supply for these past 2 days and the camera was working perfect until now. What might be the problem? Exactly which error? Post full e...
by DirkS
Thu Jun 21, 2018 9:19 pm
Forum: Troubleshooting
Topic: HDMI - LED Screen backlight is turning on, but nothing is displayed
Replies: 3
Views: 83

Re: HDMI - LED Screen backlight is turning on, but nothing is displayed

dchipilot wrote:
Thu Jun 21, 2018 9:06 pm
Is there a way to run both the touchscreen AND a monitor on HDMI?
Yes, but it's experimental
See viewtopic.php?p=1330766#p1330766
by DirkS
Thu Jun 21, 2018 3:39 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

That would imply old firmware on the VC4, but you said you were up to date,so not exactly sure what might be going on. You could try an rpi-update, if you happy with the bleeding edge. Or just copy the /boot/start*.elf files from the machine that works. At your own risk though. See my post above: i...
by DirkS
Thu Jun 21, 2018 2:45 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

That would imply old firmware on the VC4, but you said you were up to date,so not exactly sure what might be going on. You could try an rpi-update, if you happy with the bleeding edge. Or just copy the /boot/start*.elf files from the machine that works. At your own risk though. See my post above: i...
by DirkS
Thu Jun 21, 2018 2:34 pm
Forum: Troubleshooting
Topic: OTP bit confirmation "anomaly"?
Replies: 8
Views: 163

Re: OTP bit confirmation "anomaly"?

LTolledo wrote:
Thu Jun 21, 2018 2:17 pm
$ vcgencmd opt_dump
error=1 error_msg="Command not registered"
Typo in the command (opt instead of otp). You don't see the error message because it's filtered by grep.
by DirkS
Thu Jun 21, 2018 9:28 am
Forum: Beginners
Topic: How to create a Desktop shortcut for a Python program
Replies: 2
Views: 66

Re: How to create a Desktop shortcut for a Python program

Using the topic title in a Google search of this forum I found these in the first 5:
viewtopic.php?t=190130
viewtopic.php?t=9817
viewtopic.php?t=163312
by DirkS
Thu Jun 21, 2018 9:12 am
Forum: General discussion
Topic: Cancel add_event_detect when a pin has already detected it
Replies: 2
Views: 71

Re: Cancel add_event_detect when a pin has already detected it

drumsergio wrote:
Thu Jun 21, 2018 8:49 am
I do not know if it can be doable. Maybe not.
Somewhere (sorry, can't remember where) I saw a bit of code where event detection was switched off on entering the event function (your 'click') and switched on again when processing had finished
by DirkS
Thu Jun 21, 2018 9:04 am
Forum: Beginners
Topic: i2c addresses clash
Replies: 4
Views: 119

Re: i2c addresses clash

I managed somehow to activate i2c-0 channel What's wrong with using the standard i2c-1 channel? Looking forward to any suggestions on how to run two i2c devices with the same address! Thanks in advance! You could use a multiplexer like this one: https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i...
by DirkS
Thu Jun 21, 2018 8:22 am
Forum: Beginners
Topic: network problem
Replies: 2
Views: 46

Re: network problem

In addition to the above: please post the full error message
by DirkS
Thu Jun 21, 2018 4:26 am
Forum: Automation, sensing and robotics
Topic: Cheap USB temperature sensors
Replies: 5
Views: 186

Re: Cheap USB temperature sensors

Can't see the image (error 404 - not found)
by DirkS
Wed Jun 20, 2018 3:54 pm
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 4
Views: 92

Re: Two 44780 LVD displays on one Raspi

As i said ;) , i use an LCD 20x4 screen with an 44780 controller and an I2C interface piggy backed on the lcd. As you correctly said, the I2C makes it addressable. However i dont know how to do that with the drivers i use; which parts if the classes to change or add to control two addresses. The I2...
by DirkS
Wed Jun 20, 2018 1:05 pm
Forum: General discussion
Topic: use pi zero w in commercial production
Replies: 57
Views: 9731

Re: use pi zero w in commercial production

Some Chinese manufacturers copy legit designs right from the source. They make a genuine product then sell the source code to another factory, or manufacture the exact same item for a competitor. Crazy. I thought all Zeros are manufactured by Sony in Wales... I find it hard to believe that someone ...
by DirkS
Wed Jun 20, 2018 12:31 pm
Forum: General discussion
Topic: No such file or directory: '/dev/epd/version'
Replies: 2
Views: 101

Re: No such file or directory: '/dev/epd/version'

I assume the error means that the device driver for the screen is not yet loaded To see if the problem was a timing problem, I put a sleep(5) just after the main(), without results. What does this mean? To me it sounds as if the error could occur before the sleep is reached. Can you post your code (...
by DirkS
Wed Jun 20, 2018 8:38 am
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 4
Views: 92

Re: Two 44780 LVD displays on one Raspi

Where/how in the coding can i change the address of the 44780. Perhaps make different instances of the classes used? The address is determined by the hardware. A bare HD44780 does not use I2C, but a lot of boards add extra logic so that you can address them using I2C. See e.g. https://www.aliexpres...
by DirkS
Tue Jun 19, 2018 3:42 pm
Forum: General discussion
Topic: Graphics Programming
Replies: 6
Views: 2181

Re: Graphics Programming

assasinsareus wrote:
Tue Jun 19, 2018 2:08 pm
I know this topic is now rather old but...
On this forum this is pretty much as old as it gets!

Go to advanced search