Three recent physical projects: Difference between revisions
No edit summary |
|||
| Line 30: | Line 30: | ||
Finally, we'll want to add WiFi to this setup (the Mega has neither Ethernet nor WiFi built in). Get an [https://www.amazon.com/DIYmall-ESP8266-ESP-01S-Serial-Transceiver/dp/B00O34AGSU ESP8266 ESP-01S] WiFi module along with a [https://www.eitkw.com/product/esp-01-adapter-module-3-3-5-v-arduino-compatible/ 3.3V-5V adapter]. Without the adapter, you'll need to level shift the 5V UART TX signal from the Mega, and add some resistors on the power hookup. This $0.50 adapter handles that for you. Stick it in the top, and solder all four points. Obviously, use unoccupied horizontal channels. Two wires for V and G, four solder points, you know the drill. We'll also need two longer wires for RX and TX. Solder them in, and prepare a 1x2P Dupont hookup. These will be going into RX3 and TX3 on the Mega. | Finally, we'll want to add WiFi to this setup (the Mega has neither Ethernet nor WiFi built in). Get an [https://www.amazon.com/DIYmall-ESP8266-ESP-01S-Serial-Transceiver/dp/B00O34AGSU ESP8266 ESP-01S] WiFi module along with a [https://www.eitkw.com/product/esp-01-adapter-module-3-3-5-v-arduino-compatible/ 3.3V-5V adapter]. Without the adapter, you'll need to level shift the 5V UART TX signal from the Mega, and add some resistors on the power hookup. This $0.50 adapter handles that for you. Stick it in the top, and solder all four points. Obviously, use unoccupied horizontal channels. Two wires for V and G, four solder points, you know the drill. We'll also need two longer wires for RX and TX. Solder them in, and prepare a 1x2P Dupont hookup. These will be going into RX3 and TX3 on the Mega. | ||
We'll want some kind of housing to keep these sensors and plugs in place, but we don't want to block the air intakes. I designed | We'll want some kind of housing to keep these sensors and plugs in place, but we don't want to block the air intakes. I designed one in a few minutes using [https://github.com/dankamongmen/openscad-models/blob/master/airmon.scad OpenSCAD]. This results in a cuboid with two channels for the sensors, and a through for the plugs. I printed it with black ABS. Thread the plugs through, and then ensure all eight sensors are securely in their channels. If you'd like, add some superglue to these channels. You ought now have a secure sensor array. | ||
This results in a cuboid with two channels for the sensors, and a through for the plugs. I printed it with black ABS. Thread the plugs through, and then ensure all eight sensors are securely in their channels. If you'd like, add some superglue to these channels. You ought now have a secure sensor array. | |||
That's the hard part. Now, print a case for the Mega; I liked [https://www.thingiverse.com/thing:4375248 this one] from Thingiverse. I used PLA here, mostly because I needed to print supports for the topside, and I didn't have any HIPS breakaway filament. PVA isn't suitable for ABS; the temperature mismatch will fuck up adhesion. | That's the hard part. Now, print a case for the Mega; I liked [https://www.thingiverse.com/thing:4375248 this one] from Thingiverse. I used PLA here, mostly because I needed to print supports for the topside, and I didn't have any HIPS breakaway filament. PVA isn't suitable for ABS; the temperature mismatch will fuck up adhesion. | ||
[[File:Megaprint.png|Printing the top]] | [[File:Megaprint.png|Printing the top]] | ||
==Case faceplate with OLED display== | ==Case faceplate with OLED display== | ||