Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Are you saying my designs are indecent?
I was about to try out the 2 x transistor method, but since it is in a DIY custom pcb with only 1 x tranistor, it was easier to rework the configuration
from Source to Sink (using the terminology in your examples).
I like the way you explain your examples too.
Thanks for the photo.
I always put a diode across the coil.
I have used those circuits many times but usually with a max supply of 5V.
I normally use which ever position upper/lower is convenient, but now I will take due consideration.
I've never used a 12v relay before.
I just couldn't...
OK I that makes sense to me.
The 5v relay works connected to the emitter because it would be getting 4.3V which is less positive than the base.
You've also put me straight in my thought process about current flow.
I was thinking Positive to Earth which didn't make sense because I couldn't see...
I had a problem getting a 12v relay to energise.
Suppy is 12v, transistor base supply = 5v (2n2222 etc) i.e. low power GPT
Initially I had the relay coil between the Emitter and Ground. but It would not energise.
When I checked the circuit I found that the input to the coil was about 5v,
When I...
Hi Alchi
Attached is an example using Max7219/21 and 7 segment LEDs and nothing else so it should be easy enough to figure out.
The biggest problem I found with Max7221 was how to set up the registers. You still need to do this somehow with ASM.
Hope it helps
Hi Alchi
Is it just the 7 segments you want help with? I never did get the BME280 to work properly.
I have some simple examples for driving 4 x 7 segement displays with Max7219/21, but they are in BASIC
ASM is a foreign language to me.
If you think it will help I can find them easily enough and...
Easiest way is to just add 3 x pads, the spacing will be 0.1"/2.54mm. Adjust the pad properties to suit.
If you want to make a pattern use Pattern editor and draw some lines around the pads.
Same if you want a component but use Component editor.
Re number 2 of the pads from 1 to 2 & 3 or the...
I'm having problems with an ATMega48/328P program.
Inputs to switch pins are via a push button switch connected to ground with a 10k resistor to 5v
So no switch = 5v , Switch = Gnd = 0v
I normally use 5v switching i.e. pin = 0 until switch press then = 5v, but this application needs earth...
Hi C & I, are you taking the proverbial?
The Code will as it says in the 1st post read all of the data for P,T & H
It/I cannot convert the Math conversion code in the datasheet into a BASIC format, it is needed to convert the data into P,T & H
Otherwise it's just a meaningless set of numbers.
It...
Personally I think the laws on copywrght have become rediculous, ppl can copyright a name just cos noboby else has and all of a sudden you can't eat off of a plate,
it has to be a "device on which to put food and eat from it".
Advert, "45 piece set of devices on which to put food and eat from...
Done. https://www.electro-tech-online.com/threads/spi-code-for-bme280.152470/
Yes I remember your initial posting about the pcb sandwich maker!
Sometimes I get really good results and I think I've cracked it, other times it's back to the drawing board.
Hi
This a partial solution for anyone who is trying to use the BMe280. The Pressure/ Temperature part is very similar if not identical for BMP180/280.
With reference to the Datahseet there are two problems within the code:
1:
Most of the data uses signed 32 and 16 bit variables which...
Well all this grief is not without benefit, I went back to Proton Basic and quickly solved my earlier problems. Just one biggy no sensor output, just a repeating pattern of 0,0,128 decimal.
I've posted on the Proton Forum to see if there's a solution.
If not I think I'll retire from this...
Hi E and C
I agree, I've been fixing my vehicle access restriction Post (Bollard). It's been laying the garage for months awaiting a time slot. It's the sink into the ground type so corrosion & gunk from water ingress often cause problems.
Well I've sort of fixed the code for both Basic compiler...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.