Go to advanced search

by bartv
Mon Apr 17, 2017 2:20 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

We're going to try it with SPI. We need almost everything the RPI3 has to offer, and the production costs are going to be too high if we use the CM3. With the SPI to Ethernet chip, it's much cheaper per board. I know it's not as fast as normal, like 10Mbit instead of 100Mbit, but we don't need the f...
by bartv
Mon Apr 17, 2017 2:05 pm
Forum: Nederlands
Topic: Geen kiosk mode meer.
Replies: 13
Views: 2809

Re: Geen kiosk mode meer.

Als je dit weghaalt: @xte "key F11" -x:0 En dat met de command sudo cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart de file blijft staan, is niet raar. CP is voor het copy-pasten van een bestand. Als je de file echt wilt verplaatsen, moet je het volgende doen: su...
by bartv
Fri Apr 14, 2017 12:23 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I'd still like to get Phil to comment. The firmware appears to fill in /proc/device-tree/soc/[email protected]/[email protected]/[email protected]/local-mac-address with the serial number based MAC address. That path appears to be unique to the first SMSC9514 but confirmation would be useful. I've updated my kernel to 4....
by bartv
Fri Apr 14, 2017 11:09 am
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I'd still like to get Phil to comment. The firmware appears to fill in /proc/device-tree/soc/[email protected]/[email protected]/[email protected]/local-mac-address with the serial number based MAC address. That path appears to be unique to the first SMSC9514 but confirmation would be useful. I've updated my kernel to 4....
by bartv
Thu Apr 13, 2017 5:05 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I've spoofed the USB-to-LAN chip like @6by9 said, but then it doesn't work at all. With just a simple spoof like you suggested, everything stays the same, except I can't connect to the "slave" (the other connected Pi via the eth1 network). If I do it with ifconfig, so ifconfig eth1 hw ether XX:XX:XX...
by bartv
Thu Apr 13, 2017 1:01 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

6by9 wrote:Test your specific use case.
Network bridges (layer 2 linking of networks) may cause issues, but anything routing/proxying (layer 3 or 7 linking) should be fine.
I'll do that this evening and I will post my findings! Thanks!
by bartv
Thu Apr 13, 2017 12:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: TCP/IP or Serial
Replies: 5
Views: 1385

Re: TCP/IP or Serial

For serial comms, a MB is quite a lot of data! At 115200 baud, your transfer rate is around 15000 bytes per second, so an hour or so per MB. Are you in a hurry to get the data across? Networking sounds as if its the obvious answer to your question; all the parts are available off the shelf. And it ...
by bartv
Thu Apr 13, 2017 12:39 pm
Forum: Nederlands
Topic: Raspberry weather
Replies: 1
Views: 728

Re: Raspberry weather

Welke tutorial volg je? En /var/www/html/index.html verwijderen doe je in de map /var/www/html. Ik weet niet of je dit via terminal doet of via een SFTP client? Via terminal is het verwijderen: rm /var/www/html/index.html Via terminal verplaatsen is: mv /var/www/html/index.html /var/www/html/index.h...
by bartv
Thu Apr 13, 2017 12:27 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

None of the pre-programmed Microchips are compatible with the LAN95xx chipset. So they suggested to buy MAC addresses from IEEE and program them ourself. We'll be better of using another USB-to-LAN chipset with build-in EEPROM/MAC address , because it's more efficient for us. Wow, I was not expecti...
by bartv
Thu Apr 13, 2017 12:08 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

If it supplies enough ports using one LAN951x with the MAC supplied by the Pi and one other USB to Ethernet chip with it's own MAC is probably a good option. I think we will go for that option. If we don't have enough USB ports, we could just simply add another USB hub without LAN port. But after s...
by bartv
Thu Apr 13, 2017 11:45 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: TCP/IP or Serial
Replies: 5
Views: 1385

TCP/IP or Serial

Hi all, I'm looking for the best way to communicatie between Pi's, TCP/IP or via serial connection. Let me explain, we want to make a protocol for the Pi's to communicate with each other. One master Pi, and different slaves. There's no specific number of slaves we want to attach. If we want to attac...
by bartv
Thu Apr 13, 2017 11:29 am
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

None of the pre-programmed Microchips are compatible with the LAN95xx chipset. So they suggested to buy MAC addresses from IEEE and program them ourself. We'll be better of using another USB-to-LAN chipset with build-in EEPROM/MAC address , because it's more efficient for us. You could use a USB hub...
by bartv
Tue Apr 11, 2017 6:28 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I've bought an USB to LAN (TP-Link UE300) and it works out of the box. It has a different MAC address than eth0. eth0 has a LAN to internet connection, so that the "master" can connect to the internet. eth1 is set up as a ad-hoc network with dnsmasq, so a quite simple ad-hoc network. I've booted ano...
by bartv
Tue Apr 11, 2017 12:09 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I saw the pre-programmed EEPROMs with MAC addresses. But I couldn't find a suitable EEPROM for the LAN95xx chipset, because the EEPROM is not only used for MAC addresses but also for some different settings (correct me if I'm wrong). The 93AA46AE48 is for LAN9xxx chipsets, but LAN95xx chipsets aren...
by bartv
Tue Apr 11, 2017 11:19 am
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

It'll be quite happy with two random USB ethernet adapters. I tend to run my Pi's here in the office with an external network adapters for various reasons. The issue was over using the same MAC address on multiple interfaces. Normally it should never happen, but there was a chance of it due to the ...
by bartv
Tue Apr 11, 2017 10:13 am
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

Phil's not in this week, but a quick conversation with another colleague ended with "oh, I've got this SMSC9514 dev board - let's plug it into a normal Pi and you've then got 2 9514's connected". The dev board has a MAC address EEPROM on it too :) After screwing up my sdcard I used a different card...
by bartv
Tue Apr 11, 2017 6:51 am
Forum: General discussion
Topic: Need large touch screen monitor for pi3B
Replies: 6
Views: 12442

Re: Need large touch screen monitor for pi3B

I can confirm this touchscreen monitor works out of the box:
https://www.amazon.com/Dell-23-Inch-Tou ... B00F86RPMC

No additional drivers or software needed.
by bartv
Mon Apr 10, 2017 8:52 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

The reason why I want 2 ethernet ports is because 1 ethernet port is required to connect to the internet, and 1 ethernet port is for a local network. The Pi works as a master and other Pi's can connect to the local network as slaves. So is it necessary to have multiple mac addresses? Because all I ...
by bartv
Mon Apr 10, 2017 7:47 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

So it's possible, but not without a custom kernel of some sort? I don't want to compile a custom kernel, because updating the Pi would become a pain in the ass. You probably want PhilE to respond for a definitive answer, but a couple of thoughts. - Checking the code it looks like you could override...
by bartv
Mon Apr 10, 2017 5:38 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

Re: CM3 with dual LAN chips

I can't give a definitive answer, but your caution with regard MAC addresses is certainly valid. The Pi partially cheats by taking that Pi serial number to derive the MAC address. That obviously fails if you have 2 SMSC95xx devices attached. The SMSC95xx does support attaching an EEPROM, and that w...
by bartv
Mon Apr 10, 2017 4:19 pm
Forum: Compute Module
Topic: CM3 with dual LAN chips
Replies: 27
Views: 7239

CM3 with dual LAN chips

Hi all, I would like to design a board with 2 Ethernet connectors and 5 USB ports. So the solutions would be a LAN9514 chip and a LAN9512 chip. The LAN9514 chip comes first and 1 USB connection is used for the LAN9512 chip. I've googled if it was possible, and I'm not the first that'll try it. But I...
by bartv
Mon Aug 25, 2014 10:09 pm
Forum: Python
Topic: Float switch not reliable
Replies: 1
Views: 810

Float switch not reliable

Hi everyone, I've made a script to heat the water when the temperature is below a set temperature (for example, below 94 fahrenheit). There is a control in the script, because when it is below 94 fahrenheit, and the pump (for the water) is off, and the float switch isn't responding with 1, then it h...
by bartv
Thu Aug 21, 2014 9:46 pm
Forum: Python
Topic: PIR Sensor + Email
Replies: 6
Views: 5472

Re: PIR Sensor + Email

Didn't test it, but i think something like this should work? # Import required Python libraries import RPi.GPIO as GPIO import time import smtplib #GMAIL mail setup TO = '[email protected].com' SUBJECT = 'PIR' TEXT = 'Motion is detected' #GMAIL user setup gmail_sender = '[email protected].com' gmail_passwd ...
by bartv
Thu Aug 21, 2014 4:54 pm
Forum: Nederlands
Topic: 7 inch touchscreen compatible
Replies: 6
Views: 1454

Re: 7 inch touchscreen compatible

Ik heb zelf ervaring met MIMO Touchscreens. Ik gebruik zelf de 10.1" touchscreen, de Magic Touch. Het is best duur, maar werkt wel, en goed ook. Beeld en touch via 1 USB ingang, en je kan ook extern poweren via USB, dus ideaal. Ze hebben zelfs een kernel voor de RPI geschreven, hoef je alleen maar o...
by bartv
Thu Aug 21, 2014 4:22 pm
Forum: Python
Topic: Session time for python script
Replies: 1
Views: 669

Session time for python script

Hello, For my project, i need a session timer. If i set the timer to 10 minutes, it has to run the program 10 minutes and then quit, or in the middle of the script, just stop after 10 minutes. So the timer counts down from 100 to 0, and when it hits 0, it has to stop the whole program. The problem i...

Go to advanced search