Difference between revisions of "User talk:Daveb"

From London Hackspace Wiki
Jump to navigation Jump to search
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
Dave Brown - hacker in spirit.
+
Dave Brown playing for a while:)
 +
==Project intended to progress sometime in the future==
 +
{|border="1" cellpadding="5" cellspacing="0"
 +
|'''Project''' || '''Status''' || '''Notes'''
 +
|-
 +
|'''Reconfigurable sailing proa'''|| mostly inactive, built small bits || Rob Denny at http://www.harryproa.com has some interesting things to say about Proas and how they could be the basis for a cheap, high performance, spacious sailing cruising boat. Perhaps the ideal cruising boat :). I want to explore the sailing characteristics in a model.
 +
|-
 +
|'''LED lights and lenses for my bike''' || active || http://pilom.com/BicycleElectronics/DynamoCircuits.htm explains the matching of LEDs to bike generators. I plan to have several strings of LEDs with different beam angles and aiming points - and the appropriate string of LEDs turned on for the current bike speed.
 +
Success criteria:
 +
* generate some light at low speed
 +
* generate more light at high speed
 +
* get it too work
 +
* don't break the bank
 +
|-
 +
|'''Visible surge arrestor''' || project || I want to know when power surges happen, and if possible stop them cheaply and quickly. [http://wiki.london.hackspace.org.uk/view/Project:SurgeArrestor Project:Surge Arrestor]
 +
|-
 +
|'''Low viscosity blood'''|| thoughts || I have some more reading to do; but am intrigued by http://customers.hbci.com/~wenonah/new/mcdaniel.htm and http://en.wikipedia.org/wiki/Integrated_Pulmonary_Index
 +
|-
 +
|'''Quiet boxed PCs''' || project || I want to run more than one PC, and the droning gets to me :(  [http://wiki.london.hackspace.org.uk/view/Project:QuietBoxedPCs Project: Quiet Boxed PCs]
 +
|}
  
 
==Project Ideas==
 
==Project Ideas==
Line 5: Line 24:
 
|'''Project''' || '''Status''' || '''Notes'''  
 
|'''Project''' || '''Status''' || '''Notes'''  
 
|-
 
|-
|'''Reconfigurable sailing proa'''|| plan || Rob Denny at http://www.harryproa.com has some interesting things to say about Proas and how they could be the basis for a cheap, high performance, spacious sailing cruising boat. Perhaps the ideal cruising boat :). I want to explore the sailing characteristics in a model.
+
|'''Power efficient raid'''|| idea || Data needs to be written to multiple drives; so a single head-crash does not wipe it out. However, it could be staged to disks sequentially, remaining in memory until it has been written on the 2nd (or n'th) drive. The drives could be spun up more rarely, to simply update the file-store.
 +
Perhaps it can be done using two or more file systems and unionfs; with the data eventually residing on a spinning disk, but initially being saved on ssd. The spinning disk using btrfs to make a sequence of stable snapshots from changes preserved on the ssd.  
 +
Maybe btrfs offers this sort of thing directly?
 
|-
 
|-
|'''LED lights and lenses for my bike''' || plan  || http://pilom.com/BicycleElectronics/DynamoCircuits.htm explains the matching of LEDs to bike generators. I plan to have several strings of LEDs with different beam angles and aiming points - and the appropriate string of LEDs turned on for the curent bike speed.  
+
|'''Make solar cell?'''|| idea || Link http://www.freewebs.com/acselectronics/TiO2solar.html
 
|-
 
|-
|'''LED lights in walking stick''' || idea  || Want to combine a torch and walking stick for my father. Should be reliable over several years, have little impact on the walking stick, and provide light when needed with no manual switch.  
+
|'''Safe by design nuclear'''|| meme || [http://www.youtube.com/watch?v=P9M__yYbsZ4 2 hour promo]
 
|-
 
|-
|}
 
==Project Status==
 
==Bike Headlight==
 
Have ordered LEDs, reflectors and lenses. Have an attiny85 from the space components. Still need a dynamo, some diodes, mosfets, npns, a circuit and some firmware - oh and maybe a heatsink for the LEDs:). The project is moving along.
 
  
==Switches for LED current==
+
|-
* This [http://uk.farnell.com/diodes-inc/zxms6005dt8ta/mosfet-nn-ch-w-esd-60v-1-8a-sm8/dp/1902497 SMD Dual Logic Level MOSFET] will control two sets of LEDs directly from the MCU - given enough heat-sink capability on the board and enough voltage from the MCU (3.3 or 5v compatibke , Has ESD, over temp and over current protection... is really tiny! If the logic level REALLY needs to be 3.3v then that is an issue :( 3.3v logic turns into about +3.45v regulator (3.3v + a 200mV diode drop to allow the MCU tp be reprogramed in circuit) with 415mV regulation margin - nearly 4v reqd for the MCU.. when the LEDs start to light up near 3v :(.
+
|'''bike trailer'''|| sketches on envelopes || to carry standard building 2.44 x 1.22 M sheets, 2up kayak, etc. Considering
 +
* extending the bike rack so the trailer can be carried inverted over the rack;
 +
* wheel mounts that can be pivoted to vary the trailers wheelbase
 +
** narrow for storage on bike
 +
** wider for normal use
 +
** extra wide to control the windage of a building sheet
 +
|-
 +
|'''tricycle'''|| just a thought || Means of getting around...
 +
|-
 +
|'''hack caliphers'''|| seen in sparkfun comments || Member #333257
  
* This [http://uk.farnell.com/stmicroelectronics/stp16nf06l/mosfet-n-ch-60v-16a-to220/dp/9803068 TO220 MOSFET] should carry the 0.5a curent - perhaps without any heatsinking at all. and combined with a small transister should operate well at a supply voltage of 3v.
+
If you measure current, you will see that the power off state draws 90% of the current of the power on state. For some reason, all electronic calipers seem to be this way- power off is actually display (only) off. THIS is why the batteries go bad quickly.
  
* This [http://uk.farnell.com/nxp/pmn34un-135/mosfet-n-ch-30v-4-9a-sot457/dp/1758106 SMD MOSFET] is 2A mosfet, with Rds of 0.07 at 1.8V throu to about 0.05 at 4.5V; max Vds of 30V; £0.16 each. there are several similar parts at Vds 30V for a bit more money. There is quite a lot more choice at max Vds of 20V.
+
I just open the caliper case, cut the battery trace (which one doesn’t matter), drill two holes to allow the fine (wire wrap) wire to come out the top to a micro-miniature slide switch glued to the top. I always turn the switch off, rather than press some caliper “off” button, and find that a button cell lasts for many years. I would attach a picture if Sparkfun allowed, but it doesn’t. Caliper thickness is unchanged, and the outline is very nearly unchanged.
 +
|-
 +
|'''temperature controller'''|| plan || to control cooker for soldering SMD.
 +
# ssr to control power to heating plate
 +
# type k thermocouple to measure temperature
 +
# attiny 84a dip
 +
# usb/serial converter to talk to netbook
 +
* solder-less breadboard with banana-sockets to link 2 through 4
 +
|-
 +
|}
  
There are a few impacts of this choice..
+
==Crazy Ideas==
* SMD or through hole!!!
+
{|border="1" cellpadding="5" cellspacing="0"
* Many fewer devices from the SMD integrated logic level MOSFETS
+
|'''Project''' || '''Status''' || '''Notes'''
* Higher operating voltages might be required by the SMD MOSFETs
+
|-
 +
|'''Infer unit-testcases from a functions code'''|| thought || Summary: Use the parse tree for a function as input to heuristically apply symbolic logic that aims to build information about the values of parameters required to invoke particular functionality with-in the function.
 +
So for example given a function "uint32_t f(uint32_t i, std::string s)", it starts with a range of possible inputs of (i in [0,2^32-1] x (s.size() in [0,2^32]) x [set-of-possible-values-of-actual-length]) , which is nearly infinite.
 +
Then from the parse tree, derive the possible effects of the code, and the sub-ranges of the inputs that are required to have these effects.
  
I need to establish the maximmum operating voltage!
+
|-
 +
|'''prime number generator'''|| thought || Invert the sieve of Aristophanes, so the data structure holds primes and the next multiple of each prime. Keep the data-structure sorted by the next multiple. When a gap occurs between the current nearest multiple and the next nearest the gap contains prime number(s).
 +
The algorithm requires sorting subsequent multiples into place.
 +
If N is the number of discovered primes N, and the size of the primes is S; then the memory used is O(N*S) and the
 +
CPU time used is O(S*N*N).
  
==Voltage regulator for the MCU==
+
Other thoughts:
Needs to operate of a widely varied supply voltage. The dynamo generates a voltage proportional to the bike speed. Potentially reaching hundreds of volts. And the higher the voltage climbs, the more power I can use in the LEDs! Many components to deal with 0.5A are specced at about 40 to 60V - so that is a very high limit for the working voltage. A chain of 6 LEDs would need 24v. My plans are for 3 LEDs in a chain - so 20V is a good target.
+
* use wheel factorisation of the first M primes to compactly and efficiently represent the impact of these first M primes, where M is chosen so the product of these primes fit in a machine word, and so that the primes less than the product fit in affordable memory.
 +
* use interval arithmetic to keep track of the intermediate numbers.
 +
* can it be fitted to hardware?
 +
|-
 +
|'''factorisation'''|| thought || By trial division using list of known primes; is exceedingly slow for large numbers; the number of potential factors is O(sqrt(N)) - if N is more than 100 bits that is a big number. However, can knowledge of the factors be used to restrict the search space usefully? What are the constraints on the factors imposed by PGP for example
 +
|-
 +
|}
  
For 2.7V MCUs these are the possible best regulators.
+
==Dead Ideas==
* [http://uk.farnell.com/national-semiconductor/lm2936mp-3-0-nopb/ic-ldo-volt-reg-3v-50ma-sot-223/dp/1496125 3.0v, 200mV drop out, 50 mA, max 40v supply] gets 2.8v MCU supply after a 200mV diode, from a 3.2V supply :). It is a 4 pin SMD device for £1.60.
+
{|border="1" cellpadding="5" cellspacing="0"
* [http://uk.farnell.com/national-semiconductor/lp2980im5-3-0-nopb/ic-ldo-volt-reg-3v-50ma-5-sot-23/dp/1559574 3.0v, 120mV drop out, 50mA, 16V max supply] will do above from a 3.12V supply, but restricts me to chains of fewer than four LEDs. £0.46
+
|'''Project''' || '''Status''' || '''Notes'''
* [http://uk.farnell.com/on-semiconductor/lp2950cz-3-0g/ic-ldo-volt-reg-3v-0-1a-to-92-3/dp/1354344 3v, 350mV drop out, 100mA, 30V max supply] is a small 3 pin through hole package for £0.46. Supply voltage is now 3.35V :(.
+
|-
 +
|'''mirrored coils'''|| reinventing the wheel; already exists as a [http://en.wikipedia.org/wiki/Choke_%28electronics%29#Common-mode_choke ''Common mode choke''] || wind two coils on the same core, one left hand the other right hand and link them together. I think they should act as a filter of some sort, because the emf generated by the first travels faster than the electrons and reinforces the current in the other coil, smoothing out the edges of each pulse. The filter frequency being related to the speed of light and electrons in copper and the coil winding length. Maybe there would be less energy lost in the filter?
 +
I need to learn some maths so I can understand the wiki explanation.  
 +
|-
 +
|}
 +
==Completed projects==
 +
{|border="1" cellpadding="5" cellspacing="0"
 +
|'''Project''' || '''Status''' || '''Notes'''
 +
|-
 +
|'''Lowered Desk'''|| complete || Comfort requires a good desk:). [http://wiki.london.hackspace.org.uk/view/Project:Lowered_Desk Project:Lowered Desk]
 +
|}
 +
==Project Status==
 +
See [http://wiki.london.hackspace.org.uk/view/Project:SpeedAdjustableBikeLight Speed Adjustable Bike Light]
  
For 1.8V MCU ..
+
==Parts Shopping==
* [http://uk.farnell.com/linear-technology/lt1761es5-2-5-pbf/ic-ldo-volt-reg-2-5v-0-1a-5-tsot/dp/1531492 a 2.5V, 300mV drop out, 100mA, 20V max power supply] will allow operation at 2.8V:).
+
[http://search.digikey.com/us/en/products/GTCA28-421M-R05-2/GTCA28-421M-R05CT-ND/2931568 GDT 420v] surge arrestor for 240v (if my calculations are right)
  
==Diode to isolate MCU==
+
[http://search.digikey.com/us/en/products/ED110%2F2DS/ED1605-ND/33880 wire to board screw connectors] 300V 20A
This diode should allow the MCU to be reprogrammed in circuit, without blowing up the vreg or anything else with badly applied voltages.
 
* [http://uk.farnell.com/nxp/bat754c/diode-schottky-dual/dp/1081205RL 200mA, 260mV fwd voltage drop, 600mA surge current] 5 for £0.40
 
It is a dual common cathode part.
 
  
* [http://uk.farnell.com/vishay-general-semiconductor/mss1p3u-m3-89a/diode/dp/1863334 1a, 160mV fwd voltage drop, 30v max reverse voltage] £0.154 - however this wonder component is US stock, so £16 extra charge! (there are a few similar low voltage drop diodes and they are all US stock).  
+
[http://search.digikey.com/us/en/products/ELXZ500ELL222MM35S/565-2018-ND/756534 Electrolytic Cap] 50v, 2200uF, 8k hours lifetime, 3A ripple current, 23mOhm inductance, ?ESR.
** The Datasheet says the VF Max is 0.4V - crap !
 

Latest revision as of 07:46, 24 October 2014

Dave Brown playing for a while:)

Project intended to progress sometime in the future

Project Status Notes
Reconfigurable sailing proa mostly inactive, built small bits Rob Denny at http://www.harryproa.com has some interesting things to say about Proas and how they could be the basis for a cheap, high performance, spacious sailing cruising boat. Perhaps the ideal cruising boat :). I want to explore the sailing characteristics in a model.
LED lights and lenses for my bike active http://pilom.com/BicycleElectronics/DynamoCircuits.htm explains the matching of LEDs to bike generators. I plan to have several strings of LEDs with different beam angles and aiming points - and the appropriate string of LEDs turned on for the current bike speed.

Success criteria:

  • generate some light at low speed
  • generate more light at high speed
  • get it too work
  • don't break the bank
Visible surge arrestor project I want to know when power surges happen, and if possible stop them cheaply and quickly. Project:Surge Arrestor
Low viscosity blood thoughts I have some more reading to do; but am intrigued by http://customers.hbci.com/~wenonah/new/mcdaniel.htm and http://en.wikipedia.org/wiki/Integrated_Pulmonary_Index
Quiet boxed PCs project I want to run more than one PC, and the droning gets to me :( Project: Quiet Boxed PCs

Project Ideas

Project Status Notes
Power efficient raid idea Data needs to be written to multiple drives; so a single head-crash does not wipe it out. However, it could be staged to disks sequentially, remaining in memory until it has been written on the 2nd (or n'th) drive. The drives could be spun up more rarely, to simply update the file-store.

Perhaps it can be done using two or more file systems and unionfs; with the data eventually residing on a spinning disk, but initially being saved on ssd. The spinning disk using btrfs to make a sequence of stable snapshots from changes preserved on the ssd. Maybe btrfs offers this sort of thing directly?

Make solar cell? idea Link http://www.freewebs.com/acselectronics/TiO2solar.html
Safe by design nuclear meme 2 hour promo
bike trailer sketches on envelopes to carry standard building 2.44 x 1.22 M sheets, 2up kayak, etc. Considering
  • extending the bike rack so the trailer can be carried inverted over the rack;
  • wheel mounts that can be pivoted to vary the trailers wheelbase
    • narrow for storage on bike
    • wider for normal use
    • extra wide to control the windage of a building sheet
tricycle just a thought Means of getting around...
hack caliphers seen in sparkfun comments Member #333257

If you measure current, you will see that the power off state draws 90% of the current of the power on state. For some reason, all electronic calipers seem to be this way- power off is actually display (only) off. THIS is why the batteries go bad quickly.

I just open the caliper case, cut the battery trace (which one doesn’t matter), drill two holes to allow the fine (wire wrap) wire to come out the top to a micro-miniature slide switch glued to the top. I always turn the switch off, rather than press some caliper “off” button, and find that a button cell lasts for many years. I would attach a picture if Sparkfun allowed, but it doesn’t. Caliper thickness is unchanged, and the outline is very nearly unchanged.

temperature controller plan to control cooker for soldering SMD.
  1. ssr to control power to heating plate
  2. type k thermocouple to measure temperature
  3. attiny 84a dip
  4. usb/serial converter to talk to netbook
  • solder-less breadboard with banana-sockets to link 2 through 4

Crazy Ideas

Project Status Notes
Infer unit-testcases from a functions code thought Summary: Use the parse tree for a function as input to heuristically apply symbolic logic that aims to build information about the values of parameters required to invoke particular functionality with-in the function.

So for example given a function "uint32_t f(uint32_t i, std::string s)", it starts with a range of possible inputs of (i in [0,2^32-1] x (s.size() in [0,2^32]) x [set-of-possible-values-of-actual-length]) , which is nearly infinite. Then from the parse tree, derive the possible effects of the code, and the sub-ranges of the inputs that are required to have these effects.

prime number generator thought Invert the sieve of Aristophanes, so the data structure holds primes and the next multiple of each prime. Keep the data-structure sorted by the next multiple. When a gap occurs between the current nearest multiple and the next nearest the gap contains prime number(s).

The algorithm requires sorting subsequent multiples into place. If N is the number of discovered primes N, and the size of the primes is S; then the memory used is O(N*S) and the CPU time used is O(S*N*N).

Other thoughts:

  • use wheel factorisation of the first M primes to compactly and efficiently represent the impact of these first M primes, where M is chosen so the product of these primes fit in a machine word, and so that the primes less than the product fit in affordable memory.
  • use interval arithmetic to keep track of the intermediate numbers.
  • can it be fitted to hardware?
factorisation thought By trial division using list of known primes; is exceedingly slow for large numbers; the number of potential factors is O(sqrt(N)) - if N is more than 100 bits that is a big number. However, can knowledge of the factors be used to restrict the search space usefully? What are the constraints on the factors imposed by PGP for example

Dead Ideas

Project Status Notes
mirrored coils reinventing the wheel; already exists as a Common mode choke wind two coils on the same core, one left hand the other right hand and link them together. I think they should act as a filter of some sort, because the emf generated by the first travels faster than the electrons and reinforces the current in the other coil, smoothing out the edges of each pulse. The filter frequency being related to the speed of light and electrons in copper and the coil winding length. Maybe there would be less energy lost in the filter?

I need to learn some maths so I can understand the wiki explanation.

Completed projects

Project Status Notes
Lowered Desk complete Comfort requires a good desk:). Project:Lowered Desk

Project Status

See Speed Adjustable Bike Light

Parts Shopping

GDT 420v surge arrestor for 240v (if my calculations are right)

wire to board screw connectors 300V 20A

Electrolytic Cap 50v, 2200uF, 8k hours lifetime, 3A ripple current, 23mOhm inductance, ?ESR.