Continue to Site

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.

  • 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.

Recent content by Superdat

  1. Superdat

    12 v Transistor switch Relay load over/under

    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.
  2. Superdat

    12 v Transistor switch Relay load over/under

    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...
  3. Superdat

    12 v Transistor switch Relay load over/under

    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...
  4. Superdat

    12 v Transistor switch Relay load over/under

    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...
  5. Superdat

    SPI Code for BME280

    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
  6. Superdat

    SPI Code for BME280

    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...
  7. Superdat

    Name of component in diptrace?

    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...
  8. Superdat

    Simulator switches not recognised by code

    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...
  9. Superdat

    SPI Code for BME280

    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...
  10. Superdat

    SPI Code for BME280

    Hi C The code works as supplied, the big mountain is converting the horrendous"C" based data conversion to work with Basic.
  11. Superdat

    Oshonsoft with SPI device and Max7219/21

    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...
  12. Superdat

    Oshonsoft with SPI device and Max7219/21

    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.
  13. Superdat

    SPI Code for BME280

    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...
  14. Superdat

    Oshonsoft with SPI device and Max7219/21

    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...
  15. Superdat

    Oshonsoft with SPI device and Max7219/21

    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...

Latest threads

Back
Top