PocketAdmin – Keystroke Injection Device

This is a keystroke injection device (also called badusb). It is similar to a well-known USB rubber ducky made by hak5, but has much extended functionality, lower price and is also completely open source. It looks and feels like an ordinary USB flash drive, but acts as a keyboard that types in a preprogrammed payload. This payload can do anything from configuring a network to installing a reverse shell, since the device can basically do whatever an admin can with a terminal, but taking only a few seconds. This makes it a very powerful tool for automating sysadmin tasks or use in penetration testing.

Here is quick summary of how PocketAdmin is different from USB rubber ducky (and many others):

  1. Made from inexpensive off-the-shelf parts, with not only open source firmware, but hardware design files as well. This allows the user to do substantial modifications to the design, as well as provides an option to build your own units.
  2. Has a built-in interpreter (compatible with existing ducky script) which takes text files directly, so you never have to install any encoder software and keep converting payload.txt to inject.bin.
  3. Can act as both keyboard and USB disk, allowing for better payloads; the memory chip is integrated, so there is no need to keep sticking SD card in/out of various devices while developing payloads.
  4. Has an OS detection mechanism, which allows you to store multiple payloads simultaneously and have the device automatically pick the correct payload to run.
  5. Extended set of commands for extra functionality, such as: without doing any firmware update the user can set which VID / PID values to use, configure how the device should show up
    (keyboard only / flash disk only / keyboard+disk), change keyboard layout, and many other things.

Hardware

project is designed using KiCad 5.0.2

  • check KiCad pcb file for PCB manufacturing info
  • check KiCad sch file + BOM.txt for component info

Uses integrated full-speed (12Mbit/s) USB2.0 peripheral, with on-board 32MiB flash memory chip for data storage; only 24MiB are available for use due to overprovisioning reasons.

Measured speeds for MSD access : read 728 KiB/s, write 110-150 KiB/s, with higher write speeds being acheived for files smaller than 4MiB. While not very fast, it is enough for most badusb applications.

The pushbutton on the device is referred to as MSD-only button. Normally the payload is run whenever you plug the device into a PC. But if you press and hold this button while inserting the device, it prevents any keystrokes from being typed in and makes the device show up as a flash drive.

Fully assembled unit has dimensions of 59x18x9mm and weight of 8 grams. When opening up the case, be careful no to break the plastic studs near the USB connector and at the opposite (from USB) end of enclosure.

Hardware programmer device used in this project is ST-Link V2

For instructions on how to build and flash the device go check this video:

Firmware

  • programming language used = C
  • flashing software used = openocd
  • IDE used = emacs text editor + Makefile

The firmware was developed on debian 9.7 system, using gcc-arm-none-eabi toolchain (compiler, linker, binutils) and it does use gcc specific extentions. it was successfully compiled and tested with arm-none-eabi-gcc version 7.3.1

depends on libgcc.a, which is included in this repository. linker script, startup code and openocd configuration files are included here as well.

Files usb_rodata.h, hid_rodata.h, msd_rodata.h are not really headers, but integral parts of usb.c, main.c, msd.c respectively. they are not intended to be included in any other files.

For your convenience, a pre-built binary firmware image is available in /extra/ directory. the name format is like this: firmware_RRNNN, where RR stands for board revision (11 = rev 1.1) , NNN stands for firmware version. For example, firmware_12003 means board revision 1.2, firmware version 3

More Information:

Advantech Launches Palm Size Embedded System EPC-U2117

Advantech, a leading embedded computing provider announces its latest fanless embedded system EPC-U2117. The palm-sized system uses the latest Intel® Atom® E3900 processor technology to give a 30% CPU performance enhancement and a 45% graphic performance boost.

EPC-U2117 is designed with dual display output, multiple I/O, and wide range 12-24V DC power inputs, which target smart vending machines, digital signage, smart kiosk, and more. EPC-U2117 is compatible with Microsoft Windows 10 IoT Enterprise, and Linux OS. Furthermore, EPC-U2117 has Advantech’s WISE-PaaS DeviceOn intelligent software integrated for remote system monitoring and management.

Fanless and Palm-size Design with Optimized Thermal Solution

EPC-U2117 is a palm-sized metal chassis which measures only 170 x 117 x 52.6mm for mounting as a desktop PC, or via wall, or DIN-Rail mount. The top extruded aluminum passive heatsink thermal solution is designed for -20 ~60 °C wide temperature operation. It integrates two expansion slots including one M.2 for Wi-Fi or GPU module, and one full size Mini PCIe for 3G/LTE connection or mSATA storage. EPC-U2117 reserves 4 antenna apertures to support wireless connection. With its optimized thermal design and two independent add-on modules for maximum performance, EPC-U2117 offers the best solution for outdoor or harsh environment applications and space limited applications such as outdoor vending machines, passenger information systems, digital signage, smart kiosk and more.

Wide Range Power Source and Dedicated I/O Design for Kiosk and Automation

EPC-U2117 is an ideal choice for applications needing wide range power as it offers 12V to 24V DC input. Customers can directly use our system from different power supplies without extra adapters. EPC-U2117 comes with multiple connectivity and expansion options including one RS-232 and one ccTalk. Furthermore, Intel’s latest processor with better performance makes it fit for smart vending machines or smart kiosks and digital signage. The COM port can also be customized to MDB and RS-422/485 for device control and payment device. It offers four USB 3.0 ports, one audio jack, dual gigabit LAN ports and CANBus for general system control.

WISE-PaaS DeviceOn and Dual Storage for Best System Reliability and Security

EPC-U2117 supports multiple storage, which includes onboard eMMC up to 128GB, mSATA, and 2.5” SSD/HDD for flexible storage options. Customers can install OS and key data in eMMC for best security protection and reliability. If customer request big storage capacity and high data transfer, they can use mSATA or SATA SSD for better storage performance. EPC-U2117 comes with Advantech’s WISE-PaaS DeviceOn software, which offers remote management, system monitoring for better device performance, security, and reliability, and predictive maintenance. WISE-PaaS also supports BIOS/FW OTA to upgrade the system and devices with latest firmware to keep everything running at peak performance.

EPC-U2117 Fanless & Wide-Temp Support

  • Intel® Atom® E3900, series processor; low power, high performance.
  • Supports two gigabit Ethernet and one M.2 & one Full Size miniPCIE module for Wi-Fi, 3G/LTE, mSATA modules.
  • Multiple I/O with 4 x USB 3.0 ports, RS-232 (optional for MDB) and ccTalk(optional for RS422/RS485) ports for data communication.
  • Wide range power input support—12~24V DC input for Industry and transportation.
  • Palm-size, with extended temperature support under -20 ~ 60 °C.
  • Supports Win10 Enterprise 64-bit, Linux OS.
  • Advantech WISE-PaaS/DeviceON SW built-in.
  • Certificated with AWS Greengrass & Microsoft Azure IoT Edge.

EPC-U2117 is a Palm size embedded system solution. It is available now, for more information, please contact an Advantech local sales office, or visit the website.

Bridgetek Looks to Revolutionize Our Workplaces with its PanL Technology

Expanding its PanL building automation portfolio, Bridgetek has now formally launched solutions targeted at the office environment – enabling better use of assets situated there and resulting in significant reductions in day-to-day operational costs.

Through the new PanL Desk Manager (PDM), companies can automatically manage shared working facilities where ‘hot desking’ policies are in place. Desk bookings can be made with utmost effectiveness, so that full utilization of available space is assured and return on the investment is maximized.

Every desk included within the PDM system has a PanL35L display unit placed on it, and these are all connected to a web portal via the office Wi-Fi access points. Designed to comfortably integrate into modern corporate environments, the PanL35L units are stylish and compact (85mm x 70.5mm x 67.8mm). Fully CE and FCC certified, each has a 3.5-inch 320×240 resolution TFT, plus an RGB LED strip indicator (which visually signifies current desk status), built-in buzzer (to alert people of status changes) and 802.11b/g/n-compliant Wi-Fi connectivity.

Staff can set everything up remotely through Microsoft Outlook or by utilizing a downloadable mobile app. By referring to the Desk Viewer (which gives an accurate depiction of the office floorplan), they can see where desks are available at that office location without having to waste time searching throughout the building. In addition, they can determine who has been assigned desk space – thereby allowing them to book neighboring desks if they are working on a particular project with someone. Reserved desk space can be claimed via a QR code. The automatic release feature means that if the person who has booked the space fails to show up on time, it can be made accessible again to other prospective users.

The constituent electronics at the heart of each PanL35L in the PDM system comprises a dual-core 32-bit LX6 microcontroller and a sophisticated BT813Q graphic controller. The display has a 500cd/m2 output brightness and supports the rendering of 16.7 million colors. The PDM’s web portal gives facilities managers a detailed overview of all the desks in their inventory. This can be applied to a floor, entire buildings, or even multiple sites. Using it, they can analyze supply and demand – so that further desk resource may be brought in as required. They can also examine user booking profiles, set time slot duration (and the time before/after booked slots in which desks can still be claimed), allocate desks to certain employees, determine the maximum number of desks that can be booked on any given day and add new desks onto the system with minimal effort (with updates being made to the floorplan accordingly).

Similarly PanL Room Manager (PRM) enables the booking of office meeting rooms. This consists of a series of sleek PanL70Plus display units – all of which have an 800×480 resolution TFT, MEMS microphone, ambient light sensor, buzzer and 1W speaker. Each wall-mounted display unit is located at a room entrance and connected to a centralized hub, with the booking software capable of interfacing with Microsoft Outlook. Through these units, office workers can see which meeting rooms are free at a particular time (and if they are taken, then check who booked them and for how long), as well as making alterations to existing bookings. Access to the room requires entry of a passcode on the PanL70Plus’s touchscreen or swiping of an RFID tag in the office worker’s identity badge.

For more information go to www.brtchip.com

Stratify Toolbox – An all-in-one hardware development tool

As a hardware developer, I keep a number of tools and gadgets handy such as a USB to UART converter, O-scope, multi-meter, SWD/JTAG programmer, jumper wires as well as a few others depending on the situation. The Stratify Toolbox will replace all of these and more.

Features

The Stratify Toolbox is a Wi-Fi-enabled, all-in-one hardware/firmware development tool. It can

  • Analyze serial protocols
  • Log data on it’s SD card (JSON, YAML, TSV)
  • Display analog/digital waveforms on the built-in IPS display
  • Program and debug microcontrollers using SWD/JTAG
  • Generate signals
  • Execute applications developed by anyone using the SDK
  • Do all of the above from anywhere in the world using a Wi-Fi connection

Specifications

  • 480 MHz ARM Cortex-M7 processor (STM32H750)
  • 100 KB’s of RAM for user applications
  • 8 MB QSPI flash (for kernel updates, fonts, user data)
  • MicroSD card slot (supports SDHC with FAT filesystem)
  • Micro USB Type-B device port
  • 800 mAh battery with built-in charger
  • Wi-Fi 802.11 b/g/n WPA2 security, Secure Socket TCP/IP stack (ATWINC1500)
  • 20-pin IO
    • I²C x2, SPI x1, UART x3, I²S x1: slave, master, and monitor modes
    • 10 Channel Logic Analysis Inputs (up to 25 MHz)
    • ADC (0 to 33 V input) up to 3 MSps
    • DAC (0 to 3.3 V output) up to 1 MSps

This project is coming soon on CrowdSupply.com and you can check for more information on stratifylabs.co

MX100Q Series Compact 4-Channel 210W Power Supplies

Mixed-mode regulation merges a switch-mode power conversion design with linear final regulation to give excellent noise and transient characteristics resembling linear supply performance but at greatly reduced weight.

Saelig Company, Inc. has announced the introduction of the AIM-TTi  MX100Q Series Power Supplies, versatile 4-output laboratory power sources which use mixed mode regulation to provide up to 210W of power, shared by up to four outputs, in one compact case.  Mixed-mode regulation combines switch-mode architecture with linear final stage regulation to give performance characteristics resembling a totally linear design but at greatly reduced weight. Each output can provide 0 to 35 volts at 0 to 3 amps, with output combination abilities that extend output voltages up to 70V and currents up to 6A. The MX100Q series provides fine precision output adjustment with a resolution of 1mV and 0.1mA. All relevant information is displayed on a large backlit graphic LCD, with control is via soft keys, a numeric keypad, and a spin wheel.

More than 50 standard range output combinations are available. Advanced features include 50 memorized settings for each output plus 50 further settings for all four outputs together. Multi-On and Multi-Off keys supplement the individual output On/Off keys.  Keys can be programmed to turn the outputs on or off in a timed sequence. The front panel can also be locked to prevent accidental changes to settings.

The MX100Q power supply is housed in a ¾ rack width, 3U high case with front input ventilation. An intelligent fan design minimizes cooling noise. The MX100QP version also adds USB, RS232, GPIB (optional) and LXI compliant LAN interfaces, plus duplicate rear-mounted power and sense terminals.

Key Features of the MX series include:

  • Four independent and full performance outputs
  • Simultaneous display of meters and settings for all outputs
  • Instant access to voltage/current setting for any output
  • Multiple ranges on each output for wider voltage/current choice
  • Instant individual on/off control plus sequenceable multi on/off
  • Up to 250 memory settings for individual or multiple outputs

Typical applications for the MX100Q range include: medium to high power bench-top applications requiring multiple outputs; situations where voltage and current requirements may vary widely between projects; powering rail-sensitive circuits using on/off sequencing; repetitive testing applications requiring memorized multi-output settings memories; high-density system applications requiring multiple outputs with limited rack space; remote power control applications.

Made by Aim-TTi, a leading European test equipment manufacturer, the MX100Q series is available now from Saelig Company, Inc., Fairport, NY.  

Program ATtiny 0-Series Chips with a Miniature UPDI Dongle

UPDI Programming Stick

Thanks to their tiny size and improved capabilities, the ATtiny-0-Series of microcontrollers have been a delight for designers and DIYers looking for a microcontroller with the ease of use associated with the Arduino boards, but with a way smaller form factor associated with ATtiny microcontrollers. Along with the ATtiny-1-series, the ATtiny-0-Series microcontrollers were meant to serve as a modern replacement for other popular ATtiny chips like the ATtiny85 and ATtiny45. While they have been able to do these with incredible features one challenge users have had over time includes; difficulties in programming the chips, as, unlike the previous ATtiny chips, they use a not so popular programming protocol called UPDI in place of the ISP protocol used by the previous series.

To solve this, several programmers have developed various ways through which the Attiny-0-series can be programmed. One of them was discussed in one of our previous tutorials, but for today’s tutorial, we will look at the most elegant way we have seen so far; the UPDI Programming Stick developed by David Johnson-Davies.

This programmer is based on the Atmega328P and can really be said to be an Arduino Uno on USB. It uses the Atmega328P microcontroller as the UPDI programmer while the FT231 serves as the USB to UART converter facilitating data exchanges between the programmer and the computer. As mentioned above, the device can also be used as a limited Arduino Uno, for the reason that the digital pin 6 of the Atmega328P which is compatible with the pin 6 on an Arduino Uno, is broken out so it can be used for Arduino related acts.

While the programmer can be bought from different electronics component online stores, the maker in us would love to build our own and since the design is open-source we have all we need.

Thus for today’s tutorial, we will examine how you can build your own version of the UPDI Programmer stick.

Program ATtiny 0-Series Chips with a Miniature UPDI Dongle – [Link]

Alpha and Omega Semiconductor Introduces 18V 2A, and 3A EZBuck

Synchronous DC/DC Buck Regulators Feature Lower Quiescent Current and Proprietary Light Load Mode to Achieve up to 6% Higher Efficiency in Standby Mode

Alpha and Omega Semiconductor (AOS) introduced AOZ6682CI and AOZ6683CI. These devices are high efficiency, simple-to-use synchronous buck regulators. The AOZ6682CI and AOZ6683CI are both available in an ultra-thin, thermally enhanced TSOT23-6 package and deliver 2 A and 3 A output current, respectively. The new devices offer high efficiency over the full load range, allowing greener power conversion for a variety of consumer electronics applications such as LCD TVs, set-top boxes, high definition Blu-Ray™ Disc Players and Networking terminals.

The AOZ6682CI’s Efficiency vs Output Current. VIN = 12 V.

The new devices incorporate a low resistance synchronous buck power stage that enables up to 95% efficiency. Combined with a thermally enhanced package, the AOZ6682CI and AOZ6683CI achieve 10 °C cooler operation at full load compared to similar competing devices. Under heavy load conditions, the devices operate in a fixed frequency continuous-conduction mode (CCM). At light loads or in standby mode, the devices employ a proprietary pulse energy mode (PEM) control scheme. This control scheme and low quiescent current of 200 µA, allows the buck converter design to achieve industry-leading efficiencies of 89% at light loads.

Pricing and Availability

The AOZ6682CI and the AOZ6683CI are immediately available in production quantities with a lead time of 12 weeks. The unit price is $0.42 for the AOZ6682CI and $0.52 for the AOZ6683CI in 1000 pc quantities.

Program ATtiny 0-Series Chips with a Miniature UPDI Dongle

Thanks to their tiny size and improved capabilities, the ATtiny-0-Series of microcontrollers have been a delight for designers and DIYers looking for a microcontroller with the ease of use associated with the Arduino boards, but with a way smaller form factor associated with ATtiny microcontrollers. Along with the ATtiny-1-series, the ATtiny-0-Series microcontrollers were meant to serve as a modern replacement for other popular ATtiny chips like the ATtiny85 and ATtiny45. While they have been able to do these with incredible features one challenge users have had over time includes; difficulties in programming the chips, as, unlike the previous ATtiny chips, they use a not so popular programming protocol called UPDI in place of the ISP protocol used by the previous series.

UPDI Programming Stick

To solve this, several programmers have developed various ways through which the Attiny-0-series can be programmed. One of them was discussed in one of our previous tutorials, but for today’s tutorial, we will look at the most elegant way we have seen so far; the UPDI Programming Stick developed by David Johnson-Davies.

This programmer is based on the Atmega328P and can really be said to be an Arduino Uno on USB. It uses the Atmega328P microcontroller as the UPDI programmer while the FT231 serves as the USB to UART converter facilitating data exchanges between the programmer and the computer. As mentioned above, the device can also be used as a limited Arduino Uno, for the reason that the digital pin 6 of the Atmega328P which is compatible with the pin 6 on an Arduino Uno, is broken out so it can be used for Arduino related acts.

While the programmer can be bought from different electronics component online stores, the maker in us would love to build our own and since the design is open-source we have all we need.

Thus for today’s tutorial, we will examine how you can build your own version of the UPDI Programmer stick.

Required Components

Since the idea behind the project is to make a solid board, the project is implemented on a PCB and to reduce the size, most of the components used were SMD, with the USB Male-type connector being the only through-hole component. The components used are provided in the table below;

Qty Item Value Size Typical parts
1 USB Interface FT231XQ-R QFN 20 FT231XQ-R on Farnell
1 Microcontroller ATmega328P QFN 28 ATmega328P on Farnell
2 Resistor 27Ω 0805
3 Resistor 1kΩ 0805
3 Resistor 4.7kΩ 0805
1 Resistor 10kΩ 0805
1 Resistor 0805 Or a wire
2 Capacitor 18pF 0805
2 Capacitor 47pF 0805
2 Capacitor 100nF 0805
1 Capacitor 10µF 0805
1 Crystal 16MHz 18pF 3.2 x 2.5mm ABM8-16MHz on Farnell
3 LEDs Red, Green, Yellow 0805
1 Header 1×3 Male 0.1″ pitch
1 Plug USB Male Type A Through Hole USB Male Type A Connector on SparkFun
1 PCB Double-sided 16.5 x 21.6 mm

The fact that most of the components listed above are SMD, means, to be able to build the project successfully, it is important that you have all you need for SMD Soldering, including the tools (like a reflow oven/Hot air gun), skill and experience, especially when it comes to soldering the QFN package components. For those who do not have access to SMD soldering requirements, the Breadboard version of the project can also be built using a through-hole version of the components.

Schematics

The schematic for the project is provided in the image below:

Schematics for UDPI programmer – source: www.technoblogy.com

It features two main ICs: the Atmega328p microcontroller and the FT231 USB to UART Converter.  The ATmega328p acts as the UPDI programmer and the FT231 FTDI Chip serve as the USB to UART converter, converting the USB signals from the PC to UART for the ATmega328p and vice versa. One of the key design considerations implemented on the board is the creation of three extra pads along with the UPDI Programming pins on the edge of the board. The extra pins provide the user with an ISP port through which users can upload a bootloader to the ATmega328p.

The project files including; schematics, PCB and Gerber files were created using Eagle CAD and all the files for it are attached under the download section.

Assembling Tips

SMD Soldering is a tricky task for both beginners and experts alike and it becomes even more tricky with QFN Package components. To reduce the chances of errors with the QFN Package components, David made suggestions on how to go with the soldering. He described a procedure that involves the use of illuminated magnifying glass. First, put a small blob of solder paste on each pad and then position the components using a pair of tweezers. With that done, the components are heated with a Youyue 858D+ hot air gun at about 250°C until you can see molten solder glistening around the border of the component. Let it cool off and the component should now be firmly attached to the board. The same procedure can be adopted for the other SMD Components while the header pins and USB can be soldered using a normal soldering iron.

The compact nature of the board means the components are quite tight. Ensure they don’t end up a touch after soldering and if necessary, reheat the board and move them apart slightly to ensure no bridge.

Software

While the ATTiny-0-Series programmer can be flashed using several tools like Atmel Studio among others, we understand the average maker wants to be able to write code for them, just like with the Arduino code. As a result of this, we will keep the focus on programming it with the Arduino IDE. Like with every board/microcontroller, programming with the Arduino IDE requires an Arduino Core. This requirement has been sorted for the ATtiny-0-series with the new Arduino core for the new ATtiny chips, developed by Spence Konde and his collaborators, called megaTinyCore.

Setting up the megaTinyCore on the Arduino IDE is described in our previous tutorial where we also described how you can create a makeshift UPDI programmer by running ELTangas’s jtag2updi code on an Arduino Uno or Due. This same Jtag2updi code is the same code that we will upload to our build via ISP to transform it into a UPDI programmer as it also runs the ATmeg328p microcontroller, the same as the Arduino Uno. However, before the software can be uploaded, we need to install a bootloader on our board so it can be programmed with the Arduino IDE.  Follow the steps below to install the bootloader.

Installing the Bootloader

1. Solder a wire link in the position of the 0Ω resistor on the board. This connects the reset line to the microcontroller.

2. Solder wires to the MOSI, MISO, SCK, and RESET pads on the board, and connect these to header sockets that you can connect leads to. I recommend using very fine wires for the connections, so you don’t inadvertently lift the pads off the PCB. The other option is to solder header pins directly to the board.

3. Connect a 3-pin header to the three terminals at the top of the UPDI programmer PCB so you can use this to connect GND and 5V to the board.

4. Connect an ISP programmer to the board via the six wires you have provided. Do note that this could be an Arduino board like the UNO.

5. In the Arduino IDE choose Arduino/Genuino Uno from the Arduino AVR Boards section on the Boards menu, and set the Programmer to ArduinoISP if using the Arduino UNO or to the corresponding programmer name if using any other programmer.

6. Select the Port to which the Programmer is connected and Choose Burn Bootloader to upload the bootloader to the board.

Test the bootloader

With this successfully finished, you should now have the bootloader installed on the UPDI Programmer. You can test the success of the bootloader flashing process by uploading the Arduino Blink example to the UPDI Programmer via the USB port. Launch the example by going to File -> Examples -> Basic -> Blink. Select the board type, along with the port to which the board is connected. Hit the upload button and if all is well the red LED should flash on the UPDI Programmer Stick. If this fails, make sure you’ve uploaded a bootloader as described in the previous steps.

With the bootloader tested, the next task is to upload the jtag2updi code to the board.

Upload the UPDI Programmer Sketch(jtag2updi)

Follow the steps below to upload the jtag2updi programmer sketch to the UPDI Programmer stick.

  1. Download the UPDI programmer sketch
  2. Extract the zip file and open the jtag2updi folder.
  3. Open the jtag2updi.ino sketch with the Arduino IDE, connect the UPDI Programmer stick to your computer via USB and upload the code just like you did for the blink sketch above.
  4. Remove the wire you fitted earlier in the 0Ω resistor position on the UPDI Programmer board

That’s it, the board is now ready to be used as a UPDI Programmer but we have one more step to take. The UPDI is a protocol that is not part of the list of the programmer protocols that were shipped with the Arduino IDE. As such, for the Arduino IDE to recognize the board as a programmer, the megaTinyCore needs to be installed in the IDE. Steps to installing the megaTinyCore have already been covered in our last tutorial, in which we examined how you can turn an Arduino nano into a UPDI Programmer. You can follow those steps to install the megaTinyCore on the Arduino IDE.

Programming the Chips with the UPDI Programmer

The UPDI Programmer stick is ready and the Arduino IDE is ready for UPDI Programming. Follow the steps below to program your ATtiny-0-series microcontroller.

1. Connect the ATtiny to the UPDI Programmer stick as shown in the image below:
The connection is quite straightforward but the pin-pin connection between the Programmer and the Attiny is illustrated below to prevent mistakes:

Programmer – Attiny
GND – GND
5V – VCC
UPDI – UPDI

2. With the microcontroller connected to your Arduino UPDI programmer, we are now ready to upload code to the ATtiny.

3. Open or write the code you would like to upload. Verify the code to ensure that there is no error, then go to Tools -> Board, and scroll down till you see the ATtiny you are working with on the list and select it. The ATtiny boards will be automatically installed after you install the megaTinyCore.

4. This should update the parameters being displayed when you click tools. Now we need to tell the Arduino IDE to use our programmer. To do this, go to Tools->Programmers (towards the end). Scroll down on the pane and select jtag2updi (megaTinycore) as your programmer.

5. With that done, your screen should now look like the image below when you click on tools;

6. This means all lights are green. Now select the port to which the Programmer Stick is connected and hit the upload button on the IDE. You should immediately see the upload process and when complete, the microcontroller should perform as programmed.

There you go! Compared to the former ATtiny microcontrollers, these new series of MCUs come with higher amount of flash memories, cost a whole lot less and are all-around more efficient compared to the previous set as such they should probably be considered when next you are making the choice of a tiny low-cost, low-power microcontroller for your project and thanks to today’s project, you have a permanent programmer to sort their needs.

High-Performance FPGA Modules with SuperSpeed USB 3.0 Interfaces

The capabilities of sensors and sensing systems have grown considerably in recent years, making data acquisition (DAQ) systems increasingly complex as the amount of data flowing and the processing required in these systems multiplies. FPGA devices are perfectly suited to high performance DAQ because of their flexibility, configurability, performance, and parallel processing capabilities. Data ingress and pre-processing with FPGAs is unmatched with any other technology.

From custom machine vision cameras to extremely sophisticated research-grade metrology and cutting-edge LIDAR systems, Opal Kelly modules and the FrontPanel SDK allow our customers to focus on their core competency to leap ahead of the competition and stay on the bleeding edge. Engineers leverage FrontPanel, relying on a proven system for professional-grade USB connectivity.

The XEM7310MT Artix-7 based FPGA module offers a turnkey SuperSpeed USB 3.0 host interface using Opal Kelly’s FrontPanel SDK. System designers can build fully-operational prototype and production designs quickly by integrating this device into their product. From multi-sensor aggregators to high-speed JESD-204B data acquisition and software-defined radio, the XEM7310MT provides multiple interfaces to manage data ingress and egress with the flexible and efficient power of FPGA processing to offload host processors.

Visit opalkelly.com to see our full line of FPGA modules for data acquisition and other FPGA applications.

XEM7310MT Product Features:

  • Xilinx Artix-7 XC7A75T or XC7A200T
  • SuperSpeed USB 3.0 interface (Cypress FX3) for configuration and data transfer
  • Measured performance over 340 MiB/s
  • 1-GiB DDR3 with 32-bit data bus
  • Low-jitter 200 MHz clock oscillator
  • 136 user I/O including MRCC and SRCC pins
  • 1 Gigabit Transceiver Quad (4 tx pairs, 4 rx pairs, 2 ref clk pairs)
  • FrontPanel SDK: Complete Application Programmer’s Interface (API) in C, C++, C#, Ruby, Python, and Java

Additional Product Information: https://opalkelly.com/products/xem7310mt/

Temperature sensor accurate to 0.25°C

The STTS22H temperature sensor from STMicroelectronics offers high accuracy with low operating and standby current and flexible operating modes. By Gina Roos @ electronicproducts.com

STMicroelectronics has launched its STTS22H temperature sensor with typical temperature-reading accuracy of 0.25°C and low operating and standby current. The device enhances temperature and heat-flow monitoring in asset trackers, shipping-container loggers, HVAC systems, air humidifiers, refrigerators, building-automation systems, and smart consumer devices.

The STTS22H is I2C and SMBus 3.0 compliant, and supports flexible operating modes including configurable output data rate (ODR) down to 1 Hz, a power-saving one-shot mode, and an interrupt pin that supports SMBus alert response address (ARA). This allows the sensor, as an SMBus slave, to signal the application if a user-programmed upper or lower temperature threshold is exceeded, said STMicroelectronics. Programmable I²C/SMBus slave addresses allow up to two STTS22H sensors to share the same bus.

The device offers very low power consumption. It draws only 2.0 µA at 1 Hz ODR and 1.75 µA during periodic one-shot measurements, which extends the runtime of battery-powered devices. In standby mode with the serial port inactive, the STTS22H draws only 0.5 µA (typical). In addition, the 1.5-V to 3.6-V operating-voltage range allows use with various power sources such as a small lithium cell.

The fast-acting sensor offers a conversion time of 5 ms, and provides 16-bit temperature data. Devices come factory-calibrated and maintain the 0.25°C typical accuracy over the temperature range of -10°C to 60°C, eliminating any need for user calibration, according to the company.

The STTS22H, packaged in a 2.0 x 2.0 x 0.5 6-lead UDFN, is priced at $0.49 for orders of 1000 units.

TOP PCB Companies