askelectronics

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

LazaroFilm, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?
@LazaroFilm@lemmy.world avatar

For an e-ink display to work you need 4 things.

  • the display itself.
  • a display driver that connects to that flat ribbon cable to the display.
  • a MCU or computer to host your programming and send commands to the display driver
  • power, wether it’s battery, USB, or induction…

You can separate the screen from the driver and have the e paper show the last image. The one thing I’d be worried about is how fragile the components are on the side of the rapper display itself as well as the ribbon cable.

Also, you mention 150+ cards. Think of the time it would take to change each one separately with a dock. Connecting the display to the driver is not hot pluggable you would likely need to power cycle the whole thing at every card. Plus the damage risk of constantly connecting the fragile connectors.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

Thanks, I was aware of some of those obstacles. But this adds a little more detail, to the point where I don’t think it would be economical to repurpose this for this. It sounds like my idea may be possible with current off the shelf tags, but I think the dock would end up being way larger than I was initially imagining. It also seems like I am looking at like a minimum of $500 in parts for a prototype, even if I were somehow able to get the tags for $2 a piece.

You misunderstand the dock interface. The plan would be to insert the ribbon into something more durablee to bridge into the dock to be more like a cartridge. The dock will be expensive as I would plan for either all or most of the “cards” to be docked at once. It wouldn’t be a insert, wait, insert wait, instead it would be insert all the cards into their slots after play.

I also realized that the dock will need to be a little more complex then I originally thought as well. A lot of games have extensive burn and draw mechanisms leading to an extensive set of cards. What you could do is only have the amount of cards you would need in the base set for most of these games that are actually in play at any given time. The rest of the “cards” could be held in the “docks” memory, then “printed” when you draw a new card. It would add a little bit of time to the games, but you could dramatically cut the amount of physical “cards” or tags you need for many games.

LazaroFilm,
@LazaroFilm@lemmy.world avatar

You could potentially modify a game to work with those cards. Making cards able to change state or add extra states (that would usually be extra cards) to a single screen. I like your idea. Maybe the idea would not be a retro fitting but a ground up new mechanics for the mage?

KyuubiNoKitsune, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?

I think your best bet is to look for an appropriately sized electronic shelf labels, there are companies that specialise in them and they are already quite thin, battery powered and have bluetooth or nfc connectivity to change images.

ciko22i3, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?
@ciko22i3@sopuli.xyz avatar

Try finding it on AliExpress. Just search “e ink display” or "e ink screen. The webiste is hot garbage but their app is ok.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

Thanks I did try before, but now I had success. I stumbled upon those little price tags stores use to digitally update prices. Those could possibly work for this.

ciko22i3,
@ciko22i3@sopuli.xyz avatar

good luck

your project sounds really interesting, make sure you post an update when its done

pennomi, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?

Is certainly in the realm of feasibility, at least in a technological level. You can get flexible e-ink displays that are less than a mm in thickness. Typically the hardware that changes the display is the bottleneck on size.

That being said, I have doubts about the idea of “manufacturing for cheap” as even small e-ink displays can cost $20+.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

I did find some 1mm price tags on Alibaba for 3-5$ which could possibly be repurposed. The issue is I really would like to get the price driven down to $2-1, maybe even less… I want this thing to be able to mimic any kind of card game, and some of them have up to 300 cards… I think the plan would be to have 150 card sets. That would cover a lot of games, and if your playing a really nerdy game that does need 250+ cards or something there is a chance your friend might also have a set.

If you could get the price tag $300 or less you could probably get a lot of hard-core tabletop card gamers. I know thats a huge price tag, but the product isn’t meant for the masses.

SpaceNoodle, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?

Even if you find screens that thin, all the electronics you’re going to need to make them usable will add considerable thickness.

mp3, (edited )
@mp3@lemmy.ca avatar

But once the display is updated, the circuitry isn’t really necessary. Maybe you could reduce the thickness and the duplication of circuitry by having a “dock” with the circuitry where you insert the card to update it.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

That’s exactly the idea! They would have pins somewhere on the buttom, you would plug all your “cards” into a dock that would act as a carrying case. There would be an open source website where people can design different games and then you choose one of the games and it refreshes all the cards to whatever game you want to play.

That’s the idea anyway, whether it’s feasible for something people are willing to pay is a different question.

Reader9, in Replacement Bulb for Ultrafire WF-500 Flashlight

I found a few references to this exact model on candlepowerforums.com which I believe has more folks who own(ed) incandescent lights. Not that has been such a long time, but LED technology advanced very quickly. Not sure if that will help your search.

There’s also a few people over on !flashlight !

LazaroFilm, in Replacement Bulb for Ultrafire WF-500 Flashlight
@LazaroFilm@lemmy.world avatar

My opinion: look for a new LED flashlight. It will have the proper circuit and design to take advantage of LED capabilities including high brightness, PWM dimming, power efficiency, and heat management. Adapting an incandescent flashlight will always be a compromise in one of those.

Edit: I have a similar flashlight and I bought a tiny usb-c rechargeable flashlight that is brighter for 1/5 of the size. And for battery life, you can recharge your keychain size light with any usb battery pack.

TCB13,
@TCB13@lemmy.world avatar

Yes, feature and price wise that would be the best decision… but I kinda feed bad trashing a perfectly good machined aluminum piece just because of a bulb. :(

Black616Angel, in Can anyone help how to fix my led?

There is like a multitude of possible reasons.

Can you open it up, without destroying or damaging it?

If so, you would need a multimeter to trace, which components are broken and maybe you can repair them.

NextNoobi,

After opening up, it might also be obvious what’s the problem.

Double_A,
@Double_A@discuss.tchncs.de avatar

Most likely it’s just a worn out micro usb port, which are usually super shitty.

Shortbus, (edited ) in Looking for some Guidance Finding a Power Supply for a CrocSee CRS-7A016 Micro Water Pump (specs in post).
@Shortbus@lemmy.world avatar

Since the pump doesn’t seem to mention it does the pump packaging/paperwork mention how many amps it draws?

Edit I found it. Load current < 350mA

I would think damn near any 12v DC “wall wart” would do it, but the adapter you have may not be the right size for what you have laying around.

Could grab something like THIS that comes with its own adapter.

lossykittens,

Thanks- I got the thing running through a breadboard power adapter of all things, to confirm the pump was still living, so I will try what you linked! I am beginning to wonder if I wired my last adapters’ poles. So, this might have been user error on my part, doh!

czardestructo, in Looking for some Guidance Finding a Power Supply for a CrocSee CRS-7A016 Micro Water Pump (specs in post).
@czardestructo@lemmy.world avatar

What did you hook up? You mentioned using cords? But first off, what you pictured, you need to make sure it’s wired correctly. There is no standard for barrel jacks. The center pin can be positive or negative and the jacket and be positive or negative. If you’re using a generic 5.5x2.1mm female barrel jack most generic 12v power supplies overwhelmingly do center pin positive and jacket negative. Once you get polarity correct check the amperage rating of the supply and the motor. Motors usually require huge in rush current to start and can easily trigger a short circuit protection on the supply output

jjagaimo, in How to improve my battery measurement circuit?

You could use a single MOSFET on the high side of the divider and use a cap + diode to boost the voltage and fully turn on the FET:

https://lemmy.ca/pictrs/image/8b22113e-3ad3-40c1-80ee-e7b3e6be24cb.png

My gate driver is fairly crude but you could probably make something a bit better with a PNP transistor and either pull it down or leave it floating, or instead use a szaiklai pair

nilclass,

Hm, I don’t understand how this is supposed to work - is that a n-channel or p-channel FET?

When I sketch it using falstad’s circuitjs, it looks like the FET (n-channel) is a little bit on all the time

https://discuss.tchncs.de/pictrs/image/dae3ca56-da12-4a48-a023-d3c08c614efb.png

and fully on, when a pulse is applied

https://discuss.tchncs.de/pictrs/image/e929b967-601c-4796-8b42-1f17de54f037.png

Source:

spoiler$ 1 0.000005 10.20027730826997 50 5 43 5e-11 r 144 80 144 176 0 1000 r 0 192 96 192 0 100 t 96 192 144 192 0 1 -8.999999980890745 9.099999980846458e-10 100 default c 144 176 304 176 0 0.000001 -1.7996761414451612e-8 0 f 304 176 384 176 32 2 0.02 d 304 80 304 176 2 default r 384 192 384 272 0 1000 r 384 272 384 352 0 1000 g 384 352 384 384 0 0 g 144 208 144 256 0 0 w 144 80 304 80 0 w 384 160 384 80 0 w 384 80 304 80 0 v 528 256 528 208 0 0 40 9 0 0 0.5 w 528 256 528 352 0 w 528 352 384 352 0 w 528 208 528 80 0 w 528 80 384 80 0 g -48 208 -48 256 0 0 R -48 176 -48 128 0 0 40 5 0 0 0.5 S 0 192 -48 192 0 0 false 0 2 p 384 272 272 272 3 0 0 g 272 272 272 304 0 0___

jjagaimo,

It is an N channel FET. The concept is called “bootstrapping” since Vgs needs to be greater than Vth for the MOSFET to be on. When the FET is on the high side and you want the full 9V on the output, you use the diode to charge the capacitor, and the other side of the cap is 0V. Then, when the other side of the cap is connected to 9V, the charge on the cap can’t go anywhere so the voltage on the other side jumps to 18V. This creates a Vgs of 9V. Ideally you would have something better to drive the gate to fully turn off the FET, but I just used a quick and dirty driver where the bootstrap capacitor directly feeds the gate instead of being the input to the driver. Because if this, the Vgs doesn’t drop completely to 0

nilclass,

Nice, than you for sharing!

I won’t be using this for my measurement issue (the other options are much simpler, and i was aiming for less parts, not more), but I’ll do some experiments to familiarize myself with bootstrapping

WaterWaiver, in How to improve my battery measurement circuit?

You could probably increase the 82K and 10K resistors to be much bigger (by a factor of 10x or maybe even 100x). Lookup the input impedance for the ADC of your model of ATmega, as long as it’s >10x the size of your resistors then your circuit will probably be accurate enough.

A couple more things to keep in mind:

  • a fresh alkaline 9V battery is actually 9.6V or more, not 9V.
  • 9V battery voltages droop noticeably when under load because of their high internal resistance. Make sure to measure under the same conditions.
nilclass,

You could probably increase the 82K and 10K resistors to be much bigger

That’s what I thought initially, but this stackoverflow post dissuaded me. The argument there is that the measurement will be wrong, if the input current is not enough to charge the internal cap within the measurement period. But I’ve done some testing now, and measurements done with 820k and 100k agree well with what my voltmeter measures, so I’ll go with this solution!

a fresh alkaline 9V battery is actually 9.6V or more, not 9V.

Indeed! 9.6V * 10k/92k = 1.04V is still below 1.1V, so I should be fine in this case :)

9V battery voltages droop noticeably when under load because of their high internal resistance. Make sure to measure under the same conditions.

This is a good point!

My firmware will be pretty monotonic though, basically:

  1. wake up
  2. measure battery
  3. measure some other sensors (the actual task of the device)
  4. turn on a transceiver, send all the measurements (including battery voltage)
  5. turn off transceiver & go to sleep

So, the load should be always the same at step (2).

brendan,
@brendan@mastodon.brendans-bits.com avatar

@nilclass

@WaterWaiver

From the stack exchange post: " 10 kΩ or less source resistance is recommended, otherwise the low pass filter effect of the capacitor with the source resistance becomes a major issue, requiring a longer sampling time for conversion and as a result limiting the maximum frequency."

In other words: a higher source impedance (caused by large resistors) is only going to drastically affect the results when you need to take fast repeated measurements (e.g. an AC source)

Yonrak, (edited ) in How to improve my battery measurement circuit?

Could you do similar to diagram 2, but instead of an N-FET use a P-FET between the battery and first resistor in the potential divider?

Add a gate pull up resistor to source to ensure the FET is off by default, have the micro pull the gate down to take a measurement. You’ll probably need to add another resistor on the control pin to 0V to limit the voltage there also, but those two can be much much higher values to really limit current. Or use a zener/TVS diode instead of second resistor to clamp the voltage instead of dividing (more robust).

Switch it with an NFET

The micro will see 0V or divided/clamped battery voltage on the measurement pin.

nilclass,

Could you do similar to diagram 2, but instead of an N-FET use a P-FET between the battery and first resistor in the potential divider?

That’s a great idea! Unfortunately I don’t have a P-FET lying around, so cannot try it right now.

Or use a zener/TVS diode instead of second resistor to clamp the voltage instead of dividing (more robust).

Not sure I understand this point. Which resistor would you replace with a diode?

Yonrak,

Not sure I understand this point. Which resistor would you replace with a diode?

Sorry, I think I was talking nonesense (doing this in my head and just woke up 😅).

Not sure it’ll work with just a P-FET actually. You’ll likely need to control the PFET with a NFET, otherwise you still end up with too high a voltage on your control pin when the FET is off due to the gate pullup (unless you can use a fet with a very high Vgs Threshold and then drive it push/pull from the micro, but this isn’t really best practice).

The above comment about diodes was to protect the microcontroller pin, but you end up not being able to control the FET doing it that way.

I think either your existing Option 3 or PFET upstream of the divider, switched via an N-FET is the way to go.

nilclass, in Can anyone help how to fix my led?

Could you share a picture? I’m having trouble imagining what you are describing

Saigonauticon, in Learning about electronics

Well, you could say that there are three branches of electronics: analog, digital, and discrete (sort of between the previous two). For your goals, you mainly need to learn about digital systems.

What you’ll mainly be dealing with in terms of digital systems are microcontrollers and other embedded systems. I’d say the main two places to get started with those are the Arduino and Raspberry Pi ecosystems. The first is “more pure microcontroller” and the second is “more advanced embedded systems”.

Microcontrollers are mostly programmed in C++ these days (with a few strange people like me using Assembly), and the Arduino ecosystem sort of teaches that. Microcontrollers are usually the most efficient system to make the control electronics for something like a keyboard. Sparkfun and Adafruit are good companies to buy parts to get started from.

Embedded systems like the Raspberry Pi stuff can often run a whole operating system. This is too expensive (power, space, and $) for most keyboard builds, but you may want to learn how to use them for other projects. However, they also make a microcontroller (the Pi Pico) which would be OK and can be programmed in Python.

For advanced computer peripherals, you might need to learn FPGAs. However, that can be a difficult topic to get into by comparison. So maybe leave that for later.

A good way to get started is to buy the parts for, and build, a few Arduino projects. There are specific libraries for making Arduinos emulate a PC keyboard too.

In terms of tools, at first you will just need a breadboard, some resistors, LEDs and jumper wires. Maybe a battery or USB power supply. A multimeter too.

Soon after you will probably want to learn to solder to start making your own standalone devices. You should get a soldering station with temperature control – some people swear by Hakko, myself I have a cheap-but-good Yihua soldering + hot air rework station.

Next, while Sparkfun and Adafruit are great businesses, they are not cost-effective ways to source a lot of parts. You’ll want to learn how to use the part search and ordering functions on Digikey, Mouser, Arrow, and RS Components. Maybe also McMaster-Carr if you do mechanical stuff.

When you have some working designs done, you will probably want to learn KiCAD. It’s software for designing circuits, and laying out printed circuit boards (PCBs) to send to a factory to be made professionally. Through the magic of globalization, this is actually pretty affordable! A typical run costs me 20-40$ for 10 units, and takes 16 business days – although I live in Asia, so it might cost a little more from the USA or Europe.

You’ll also maybe want to learn 3D modelling and printing, for designing cases (I struggle with this more than I’d like to admit). TinkerCAD is an OK place to get started, although tools like SolidWorks are certainly more advanced. You don’t need to buy a 3D printer unless you want to – you can just order your designs made online.

Anyway, the results with KiCAD + 3D printing can be really quite good and can last many years of use. They also let you share your design with others, so other people can make it!

Finally, if there’s a hackerspace / makerspace in your area, these are great communities of people you can learn from. Definitely check them out. They may have a 3D printer you can use, as well as other tools. Often they teach courses too.

One small note – getting from “hey neat this works!” to making and selling a product is (sadly) a really big step. So if you one day want to do that, build a network and ask for advice from someone who has gone through it first.

Cheery,

Man, that was a great read, from simple beginnings to selling your product. Thanks for the thorough explanation, I definitely don’t plan to sell anything, I was considering learning electronics as a hobby, but it’s good to know where to start if it ever comes to that.

Saigonauticon,

Glad to help! I find it quite neat that with effort and time, it’s possible to learn to make quite advanced electronic systems yourself at home. Some of the stuff the more advanced hobbyists make is quite a bit better than a lot of mass-produced goods. We truly live in an age of wonders!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • askelectronics@discuss.tchncs.de
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #