01-03-2011, 05:03 PM Code 6-103 BREADBOARD ADD
Getting ready to add more breadboards to these PPPBs. There are 19 total plus one which has a home-made SBB.
BIG BRAIN made by Humanoido is a giant intelligent AI machine. Over twenty years in the making, living and sentient, approaching one trillion processors/constructs. Join us in the exciting adventure as it continues to evolve!
Monday, January 3, 2011
Testing Setup for LEDs
01-03-2011, 05:00 PM Code 6-102 TESTING SETUP FOR LEDS
Testing setup for LEDs using breadboards mounted on Parallax Propeller Proto Boards.
Testing setup for LEDs using breadboards mounted on Parallax Propeller Proto Boards.
Building DIY Breadboards
01-03-2011, 04:58 PM CODE 6-101 BUILDING DIY BREADBOARDSA DIY project for Brain boards
You can make very affordable home-made breadboards using pin sockets. Solder across pins on the sockets solder points on the bottom of the Parallax Propeller Proto Board to make connections.
DIY Breadboards can be made very small. A four socket row is very useful for connecting data LEDs, resistors, capacitors, power connections, extensions, ground, and various sensors. The weight is significantly less than the smallest commercial breadboard at the Parallax store. However, for the purpose of constructing the Brain Base and the Brain Span, the larger Parallax is ideal for more connection points and larger scale tests. The board from the brain's Brain Stem has a very small solderless breadboard built up from standard inexpensive dual row pin sockets. Economical DIY breadboards cost only a few pennies. Commercial breadboards can fill in for Brain Base and Brain Span apps. Parallax item code 700-00012 is currently $3.99.
Small Breadboards
01-03-2011, 04:55 PM Code 5-100 SMALL BREADBOARDS
Small breadboards are added to PPPBs. The yellow wire is a pin control to the data LED. Small breadboards were obtained from Parallax Inc. and affixed with rolled tape in the event of necessary removal in the future.
Small breadboards are added to PPPBs. The yellow wire is a pin control to the data LED. Small breadboards were obtained from Parallax Inc. and affixed with rolled tape in the event of necessary removal in the future.
241 Resistor
01-03-2011, 04:52 PM Code 5-99 241 RESISTOR
This 241 resistor is insufficient for regulating the data LED due to power constraints imposed by robotic battery operation requirements.
This 241 resistor is insufficient for regulating the data LED due to power constraints imposed by robotic battery operation requirements.
Labels:
241,
constraints,
data,
led,
power,
regulation,
resistor
Testing Conclusions
01-03-2011, 01:55 PM Code 5-98 TESTING CONCLUSIONS
* The decision is made to use on-PPPBs data lights with 4K7 resistors.
* The on board data light will be kept for more infrequent use
* Modified boards will be used throughout the Brain Stem, Brain Base and Brain Span
* A red LED will be selected over green and yellow
Labels:
conclusion,
conclusions,
data,
leds,
lights,
test,
testing,
tests
Power Testing
01-03-2011, 01:55 PM 5-97 POWER TESTING
* Modified Parallax Propeller Proto board (both regulators and LED disabled) draws 4mA idle. Power LED converted to data light draws 20mA when on. Another test confirmed 4mA modified board current. Unmodified, board draws 10mA. To modify, lift the middle leg of the 3.3 vdc (output leg) of the LM1086 CS-3.3 regulator.
* Another test, mod proto board draws 5ma, 19ma with on board data light. Put Taiwan LED on pin 25 with 150 ohm resistor = 12ma. Draws 6ma with 2.2k ohm. (since board draws 5ma, the Taiwan LED is drawing only 1ma)
* Power LED converted to data light still has a 241 ohm resistor on it which is too small a value and that is why you see 20ma current. This is not acceptable for the purpose of battery portable operations. Therefore another data LED will be added.
* The China red LED is the same as the red Taiwan LED – very bright at only 1ma. The green China LED is barely visible. (using a 2.2K ohm resistor). The green Taiwan is also too dim. The yellow Taiwan LED is also the same/ too dim.
* The secondary LED was tested with a 2.2K resistor and was bright. With a 4.7K, it was less bright but still usable. You would not want to go dimmer. Therefore, with the Prop's 3.3 volt pin, use a resistor from 2.2K to 4.7K range depending on desired brightness. Both tests showed the LED drawing 1ma.
* Modified Parallax Propeller Proto board (both regulators and LED disabled) draws 4mA idle. Power LED converted to data light draws 20mA when on. Another test confirmed 4mA modified board current. Unmodified, board draws 10mA. To modify, lift the middle leg of the 3.3 vdc (output leg) of the LM1086 CS-3.3 regulator.
* Another test, mod proto board draws 5ma, 19ma with on board data light. Put Taiwan LED on pin 25 with 150 ohm resistor = 12ma. Draws 6ma with 2.2k ohm. (since board draws 5ma, the Taiwan LED is drawing only 1ma)
* Power LED converted to data light still has a 241 ohm resistor on it which is too small a value and that is why you see 20ma current. This is not acceptable for the purpose of battery portable operations. Therefore another data LED will be added.
* The China red LED is the same as the red Taiwan LED – very bright at only 1ma. The green China LED is barely visible. (using a 2.2K ohm resistor). The green Taiwan is also too dim. The yellow Taiwan LED is also the same/ too dim.
* The secondary LED was tested with a 2.2K resistor and was bright. With a 4.7K, it was less bright but still usable. You would not want to go dimmer. Therefore, with the Prop's 3.3 volt pin, use a resistor from 2.2K to 4.7K range depending on desired brightness. Both tests showed the LED drawing 1ma.
Boards on Boards
01-03-2011, 01:37 PM Code 5-96 BOARDS ON BOARDS
This is the board attachment phase
Boards on boards simply refer to the mounting of secondary boards on the PPPBs. This is a small solderless breadboard (SBB) for wiring the components for data transfer (various BUS), data lights, power rail, power connection, and any additional circuits. It's also useful for rapidly changing and morphing the wiring and to run various test circuits. The board is extremely small and is very minimal in its propagation of EMI/ RFI and can be situated close to the Propeller chips' pin array - another useful minimization. This may or may not allow overclocking, future tests will determine the viability of overclocking. Currently the boards handle 80MHz and 20MIPs per cog.
Although there are 20 PPPBs, only 19 will receive the SBB. This is because the PPPB in the Brain Stem is a hybrid which must interface to a BASIC Stamp and already has a tiny SBB made up of 7 total pin connector arrays. It may take some time to attach all SBBs. They are attached directly beneath the PPPBs label "PropClip" and "Keyboard." Note the hybrid PPPB already has the expansion kit installed for attaching keyboard, VGA, and mouse, so in the remaining boards this position is available for adding SBB real estate.
SBBs are attached with large pieces of rolled plastic boxing tape. SBBs can be reposition, relocated, and removed at any time. The adherence may last for years, depending on environment and tape qualities.
This is the board attachment phase
Boards on boards simply refer to the mounting of secondary boards on the PPPBs. This is a small solderless breadboard (SBB) for wiring the components for data transfer (various BUS), data lights, power rail, power connection, and any additional circuits. It's also useful for rapidly changing and morphing the wiring and to run various test circuits. The board is extremely small and is very minimal in its propagation of EMI/ RFI and can be situated close to the Propeller chips' pin array - another useful minimization. This may or may not allow overclocking, future tests will determine the viability of overclocking. Currently the boards handle 80MHz and 20MIPs per cog.
Although there are 20 PPPBs, only 19 will receive the SBB. This is because the PPPB in the Brain Stem is a hybrid which must interface to a BASIC Stamp and already has a tiny SBB made up of 7 total pin connector arrays. It may take some time to attach all SBBs. They are attached directly beneath the PPPBs label "PropClip" and "Keyboard." Note the hybrid PPPB already has the expansion kit installed for attaching keyboard, VGA, and mouse, so in the remaining boards this position is available for adding SBB real estate.
SBBs are attached with large pieces of rolled plastic boxing tape. SBBs can be reposition, relocated, and removed at any time. The adherence may last for years, depending on environment and tape qualities.
Software Test 2
01-03-2011, 01:20 PM CODE 5-95 Software Test 2
It became necessary to have a small program for testing the data light to ascertain the current draw and compare the LED on the Parallax Propeller Proto Board (PPPB) with another one on another pin (mounted on the breadboard).
Attached is testing Spin software for three types of LEDs.
1) On the Demo Board to test the software
2) Surface mount LED on the PPPB
3) LED on the breadboard
Pins are listed in the code and remarks.
The delay between on/off cycles was increased to allow for ammeter settle time between reads.
It became necessary to have a small program for testing the data light to ascertain the current draw and compare the LED on the Parallax Propeller Proto Board (PPPB) with another one on another pin (mounted on the breadboard).
Attached is testing Spin software for three types of LEDs.
1) On the Demo Board to test the software
2) Surface mount LED on the PPPB
3) LED on the breadboard
Pins are listed in the code and remarks.
The delay between on/off cycles was increased to allow for ammeter settle time between reads.
The Brain Blob by Humanoido
brainblobtest2.spin
Sunday January 03, 2011
LED Testing for the Brain Blob Project
Blinks LED on pin 24 and/or 25 using the Parallax Propeller Proto Board
Use pin 23 for demo board testing of this software
Use pin 24 to test the Parallax Propeller Demo Board modification (on board LED)
Use pin 25 to test resistors for LED on the breadboard.
Rem out statements to select pins
}}
CON ' Constants
_clkmode = xtal1 + pll16x ' 80MHz clock
_xinfreq = 5_000_000 ' 5MHz crystal
' LED1 = 24 ' LED mod is on pin 24 Proto Board
LED2 = 25 ' This LED is on the breadboard
' LED = 23 ' pin 23 demo board
delay = 160_000_000 ' Delay enough for ma reading to settle
PUB Main ' Main method
' dira[LED1] := 1 ' Set LED pin as output
dira[LED2] := 1 ' Make pin 25 output
' dira[22] := 1 ' correct ghost led on demo board
' outa[22] := 0 ' correct ghost led on demo board
' outa[LED1] := 1 ' Initialize pin on pin 24
outa[LED2] := 1 ' Light the LED on pin 25
repeat ' Loop below
blink ' Do Private Method blink LED
PRI Blink ' Private Method to blink LED
' !outa[LED1] ' Toggle state LED
!outa[LED2] ' Toggle state - Light the LED on pin 25
waitCnt(delay+cnt) ' Delay
Subscribe to:
Posts (Atom)



