@adafruit@mastodon.cloud titelbild
@adafruit@mastodon.cloud avatar

adafruit

@adafruit@mastodon.cloud

Limor "Ladyada" Fried - Adafruit is a USA Manufacturer, open-source hardware, certified Minority and Woman-owned Business Enterprise (M/WBE) Teaching, sharing, #engineering #DIY #electronics #opensource #opensourcehardware #hardware #python #circuitpython #arduino, #raspberrypi #art #hacking... account is managed by @ladyada @ptorrone no bots, all toots are from either ladyada or pt, blame them :)

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Coming soon - Soil sensor gets a square wave update

After pondering the Multi-Year Soil Sensor Thread over at https://zerocharactersleft.blogspot.com/2011/11/pcb-as-capacitive-soil-moisture-sensor.html we decided to make another prototype of our revised I2C soil sensor, this time we'll use the square wave filtering technique rather than the RC-rise-time system.

adafruit OP ,
@adafruit@mastodon.cloud avatar

We need a few more components to rectify/average the square wave signal, this is our rough draft. on the attiny816 we might be able to generate a 5 or 10MHz square wave. we also moved the AHT20 to be on a second set of pins we'll bitbang to read the temp/humidity. That way we can chain multiple sensors if desired.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

USB C plug breakout prototype testing

We finally got our USB C plug breakout prototypes put together and now its time to test! of course we love to use our own breakouts when verifying functionality so here we're using our switchable USB adapter to check functionality: power, ground, D+ and D-. if a device enumerates we know its good! we tested the CC line by plugging it into an apple wall adapter: they're picky about having a 5.1K resistor on the CC pin.

video/mp4

adafruit OP ,
@adafruit@mastodon.cloud avatar

that worked too - so now we're good to book final PCBs.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Prototype board with the DS2484

We had a customer request for an I2C to 1-Wire converter: handy for when you don't have a spare GPIO, or maybe you can't do fast pin toggling, or maybe you have a single board computer or desktop that you want to connect to 1-Wire devices like the DS18B20. so we spun up a prototype board with the DS2484 (https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/DS2484R-T/5020823)

video/mp4

adafruit OP ,
@adafruit@mastodon.cloud avatar

the latest version from Analog Devices. here i'm testing out my code: with multiple DS18B20's, some TO-92's (https://www.adafruit.com/product/374) and a wired sensor (https://www.adafruit.com/product/381) that i can dunk in a teacup to verify it reports the temperature right.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

DS2484 I2C to 1-Wire converter

In theory, there's a lot of 1-Wire devices out there, but in reality almost everyone uses 1-Wire for DS18b20 temperature sensors. the long wire lengths and ease of 'chaining' by sharing a single bus wire makes it perfectly fine for this purpose. you can bitbang 1Wire on most microcontrollers, and some SBCs like Raspberry Pi have kernel module support. (https://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing)

adafruit OP ,
@adafruit@mastodon.cloud avatar

But there might be chips without the 1-Wire capability, or maybe you want to use 1-Wire devices on your desktop computer or other SBC with I2C but no 1W.

by special request! this is a DS2484 (https://www.digikey.com/short/5f85v4tf) Stemma QT board that uses the newest I2C-to-1W controller chip, with ESD protection and support for split supplies.

adafruit OP ,
@adafruit@mastodon.cloud avatar

you can easily connect it to an existing I2C bus and then use the screw terminals to attach multiple DS18b20's - this library looks promising (https://github.com/pilotak/DS248X) for Arduino. Coming soon!

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Preview - Stemma plug-n-play adapter for DS18B20's

one of the perks of working at adafruit is you get to request hardware - and you'll probably get fast turnaround! one of our adafruit.io dev's requested "an easy way to chain DS18B20 sensors for testing with adafruit.io's wippersnapper service" (https://learn.adafruit.com/using-ds18b20-temperature-sensor-with-wippersnapper) at 11:54am and after a few back-and-forth's we spun up this prototype idea.

adafruit OP ,
@adafruit@mastodon.cloud avatar

you can use JST 3-pin cables (https://www.adafruit.com/product/4336) to 'chain' the adapters. then screw terminals mean you can easily connect DS18B20's in TO-92 (https://www.adafruit.com/product/374) or cable style (https://www.adafruit.com/product/381). there's a 4.7K signal pullup on board that can be disabled by cutting a trace, and a buffered signal LED that will let you know when there's data transmission on the 1-Wire line. prototype PCBs were ordered at 12:31pm, less than an hour from idea to booking!

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

CH552 QT Py Tester is Ready to Rock

We designed this CH552-based QT Py to play around with this '40 cent' USB-capable chip, and it's been super fun! now the hardware is complete and assembled, its time to test it so it can go into the shop. we wrote a test sketch in Arduino (https://github.com/DeqingSun/ch55xduino) board support package to verify the GPIO are working right on the pogo bed.

video/mp4

adafruit OP ,
@adafruit@mastodon.cloud avatar

@adafruit the test output goes to the USB serial port which is then read by a python script. to program it, we use the raspberry pi and ch552tool (https://github.com/MarsTechHAN/ch552tool), we can enumerate, test and program the final neopixel swirl in about 10 seconds.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Preview! More RISC-y endeavors with CH32V203

adafruit OP ,
@adafruit@mastodon.cloud avatar

we had so much fun with our CH552 QT Py design, (https://blog.adafruit.com/2024/04/15/desk-of-ladyada-the-8051-throwback-episode-ch552-deskofladyada-adafruit-adafruit/) we thought maybe we could make a board with it's 'big sister' the "35 cent" RISC-V based CH32V203.

adafruit OP ,
@adafruit@mastodon.cloud avatar

(https://www.wch-ic.com/products/CH32V203.html). this is the CH32V203G6 which is a QFN-28 version of the chip, with 32KB of Flash and 10KB of SRAM. we would have preferred to use the F8 QFN-20 with double the flash and RAM, but this variant part was easier to buy. we wanted to get going quickly so the board layout is 4-layer.

adafruit OP ,
@adafruit@mastodon.cloud avatar

we sorta feel like having a 4-layer board, and the attendant cost, sorta is at odds with such a low cost chip, but we think that converting it to 2-layer would take a couple more hours, and we're getting a bit tired tonight. with UART, SPI, I2C and USB bootloader, we think this is a cute qt for checking out this fun chip.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

TRRS Trinkey makes AT projects EZ

ATMakers emailed and asked if we'd make a Trinkey (https://www.adafruit.com/search?q=trinkey) with a TRRS jack (https://www.adafruit.com/product/5764) on the end, for making customizable HID devices that use simple 3.5mm audio jack connectors. ideally something that will make AT - Accessibility Technology - projects EZ to build and maintain.

video/mp4

adafruit OP ,
@adafruit@mastodon.cloud avatar

here's our take on it, what's interesting is each pin of the jack - including the two switches for tip and ring1 - connect to GPIO / analog inputs on the SAMD21. there's no pre-defined VCC or GND because different switch and joystick makers have different configurations and we might want to change around what pins are power, ground, pullups, etc!

adafruit OP ,
@adafruit@mastodon.cloud avatar

this board will be great for use with CircuitPython to make any sort of AT switch or potentiometer interface super fast, to demo it we've written up a quick CPy sketch that will listen for two switches, and when they're pressed, blink the NeoPixel and emit keypresses as if its a keyboard.

adafruit OP ,
@adafruit@mastodon.cloud avatar

code is in the PR for this board (https://github.com/adafruit/circuitpython/pull/9190#issuecomment-2067764251) since we have great HID support it could also be a mouse or joystick device and it will work with any computer/tablet/console with a USB port.

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Keep your Pico toes Toasty with a DVI Sock

the Raspberry Pi RP2040 has a fun trick up it's sleeve, er, pants! it can bitbang DVI video output from a series of pins using PIO as long as its overclocked enough and you have the PIO peripherals available. we already designed a DVI PiCowbell (https://www.adafruit.com/product/5745), but we rather like the DVI sock design originating from wren6991 (https://github.com/Wren6991/Pico-DVI-Sock)

video/mp4

adafruit OP ,
@adafruit@mastodon.cloud avatar

it's designed to slip on to the 'foot' of a Pico or PicoW and there's a few times where i've thought "oh man I wish I had a DVI sock to test this-or-that" so here's our spin on it, we kept the sockish-PCB, the full-size DVI port, mounting holes, and passives. we added a couple more breakout holes for CEC, Util and HotPlugDetect. this should make our video toaster, er, toaster video projects ez-breezy

adafruit , an Random Englisch
@adafruit@mastodon.cloud avatar

Coming soon - Pixel Trinkey!

We were taking a look at the new Windows 11 HID Dynamic Lighting protocol (https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/dynamic-lighting-devices) and i thought this would be a good excuse to design a small NeoPixel or DotStar driver board. like many of our other Trinkeys (https://www.adafruit.com/search?q=Trinkey) it is running a SAM21E18, which is a small chip, but the 32KB of SRAM can drive nearly 10,000 pixels! we put a 5V level shifter on a SPI peripheral so they could be used as data/clock or,

adafruit OP ,
@adafruit@mastodon.cloud avatar

if you want, two NeoPixel strands. this isn't a super-fancy driver: it isn't NeoPXL8 (https://www.adafruit.com/search?q=neopxl8) where you get dithering and DMA, but it's probably just fine for the vast amount of lighting projects.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine