<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="https://brooke.codes/wp-content/plugins/pretty-rss-feeds/xslt/pretty-feed.xsl" type="text/xsl" media="screen" ?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bikeblink &#8211; &lt;Brooke&gt; &lt;Codes&gt;</title>
	<atom:link href="https://brooke.codes/tag/bikeblink/feed/" rel="self" type="application/rss+xml" />
	<link>https://brooke.codes</link>
	<description>The Tech Blog of Brooke. </description>
	<lastBuildDate>Thu, 27 Mar 2025 04:53:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>I want to ride my bike</title>
		<link>https://brooke.codes/2016/03/17/i-want-to-ride-my-bike/</link>
		
		<dc:creator><![CDATA[Brooke.]]></dc:creator>
		<pubDate>Thu, 17 Mar 2016 17:48:43 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[bikeblink]]></category>
		<category><![CDATA[maker]]></category>
		<guid isPermaLink="false">https://brooke.codes/?p=626</guid>

					<description><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="BikeBlink featured" decoding="async" />BikeBlink Part III Once I started to wire the bike light into my 3D Box I quickly learned that while I learned a lot my box was clunky and would have too many wires. That&#8217;s around the same time I learned about custom circuit boards. The first thing I did was watch a few videos [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="BikeBlink featured" decoding="async" loading="lazy" />
<h3 class="wp-block-heading"><strong>BikeBlink Part III</strong></h3>



<p class="wp-block-paragraph">Once I started to wire the bike light into my<a href="https://brooke.codes/?p=611"> 3D Box</a> I quickly learned that while I learned a lot my box was clunky and would have too many wires. That&#8217;s around the same time I learned about custom circuit boards.</p>



<span id="more-626"></span>



<p class="wp-block-paragraph">The first thing I did was watch a few videos and download the free version of EAGLE. I had the advantage of working with this circuit for a while and pretty much having it memorized. Once In EAGLE I created the schematic and board layout. From there it came down to printing and making though my pull though components would work as expected.&nbsp; I also used the Trinket EAGLE file found on <a href="https://github.com/adafruit/Adafruit-Eagle-Library/pull/18">GitHub</a>.</p>



<figure class="wp-block-gallery has-nested-images columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/board_layout.png"><img fetchpriority="high" decoding="async" width="942" height="978" data-id="639" src="https://brooke.codes/wp-content/uploads/2016/03/board_layout.png" alt="" class="wp-image-639" srcset="https://brooke.codes/wp-content/uploads/2016/03/board_layout.png 942w, https://brooke.codes/wp-content/uploads/2016/03/board_layout-289x300.png 289w, https://brooke.codes/wp-content/uploads/2016/03/board_layout-768x797.png 768w" sizes="(max-width: 942px) 100vw, 942px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/schematic.png"><img decoding="async" width="1024" height="588" data-id="640" src="https://brooke.codes/wp-content/uploads/2016/03/schematic-1024x588.png" alt="" class="wp-image-640" srcset="https://brooke.codes/wp-content/uploads/2016/03/schematic-1024x588.png 1024w, https://brooke.codes/wp-content/uploads/2016/03/schematic-300x172.png 300w, https://brooke.codes/wp-content/uploads/2016/03/schematic-768x441.png 768w, https://brooke.codes/wp-content/uploads/2016/03/schematic-1536x882.png 1536w, https://brooke.codes/wp-content/uploads/2016/03/schematic.png 1654w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>
</figure>



<p class="wp-block-paragraph">I then ordered the boards from <a href="https://oshpark.com/">OSH Park </a>which I highly recommend. Their website is easy to use and provides a board preview which really helped me make sure my screen printing was in order. The boards arrived and everything works as expected.</p>



<figure class="wp-block-gallery has-nested-images columns-3 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/bikeblink3.jpg"><img loading="lazy" decoding="async" width="640" height="640" data-id="659" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink3.jpg" alt="" class="wp-image-659" srcset="https://brooke.codes/wp-content/uploads/2016/03/bikeblink3.jpg 640w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink3-300x300.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink3-150x150.jpg 150w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/bikeblink4.jpg"><img loading="lazy" decoding="async" width="800" height="495" data-id="660" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink4.jpg" alt="" class="wp-image-660" srcset="https://brooke.codes/wp-content/uploads/2016/03/bikeblink4.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink4-300x186.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink4-768x475.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/bikeblink1.jpg"><img loading="lazy" decoding="async" width="800" height="450" data-id="657" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink1.jpg" alt="" class="wp-image-657" srcset="https://brooke.codes/wp-content/uploads/2016/03/bikeblink1.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink1-300x169.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink1-768x432.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/bikeblink2.jpg"><img loading="lazy" decoding="async" width="800" height="450" data-id="658" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink2.jpg" alt="" class="wp-image-658" srcset="https://brooke.codes/wp-content/uploads/2016/03/bikeblink2.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink2-300x169.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/bikeblink2-768x432.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://brooke.codes/wp-content/uploads/2016/03/bikeblink_board.png"><img loading="lazy" decoding="async" width="163" height="200" data-id="654" src="https://brooke.codes/wp-content/uploads/2016/03/bikeblink_board.png" alt="" class="wp-image-654"/></a></figure>
</figure>



<p class="wp-block-paragraph">Now that I have a much more compact cleaner version of my board layout next up will be revisiting the enclosure. For the curious, I&#8217;ve released the boards as<a href="https://github.com/BrookeDot/BikeBlink"> Open Source Hardware</a>.</p>



<p class="wp-block-paragraph">&nbsp;</p>



<p class="wp-block-paragraph">&nbsp;</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>I want to ride my bicycle</title>
		<link>https://brooke.codes/2016/03/14/i-want-to-ride-my-bicycle/</link>
		
		<dc:creator><![CDATA[Brooke.]]></dc:creator>
		<pubDate>Mon, 14 Mar 2016 17:44:39 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[bikeblink]]></category>
		<category><![CDATA[maker]]></category>
		<guid isPermaLink="false">https://brooke.codes/?p=611</guid>

					<description><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/3d_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="3d featured" decoding="async" loading="lazy" />BikeBlink Part II Now that I had working code I started thinking about waterproofing. I decided to order a waterproof cable and print a 3D Box. As this was my first time 3D Printing I had no idea what I was doing. I designed a box in AutoDesk 3D and headed to my local maker [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/3d_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="3d featured" decoding="async" loading="lazy" /><h3><strong>BikeBlink Part II</strong></h3>
<p>Now that I had<a href="https://brooke.codes/2016/03/12/bicycle-bicycle/"> working code</a> I started thinking about waterproofing. I decided to order a waterproof cable and print a 3D Box. As this was my first time 3D Printing I had no idea what I was doing. I designed a box in AutoDesk 3D and headed to my local maker space to have it printed. Over all I&#8217;m pretty happy with how the box turned out. My original idea was to solder everything into the box. However, I learned this was not as easily done as I was hoping so I&#8217;ll be going another route in terms of enclosures.</p>
<p><span id="more-611"></span></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-619" src="https://brooke.codes/wp-content/uploads/2016/03/3dcase.jpg" alt="3Dcase" width="800" height="450" srcset="https://brooke.codes/wp-content/uploads/2016/03/3dcase.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/3dcase-300x169.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/3dcase-768x432.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /><img loading="lazy" decoding="async" class="alignnone size-full wp-image-620" src="https://brooke.codes/wp-content/uploads/2016/03/box_solder.jpg" alt="box_solder" width="800" height="450" srcset="https://brooke.codes/wp-content/uploads/2016/03/box_solder.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/box_solder-300x169.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/box_solder-768x432.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bicycle Bicycle</title>
		<link>https://brooke.codes/2016/03/12/bicycle-bicycle/</link>
		
		<dc:creator><![CDATA[Brooke.]]></dc:creator>
		<pubDate>Sat, 12 Mar 2016 19:29:57 +0000</pubDate>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[bikeblink]]></category>
		<category><![CDATA[maker]]></category>
		<guid isPermaLink="false">https://brooke.codes/?p=541</guid>

					<description><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/bike_blink_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="Bike blink featured" decoding="async" loading="lazy" />BikeBlink Part I About 10 months ago I had a friend who got hit by a car while on a bike. This lead to stepping up the visibility game. One of the improvements were bike spoke lights.&#160;They serve to increase side visibility while riding. When I first saw this I was just getting into the [&#8230;]]]></description>
										<content:encoded><![CDATA[<img width="150" height="150" src="https://brooke.codes/wp-content/uploads/2016/03/bike_blink_featured-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="Bike blink featured" decoding="async" loading="lazy" />
<h3 class="wp-block-heading"><strong>BikeBlink Part I</strong></h3>



<blockquote class="wp-block-quote is-style-info-notice is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Note: </strong>This post refers to code and a project from <em>many</em> years ago <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f631.png" alt="😱" class="wp-smiley" style="height: 1em; max-height: 1em;" />. The content was edited in March of 2025 to remove dead links, improve clarity, or fix formatting, but no other edits were made. Enjoy this time capsule into the past.</p>
</blockquote>



<figure class="wp-block-image alignnone size-full wp-image-552"><img loading="lazy" decoding="async" width="478" height="480" src="https://brooke.codes/wp-content/uploads/2016/03/m204_cover1_2015-478x480-1.jpg" alt="m204_cover1_2015-478x480" class="wp-image-552" srcset="https://brooke.codes/wp-content/uploads/2016/03/m204_cover1_2015-478x480-1.jpg 478w, https://brooke.codes/wp-content/uploads/2016/03/m204_cover1_2015-478x480-1-300x300.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/m204_cover1_2015-478x480-1-150x150.jpg 150w" sizes="auto, (max-width: 478px) 100vw, 478px" /><figcaption class="wp-element-caption">Monkeylight m204 spoke light from Monkeylectric</figcaption></figure>



<p class="wp-block-paragraph">About 10 months ago I had a friend who got hit by a car while on a bike. This lead to stepping up the visibility game. One of the improvements were bike spoke lights.&nbsp;They serve to increase side visibility while riding.</p>



<span id="more-541"></span>



<p class="wp-block-paragraph">When I first saw this I was just getting into the maker space and said to myself, perhaps stupidly, &#8220;I can make that.&#8221; Then went to work.</p>



<p class="wp-block-paragraph">I started researching and landed on the <a href="https://learn.adafruit.com/introducing-trinket/introduction">Adafruit Trinket</a> as my microcontroller of choice. It&#8217;s small, powerful enough and has everything I needed to run my LEDs.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="800" height="615" src="https://brooke.codes/wp-content/uploads/2016/03/adafruit_products_trinket_clear_products_1500_orig.jpg" alt="adafruit_products_trinket_clear_products_1500_ORIG.jpg" class="wp-image-564" srcset="https://brooke.codes/wp-content/uploads/2016/03/adafruit_products_trinket_clear_products_1500_orig.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/adafruit_products_trinket_clear_products_1500_orig-300x231.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/adafruit_products_trinket_clear_products_1500_orig-768x590.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">The Trinket has&nbsp;~5.25K bytes of space available for use, and 512 bytes of ram. These&nbsp;limitations would be a good&nbsp;to work with as a challenge to write more efficient code.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="800" height="800" src="https://brooke.codes/wp-content/uploads/2016/03/breadboard.jpg?w=600" alt="breadboard" class="wp-image-578" srcset="https://brooke.codes/wp-content/uploads/2016/03/breadboard.jpg 800w, https://brooke.codes/wp-content/uploads/2016/03/breadboard-300x300.jpg 300w, https://brooke.codes/wp-content/uploads/2016/03/breadboard-150x150.jpg 150w, https://brooke.codes/wp-content/uploads/2016/03/breadboard-768x768.jpg 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">After some time I got a working test which flashed though 4 different LED modes switching modes at a press of the button. As an added bonus I added the mode into E<sup>2</sup>PROM(non-volatile&nbsp;memory). This allows the device to turn on in the mode it was using when power was disconnected.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="lightshow" width="500" height="281" src="https://www.youtube.com/embed/BS0jvVxCjgg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">The code <a href="https://github.com/BrookeDot/BikeBlink/blob/master/bikeblink.ino">is up on GitHub.</a></p>



<p class="wp-block-paragraph">&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
