Capacitor-Powered Bristlebot Kit: Unterschied zwischen den Versionen

Aus FabLab Winti Wiki
Zur Navigation springen Zur Suche springen
(Ideas for revision 2)
(Kits for Sale: Update for sale as FabLab Kits.)
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
The capacitor-powered bristlebot kit is a user project, developed in preparation for the [http://www.fablabwinti.ch/kinder-workshops-im-rahmen-der-european-maker-week/ Bristlebot Fun Robot Workshop] as part of the [http://europeanmakerweek.eu European Maker Week] in June 2016.
 
The capacitor-powered bristlebot kit is a user project, developed in preparation for the [http://www.fablabwinti.ch/kinder-workshops-im-rahmen-der-european-maker-week/ Bristlebot Fun Robot Workshop] as part of the [http://europeanmakerweek.eu European Maker Week] in June 2016.
__notoc__
 
  
 
{{Infobox Benutzerprojekt
 
{{Infobox Benutzerprojekt
Zeile 34: Zeile 33:
 
* Enlarge the solder pads of the LEDs a bit for easier soldering (the library part was customized already anyway to make the flattened side more obvious on the silkscreen).
 
* Enlarge the solder pads of the LEDs a bit for easier soldering (the library part was customized already anyway to make the flattened side more obvious on the silkscreen).
 
* There should be another LED that says “it’s charging”, or at least “it’s powered”. Otherwise, when first plugged in (with a capacitor attached), it is unclear whether the charging works or the too thin connector is making bad contact. Several workshop participants were confused by that. Or at least make putting tape on the bottom of the connector to thicken it a mandatory part of the instructions. Or use the more expensive 2.0 mm board.
 
* There should be another LED that says “it’s charging”, or at least “it’s powered”. Otherwise, when first plugged in (with a capacitor attached), it is unclear whether the charging works or the too thin connector is making bad contact. Several workshop participants were confused by that. Or at least make putting tape on the bottom of the connector to thicken it a mandatory part of the instructions. Or use the more expensive 2.0 mm board.
 +
 +
===Revision 2===
 +
All of the above issues were addressed in revision 2 (August 2016). Addition of a single Zener diode changes the function of the LEDs as follows: One LED lights up as soon as the charging station is powered. The second LED lights up when charging is complete, as before.
 +
 +
===Files===
 +
The Eagle PCB files are available at [https://github.com/cwalther/bristlebot-pcb https://github.com/cwalther/bristlebot-pcb].
  
 
==Assembly==
 
==Assembly==
  
Rough instructions for assembly (in German) are available here: [[Medium: Bristlebot-Stromversorgung-Anleitung.pdf|Bristlebot-Stromversorgung-Anleitung.pdf]].
+
Rough instructions for assembly (in German) are available here: [[Medium: Bristlebot-Stromversorgung-Anleitung.pdf|Bristlebot-Stromversorgung-Anleitung.pdf]] (r1), [[Medium: Bristlebot-Stromversorgung-Anleitung-r2.pdf|Bristlebot-Stromversorgung-Anleitung-r2.pdf]] (r2).
  
 
===Bill of Materials===
 
===Bill of Materials===
Zeile 44: Zeile 49:
 
! Item !! Source !! ~ Cost (CHF)
 
! Item !! Source !! ~ Cost (CHF)
 
|-
 
|-
| PCB || || 1.00
+
| PCB || [http://dirtypcbs.com/view.php?share=24430&accesskey=df14ef9667af56c4ea4420b962051fb0 Dirty PCBs] || 1.00
 
|-
 
|-
| Capacitor SMD 0.1µF (0805 or 1206) || [http://www.conrad.ch/ce/de/product/450798/ Conrad 450798] || 0.06
+
| Capacitor SMD 1µF (0805 or 1206) || [http://www.conrad.ch/ce/de/product/450798/ Conrad 450798], [http://www.mouser.ch/search/ProductDetail.aspx?R=GRM21BR71C105KA01K Mouser 81-GRM40X105K16K] || 0.06
 
|-
 
|-
| Resistor 10Ω 0.6W (0207) || [http://www.conrad.ch/ce/de/product/1417574/ Conrad 1417574] || 0.12
+
| Resistor 10Ω 0.6W (0207) || [http://www.conrad.ch/ce/de/product/1417574/ Conrad 1417574], [http://www.mouser.ch/Search/ProductDetail.aspx?R=MF0207FTE52-10R Mouser 603-MF0207FTE52-10R] || 0.12
 
|-
 
|-
| Resistor 100Ω 0.25W (0207) || [http://www.conrad.ch/ce/de/product/1417639/ Conrad 1417639] || 0.08
+
| Resistor 100Ω 0.25W (0207) || [http://www.conrad.ch/ce/de/product/1417639/ Conrad 1417639], [http://www.mouser.ch/Search/ProductDetail.aspx?R=CFR-25JR-52-100R Mouser 603-CFR-25JR-52100R] || 0.08
 
|-
 
|-
 
| Voltage Regulator MCP1700-2502 || [http://www.conrad.ch/ce/de/product/1085859/ Conrad 1085859] || 0.55
 
| Voltage Regulator MCP1700-2502 || [http://www.conrad.ch/ce/de/product/1085859/ Conrad 1085859] || 0.55
Zeile 57: Zeile 62:
 
|-
 
|-
 
| Super-Capacitor 10F 2.5V || [http://www.conrad.ch/ce/de/product/456984/ Conrad 456984] || 1.55
 
| Super-Capacitor 10F 2.5V || [http://www.conrad.ch/ce/de/product/456984/ Conrad 456984] || 1.55
 +
|-
 +
|   ''or''  2×Super-Capacitor 4.7F 2.5V || [http://www.conrad.ch/ce/de/product/456915/ Conrad 456915] || 1.90
 
|-
 
|-
 
| Slide Switch || [http://shop.boxtec.ch/mini-spdt-pcb-schiebeschalter-12d00-p-41641.html Boxtec 48636] || 0.31
 
| Slide Switch || [http://shop.boxtec.ch/mini-spdt-pcb-schiebeschalter-12d00-p-41641.html Boxtec 48636] || 0.31
Zeile 64: Zeile 71:
 
| Female Pin Header angled || [http://www.conrad.ch/ce/de/product/1303432/ Conrad 1303432], [http://www.conrad.ch/ce/de/product/1303427/ 1303427] || 0.25
 
| Female Pin Header angled || [http://www.conrad.ch/ce/de/product/1303432/ Conrad 1303432], [http://www.conrad.ch/ce/de/product/1303427/ 1303427] || 0.25
 
|-
 
|-
| Vibration Motor || || 0.75
+
| Vibration Motor || [http://de.aliexpress.com/item/hotsale-15pcs-DC-Motor-Micro-Vibration-Motor-1-5-3V-DC-3V-14000RP-Mini-Motor-Massage/32416107854.html?spm=2114.13010608.0.114.iZzXfZ AliExpress], [https://www.aliexpress.com/item/Mini-Micro-vibration-motorDC-3V-3-7V/32731104882.html AliExpress] || 0.75
 +
|-
 +
| ''r2 only:''  Zener diode 3.0V 500mW (DO-35) || [https://www.distrelec.ch/de/zenerdiode-do-35-500-mw-bzx79-c3v0/p/17006458 Distrelec 170-06-458], [http://www.mouser.ch/Search/ProductDetail.aspx?R=BZX79C3V0 Mouser 512-BZX79C3V0], [http://www.pusterlacom.ch/de/page/ladenlokal Pusterla] || 0.05
 
|}
 
|}
 +
 +
== Field Test ==
 +
 +
The workshop was a success! [https://drive.google.com/folderview?id=0Bzly-491LgWmbHRxVlhBeUlRazA You can find some pictures here.]
 +
 +
More impressions from [https://www.makerfairezurich.ch/de/ Maker Faire Zürich 2016]:
 +
* [https://video.twimg.com/ext_tw_video/777442510985715712/pu/vid/1280x720/J6GnWU2oy9FQEOgE.mp4 https://video.twimg.com/ext_tw_video/777442510985715712/pu/vid/1280x720/J6GnWU2oy9FQEOgE.mp4] (it’s running out of power here, fully charged it runs much faster)
 +
* [https://twitter.com/hamzza/status/777146834611539973 https://twitter.com/hamzza/status/777146834611539973]
 +
* [https://twitter.com/jamieraskin/status/777069464877731840 https://twitter.com/jamieraskin/status/777069464877731840]
 +
 +
The one on the last picture is currently stationed in the FabLab waiting to captivate unsuspecting visitors!
 +
 +
== Kits for Sale ==
 +
 +
Complete kits are now [http://www.fablabwinti.ch/fablab-kits/bristlebot/ sold in the FabLab, along with other kits]. Just visit during the opening hours and ask the lab manager. Kit for 1 bot of choice, with printed instructions, wire, and pre-soldered SMD capacitor: CHF 10.00.
 +
 +
I also keep a small stock of raw parts. If you would like to buy some, contact me by email at ''cwalther gmx ch'' or if you are a FabLab member in [https://fablabwinti.slack.com/team/cwalther Slack] and ask if there are any left. For large quantities (20–30 or more), I would prefer if you obtained the parts yourself from the sources indicated in the bill of materials above. Raw material for 3 bots (2 × with one large + 1 × with two small capacitors), without instructions (download PDF above), without wire to connect motor, SMD capacitor not soldered (should be done in advance for beginners): CHF 18.00
 +
 +
All kits include electronics and motor only, no toothbrush or other construction material.
 +
 +
I prefer supplying raw material because preparing individual kits is more work, and not particularly interesting one.
  
 
{{Navigationsleiste FabLab}}
 
{{Navigationsleiste FabLab}}

Version vom 27. Oktober 2017, 17:52 Uhr

The capacitor-powered bristlebot kit is a user project, developed in preparation for the Bristlebot Fun Robot Workshop as part of the European Maker Week in June 2016.

Capacitor-Powered Bristlebot Kit
Benutzerprojekt
Projekt: Capacitor-Powered Bristlebot Kit
Benutzer: Christian Walther, with help from Patrick Gubelmann, Damian Schneider and others
Bereich: Electronics
Technologie: PCB Design


Development

Figure 1: Capacitor-Powered Bristlebot

After the idea to make a bristlebot workshop had come up and someone showed an example of one powered by a supercapacitor, my interest was piqued. Bristlebots powered by coin-cell primary batteries are simple and cheap, but something rechargeable to get away from the throwaway mindset sounded exciting. FabLab Zürich had used lithium batteries with a charging circuit before, but that seemed a little overkill. Could I make a kit with a supercapacitor? Maybe even one with a custom-designed printed circuit board with a USB plug for the charging circuit? Damian had shown us how to use Eagle to design PCBs and have them manufactured by Dirty PCBs a few days before, so that would make a nice exercise project for that.

Figure 2: Capbot v0.1

First experiments with an old 1F 5V supercapacitor I had lying around and a vibration motor scavenged from an old Nokia phone proved vaguely encouraging. The first capbot (pictured in figure 2) ran for about 50 seconds on a full charge. The capacitor seemed to have degraded a little over the years however, due to its high internal resistance it took several minutes to charge to that level. Measurements yielded the following numbers: The motor would start running at about 1.3 V, stop running at about 0.6 V, and have a more or less linear current/voltage curve of about 19 Ω. The capacitor had a remaining capacitance of about 0.75 F and an equivalent series resistance of 64 Ω.

Figure 3: Roughly computed discharge curves

Experiments continued with some newly ordered supercapcitors: 1.5F/5.5V, 4.7F/2.5V, and later 10F/2.5V. Discharge curves were modeled for several constellations of capacitors connected in series or in parallel and resistors or voltage regulators in the discharge circuit (figure 3). The result was that connecting the 4.7F capacitors in parallel and directly to the motor provided the longest running time by far, over 4 minutes. Also, connecting two 2.5 V capacitors in series to a 5 V power supply, which would have made for a very simple charging circuit, proved difficult because their capacitances vary sufficiently that one of them would end up at a voltage too much above 2.5 V.

Figure 4: Measured charge current

Safely charging the parallel capacitors (or equivalent single capacitor) to 2.5 V from the 5 V of a USB power supply requires a voltage regulator. A 10 Ω resistor limits the current to the 250 mA that an MCP1700 voltage regulator (TO-92 case) can withstand. It turned out that connecting this resistor in series between the voltage regulator and the 5 V supply instead of between voltage regulator and capacitor, so that the input voltage to the regulator varies with the current draw (which is not a recommended way of normally using a voltage regulator, they require a low-impedance input for a stable output voltage), resulted in a very desirable property: The capacitor would be charged at an approximately constant current (more exactly, approximately constant during the first half and slightly linearly declining in the second half of the duration) until it reached the 2.5 V, then the current would rapidly drop and approach zero (figure 4). This reduces charging time to 1–2 minutes. I have not been able to satisfactorily predict this behavior, as it depends on what the voltage regulator’s internal voltage reference does when the input voltage is too low to reach the rated output voltage, which is not specified in the data sheet, but it worked well enough in practice so I was satisfied with that. The constant current also varies between 140 mA and 250 mA among the specimens of MCP1700 I tested.

Figure 5: Capbot v0.2

This behavior also makes it very simple to include a charge indicator in the circuit: As the charging current drops to zero, the input voltage to the voltage regulator rises to 5 V, which becomes enough to drive two LEDs connected in series through a 100 Ω resistor, while the 2.5–4 V before are not – in other words, the LEDs go on when the capacitor is full. These ideas were realized on stripboard in the next prototype (figure 5), which worked quite well. The board turned out larger than the 5 cm limit of the cheapest Dirty PCBs offer however. This, and the desire to spare the bot from carrying around the weight of the electronics all the time, led to the decision to make the USB charging unit detachable using pin headers and only leave the on-off switch on the bot-side board in the final design. The pin header is coded by using 3 of 4 instead of just 2 pins in order to make it impossible to connect in reverse, which would damage the capacitor. Various motors ordered by Patrick were tested and all provided several minutes of useful running time as expected.

Figure 6: PCBs arrived

The final PCB layout was drawn in Eagle, fitting two single-capacitor and one dual-(parallel-)capacitor panels on one 5 × 5 cm board. To give the user the choice between a single-board solution and a detachable charging unit, the two parts were left connected, but perforated so they can easily be broken apart. There was not much space left for silkscreen labeling, but enough for a logo, year, revision number, and switch position labels. These were imported from SVG using the svg2poly importer, because I consider Eagle’s standard vector font aesthetically beneath my dignity. After friendly review by Damian, the design was sent to Dirty PCBs for manufacturing on 1.6 mm board (2.0 mm would work better for the USB connector, but would more than double the price). The boards were done 5 days later and arrived with DHL another 5 days later (with two weekends in between, 7 business days in total) (figure 6). The “protopack ±10” contained 11 boards of apparently flawless quality, the only difference to the design I could notice was that the octogonal solder pads appeared rotated by 22.5°. The silkscreen labeling expanded a bit from the original but was still very readable at 1 mm text height.

Ideas for revision 2

  • Making the charger part a little longer (there are still a few mm of space left in the 5 × 5 cm range) would allow the two parts to be joined by straight instead of angled pin headers without the switch getting in the way of the USB connector. Spreading the components a little farther apart would also make soldering easier.
  • Don’t use line width zero for the silkscreen polygons, as that needlessly inflates the Gerber file size because Eagle rasterizes the polygons with ten-thousands of insanely finely spaced lines of the same width.
  • Enlarge the solder pads of the LEDs a bit for easier soldering (the library part was customized already anyway to make the flattened side more obvious on the silkscreen).
  • There should be another LED that says “it’s charging”, or at least “it’s powered”. Otherwise, when first plugged in (with a capacitor attached), it is unclear whether the charging works or the too thin connector is making bad contact. Several workshop participants were confused by that. Or at least make putting tape on the bottom of the connector to thicken it a mandatory part of the instructions. Or use the more expensive 2.0 mm board.

Revision 2

All of the above issues were addressed in revision 2 (August 2016). Addition of a single Zener diode changes the function of the LEDs as follows: One LED lights up as soon as the charging station is powered. The second LED lights up when charging is complete, as before.

Files

The Eagle PCB files are available at https://github.com/cwalther/bristlebot-pcb.

Assembly

Rough instructions for assembly (in German) are available here: Bristlebot-Stromversorgung-Anleitung.pdf (r1), Bristlebot-Stromversorgung-Anleitung-r2.pdf (r2).

Bill of Materials

Item Source ~ Cost (CHF)
PCB Dirty PCBs 1.00
Capacitor SMD 1µF (0805 or 1206) Conrad 450798, Mouser 81-GRM40X105K16K 0.06
Resistor 10Ω 0.6W (0207) Conrad 1417574, Mouser 603-MF0207FTE52-10R 0.12
Resistor 100Ω 0.25W (0207) Conrad 1417639, Mouser 603-CFR-25JR-52100R 0.08
Voltage Regulator MCP1700-2502 Conrad 1085859 0.55
2×LED 3mm green Conrad 180156 0.26
Super-Capacitor 10F 2.5V Conrad 456984 1.55
  or  2×Super-Capacitor 4.7F 2.5V Conrad 456915 1.90
Slide Switch Boxtec 48636 0.31
Male Pin Header Conrad 1390109, 1390107 0.05
Female Pin Header angled Conrad 1303432, 1303427 0.25
Vibration Motor AliExpress, AliExpress 0.75
r2 only:  Zener diode 3.0V 500mW (DO-35) Distrelec 170-06-458, Mouser 512-BZX79C3V0, Pusterla 0.05

Field Test

The workshop was a success! You can find some pictures here.

More impressions from Maker Faire Zürich 2016:

The one on the last picture is currently stationed in the FabLab waiting to captivate unsuspecting visitors!

Kits for Sale

Complete kits are now sold in the FabLab, along with other kits. Just visit during the opening hours and ask the lab manager. Kit for 1 bot of choice, with printed instructions, wire, and pre-soldered SMD capacitor: CHF 10.00.

I also keep a small stock of raw parts. If you would like to buy some, contact me by email at cwalther gmx ch or if you are a FabLab member in Slack and ask if there are any left. For large quantities (20–30 or more), I would prefer if you obtained the parts yourself from the sources indicated in the bill of materials above. Raw material for 3 bots (2 × with one large + 1 × with two small capacitors), without instructions (download PDF above), without wire to connect motor, SMD capacitor not soldered (should be done in advance for beginners): CHF 18.00

All kits include electronics and motor only, no toothbrush or other construction material.

I prefer supplying raw material because preparing individual kits is more work, and not particularly interesting one.