User Tools

Site Tools


doc:appunti:hardware:raspberrypi_car

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_car [2013/08/09 17:04] – [hostap] niccolodoc:appunti:hardware:raspberrypi_car [2019/02/01 17:02] – [Dongle USB Edimax in Mode Master (Access Point)] niccolo
Line 7: Line 7:
   * [[http://www.geeked.info/raspberry-pi-add-multiple-wifi-access-points/|WPA Managed in Roaming]]   * [[http://www.geeked.info/raspberry-pi-add-multiple-wifi-access-points/|WPA Managed in Roaming]]
  
-===== Dongle USB Edimax =====+===== Dongle USB Edimax in Mode Master (Access Point) =====
  
-Ci vuole una versione custom di hostpad....+Normalmente l'interfaccia WiFi lavora in modalità //managed//, cioè come cliente di un //Access Point//Si vuole invece configurare il Raspberry come Access Point, cioè far lavorare l'interfaccia WiFi in Master ModeNon tutte le combinazioni di **hardware** + **modulo kernel** + **software hostapd** supportano tale modalità.
  
 +  * [[http://elinux.org/RPI-Wireless-Hotspot|RPI Wireless Hotspot]]
 +  * [[http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/|Raspberry-PI WiFi hotspot with Edimax]]
 +
 +Ci vuole una **versione custom di hostapd**, forse occorre anche un **modulo kernel custom**, a seconda del chip WiFi. Vedere le seguenti pagine:
 +
 +  * https://github.com/jenssegers/RTL8188-hostapd
 +  * https://github.com/quickreflex/rtl8188eus
 +  * https://github.com/lwfinger/rtl8188eu
 +
 +Pare che ci siano risultati diversi a seconda del chip (RTL8188CUS, RTL8188EUS, ecc.):
 +
 +  * **[[https://www.raspberrypi.org/forums/viewtopic.php?p=385731|Previously Unsupported Edimax WiFi Hotspot (working)]]**
 +  * **[[https://docs.google.com/document/d/16hJS7fnPyKUwbvR33_nMku_b6XcYaBJXVpeCIMoJzcQ/pub|Convert a Raspberry Pi B2 standalone Wifi-AP using REALTEK chipset (e.g. EDIMAX)]]**
 +  * **[[https://www.raspberrypi.org/forums/viewtopic.php?t=61816|RTL8188EUS cannot setup access point]]**
 ===== wpa_supplicant ===== ===== wpa_supplicant =====
  
Line 82: Line 96:
 ifup wlan0=master ifup wlan0=master
 </code> </code>
 +
 +===== wpa_supplicant o hostap, mapping automatico =====
 +
 +Si vuole un **sistema automatico** per decidere se attivare l'interfaccia WiFi in modo **managed** oppure **master**, in teoria il **mapping** fornito da ''/etc/network/interfaces'' di Debian dovrebbe essere lo strumento adeguato.
 +
  
 ===== dnsmasq ===== ===== dnsmasq =====
  
 +===== Alimentazione a batteria =====
 +
 +Si è provato ad alimentare il Raspberry con un **2200mAh Li-Ion Rechargeable Power Bank** [[http://uk.rs-online.com/web/p/power-banks/7757504/|(RS Article: 7757504)]] ({{2200mah_power_bank.pdf|data sheet}}), caricato a sua volta tramite adattatore accendisigari-USB da 2A. Una situazione del tutto simile a quella descritta in questo articolo: [[http://raspi.tv/2013/testing-rs-5200-mah-usb-lithium-battery-pack-as-a-ups|Testing RS 5200 mAh USB lithium battery pack as a UPS]]. Sembra che in queste condizioni **la batteria è sempre sotto carica**, cioè una condizione non ottimale per la sua durata.
 +
 +Nelle nostre condizioni il Raspberry è rimasto in funzione per oltre 24 ore, ma **alla fine si è spento**, si suppone per scaricamento della batteria e quindi per alimentazione insufficiente.
 +
 +Una soluzione migliore potrebbe essere quella di utilizzare un circuito specifico per la ricarica/alimentazione, tipo questo: [[http://www.robotshop.com/productinfo.aspx?pc=RB-See-213&lang=en-US|SeeedStudio USB Charger]]. È specifico per batteria LiPo (litio-polimeri), mentre il power bank di cui sopra è litio-ioni, farà differenza?
 +
 +Attenzione alle batterie litio-polimeri! Hanno una resistenza interna molto bassa e quindi sono a rischio di carica/scarica violentissma, queste potrebbero essere le conseguenze: [[http://rc.runryder.com/helicopter/t519305p1/|Just a caution to all of you who play with Lipo's]].
doc/appunti/hardware/raspberrypi_car.txt · Last modified: 2019/02/01 17:04 by niccolo