Re: [fpc-other] Re: [fpc-pascal] I found FPC v0.2 source code :-)

2012-01-31 Thread Graeme Geldenhuys
On 30 January 2012 14:44, Mark Morgan Lloyd  wrote:

 A multi adapter set to 3V will give you about 5V lightly loaded, and set to
 6V will give you about 5V on moderate load. The point about the ones that
 Henry cited is that they're mini switchmodes, they've got stable output and
 run cooler than wall warts.


Using the 3V setting doesn't power up my Wireless AP. Using the 6V
setting does, but it ran very hot, so I opted to stop using it until I
could find a 5V adapter.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-other


Re: [fpc-other] Re: [fpc-pascal] I found FPC v0.2 source code :-)

2012-01-30 Thread Mark Morgan Lloyd

Graeme Geldenhuys wrote:

On 30 January 2012 12:05, Mark Morgan Lloyd  wrote:

mainframe switchmode PSUs, so with apologies to the list owner I'm probably
in a position where I have to comment on this for safety reasons.

My advice: don't.


Thanks for the warning. :)



any number of stories about people who've done something that they thought
was safe which has gone on to cause damage or injury.


Same could be said for ridding a motorcycle (which I do often) or even
crossing the road, but I get what you are saying.


Except that riding a motorcycle or crossing the road you have some idea 
of what the conditions are, and have spent a few decades honing your 
skills. Think of riding a motorbike through the Bushveld, and then 
finding yourself on black ice.


Think of the nastiest bit of software you've ever come across, spaghetti 
code with computed gotos (which I guess implies FORTRAN). When it comes 
to maintainability, that's roughly on a par with the best switchmode 
PSU, since you've got power and feedback moving in different directions 
through the same wound component. One of my colleagues spent a while 
designing them, and even he blanches at the idea of a repair.


SMPSUs are the last thing you want to tinker with, not the first. If you 
want to get into electronics fairly painlessly then start off with a 
BASIC Stamp or Arduino (I'm not aware of anything of that scale which 
will run FPC) and some project cookbooks. Also I believe that there are 
maker groups in most cities, although I'm not in touch with my local one.



Things like the output wire on low voltage PSUs are fair game for repair.
You can get spare concentric connectors from RS or Maplin in the UK (Graeme-
I thought you were abroad?)


I lived in the UK for 4 years, and moving back there in 2 months time.


Yell if you're in the Southeast.


unopenable by hand i.e. you /had/ to use screwdrivers etc.) then I'd suggest
looking around for something like a CG-accredited electronic technician
course- which full-time would take years.


When I finished high school (many many years ago), it was a coin flip
between studying pure programming or electrical engineering (light
current) and hardware programming. I opted for the pure software
programming, which has been my career path ever since. But I have
always had the urge to start some part time studies to get an
Electrical Engineering degree - those little colorful bits of
electronics just fascinate the hell out of me (even 20+ years later).
:-)


Thanks for the URL, I'll keep that handy in case I ever need some
electronics repaired.


Bering in mind that he is specifically PSU, and won't touch some types 
since they require proprietary components.


From elsewhere in the other thread, Lars said:

-8-
To keep it on topic, there is programmable hardware available where you
can change the hardware using a hardware programming language. Niklaus
Wirth is interested in such technology. Instead of soldering in capacitors
and resistors, you program in something that emulates a resistor or
capacitor. This makes prototyping circuits much easier because instead of
soldering, you program in the devices you would have otherwise soldered.
The devices are called Field-programmable gate array's I think, and from
what I remember Niklaus Wirth was programming a remote control helicopter
with it, or maybe oberon, it's been so long that I cannot remember the
details. Just trying to keep it a bit on topic.
-8-

There's two things here: the first is Digital Signal Processors (DSPs) 
where you program them to compute a series of equations in real time 
that implement one or more filters. Things like telecoms systems 
(including ADSL modems) are full of them.


Then there's FPGAs, although they're usually programmed in a specialised 
hardware description language. They aren't so much set up to emulate 
resistors etc. as to implement an application-specific CPU and 
associated logic, in some cases the hardware contains a CPU core (e.g. 
Michael Schnell's earlier


-8-
IMHO, the MIPS port is interesting, too, as the NIOS CPU that is 
available as soft core for Altera FPGA uses a very similar instruction 
set and supposedly can be handled as a sub-arch.


There is a very active community for NIOS-Linux that now provides a 
quite decent MMU-enabled Linux port (including the necessary 
Distribution generating Make-based tool chain).


For quite some time I played with NIOS  using a NEEK Dev-Kit from 
Altera. Nice stuff.

-8-

I can't remember for certain but I think it was Nicoud who was involved 
in the helicopters rather than Wirth. Nicoud is notable since one of his 
ETHZ projects was a portable assembler notation, I've wondered in the 
past whether this could be used for compiler implementation but I think 
it's probably less useful than some intermediate notation akin to p-code.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not 

Re: [fpc-other] Re: [fpc-pascal] I found FPC v0.2 source code :-)

2012-01-30 Thread Mark Morgan Lloyd

Henry Vermaak wrote:


I have two pieces of electronics that recently failed, and no easy way
to replace them. One is a small AC power supply to a wireless access
point. It uses a 5V power supply, which I just can't find anywhere
here in South Africa - other that buying a whole new Wireless Access
Point. :-( The other is a SATA-to-USB/Firewire400 adapter. I used it
purely for the firewire port. I can see some bits turned dark/black on
the pc board, and it smells like burn. I just have no clue how to
repair it. Nobody in our area wants to touch it either. :-(


Can't speak for RSA, but this is the reason people don't fix these 
things here:


http://uk.farnell.com/stontronics/ad-05100rbs2-1/adaptor-5vdc-1a-uk/dp/1279510?Ntt=127-9510 


Agreed. The one thing I'd add though is that there's an increasing 
tendency for devices to be powered through a USB connector (even if they 
are not primarily USB peripherals) and unless the consumer remains 
vigilant it won't be long before mass-market appliances start insisting 
that they be mated with a PSU from their manufacturer.


Now granted that there's EU pressure to standardise this, but I'm sure 
that a manufacturer who argued that his PSUs contained extra 
functionality- like Apple's recent patent on backing up a password in 
the PSU- would be able to circumvent it.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-other


Re: [fpc-other] Re: [fpc-pascal] I found FPC v0.2 source code :-)

2012-01-30 Thread Mark Morgan Lloyd

Graeme Geldenhuys wrote:

On 30 January 2012 13:44, Henry Vermaak  wrote:

Can't speak for RSA, but this is the reason people don't fix these things
here:


Just one more reason to add to my list of why I am moving back to the
UK. ;-)  We get those multi adaptors that give 1.5, 3, 6, 9 or 12
volts, but just not 5v. :-(


A multi adapter set to 3V will give you about 5V lightly loaded, and set 
to 6V will give you about 5V on moderate load. The point about the ones 
that Henry cited is that they're mini switchmodes, they've got stable 
output and run cooler than wall warts.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-other