Another day, another Bluetooth Low Energy (BLE) SoC. This one is by Cypress (not Hill, but now it’s Infineon). The PSoC 4 BLE SoC is the micro that is featured on the CY8CKIT-042-BLE-A kit.
I recently started working with other Cypress PSoC micro-controllers, so for me trying out the BLE variant isn’t too much of a stretch. It does seem that the integrated Bluetooth SoC market is getting more crowded every quarter, and Infineon is positioning against a couple other major vendors.
What PSoC offers with their BLE solution is a very powerful and customizable programmable hardware block that enables system designers to easily configure peripherals and custom component and logic blocks at the hardware level with minimum firmware hand-holding.
This CY8CKIT-042-BLE-A evaluation board, like many other modern kits, include Arduino Uno based expansion headers to allow for quick prototyping with custom expansion shields. Don’t forget to check out the JoeLABs Expansion Shield Special to help you kickstart your next project!
In this episode, we look at the NUCLEO-L152RE to get started on a STM32 platform running FreeRTOS. After following a straightforward set of instructions to bring up the system, we look at demonstrating a use case that benefits from an RTOS (Real Time Operating System) environment.
The NUCLEO-L152RE development board features an ultra-low ARM micro-controller from the STM32L series. The family of NUCLEO boards facilitates evaluation and rapid prototyping with on-board debugging and provides design extensibility via the included Arduino Uno R3 header interface to support integration with off-the-shelf and custom Expansion Shields.
Don’t let chip supply chain shortage stop you from building out your hot idea! Pull out that development board hiding in one of your parts bin (or buy one that you can find) and make use of the Arduino Uno R3 header interface! Ask about the Expansion Shield Design Special at JoeLABs!
This post’s title question is a quote from Red Hat Linux founder Bob Young, emphasizing the benefit of open source software allowing you to inspect and modify your software tools.
Let’s take some creative license with the car analogy.
Would you buy a car that has the battery riveted into the chassis? Let’s say doing so frees up the engine bay a little and allows for a larger battery than the standard cubic 24F battery since its custom shaped into a body member cavity. I would wager most folks would balk at this design choice knowing that batteries expire within a few years and would rather be able to replace the battery without also needing to swap out the front quarter body panel.
Would you buy a car whose engine has the water pump, alternator, A/C compressor, and power steering accessories welded into the engine block instead of conventionally bolted on? While we’re at it, turn them all internal facing so they’re driven by a sealed chain. Let’s propose that permanently fusing these accessories into the engine at the factory nets some performance increase and allows the car designers to shave 3 inches from the engine bay and give that space gain into the passenger cabin. I can almost guarantee someone living in Florida, USA during a humid summer season being told their A/C compressor is broken and has to get a whole new engine put in isn’t going to care as much about the few HP or foot-well room bought by the “fully integrated” engine design.
Now, my examples focus more on the hardware serviceability side of things. But it is important nonetheless because such measures preventing you from maintaining your systems within practical reason have encroached gradually over time with little protesting.
Non-user replaceable batteries have proliferated across most contemporary smartphone offerings, thereby placing a hard limit to use life as service life of Li-Ion batteries is just a few years regardless of use duty. Batteries internally glued to the chassis has been a feature on several higher profile laptop models, making repair a potentially dangerous undertaking.
RAM modules soldered onto the motherboard instead of installed into slots isn’t exactly a new invention — I saw it on a couple lower-end Intel-486 based desktop computers back in the mid-1990s. As those models were marketed for institutional use, my guess is it was due to budgetary reasons. Modern laptops that use soldered RAM will claim it helps thin the chassis (whether or not it matters to the target clientele). Granted, for some slim focused ‘s’ notebooks the tradeoff may be warranted, but is odd when an productivity oriented, unashamed thicker ‘T’ notebook uses soldered RAM. Although RAM failures are quite rare these days, a non-replaceable module is yet another unnecessary system failure point.
Back to my fully integrated engine thought from earlier, soldered RAM (and soldered CPU) may be a non-issue for the appropriate target audience who might be more willing to scrap the entire system of either of those parts started acting up. However, bundling the non-volatile data storage within the weld is asking for trouble no matter the end user. Within such a system, if the main board becomes inoperable for whatever reason (bad power rail, water ingress, exposure to leaked battery acid, etc) the user data is not retrievable. Not only that, SSDs themselves are a consumable component with a finite (although usually long) erase/write life and also not immune to controller silicon failures.
Its easy to envision the not so pleasant future where even though you purchase computing hardware, you really only lease them. The ‘just don’t buy it’ doesn’t always cut it because its not just one offending company, nor is it limited to computer hardware.
The debate on right-to-repair may be promising, but it is a complex discussion with many intricacies that can trip up most legislative bodies who are distracted by the lobbying parties of interest while (hopefully) balancing the reach of government.. Impactful and straightforward, yet non-draconian directives may be hard to come by. How do you go about mandating design for serviceability at the legal level with non-ambiguous verbose? Is it “serviceable” if a board or module can be swapped out, or is the requirement satisfied only with schematics, firmware, and access to vendor specific custom chips?
The mitigation options readily available for preventing computing failure fallout includes redundant data backup/recovery measures, and fallback computing systems at the standby.
In this episode we will have a quick overview of the nRF52840 Bluetooth SoC and Evaluation board.
The video segment discusses Nordic Semiconductor nRF52840 SoC, which is the top end offering of the nRF52 family of Bluetooth integrated SoC. A demonstration of the evaluation board and sample application is also presented.
Nordic has a strong market share in the embedded low-power Bluetooth connectivity space, in no small part due to their silicon offerings as well as developer support via their InfoCenter documentation andDevZone forum.
The featured evaluation board is a reasonable priced platform to get started investigating Bluetooth connectivity and designing peripheral circuits to integrate with the system for platform prototyping.
Disclaimer: As an Amazon Associate I earn from qualifying purchases
For home and/or office networking, wireless is convenient and as Wi-Fi standards evolved the performance has progressed. Despite technological advancements, wireless networking still lags behind wired gigabit Ethernet in practical use.
Here’s my mobile battle station just a few feet away from the network routerconnected via WiFi.
And the same laptop across the house with the same configuration (unplugged power adapter) but attached to Ethernet.
The link speed of the Ethernet connection is always 1 Gbps. The WiFi link speed fluctuates for whatever reasons and for me the reported link speed changes significantly when active vs. idle.
Even if your internet service speed is less than gigabit, local network access between computers for file/media shares, automated backup, and the like also benefit from 1000 Mbps transfer capacity. Over SSH/SFTP I usually see around 95-100 MB/s transfer rate copying large files between computers.
Got the need for speed? Good. Here’s an easy quick start:
Do the same for another computer and you should be able to move bits between them much faster than over WiFi.
If all your computers are in the same room as your router, or you don’t mind having wires run and taped along the hallway, you’re good here. Read on if you want to possibly put in a clean and tidy installed network run within your home
**Usual disclaimers of your own risk and responsibility apply in regards to working on your own home or with permission from property owner. Only you or your hired contractor can judge the most appropriate work actions for your home configuration.
To run Ethernet throughout your home, you’ll want to start off with a Cat5e Ethernet Cable Kit that for a reasonable price should gets you a bulk supply of Cat5e cable as well as connectors and handy tools.
You have to know your home to figure how to approach your home wiring runs. I can go over what I’ve done in a few scenarios.
When I lived at home when we still had carpet, an easy and minimally intrusive method was to tuck the Ethernet cable underneath the baseboard behind the carpet edge, and terminating the ends with an RJ-45 Jack and installing it within an RJ-45 surface mount box.
A Fish Tape tool can help continue a cable run underneath a carpeted doorway.
In another home, a wood flooring project was the perfect opportunity to run network cabling within the expansion gap between the flooring and the wall.
In our present dwelling with wall to wall tile flooring already installed in half of the house, I ran the wiring through the crawl space.
With a stud finder, I was able to plan out the drop locations and cut out some drywall, drill some holes through the sub flooring and pulled the cables through.
With a pair of known good Ethernet cables you can test the end-to-end connection jacks with your kit cable tester, as well as testing the custom length node cables you’ll make with the leftover bulk cable, crimps, and crimp tool.
To fan out your connections from the wall jack or wall mounted box, run a cable from the wall to a network switch, then attach the computers in the room to the switch.
With a small outlay for hardware and time commitment, you can enjoy years of reliable network connectivity within your home/office for work and leisure.
Addendum: If you do plan to cut holes within your non-new build home, be prepared for any surprises. Like, this gent and some of his buddies were hiding behind the wall I cut open.
Disclaimer: As an Amazon Associate I earn from qualifying purchases
In the era of video conference calls, practically every work desk has become a mini-studio setup equipped with web cameras and headsets interfaced with an array of collaborative platforms. Lighting, despite being just as important to your presence presentation, often tends to be an after-thought as evidenced by silhouetted faces and harsh shadows among your meeting’s gallery view.
Of course, with physical space permitting you could look into some Softbox Lighting Kits to Zoom your way to the Most Photogenic Teams Player. Indeed I have found such lighting kits fun to use and are of great value, but understandably might not be appropriate for a smaller dedicated workspace.
At minimum for overall reduced eye strain is to have a desk lamp to illuminate your general working area, as well as doubling as a light source for your video feed.
I tend to favor the articulating arm kind of lamps as they can be positioned downward to a specific area of interest to aid in minute tasks like PCB assembly or focused reading. OR to borrow from photography practices, can be aimed towards the ceiling to produce a soft bounced light effect. The gentler, well defused lighting avoids that “deer in the headlights” look from having a major light source pointed straight at you.
A more directed video light can be used to fill in the shadows that naturally occur on your face while on camera. This compact, yet versatile Neewer kit has been my battle station’s MVP.
This video light is USB (USB-A) powered and with its minimal power draw should work with practically any computer or mains USB port/charger. The included tripod is height and tilt adjustable.
Best of all, the light output is dimmable via an in-line controller to let you dial in the fill light to match ambient conditions.
Unless you’re going for that streaming gamer vibe, or just going to use a software superimposed background effect, you won’t want to forget about background lighting if your room is dim during your conference. An overhead light can be switched on if needed, or positioning a floor lamp in a corner to help.
Cheers to improving your presented image while reporting out your project progress and status in the morning, and showing off the kids brightly in the evening family call.
About a year ago I had a conversation with a professional friend about our work arrangements at the time, and what we’d do in terms of bench setup if we each were to do full-time independent consulting and contracting. Almost immediately we unanimously agreed on having two (2) computers.
The rationale is pretty obvious: loss of use of computing tools for design and development is a major risk to revenue when you’re the invoicing party. However, being stuck in the water when your only corporate issued rig gives up isn’t fun either.
I was reminded of that think-storm session earlier this week, right in the middle of a rather intense sprint.
Luckily, this halting-on-boot laptop wasn’t the only computer I have for development, because otherwise it would have been very inconvenient in the project support, and a potentially major hassle should major servicing be required during COVID-19 shelter-in-place.
I experienced no loss to productivity because I perform most development with another computer that is my daily driver. On the table next to it is my secondary computer, which while not identically configured, can stand in with the same tool chains should need arise.
Of course, a sound data backup and recovery plan is always necessary and most people (hopefully) have that in mind, especially as some computer models tightly integrate storage modules rendering recovery difficult when the system fails to operate. Redundancy in workstations and other important tools may not often be in the forefront of thought, but is an important consideration. Even if you’re able to pick-up a new computer from the store within the hour, it may take a day or so to load up your software tools to get back to being productive.
It took me a few months to determine the most appropriate redundant systems strategy. At first, I had thought of keeping two mostly identical computers but realized quickly that one of them would most likely collect dust. Two exact setups are also potentially vulnerable to same-time failure if for example, the OS vendor pushes out a faulty automatic update.
I presently settled upon maintaining complementary platforms that are able to either host cross-platform tools natively and/or virtualize operating environments that can be replicated. This way, the computer resources all get utilized on a regular basis and have enough overlap should one fail at an inopportune time.
Q1-2020 has featured audio-video conferences in the spotlight. While the benefits and value of remote collaboration is greatly acknowledged and appreciated, there are some privacy and security concerns that come along for the ride.
What video conference/meeting vendors do with account access and account data once on their platform is really up to their practices. However, for concerns regarding what the vendor client tools might do in regards to residual background processes or adding additional unwanted software packages, you have some mitigation options through containment.
Dedicate a computer for conference meetings.
Vendor clients have no access to local data on your primary workstation due to air-gap.
Yet another computer to own and maintain. Won’t allow you to directly share content you might need on your primary workstation, unless you go through setting up network file sharing which is not without its own concerns.
Dual-Boot: One computer but two disks/partitions. Similar pros/cons as dedicated computer.
Can run in parallel within your workstation in it’s own container. No to (relatively) low hardware cost. Can share content with your host workstation through VM filesharing.
Your Performance May Vary. Definitely will want to do some preflight testing and have a backup ready to go should system fail to perform adequately during a call.
For our discussion, we’ll focus on virtualization. Before we continue…
THE DISCLAIMER:The contents of this article are intended for your personal use on your privately owned computing tools. Please adhere to your company’s policies and usage specifications for software, subscriptions, and computer tools provided to you for company use. DO NOT use this guide to circumvent company IT policy. Don’t blame me if Nick Burns your Company’s Computer Guy becomes angry and sarcastic with you. Other usual at-your-own-risk, no warranty, no liability disclaimers also apply.
Oracle Virtualbox is a free virtualization software that runs on Windows, Mac, and Linux hosts. It allows you to setup a virtual computing environment and allocate CPU, Memory, Video, storage, USB, file, etc resources to expose to the virtual …box.
For “Guests”, that is, the operating system running inside your container, Virtualbox supports several systems. However, Linux is free and easily accessible. I suggest Linux Mint.
A note on versions: The procedure in this article uses a Linux Mint 18.3 XFCE Host, using VirtualBox 5.2, and running a Linux Mint 18.3 XFCE guest. For whatever reason, the GUI presented in VirtualBox 6+ doesn’t play well with my 4k/UHD display, and Mint 19.3 apparently needs a Video Controller option that is only presented in VirtualBox 6+ to work correctly.
Download and install the VirtualBox software, and the associated extensions package. Then download the Linux ISO of your choice.
In VirtualBox, press “New” to create a new system profile.
Give your new system a name, set the type to Linux, and select the closest “Version”, then press Next.
Select “Create a virtual disk now” and press Create
Be sure that VDI is selected, and press Next.
I’ve only ever used “Fixed Size” because I have the Need for Speed
For your ‘physical disk’, give it a name/location, and size it just a little more than the minimum system requirement.
Wait for the virtual disk to be created. If the disk is created on an SSD, it won’t take long.
In the left panel of the VirtualBox utility, right click on your newly created system and select “Settings…”
Select “System” in the left pane, and within the “Motherboard” tab, give your virtual system at least 4 GB (adjust more or less, now or later, depending on the performance you are achieving, or available physical memory).
Within the Processor tab, give it as many ‘processors’ you have in the green range, again: more or less depending on performance. This is an allocation setting, meaning the VM will use up-to the specified value.
Select “Display” in the left pane, and within the “Screen” tab, tune the Video Memory if needed.
Go to the “Storage” pane selection, select the virtual optical device, then expend the menu to choose a disc image.
Navigate to the Linux ISO you downloaded earlier. Then Press OK
Just showing the USB Controller setting here. I think it defaults to USB 2.0 (EHCI). If your webcam is choppy within the VM, try changing this to USB 3.0, if supported on your computer.
Close out the settings dialog. Press Start to launch the VM. It should boot up with a “BIOS”, then boot from your Linux ISO.
Press Enter on the keyboard to go. You may to click in the VM window first. –To free the keyboard/mouse from the VM if it locks inside the VM, press the right CTRL key on your keyboard.
The LInux Live CD image should complete booting monetarily into a GUI system. Let’s test that your webcam works.
Open a terminal window, and type in
sudo apt-get install cheese
then press enter
From the VirtualBox menu bar, go to Devices->Webcams and select your webcam to attach to your VM.
Launch the Cheese from the Applications Menu
Verify that your webcam works. If it’s choppy, shut down the VM and try changing the USB setting from earlier, and try it again.
Close out the Cheese utility.
While we could just go conferencing with the live image load, you’ll have to reinstall application with every instance. Instead, let’s go ahead and install the OS to our virtual disk. Couple click on the Install icon on the desktop inside the VM. The Installer will launch.
Select your language
Check the box to install third-party software.
From here, just go with the defaults and press Next/Continue to install the system. We’re only using this VM for conf calls so this is good enough configuration.
When the installer finishes, it’ll prompt you to reboot. Go ahead. Press enter when it says to remove the boot image, and the VM will restart into the installed system.
Once rebooted into the installed system, pull down the “Devices” menu from the VirtualBox menu bar and select “Insert Guest Additions CD image…”
Double-click on the “Home” icon to open the file browser, select the mounted CD image. Right click in the file area and select “Open in Terminal”
In the terminal, enter
Follow the prompts to install the Guest Additions package. When finished, restart the VM.
With the VM restarted, you should be able to resize the VM by resizing the running Virtualbox window, and/or setting the screen size from the menu.
Its generally a good idea to run system updates right after a new install. Double click on the blue (i) shield in the lower right notification area to bring up the update manager. Follow the prompts to update the utility and system packages.
From here, you can certainly use the installed Firefox browser to access web resources, download and install Chrome if you wish, and access conference via web browser.
For WebEx, the limited testing I did with my account indicates positive potential.
For Zoom (yea, yesIknow…), well I had some stability issues running within the browser within the VM earlier and ended up first resorting to using browser on the Host side (real) computer. Ultimately I ended up running their desktop client so I could see all videos (gallery view) at the same time…then uninstalled it.
I did install the Zoom application within the VM for next Zoom meeting. You can find the download on their website.
Once installed and launched, you get option to join meeting.
Virtualization is quite nifty for containerizing not only for running dodgy conference applications, but its also good for multi-platform testing and computer consolidation. VirtualBox is certainly not the only player in VMs (see VMware and Parallels) and you have your choices in Host and Guest systems.
Online web presence is a requiem for practically every business big and small. Dutifully, that includes establishing a proper web site and appropriate domain name to represent the business.
Oftentimes however, I observe small businesses such as favorite mom & pop dining establishments, or real estate agents, go through the effort of setting up [business_name].com for a web site address, only then to use an email address such as [business_name]@[POPULAR_FREE_EMAIL].com
It certainly works, but definitely could be better. –Potentially worse for professional image if the email goes to an uhm “legacy” internet service provider host. It would be great to setup contact email addresses to use the same domain name. Fortunately, it’s not too hard to accomplish, without having to run your own email server or migrate your existing email accounts.
What you’re going to look for is “Email Forwarding” or “Email Alias.” Once setup, what this will do is the domain will receive any emails addressed to “firstname.lastname@example.org” and forward it to whichever email address destination you’ve set. So even if you use Gmail, Yahoo, Hotmail, or AOL email, you can print your business cards and other promotional materials with an @your_business_name.com email address.
Where to find this setting will depend on your current configuration.
a) If you contracted with a consultant to manage your online presence and have a turnkey service agreement with them, by all means contact and let them know you want an email address at your domain to forward to your usual email address. You can still continue reading below as reference to what your consultant might do.
If you’re managing things partially or fully on your own, then either of these will likely apply:
b) Your domain is setup with a registrar and it points an IP address to a server hosted with another provider – chances are you’re using your registrar’s default DNS server. Somewhere within your host-records configuration there should be an option for Email Forwarding or Alias. If you’re unsure, look through the registrar’s support knowledge base or contact the support team
Other providers should have similar configuration options.
c) If you go into your registrar’s domain setup and you don’t see these DNS options, your domain might be setup to use a non-default nameserver. This may be the case if you’re using the same company for domain and hosting where they have you setup with their “web hosting nameserver”. If the web hosting side presented you a cPanel control panel, you might find the email configuration there.
So far, you can receive emails addressed at your forwarding alias.
No matter what, if you’re writing emails from your Gmail/Yahoo/et.al account, the email headers will show that it is originating from Gmail/Yahoo/et. al.
However, you can set your email account’s “Reply-To” address to your domain forwarding email address. This way, when someone replies to an email, your ‘name@your_business_name.com address will be in the “To:” field. In Gmail, its under Settings->Accounts and Import.
Now, when you go to draft emails, you should get a drop-down option in the “From:” field.
Send some test emails between yourself, maybe get a friend to test it out for you as well to make sure all works as expected. Now you can have consistency with your web address and email address.