Go to advanced search

by Robin466
Fri May 18, 2018 7:32 am
Forum: Automation, sensing and robotics
Topic: profibus on Raspberry pi
Replies: 8
Views: 3758

Re: profibus on Raspberry pi

no pc is needed... you could control everthing from PI. PC is only needed to do the application once - download it to the PI and then everything is running on the PI. You could connect a mobilephone to push buttons or use Raspberry PI LCD and do the hmi on this.. BR ranpitime i understand what you'...
by Robin466
Fri May 18, 2018 6:57 am
Forum: Automation, sensing and robotics
Topic: profibus on Raspberry pi
Replies: 8
Views: 3758

Re: profibus on Raspberry pi

yeah but can all of this be GUI controlled via the PI ? Right now i have a profibus module, with no information, in my project but that can/has to be controlled via a GUI and/or Push buttons which i have allready working..... but if Codesys needs a PC everytime it runs, we got a problem...
by Robin466
Fri May 18, 2018 5:43 am
Forum: Automation, sensing and robotics
Topic: profibus on Raspberry pi
Replies: 8
Views: 3758

Re: profibus on Raspberry pi

Hi, you could use: CODESYS on the Pi: https://faq.codesys.com/display/CDSFAQ/Raspberry+-+FAQ this make a full featured profinet controller or profinet device out of your Pi. Even scan the pn devices which are connected on the network is possible. See here a CODESYS Project example with two Pi's one...
by Robin466
Wed May 16, 2018 7:31 am
Forum: Automation, sensing and robotics
Topic: profibus on Raspberry pi
Replies: 8
Views: 3758

profibus on Raspberry pi

Hi All, I am looking for some help.... Because for my final practical Exam, I have to make a device which can test communication via profibus, the system has to communicate via different systems (for example: PLC & HMI) also with different brands. All it has to do is make connection via profibus and...
by Robin466
Mon May 14, 2018 11:58 am
Forum: HATs and other add-ons
Topic: Anyone familiar with Amescon PiLot Mainboard and/or Profibus module ?
Replies: 3
Views: 1459

Re: Anyone familiar with Amescon PiLot Mainboard and/or Profibus module ?

Their website works just fine for me.... except it has a lot of "lorem ipsum" dummy text. that's what i mean, yes it loads but that all, no information, no data, no nothing, just a empty shell. i found out that the successor of PiLot was Raspicomm+ so did a search on that, came a little further but...
by Robin466
Mon May 14, 2018 5:57 am
Forum: HATs and other add-ons
Topic: Anyone familiar with Amescon PiLot Mainboard and/or Profibus module ?
Replies: 3
Views: 1459

Anyone familiar with Amescon PiLot Mainboard and/or Profibus module ?

So last time I received amazing help via this forum which solved my problem. however I still have one problem in my project. Via RS-Components I have bought a Amescon PiLot mainboard with profibus module, the idea is simpel my project has to communicate with a system via the profibus protocol. on th...
by Robin466
Fri May 11, 2018 12:12 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

guys thank you both for you amazing support i really appreciate it :)

but the solution to this problem was super simple, just as simple as just calibrating the touchscreen :oops:

everything is working fine now, and this methode is proving to be working !

cheers,

Robin
by Robin466
Fri May 11, 2018 11:24 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

i tried this procedure, however doesn't seem to be working right now...
by Robin466
Fri May 11, 2018 9:52 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

PhilE wrote:
Fri May 11, 2018 9:44 am
Does "lcd_rotate=2" (instead of "display_rotate=0") work (see viewtopic.php?p=815847#p815847)?
same story as down below.... :o :(
by Robin466
Fri May 11, 2018 9:48 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

Yes, Correct only seems to be a little of in the middle, but calibration will do the trick i gues :-)

how ever when i put the rotate back to 0 the touch is upside down again
by Robin466
Fri May 11, 2018 9:38 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

i allready did that without dtdebug=1, but Touch seems to be working right now. Cool - our messages crossed. thank you for your patience and help during this fase ! :D However, its upside down, can raspberry change its orientation ? Please describe carefully what is upside down relative to what. we...
by Robin466
Fri May 11, 2018 9:29 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

The default ads7846 overlay was unmodified, so it had no "keep_vref_on" parameter. This should not have prevented it from being loaded, but it was an error. Using this configuration: dtdebug=1 dtoverlay=spi1-1cs,cs0_pin=16,cs0_spidev=off dtoverlay=ads7846-spi1,penirq=5,penirq_pull=2,speed=50000,swa...
by Robin466
Fri May 11, 2018 9:21 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

PhilE wrote:
Fri May 11, 2018 9:11 am

Code: Select all

dtoverlay=ads7846-spi1
shouldn't be it :

Code: Select all

dtoverlay=ads7486-spi1
No, this was correct - it was the rename I got wrong (now corrected).
ah that did the trick, overlay is now loaded !
by Robin466
Fri May 11, 2018 9:11 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

ignore this post
by Robin466
Fri May 11, 2018 9:04 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

its the firmware delivered with the screen, also with the same parameters. Perhaps the supplier of the screen has modified the standard overlay - can you upload the original .dtbo (or .dtb) somewhere so I can take a look? sure https://www.dropbox.com/sh/pdkji46ui8aet5j/AAChrT_-QtToNetw0Pi5E2hva?dl=0
by Robin466
Fri May 11, 2018 8:59 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

PhilE wrote:
Fri May 11, 2018 8:48 am
Start by renaming the compiled overlay to "ads7486-spi1.dtbo" to distinguish it from the original, comment out the current overlay directive in config.txt and replace it with:

Code: Select all

dtoverlay=ads7846-spi1
shouldn't be it :

Code: Select all

 dtoverlay=ads7486-spi1
?
by Robin466
Fri May 11, 2018 8:26 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

Uname -a Reports Linux raspberry pi 4.9.80-v7+ #1098 strings /boot/start.elf | grep VC_BUILD reports VC_BUILD_ID_USER: dc4 VC_BUILD_ID_TIME: 18:45:03 VC_BUILD_ID_BRANCH: Master VC_BUILD_ID_TIME: Mar 13 2018 VC_BUILD_ID_HOSTNAME: dc4-XPS13-9333 VC_BUILD_ID_Platform: raspberrypi_linux VC_BUILD_ID_VERS...
by Robin466
Fri May 11, 2018 8:16 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

Hi Phil,

Sorry had national holidays here in Holland so didn't look at this...

i am going to try the things you mentioned and will report back.
by Robin466
Tue May 08, 2018 2:01 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

001323.049: brfs: File read: /mfs/sd/config.txt 001595.949: *** Restart logging 001595.976: brfs: File read: 2026 bytes 001597.359: brfs: File read: /mfs/sd/cmdline.txt 001597.433: Read command line from file 'cmdline.txt' dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2...
by Robin466
Tue May 08, 2018 1:44 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

PhilE wrote:
Tue May 08, 2018 1:07 pm
Can you post the entire output after "**** Restart logging"?
hmmm cannot get it trough the boot map so cannot post it here on the forum, since it is on my pi.... and i use the forum on my pc
by Robin466
Tue May 08, 2018 1:02 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

ah easy,

002160.674: Failed to Load Overlay 'ads7846-spi'
002160.727: brfs: File read: /mfs/sd/overlays/ads7846-spi.
by Robin466
Tue May 08, 2018 12:57 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

where should i look for ? this is my first bigger Pi project so kind a newbie at it, my Apologies... :oops:
by Robin466
Tue May 08, 2018 12:51 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

You've switched to spi1-2cs? Why? The CS usage is completely soft, and every change makes it harder to follow... If you are determined to use CS2 then you must edit the overlay as I described above. If you have already done so then you should have said so to avoid wasting more time. no sorry i have...
by Robin466
Tue May 08, 2018 12:46 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

Did you also include cs0_spidev=off? dtoverlay=spi1-1cs,cs0_pin=16,cs0_spidev=off If this doesn't work, please look for evidence of each of the steps having executed: 1. Load the spi1-1cs overlay without the cs0_spidev=off and confirm that /dev/spidev1.0 exists and GPIO 16 is an output (raspi-gpio ...
by Robin466
Tue May 08, 2018 12:26 pm
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 5189

Re: ads7846 on spi1

The CS pins for the SPI1 overlays are not fixed and there is only a CS0 entry available for spi1-1cs (see /boot/overlays/README). And that's the other reason it won't work. It would be best all-round if you reverted to CS0 and used cs0_pin to specify which pin to use. sadly it doesn't work, don't r...

Go to advanced search