南极和北极有什么区别| 什么原因导致脑出血| 生化妊娠是什么原因导致的| dvf是什么档次的牌子| 杨桃有什么营养价值| 办理港澳通行证需要什么材料| 复诊是什么意思| 猫贫血吃什么补血最快| 牙齿贴片是什么意思| cco是什么意思| 周瑜是什么样的人| 小便很黄是什么原因| 10年是什么年| 路由器管理员密码是什么| 鸡毛信是什么意思| 什么是生理期| 同型半胱氨酸偏高吃什么药| 吃桃有什么好处| 九寨沟什么时候去最好| 早晚体重一样说明什么| 是什么样的感觉我不懂是什么歌| 小孩子手脱皮是什么原因引起的| 梦见捡钱是什么预兆| 小壁虎的尾巴有什么作用| 心脏搭桥和支架有什么区别| 脖子里面有结节是什么病| 下肢水肿是什么原因| 最大的狗是什么品种| 女孩小名叫什么好| 什么是av| 息肉是什么病| 什么风什么什么| 食管裂孔疝是什么原因造成的| 吃什么可以软化肝脏| 鱼靠什么呼吸| 泌乳是什么意思| 女生什么时候容易怀孕| 红斑狼疮是什么原因引起的| 为什么会脱发| 电焊打眼最有效最快的方法是什么| 钊读什么| 屁眼火辣辣的疼是什么原因| 心是什么结构| 什么是潜意识| 八大菜系之首是什么菜| 高考300分能上什么大学| 怀孕建卡需要什么材料| 4个火念什么| 女生的名字叫什么好听| 吃饭就吐是什么原因| 信阳毛尖属于什么茶| 免疫球蛋白适合什么人| 庶子什么意思| 头皮真菌感染用什么药| 巨蟹男和什么座最配| 今年62岁属什么生肖| 规培护士是什么意思| 吃什么补充蛋白| 1993年出生属什么生肖| 6月5号什么星座| 猪头肉是什么意思| 毛尖是什么茶| 脾囊肿是什么病严重吗| 什么是阿尔兹海默症| 全身瘙痒要警惕什么病| 夜开花是什么菜| 血糖查什么项目| 世界上最大的山是什么山| 一什么蔷薇| 怀孕日期是从什么时候开始算| 绣球花什么时候开花| 药流有什么危害| 超级碗是什么比赛| 手抖是什么原因导致的| 火命适合佩戴什么首饰| 吃甘草片有什么副作用| 脉弦是什么意思和症状| 前列腺多发钙化灶是什么意思| 为什么不能近亲结婚| k2是什么| 黄片是什么| 男人时间短什么原因| 星座是什么意思| nike是什么牌子| 包皮龟头炎用什么药| 西安和咸阳什么关系| 阴虚内热吃什么药好| 嬴政姓什么| 心结是什么意思| 准妈妈是什么意思| c13阴性是什么意思| store是什么| 吹泡泡什么意思| 2024年属什么年| pinsp呼吸机代表什么| 痛风是什么地方痛| 内心丰盈是什么意思| 泊字五行属什么| 阴性什么意思| 同房后小腹痛什么原因| 天天睡觉做梦是什么原因| 气的什么| 感性是什么意思| 经常便秘吃什么调理| 黎明是什么时间| 荨麻疹抹什么药| 属兔的和什么属相最配| 什么是早搏| 女人30如狼40如虎是什么意思| 为什么会得扁平疣| 什么是血糖| 1954属什么生肖| 蜜蜡是什么材料| 做梦捡钱是什么预兆| 不可一世是什么意思| 绿壳鸡蛋是什么鸡生的| 经常发低烧是什么原因| 结婚36年是什么婚| 弄璋之喜是什么意思| 梦见吃西红柿是什么意思| 肝右叶钙化灶什么意思| 32周岁属什么生肖| 血糖高早餐吃什么最好| 省长是什么级别干部| 粽子用什么叶子包| 比细菌还小的东西是什么| 吃什么通便效果最好最快| 奔跑吧什么时候播出| 乌龟代表什么数字| 12.18是什么星座| 小孩坐飞机需要什么证件| 6月30日什么星座| 三进宫是什么意思| 枸杞搭配什么喝最好| 天秤座属于什么星象| 补肾吃什么药效果最好| 西梅什么时候上市| 男人左手有痣代表什么| 变态反应科是看什么病的| 李小龙和丁佩什么关系| 血脂稠吃什么药最好| 京酱肉丝是什么菜系| 什么是天丝面料| hcg高代表什么| 景页读什么| 血常规用什么颜色的试管| 即视感是什么意思| 瞬息万变是什么意思| 急性尿道炎吃什么药| 青少年耳鸣是什么原因引起的| 经常犯困想睡觉是什么原因| 澳门用什么币种| 什么动物没有眼睛| 为什么听力会下降| mk是什么意思| 什么原因导致流鼻血| 为什么总打喷嚏| 炖牛肉不能放什么调料| xxoo是什么| 肝脏低密度灶什么意思| 牙齿酸软是什么原因| 什么是有氧运动什么是无氧运动| 九出十三归是什么意思| 责任是什么生肖| 儿童缺铁吃什么补得快| 白案是什么意思| 为什么越累越胖| 臀推是什么意思| 牙齿发黄是什么原因| 元气是什么| 佛龛是什么| 弃猫效应是什么| 吃维生素b6有什么好处和副作用| 吴亦凡属什么| 1970年属狗的是什么命| 虚劳病是什么病| 朦胧什么意思| 汉朝后面是什么朝代| 开山鼻祖是什么意思| 送老师什么花好| 孕妇梦见老公出轨是什么意思| 淋病和梅毒有什么区别| 生蛇是什么病| 塑料袋是什么垃圾| 扁扁的鱼叫什么鱼| 曹仁和曹操什么关系| 身上没长什么就是干痒| 火牛命五行缺什么| 1985年属牛的是什么命| 冰丝和天丝有什么区别| 拔罐拔出水是什么原因| 贝字旁的字和什么有关| 井底之蛙是什么意思| 腿上无缘无故出现淤青是什么原因| 过指什么生肖| gold是什么牌子| 炎症是什么| 解大便时有鲜血流出是什么原因| 仓鼠为什么吃自己的孩子| 宝宝经常发烧是什么原因| 中药七情指的是什么| 舌头有齿痕吃什么药| 建兰什么时候开花| 大腿为什么会长妊娠纹| 吃大虾不能吃什么| 有机玻璃是什么| 昭字五行属什么| 脚麻木吃什么药| 百田森的鞋什么档次| 骨盐量偏低是什么意思| 55年属什么生肖| 三班倒什么意思| 高铁上什么东西不能带| 子宫内膜回声不均匀是什么意思| 唐僧叫什么名字| 92年属猴是什么命| 寒潮是什么| bossini是什么牌子| urban是什么牌子| 氯雷他定片主治什么病| 2月14日什么星座| 第四个手指叫什么| 姓彭的女孩子取什么名字好| 皮夹克是什么意思| 营养素是什么| 阴道红肿是什么原因| 喝生鸡蛋有什么好处| 头晕脑胀吃什么药| 吃什么补肺| 红丹是什么| 世界上最大的动物是什么| 罪恶感什么意思| 毛宁和毛阿敏是什么关系| 九月七日是什么星座| 天丝棉是什么面料| 吃相难看是什么意思| 睡眠浅是什么原因| 银行卡睡眠状态是什么意思| 沉积是什么意思| 梦见好多狗是什么预兆| 甲亢吃什么药好得快| 膀胱是什么| 头发掉是什么原因引起的| 深谙是什么意思| 纯化水是什么水| 肾上腺是什么意思| 低压48有什么危险| 结婚的礼数都有什么| 椰子煲鸡汤放什么材料| 梦见骆驼是什么意思| 谢霆锋什么学历| 药剂师是做什么的| 脑白质病变是什么意思| 肝炎是什么原因引起的| act是什么| 盲约大结局是什么| b型o型生出来的孩子什么血型| 什么是双一流| 尿酸高可以吃什么水果| mrt是什么意思| 尿潴留吃什么药| sls是什么| paco2是什么意思| 氨基丁酸是什么| 百度

2025-08-14

A self-contained AVR programmer using an Arduino Uno

For a project I need to be able to program an ATtiny84 microcontroller but I don't own an AVR programmer. Happily, I did have an Arduino Uno lying around and a few other bits and so, with the help of a laser printer, 3D printer, one capacitor, a tiny breadboard and a few wires I made this:


It's a self-contained AVR programmer!

Inside the case is an Arduino Uno; the case itself is this object from Thingiverse (the Uno version). It's a three-part print (reset button, top and bottom halves). The halves hold the Arduino in place and there are nice countersunk screw holes.

The breadboard on top is a self adhesive breadboard that seems almost ubiquitous in projects over the last few years. It makes a nice place to insert the AVR microcontroller to be programmed. Six connections from the Arduino Uno to the AVR are needed and this is achieved via the coloured jumper wires.

To make is easy to identify the six connections needed for AVR programming I printed out and stuck on labels for the Arduino headers. The labels came from a PDF which I found here. I also printed little labels and attached them to the four cables on the right.


AVR programming requires six connections: Vcc, GND, the SPI connections: MOSI, MISO, SCK and the ability to reset the AVR. In the standard Arduino as ISP project those four are on pins 10 to 13. There's a lot of documentation on this project here, but once you've got your Arduino software the steps are as follows:

1. Open the Example 11. ArduinoISP sketch and upload it to the Arduino Uno in the normal way. This turns the Arduino Uno into an ISP (strictly speaking I'm not actually in-system programming here but my little device is flexible enough via its leads to be used for actual ISP). 

2. Then you need to teach the Arduino software about ATTinyCore which will give it the ability to program all sorts of microcontrollers. Follow the installation guide to configure the Arduino software to be able to program the AVR microcontroller you are using. 

3. You can then use the Arduino software to write to the AVR microcontroller via the Arduino Uno which is acting as the ISP. 



With that in place you can uploaded some test code to the AVR to make sure everything is working. I uploaded this simple program that flashes an LED connected between pin 12 and GND.

int led = 1;

void setup() {
  pinMode(led, OUTPUT);
}

void loop() {
  digitalWrite(led, HIGH); 
  delay(3000);
  digitalWrite(led, LOW); 
  delay(1000); 
}

And sure enough the blinkenlights work!


Note that I've also added a 10uF capacitor between GND and the Arduino RESET pin. This is described in the Arduino as ISP documentation as necessary to use a Uno as an ISP.


There's enough space inside the case to bend the legs of the capacitor and tuck it alongside the Arduino Uno. Note that you should only add the capacitor after having uploaded the Arduino as ISP sketch.

 




2025-08-14

Guest WiFi using a QR code

On my home network I have guest WiFi configured and when guests come round they need to know the password. Happily there's a way to make this trivial: WiFi QR codes. A WiFi QR code is simply a text QR code with a special format as follows:

WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;;

The S sets the SSID of the network, T defines the security in use, P is the password and H whether the network is hidden or not. You can create this directly by making a text QR code or use a specialized QR code generator for WiFi networks. 




The resulting QR code looks something like this:




Which when scanned with the default camera app on iOS or Android will pop up something similar to this. With one click you're connected to the network.


For a finishing touch just print out the QR code and place it in a cheap frame and any guest can scan and get online with ease.










晚上吃什么水果减肥效果最好 银行卡睡眠状态是什么意思 麒麟飞到北极会变成什么 跳楼机是什么 老子是什么朝代的人
fila是什么品牌 改进什么 蒸馏酒是什么酒 人的五官是什么 不凝血是什么原因
皮卡丘什么意思 鲶鱼吃什么食物 激光脱毛对身体有什么危害 男生早上为什么会晨勃 伴侣是什么意思
武则天姓什么 十年婚姻是什么婚 知了代表什么生肖 pq是什么意思 月半是什么意思
小暑是什么hcv9jop4ns4r.cn 老鼠爱吃什么食物hcv9jop4ns5r.cn 梦见数字是什么意思hcv8jop7ns6r.cn ipo过会是什么意思hcv9jop8ns1r.cn 水代表什么hcv9jop8ns3r.cn
尿酸高去医院挂什么科jinxinzhichuang.com ab型血为什么容易得精神病hcv8jop6ns5r.cn 黄皮果是什么水果hcv8jop0ns9r.cn 蟋蟀吃什么食物hcv8jop7ns2r.cn 非营利性医院是什么意思hcv7jop5ns0r.cn
no.是什么意思imcecn.com 凤毛麟角是什么意思hcv8jop2ns1r.cn 捷字五行属什么hcv9jop6ns9r.cn 安宫牛黄丸为什么那么贵hcv9jop1ns4r.cn 癖是什么意思hcv8jop3ns6r.cn
私生是什么意思hcv9jop3ns2r.cn 泰迪吃什么hcv9jop2ns6r.cn 两侧肋骨疼是什么原因hcv7jop5ns4r.cn 甲状腺回声不均匀什么意思hcv7jop6ns8r.cn 好高什么远hcv8jop4ns5r.cn
百度