- Posts: 639
- Thank you received: 234
LinuxCNC + Orange Pi (allwincnc)
- Bari
- Offline
- Platinum Member
-
Less
More
5 years 1 month ago #220839
by Bari
Depends on the optos and the series resistors used in front or behind them. Try it and measure.
Replied by Bari on topic LinuxCNC + Orange Pi (allwincnc)
Will the 3.3v GPIO be able to work with this or will I need to build a hat with logic level converters to be able to use it?
Depends on the optos and the series resistors used in front or behind them. Try it and measure.
Please Log in or Create an account to join the conversation.
- Bari
- Offline
- Platinum Member
-
Less
More
- Posts: 639
- Thank you received: 234
5 years 1 month ago #220840
by Bari
Replied by Bari on topic LinuxCNC + Orange Pi (allwincnc)
Sorry to hear. Not fun. You might want to wait a few weeks before starting this. Save it for when you are really bored, run out of movies, TV to watch and books to readSince I broke my leg last Saturday and needed something to do to occupy my time
Please Log in or Create an account to join the conversation.
- rollfree
- Offline
- Senior Member
-
Less
More
- Posts: 59
- Thank you received: 11
5 years 1 month ago #220841
by rollfree
The voltage levels on outputs will be probably enough for connected driver.
And on inputs will be 3.3V levels, so OPi will be happy.
Only for relay will be supply 3.3V probably too low.
Replied by rollfree on topic LinuxCNC + Orange Pi (allwincnc)
74HC (not 74HCT) circuits are usually used on these boards. These allow 2-6V power supply. So you can power the board from 3.3V instead of 5V.I guess I can test this as well, but figured someone probably knows off the bat.
My machine currently has a parallel port breakout board like this one www.amazon.com/DollaTek-Breakout-Optical...id=1631818031&sr=8-4
My intent is to retain the parallel port breakout board and construct a cable to interface the GPIO on the OPi to the PP BOB. So the question becomes: Will the 3.3v GPIO be able to work with this or will I need to build a hat with logic level converters to be able to use it?
The voltage levels on outputs will be probably enough for connected driver.
And on inputs will be 3.3V levels, so OPi will be happy.
Only for relay will be supply 3.3V probably too low.
Please Log in or Create an account to join the conversation.
- 109jb
- Offline
- Premium Member
-
Less
More
- Posts: 97
- Thank you received: 15
5 years 1 month ago #220913
by 109jb
Replied by 109jb on topic LinuxCNC + Orange Pi (allwincnc)
Thanks again.
In regard to the BOB, I've decided to make up a hat for level shifting. Reason is because the power input to that BOB is 12V currently and it uses a 5V on-board regulator to supply the 74HC chips, so I'd have to tap into the board to supply less voltage to those chips. Also it has an on-board PWM to analog 0-10V output for controlling a spindle. I think at some point i will hook that up to my VFD for spindle control. So, seems the easiest is to just do the level shifter hat since I already have everything to do that. Thanks for the info though.
The Orange Pi One board arrived yesterday and I had a heck of a time even getting the canned Armbian image installed. Turned out that my favorite USB carb reader for micro SDs crapped out. Took a couple hours of dorking around to figure that out. Once I got my other one all went well and Armbian buster is installed. Now I have to figure out how to get an internet connection to the OPi. My router is just too far away and I don't have a long enough ethernet cable so I'm thinking I can share the connection to my laptop using a USB to Ethernet adapter. I ordered the USB-Ethernet adapter and it should get here tomorrow so will try then. I am documenting my adventure and once I get everything situated I plan to make an image of the SD that can hopefully just be installed on a Orange Pi One board like mine for those who want a sort of plug and play solution.
Thanks again to all. I'll keep my progress updated
In regard to the BOB, I've decided to make up a hat for level shifting. Reason is because the power input to that BOB is 12V currently and it uses a 5V on-board regulator to supply the 74HC chips, so I'd have to tap into the board to supply less voltage to those chips. Also it has an on-board PWM to analog 0-10V output for controlling a spindle. I think at some point i will hook that up to my VFD for spindle control. So, seems the easiest is to just do the level shifter hat since I already have everything to do that. Thanks for the info though.
The Orange Pi One board arrived yesterday and I had a heck of a time even getting the canned Armbian image installed. Turned out that my favorite USB carb reader for micro SDs crapped out. Took a couple hours of dorking around to figure that out. Once I got my other one all went well and Armbian buster is installed. Now I have to figure out how to get an internet connection to the OPi. My router is just too far away and I don't have a long enough ethernet cable so I'm thinking I can share the connection to my laptop using a USB to Ethernet adapter. I ordered the USB-Ethernet adapter and it should get here tomorrow so will try then. I am documenting my adventure and once I get everything situated I plan to make an image of the SD that can hopefully just be installed on a Orange Pi One board like mine for those who want a sort of plug and play solution.
Thanks again to all. I'll keep my progress updated
Please Log in or Create an account to join the conversation.
- 109jb
- Offline
- Premium Member
-
Less
More
- Posts: 97
- Thank you received: 15
5 years 1 month ago #220925
by 109jb
Replied by 109jb on topic LinuxCNC + Orange Pi (allwincnc)
Found out I am mistaken about my BOB and have questions. Didn't want to take this thread on a tangent, so posted my question in the thread I started here:
forum.linuxcnc.org/18-computer/43570-con...-get?start=20#220924
Please Log in or Create an account to join the conversation.
- Bari
- Offline
- Platinum Member
-
Less
More
- Posts: 639
- Thank you received: 234
5 years 1 month ago #220926
by Bari
Replied by Bari on topic LinuxCNC + Orange Pi (allwincnc)
Just about everyones config.ini file will be different as well as their .hal file.
U-boot and the kernel should just have the cpu core speed governor locked to ONE clock speed no matter what. Choose to not use a heat sink, too bad. And spend and extra dollar or two for a proper power supply.
U-boot and the kernel should just have the cpu core speed governor locked to ONE clock speed no matter what. Choose to not use a heat sink, too bad. And spend and extra dollar or two for a proper power supply.
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds