element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Wireless Power - Beyond the Phone
  • Challenges & Projects
  • Design Challenges
  • Wireless Power - Beyond the Phone
  • More
  • Cancel
Wireless Power - Beyond the Phone
Blog Wireless Challenge .... Beer Tap (the other bit) -3
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mcb1
  • Date Created: 15 Jun 2014 2:07 AM Date Created
  • Views 1601 views
  • Likes 2 likes
  • Comments 6 comments
  • chronos
  • beyond_the_phone
  • wireless_charging
  • beer
Related
Recommended

Wireless Challenge .... Beer Tap (the other bit) -3

mcb1
mcb1
15 Jun 2014

see the previous posts Wireless Challenge .... the other bit -2 Wireless Challenge .... the other bit Beyond the Phone - eLIST progress 3  eLIST progress 2 , eLIST progress , eLIST - KOBO Touch , 5W Load Schematic

 

In my last post I was using was using off the shelf Wireless Charging Receivers.

While these aren't using Wurth's coils (sorry Simon), they are using TI's BQ51013A or B chips.

 

image

This one is hard to see as the sticky label/cover has removed part of the colouring on the IC.

 

 

image

As you can tell they simply change the tail to suit either a wired or Micro USB

 

 

The nice bit about both of these is the various options for where to take the 5v from. In some applications it may be more suitable to use the side.

 

 

image

Adafruit version.

 

 

Interestingly in all three of these units, the business end is on a film style PCB, and as far as I can see isn't 4 layers.

It's definitely flexible, unlike the ferrite material which has masses of cracks.

 

 

 

While I was ordering I brought a 1200mA LiPo

https://www.adafruit.com/product/258

The battery is thinner than the one shown in the previous post, and of course contains protection.

 

and a suitable charger

https://www.adafruit.com/product/1905

The charger is default at 100mA, but you solder a jumper and it gives you 500mA

 

image

 

The charger includes two LEDs which show red when charging and green when completed.

 

I'm currently reconfiguring my layout to make these visible through the opaque disc.

 

 

 

 

 

 

The Item

In the previous post I had eluded to this mystery device, that you couldn't just buy.

Part of that mystery was trying to photograph it, since I needed daylight and some room.

 

 

Luckily today worked out fine and dry, and after a quick mounting onto a suitable fixture.

image

It's an illuminated Beer Tap.

 

 

Normally these have a small lamp inside the disc.

image

 

Two wires run down the neck and they are powered.

 

The opaque discs are larger than the ring and need to be persuaded into it. I was lucky they hadn't become fragile, but I imagine they would.

Getting the discs out is not a 5 min job, so replacing the lamp can't be a favorite job

 

image

 

 

In NZ we like our beer cold, and the better bars even chill the glasses ..they don't like you when you hand it back due to the glass being hot from coming out the sterilizer.

The Tap contains a refrigerant pipe loop and in most bars the entire neck is frozen, this ensures the beer is cold when it hits the glass.

This would not help when you wanted to swap lamps.

 

 

 

 

Electronics

I've had the ATtiny85 running the neopixel ring, and its BRIGHT.

The code is simple

#include <Adafruit_NeoPixel.h>

#define PIN 2
int val =0;

// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
//   NEO_KHZ800  800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
//   NEO_KHZ400  400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
//   NEO_GRB     Pixels are wired for GRB bitstream (most NeoPixel products)
//   NEO_RGB     Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
Adafruit_NeoPixel strip = Adafruit_NeoPixel(12, PIN, NEO_GRB + NEO_KHZ800);

// IMPORTANT: To reduce NeoPixel burnout risk, add 1000 uF capacitor across
// pixel power leads, add 300 - 500 Ohm resistor on first pixel's data input
// and minimize distance between Arduino and first pixel.  Avoid connecting
// on a live circuit...if you must, connect GND first.

void setup() {
  strip.begin();
  strip.show(); // Initialize all pixels to 'off'
}

void loop() {
  // Some example procedures showing how to display to the pixels:

  for (int i=0; i<11; i++)
  {
     strip.setPixelColor(i, 255, 255, 255);  //white
     strip.show();
  }
      strip.setBrightness(50);
      strip.show();
  }

 

 

While I was playing I added a pot to control the brightness.

 

      int val = analogRead(0);     
      val = map(val, 0, 1023, 0, 255);   // AnalogRead is between 0 and 1023, we need to set it between the 0 and 255

  for (int i=0; i<11; i++)
  {
     strip.setPixelColor(i, 255, 255, 255);  //white
     strip.show();
  }
      strip.setBrightness(val);
      strip.show();

 

Line11 allows the entire string brightness to be set, and makes it easier to see once you look away.

 

 

At this point I'm working on sleep modes, and reducing the standby to a few uA

Nick Gammon has a very detailed blog which explains it all, and it should be possible to get to 500nA standby.

Electronics : Microprocessors : Interrupts

 

Because I'm using the Digispark and the extra library, I'm having trouble waking it up, so more work is required.

This may be because of the usb arrangement they have where some pins are held using pullups, or the IDE and how it interacts, but it isn't waking so that's a problem.

 

However now that I have a freestanding tap, I can remove the lamp holder and metal stand, and set about determining how bright it needs to be.

I'm also undecided if I should have it plain white or do some color.

 

 

 

Colour

The neopixels offer some very interesting pattern options, along with changing the whole ring's color.

One of the problems with the color changing is how to control it, what color suits, and under what lighting conditions.

I also have a product label to attach when I'm complete, so it has to fit with that.

 

I had thought of adding a receiver and using this

image

So I have some code searching to see if its possible.

 

I have already decided that a hall effect switch will allow it to be turned on/off using a magnet .... otherwise I still have two wires coming down the neck.

 

 

 

 

If it doesn't work out, I need to connect the tap, talk to my friendly beer Rep about supply and drown my sorrows .... so either way it's a win win situation.

 

 

Mark

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 11 years ago in reply to Problemchild +1
    John Yes they have various versions to suit most phones. On Friday I'm helping a group of students with "Technology for the Elderly". They have identified a need, and are developing the solution, but I…
Parents
  • shabaz
    shabaz over 11 years ago

    Hi Mark,

     

    Interesting post! I had not seen these wireless power receivers before. And cool idea using a hall sensor/reed switch for controlling on/off. Maybe with some timing implemented in the microcontroller it could handle patterns too, e.g. hold it there for a long time to go into a pattern select mode. In a similar vein I built some kitchen lights a while back, with a single button where short presses were used to cycle between a few states one press at a time (off, full-bright, med-bright, low-bright), and a long press would immediately jump to the off state.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 11 years ago in reply to shabaz

    Shabaz

    It appears our asian friends sell these to install into phones, so you can have wireless charging. I think the other options are simply spin-offs.

    Thanks re the hall effect.

    I had thought of that possibility as well, so it might be that I use it to fade through the colours.

    There is a product logo that gets stuck on and some colours might not work as well, but we can compensate for it.

     

    One way or another I really need to get it running this week at the latest, even if it gets tinkered with later on.

     

    I wish I'd looked at these earlier, they would have been useful in several situations.

    (I made sure and brought quite a few plain ones this time)

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • mcb1
    mcb1 over 11 years ago in reply to shabaz

    Shabaz

    It appears our asian friends sell these to install into phones, so you can have wireless charging. I think the other options are simply spin-offs.

    Thanks re the hall effect.

    I had thought of that possibility as well, so it might be that I use it to fade through the colours.

    There is a product logo that gets stuck on and some colours might not work as well, but we can compensate for it.

     

    One way or another I really need to get it running this week at the latest, even if it gets tinkered with later on.

     

    I wish I'd looked at these earlier, they would have been useful in several situations.

    (I made sure and brought quite a few plain ones this time)

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • Problemchild
    Problemchild over 11 years ago in reply to mcb1

    Mark if you are talking about those charging coils you can retrofit into your phone to wireless charge them I bought one for my Note 3 for about £2 and they work fine .They have a flexible PCB that has contacts to pressure fit on tot he phone's charging points ..all very nice!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 11 years ago in reply to Problemchild

    John

    Yes they have various versions to suit most phones.

     

    On Friday I'm helping a group of students with "Technology for the Elderly".

    They have identified a need, and are developing the solution, but I also raised they should look at how easy it is to add Wireless Charging for their other devices.

     

    Those micro USB plugs make me reach for the reading glasses, to get it the right way up ...... or maybe I'm in that group already.

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube