Stories
Slash Boxes
Comments

SoylentNews is people

Log In

Log In

Create Account  |  Retrieve Password


cafebabe (894)

cafebabe
(email not shown publicly)

Journal of cafebabe (894)

The Fine Print: The following are owned by whoever posted them. We are not responsible for them in any way.
Tuesday October 31, 17
01:18 PM
/dev/random

I expected to be off-line for two or three weeks. Unfortunately, with medical problems, legal problems, accommodation problems and financial problems, at least one month of my time has been consumed with matters unrelated to work. However, for five days per week, I'm in an environment with no television, no radio, no phone and no InterNet connection. Even with a flaky laptop which has led me to draft all text on paper, it is common for me to write more than 3000 words per day. For example, the specification for the cell networking protocol is more than 19000 words. I also have seven draft articles pending with two publications. Around this, I have:-

From this, I have made scattered progress. Specifically:-

  • It is possible to make a 6502 cell network switch with 1KB RAM but this only works if the cell size is very small and/or it has four ports or less. 2KB RAM allows 24 byte cells and eight ports. Either configuration may require 32KB ROM or more.
  • I found an easy method to optimize bit matrix transpose operations simultaneously on AVR, ARM and Thumb. However, it compiles very slowly.
  • I've applied the technique of defensive programming to electronics. In particular, how to make all circuitry resiliant to unexpected mains electricity without incurring significant component cost or power loss. This is helped by programming and electronics having idioms for common tasks.
  • I found a reference to Dimension 404, which appears to be the SyFy Channel's counterpart to Black Mirror on NetFlix and Electric Dreams on Channel4/Amazon.
  • I found that it is possible to make a Communicator Badge which transmits Ambisonic A-Format audio.
  • I found that it is possible to make a Communicator Badge which works in a conference bridge and places each participant in a different position on a sound-stage.
  • Atmel SAM interrupts are all bottom priority by default and therefore all interrupts are processed sequentially unless specifically configured.
  • Atmel SAM privileges are present by default unless running inside an interrupt or specifically relinquished. (Obvious with hindsight but worthwhile to check.)
  • Don't buy the cheapest Arduino Nano clones because they don't ship with the Arduino firmware installed. Installation requires cursory understanding of SPI, a working Arduino and use of the hateful Arduino GUI. Come back PIC. All is forgiven.
  • I got 4094 logic chip output shift registers working on the first attempt.
  • I have completely failed to get 4021 logic chip input shift registers working. I have also completely failed to get MCP4921 DACs working. I presume the problem is Voltage level incompatibility between 3.3V circuitry and 5V circuitry.
  • An LM317 Voltage Regulator consists of a Zener diode, an operational amplifier and power transistors. An LM317 is slightly less integrated than the trusty 7805 Voltage Regulator but provides significantly more flexibility. An LM317 is typically used in an output feedback arrangement to obtain a Voltage which is a multiple of the 1.25V Zener. For example, a potential divider with 10kΩ and 27kΩ to ground provides approximately 5V. (1+3ish units of the 1.25V.) However, an LM317 also works perfectly fine with no feedback. A potential divider from the input supply provides any ratio plus 1.25 Volts. Although each device handles a maximum of 28 Volts or suchlike, a sufficiently long cascade of regulators allows any input from car battery to European mains to regulated down to 5 Volts or similar.
  • Mains electricity can be rectified with a MOSFET rectifier bridge. If you're crazy enough to connect MOSFET control gates directly to mains then rectification can be acheived with two NPN MOSFETs, two PNP MOSFETs and nothing else. If you want to reduce the gate Voltage to something sane, use the potential divider idiom of resistor, Zener, Zener in reverse, resistor. This can provide something around 5 Volt relative to ground.
  • I sorta understand the difference between live, neutral and ground. That's sufficient for me to stay away from it until I understand it better.
  • A MOSFET with 2 Ohm resistance is problematic when V = I × R, P = I × V and P = I2 × R where R = 2 Ohm and I = 6.6 Ampère. That's a lot of friction.

Random findings:-

Display Options Threshold/Breakthrough Reply to Article Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.