Tiny Computer with Printer port
Power the proximity switch from 24V but use the output to pull the GPIO input to ground, That is, connect the switch output directly to the GPIO pin and use a pullup/load resistor connected to 5V instead of 24V.
There may possibly be problems with this method. The switch specs a 2.5V maximum voltage drop. This may mean that a low level output is not a good low for the TTL levels the the GPIO pin expects. So maybe the first step is to check what the switch output levels are in both states with a 5V pullup resistor.
Another option is to use a opto coupler circuit. This has the advantage of keeping the 24V far away from the fragile GPIO pins.
As far as inversion goes, that can be done in HAL, either by choosing
the correct true or inverted GPIO input pin if the driver supports this or using HALs 'not' component
Please Log in or Create an account to join the conversation.
I have prepared 2a PCB which is dividing the voltage from 24v down to 5 v then uses an optcoupler to be able to selct if Pullop or down
So if there is interest i can publish the eagle files i have an PNP and NPN version ,.. I use it for spindle orientation
And here is a picture from my setup (for the endswitches i use the Functionality of my BENEZAN Triple Beast board )
thomas
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
At the most basic level check BIOS and see what it is trying to boot from (you will need a PS2 keyboard not a USB one as that is not active yet)
I am guessing you do not have a linux machine as your transfer method seems rather tortuous.
I am also curious about the missing 1GB in your CF card and whether the 1st partition starts where it should, or whether it are the result of the usual 1000 versus 1024 calculations.
regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Linux doesn't take any notice of boot flags really, you can boot from any partition, anywhere on a HDD, unlike windoze, which still seems stuck on 1st partition, 1st drive.
The need to boot the NCBOX from partition 1 is from the BIOS which is fairly limited.
The image will write the boot sector, FAT etc because it is a complete disk image.
When did you download the image? I changed servers recently, it is just possible that it got corrupted in the move, although just as possible it was in the download or transfer.
I would wipe the card again, repartition and format and repeat. If you have time to download the image again first, that should eliminate things at your end and if still no joy I will try uploading a new copy to the server
regards
EDIT
The MD5sum for the image is 6cb6414eb2578fa40439ef38eea0c95e
If that does not match, let me know and I will check the one on the server this evening
If it does, it is on your end, suggest re-download, and rewrite to CF
(preferably download with wget from a Linux install or live CD, because the server is linux and windoze often screws up more than just file permissions etc)
Please Log in or Create an account to join the conversation.
I have now downloaded the image from the site and done md5sum
Done the same on the site mirror it was uploaded from and on the backed up original they are both copies of
They all have the same md5sum 6cb6414eb2578fa40439ef38eea0c95e
So if yours does not match, download again
If it does then look at re-partitioning, formating and writing the image.
No-one else has contacted to report any problem and I am getting half a dozen downloads a week via the DMP and Roboboard sites, so assume something went wrong at your end
regards
Please Log in or Create an account to join the conversation.
Cheers -
Please Log in or Create an account to join the conversation.
Recap of issue/steps to resolve:
01. Used win machine booted w/ usb puppy linux to prepare CF card
02. Prepared 16G USB drive as ext2 using GParted for scratch memory
03. Plugged in 16G 500x Monster CF card in USB CF card reader, plugged into USB
04. Used GParted to partition/format CF to half ext2 and half fat32
05. Copied compressed img file to 16G USB drive
06. Uncompressed img file using bunzip2
07. Used dd command to install image to CF card, partition 1
08. Put CF card into little yellow box PC, booted and got "No OS" message
09. Reconnected CF card to win machine in step 1, ran Grub bootloader config app
10. Installed bootloader to superblock of linux partion on CF card
11. Copied menu.lst.old (renamed from above step) over menu.lst
12. Put CF card into little yellow box, rebooted and got some joy
A few things I'm not sure about still - during ubuntu boot there were some issues -
CPU: vendor_id 'Vortex86 SoC' unknown, using generic init.
CPU: Your system may be unstable
...
* Setting kernel variables...
error: "kernel.maps_protect" is an unknown key [fail]
...
a bunch of
chown: failed to get attributes of /var/log/dmesg
chown: cannot access '/varlog/mail.warn': No such file or directory
chown: cannot access 'var/log/user.log': No such file or directory
[12 more chown issues]
syslogd: /var/log/news/news.crlt: No such file or directory
syslogd: /var/log/news/news.err: No such file or directory
syslogd: /var/log/news/news.notice: No such file or directory
* Doing Wacom setup...
cat */ld: No such file or directory
Are these just linux runny nose issues due to the specific rti/linux cnc build?
Thanks!
Please Log in or Create an account to join the conversation.
Finally got ubuntu boot screen. Hopefully now a slam dunk.
Glad you sorted it, although don't understand why reinstalling the boot loader was required.
I did wonder if these CF cards had hidden sectors at the beginning like the Sandisk windoze s**t usb sticks, that you have to wipe with a special program before you can boot anything from them.
The only reports I found on them were that some cameras could not read them properly.
A few things I'm not sure about still - during ubuntu boot there were some issues -
CPU: vendor_id 'Vortex86 SoC' unknown, using generic init.
CPU: Your system may be unstable
You will get that every time, the processor is a specialised one and either not recognised or not signed properly.
* Setting kernel variables...
error: "kernel.maps_protect" is an unknown key [fail]
...
a bunch of
chown: failed to get attributes of /var/log/dmesg
chown: cannot access '/varlog/mail.warn': No such file or directory
chown: cannot access 'var/log/user.log': No such file or directory
[12 more chown issues]
syslogd: /var/log/news/news.crlt: No such file or directory
syslogd: /var/log/news/news.err: No such file or directory
syslogd: /var/log/news/news.notice: No such file or directory
Ditto, albeit some of the logs are probably ones that haven't been created yet so will drop off.
If you change the boot line in menu.lst from ending in ro to ro splash quiet, you will live in the same fools paradise as 99.9% of users and never see the messages
* Doing Wacom setup...
cat */ld: No such file or directory
I suspect the error you got might actually be cat: /etc/ld.so.conf.d/*.conf: No such file or directory because that seems to arise quite often when intalling a wacom tablet
when permissions aren't set properly. You will have to search on your particular tablet and Ubuntu, should find the answer
regards
Please Log in or Create an account to join the conversation.