• Content Count

  • Joined

  • Last visited

1 Follower

About StuxNet

  • Rank
    Elite member

Profile Information

  • Gender
    Not Telling
  • Location
    Minnesota, USA
  • Interests
    Python, Ruby, SBC's, SOC's, Basketball, Raspi Cheesecakes, API's and IPA's. Not necessarily in that order.

Recent Profile Visitors

877 profile views
  1. StuxNet

    Default W1 pin on Nano PI NEO

    Which is easier to say? Every post previous, or run this? Attached is a bash script that will install and make various dtbo/dts edits automagically in order to install and interface with ds18b20 Thermometer connected to a NPiNeo running Armbian 5.69. I've also attached an image for how the module needs to be physically connected (using 10k resistor between 1 wire and PWR). If you do not have a physical 10k resistor you may use the internal pullup to do so (do not use on long connections?) This is done by adding param_w1_pin_int_pullup 1 on a newline after param_w1_pin=PG11 in the /boot/armbianEnv.txt file. The picture is for a raspi connection. Simply connect blue wire to PG11 on NanoPi Neo, Red to 3.3v PWR. Black wire to GND. All of which are actually located on the exact same pins if you flip the picture 90 degrees clockwise and cross reference it to FriendlyArms standard schematic. Also attached. WARNING: I created the attached script from a default installation of Armbian. It will erase current /boot/armbianEnv.txt file. Use sed or edit printf command to customize. - physical bash script attached - gist copy of script here:
  2. StuxNet

    Default W1 pin on Nano PI NEO

    You guys are awesome. I love you but I also hate you. That is a joke btw. Remember, threads/emails are not ideal communication. When you finalize a thread, maybe wrap it all up in a single coherent, command by command tutorial? Just spent the last hour trying to hodge podge the meaning of this thread + this I'm a not an idiot, I know quite a bit but intro to deep dive, custom linux, overlays, etc... Am I looking for someone to hold my hand and answer all my newb questions? obviously not. Just woulda been nice to know that param_w1_pin=PG11 shoulda been on a seperate line. (If you say that's obvious, CHWE's answer here is tehcnically correct [hindsite] but I misunderstood as 'one per line', 'one per line') when a simple dump of the full amrbianEnv.txt woulda sufficed. verbosity=1 logo=disabled console=serial disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=armbian-add-overlay usbhost1 usbhost2 w1-gpio param_w1_pin=PG11 rootdev=UUID=41c3101b-b077-456b-b9cd-a7717422b4b3 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Not to mention how to actually de/recompile dbto's and dts's. I would love to post back here those simple commands that were just glossed over in this thread but I can't guarantee I'll be able to do that. Anyone with a child would understand how valuable 1 hour of dedicated time to decompiling text based gibberish is when you know the answer could legit be automated. If there's any doubt to the tone of this message. I prove my point. Just know I thank you guys.
  3. StuxNet

    Orange Pi Zero WiFi Access Point

    Which Armbian kernel and version? When this happens to me, I typically just revert to a previous version that has the support and/or features I'm looking for. I would recommend doing the same, in addition to making an image of SD card (if you've spent a good deal of time setting it up) before updating to the latest kernel. This is one fix. Without booting up my own device with latest version, and taking your word for it that it's not available in armbian-config menu. It's likely because the armbian-config is being worked on, and you will not be able to enable specifically through armbian-config menu temporarily. You may need to either, do as suggested above (easiest) or setup manually, here's a post with 2 tutorials towards the end that may help in doing so.
  4. StuxNet

    orangepi camera ribbon characteristics

    For when the link goes dead and for those looking to buy on the english version of Aliexpress. FFC FPC Ribbon cable 0.5mm pitch 24 pin 24PIN Front Length 250mm Width 12.5mm Ribbon Flex Cable
  5. I've gotten higher than 1A ratings from a USB port (usb 3.0) before and absolutely gotten less than 1A from a similarly rated 'ac/dc module' Can never go wrong with getting an appropriate, reliable setup. In my experience, FriendlyArm boards are no where near as fickle (power wise) than OPi boards. I can boot any of them from just about any power source I connect them to. For this reason I prefer the Neo. OPiZ's are absolutely a different case. For me, they rarely work just from USB, unless I use a specific, good quality cable. Forget compiling/installing more robust libraries. I can't speak too much on the relays you mention. I can tell you though that I've purchased 4+ OPiZ boards, all serve a purpose. Require dependable power supply setup. I have a Powerstrip that genuinely pumps out 2 amps + to USB port. So I use that with a good cord and I've never had a power issue since. Tl,DR; OPiZ over all design quality isn't the best but it's still proven to be a working product. I've purchased many of them, the only power issue I've really run into has been at fault of my own setup.
  6. The actual better ending to this story is not a post of the working camera but actually the underlying issue in the first place. I'm not a newb but I also don't know every schema of every board I own. Does the cable connect N/E/S/W on OPi/NPi/RPi/BPi? Perhaps include a picture of the correct orientation of the connected camera's ribbon cable? No one seems to ever talk about that. Not going to spend the next 4 hours yakshaving the cam across 6+ boards, 3 OS's in an attempt to port, decipher posts and problem solve. Multiply every attempt by 3 because I wonder "is the camera actually connected properly?". Just to document [accurately on GitHub] a more universal method for all. Moderators hate it when they go out of their way to provide software solutions to newbs with simple hardware problems. Strike that, reverse it.
  7. StuxNet

    ArmbianIO API proposal

    @Larry Bank hit up this guy >>> <<< He has very similar projects to what your working on, ie: universal SBC's wrappers, except mainly for screens. He has one repo "OPi.GPIO" that aims to accomplish something similar to ArmbianIO project but is limited to OPi as you can imagine. He has recent commits that suggest branching out into NanoPi (Duo) territory though. I talked to him awhile back, pretty cool dude but seems pretty busy and the OPi.GPIO isn't his main focus. In any case this is all to say, without looking at your source and knowing what you do/don't have, maybe he has some goods you can snag. All in all. Awesome work. Had this idea for a long time, but lack the hardware/expertise to do it (this was as far as I could go) but it's awesome to see you follow up bitbank with ArmbianIO. Keep it up. I'll absolutely be sending you some beer money when I get the chance.
  8. Yea I get that. Totally understandable. In some situations, especially bigger companies, you would want to go with a more professional solution like you describe. Of course people forget to stamp, isn't that going to be an issue regardless of the device though? I don't think you need to be a mathematician, to do a timeclock. Let a spreadsheet do that for you. All that aside, as a whole SBC's represent (to me) the option and freedom to do without those kinds of proprietary (usually expensive) devices that offer zero control. On top of doing without the service fees and support. At the end of the day everyone (company) is different. This solution works excellently for my situation. Another good situation I've been in previously, was working for a fairly large company (as in multiple local locations) that had hours averaging 1, maybe 2, employees per location. I imagine it would be cost prohibitive to buy 6-7 devices, for a grand total of 8 employees. Granted, some of these positions were salary and timecards were based on the honor system but I could see an SBC making an appearance here.
  9. Welp. It currently works for...more than a couple employees and has been tested using various means/devices for months. I could go into more detail but your opinion does not apply to my specific circumstance. Regardless, thanks for the criticism. (seriously) In my experience every 'small business' solution to this has been to simply, not have a time clock. Again, I could go into details but I'm not the trend that every local business owner I've met, has set. I don't know what you mean by terribly complicated but I beg to differ. Let OPiZ offer RFID interface to a Gsheet. Let Gsheet functions calculate all the math. This solution in tandem with a 'profession' timeclock that costs several hundred not $25 dollars, to create a physical timecard that needs to be digitized later, produces (dare I say) foolproof results.
  10. Wanted to automate payroll. Needed to be as simple/easy on the eyes as possible for your run of the mill user. General functionality is that it makes digital timecards for every employee action/swipe of an RFID tag. Every swipe also punches a Google Sheet based on company department, by utilizing regex to find column associated with employee name, then the row based on today's date. It then punches current military time to corresponding clock in/out offset. The timecard math is all done using the Google spreadsheet functions to discern overtime, total hours, etc... More will be included later to automate even the spreadsheet template even though copy/pasting once every 15 days is trivial. It's comprised of a OPi-Zero, MFRC522 RFID Module (for employee badges) a modified case, multi LED for clock in/out prompting, Google Sheet API and several existing dependencies/repos on GitHub. The most important 'juicy', details are documented on GitHub which will get you installed and running with the API, Module, LED, etc.... With more details to come, including step by step instructions on setting up Google Sheet API, etc.... Let me know what the community thinks. Installation >> Connect MFRC522 Module and run >> git clone && bash ./TimeClockPi/
  11. StuxNet

    [HELP] Orange pi zero , html to pdf arm

    Not exactly sure what you mean by some of your post but "sometimes it does it gets stuck and then he turn off" Sounds like a power issue. OPiZeros commonly 'halt' when big power/usage demands are put on the SBC. How are you powering the OPi? I've successfully installed both xvfb and wkhtmltopdf on an OPiZ, so... xhtml2pdf and weasyprint might be some alternatives to look into. Depending on the unspecified language/methods you're using for wkhtmltopdf.
  12. My bad. This is the entire reason for this post. I wasn't sure at all if/how any of this stuff works across the world and I had my doubts from the get go. Review previous posts. This is disheartening honestly. I shoulda read the user agreement but I really don't read those things. From a USA stand point, the option is zero risk, surely you can understand why I said that. All things considered, it's not. This would not be known however if the conversation never deviates beyond reasons why not. At the end of the day the responses were no, no, no because the actual answers were in fact no, no, no. We at least got the creative juices going, are that much wiser. Lets (by that I mean @Igor) throw up a link and call it good? Except not cuz I think thats only PayPal to PayPal soo.... entireConvo == False. Just glad to be having it. It's honestly one of the few ways I could think to contribute beyond the standard crap. Just glad to be having the discussion, so thanks @zador.blood.stained
  13. @zador.blood.stained That's prolly true about Patreon. Idk, Not at all familiar. However, I do know of someone/thing that uses patreon just to release new content and be notified of it. Maybe kickstarter, patreon, indiegogo are all wrong mediums for Armbian's 'product' model, I'm legit just trying to brain storm. "Patreon won't bring new donation methods because it's still either CC or PayPal." You prefaced this with AFAIK so I can't rag on ya too much xD but you're fundamentally wrong dude. This isn't an insult, this is encouragement to be more open minded. I could break down the psychology behind facets of of donation mediums. ie: 'separation' from payment, provide empirical evidence, etc... but I'm not going to. TL;DR: I could rebuttal all day long as to why I think there could be improvement. Especially in cases regarding finances because I wouldn't make the 'suggestion' unless there was some strong factual basis. So here they are, applicable to all but mainly for adding Zero risk: Requires < 5 minutes to setup and I already offered my time, where possible. 100% of Zero, is still Zero in the event nothing happens. Guaranteed results: Easier to donate = more donations. Fact. Visibility: Whether we are on all of the above platforms, one or none. Expansion is visibility and asking questions is not stagnation. Perhaps there is no interest in regards to donations. In which case, no skin off my teeth. Stux out.
  14. StuxNet

    NanoPi Neo Air Access Point

    Heck yea dude. I'll give it a try on a brand new imaged NPNA. Thanks for the script/service. That's what it is all about! As far as correct conf files for hostapd and dnsmasq, can I/would these be setup with NMTUI, then disable network manager after the fact? This might be a really dumb question but I have limited experience with the network stack in linux. Also, you've given more than enough info so you don't even have to answer that 'give a mouse a cookie' question. I'm sure I can figure it out regardless. Thanks again.
  15. StuxNet

    NanoPi Neo Air Access Point

    Lol. Naw. I'm almost 100% of the time running as root and redundantly use sudo. I double checked before posting. That's not it, but reasonable assumption. Step by step would be really appreciated.