Difference between revisions of "HITBadger"

From Randomdata wiki
Jump to: navigation, search
 
Line 10: Line 10:
 
Depending on the type of USB to TTL converter you might need to switch RX & TX
 
Depending on the type of USB to TTL converter you might need to switch RX & TX
  
USB-TTL HITBADGE
+
USB-TTL -> HITBADGE<br>
RX -> TX
+
RX -> TX<br>
TX -> RX
+
TX -> RX<br>
5V -> VCC
+
5V -> VCC<br>
GND -> GND
+
GND -> GND<br>
  
 
To flash the Arduino:
 
To flash the Arduino:
- Press the reset button of the Badge
+
* Press the reset button of the Badge
- Press the "Upload" button, when the white letters "Binary sketch size: XXXXXX bytes (of a 32,256 byte maximum)" show up, release the reset button
+
* Press the "Upload" button, when the white letters "Binary sketch size: XXXXXX bytes (of a 32,256 byte maximum)" show up, release the reset button
- If this won't work after a few times trying, please switch the RX & TX
+
* If this won't work after a few times trying, please switch the RX & TX
  
  

Latest revision as of 12:49, 2 June 2014

Hack In The Badge Description

General info


Use a USB to TTL for badge programming

Depending on the type of USB to TTL converter you might need to switch RX & TX

USB-TTL -> HITBADGE
RX -> TX
TX -> RX
5V -> VCC
GND -> GND

To flash the Arduino:

  • Press the reset button of the Badge
  • Press the "Upload" button, when the white letters "Binary sketch size: XXXXXX bytes (of a 32,256 byte maximum)" show up, release the reset button
  • If this won't work after a few times trying, please switch the RX & TX


Please let us know if this won't work

General old info

Some information for orienting on a badge for the anual Hack In The Box event. The goal:

  • a battery powered badge
  • RGB led
  • Some radio comms (transcieve)
  • AES ecnryption

Minions

The badge can communicate with some kind of node. The goal is that everyone has it's own badge that changes color if some action is wanted. Like Return to HQ, Go to toilet or whatever useful you can come up with. By receiving those duty messages the RGB LED turns a different color. The user can reset it's badge with 2 buttons.

  1. is I'm already busy.
  2. is I'm done with the task you gave me.

Officers version

Officers can make messages from a menu, their badge has a little screen with a menu in it. They can select a duty message to specific person/badge, or collect a minion who is standing idle.

Technical

Here some idea's of the hardware components. An Arduino is easy to program and later on useable in other projects. The communication part needs to be low power and have an acceptable range indoors.

The board consists of:

  • some kind of programmable chip
    • Arduino
    • ARM
  • Radio chip
    • bluetooth 4.0
    • Wifi
    • 433 MHz
    • 868 Mhz
    • Xbee

main board

An arduino 328 is small and capable enough to fulfill this project, it's easy to program with the Arduino IDE. There are enough open hardware projects available to give a big headstart.
To name a couple :

HopeRF

The Moteino's use a radio chip of HopeRF. It comes in 433 Mhz or 868/915 Mhz. Then there is a normal and high power version. Just a quick google on the internet gave me some results from RS-online, telemetry modules. On the RS-online website only the normal modules are buyable, here. The high power modules are buyable from the Moteino shop, and still cheaper then RS-online.


Drawings

pcb = Logo haxpo.nl battery holder voltage regulator vierkant LED, 3x PWM naar LED. --> in het midden van logo

arduino footprint, hier dan een nano board in doen. scheelt smd solderen en is sneller/goedkoop

idee: http://www.soldersplash.co.uk/products/wifi-dipcortex/
Wifi Ti cc3000module
Deze gebruikt de M3 en die CC3000 van Ti: http://mashable.com/2013/05/03/spark-core-add-wifi-to-anything/

onderdelen

2.4GHz transceiver --> http://ledsee.com/index.php/sender-a-receiver/nrf24l01-24ghz-transceiver-detail
LCD --> http://ledsee.com/index.php/arduino-modules2013-02-16-10-32-17/arduino-modules/5110-nokia-lcd-module-detail
prijs Farnell ATmega328p 28pinsDIP --> http://nl.farnell.com/jsp/search/browse.jsp;jsessionid=WIXXR4PDMK1OWCQLCIPJPQQ?N=0&Ntk=gensearch&Ntt=atmega328&Ntx=mode+matchallpartial&exposeLevel2Refinement=true&suggestions=false&ref=globalsearch&_requestid=542022
iPrototype losse ATMega328 --> https://iprototype.nl/products/components/ics/atmega328
iPrototype barebone Arduino --> https://iprototype.nl/products/kits/barebone-arduino-kit
Farnell WiFly Roving RN171 (Helios module) --> http://nl.farnell.com/microchip/rn171-i-rm/module-wlan-wifly-gsx-ext-ant/dp/2144008
Lijkt op moteino??? cheap --> http://dx.com/p/nrf905-433-868-915mhz-wireless-module-w-antenna-green-2-7-3-3v-222915

Notes fish_

http://playground.arduino.cc/InterfacingWithHardware/Nrf24L01
http://www.instructables.com/id/The-RRRRRRRRRRBA-or-What-They-Dont-Teach-You-in-/step5/Some-Caveats/
https://www.youtube.com/watch?v=hmDmO8U_Lec